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")
|
||||
}
|
||||
@@ -429,7 +429,7 @@ func ValidateRequiredImagesPresent(ctx context.Context, n *NodeContext) error {
|
||||
missing = append(missing, img)
|
||||
continue
|
||||
}
|
||||
klog.Infof("found image: %s", img)
|
||||
klog.V(4).Infof("found image: %s", img)
|
||||
}
|
||||
|
||||
if len(missing) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user