Some basic agent startup
This commit is contained in:
11
clitools/pkg/node/agent.go
Normal file
11
clitools/pkg/node/agent.go
Normal 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")
|
||||
}
|
||||
Reference in New Issue
Block a user