Some basic agent startup

This commit is contained in:
2026-03-30 21:50:04 +08:00
parent fcf7371e9e
commit bdbc29649c
11 changed files with 98 additions and 48 deletions

View File

@@ -0,0 +1,11 @@
package node
import (
"context"
system "undecided.project/monok8s/pkg/system"
)
func StartControlAgent(ctx context.Context, n *NodeContext) error {
return system.EnsureServiceRunning(ctx, n.SystemRunner, "control-agent")
}