// RestartControllerManager restarts the kube-controller-manager. func RestartControllerManager(ctx context.Context) error { … } // WaitForControllerManagerUp waits for the kube-controller-manager to be up. func WaitForControllerManagerUp(ctx context.Context) error { … }