diff --git a/pkg/kwokctl/runtime/kind/cluster.go b/pkg/kwokctl/runtime/kind/cluster.go index 13cb10d37..40446b945 100644 --- a/pkg/kwokctl/runtime/kind/cluster.go +++ b/pkg/kwokctl/runtime/kind/cluster.go @@ -956,9 +956,9 @@ func (c *Cluster) Up(ctx context.Context) error { if conf.DisableKubeControllerManager { defer func() { - err := c.StopComponent(ctx, consts.ComponentKubeScheduler) + err := c.StopComponent(ctx, consts.ComponentKubeControllerManager) if err != nil { - logger.Error("Failed to disable kube-scheduler", err) + logger.Error("Failed to disable kube-controller-manager", err) } }() }