Skip to content

Commit d725c81

Browse files
authored
Added a note on Cloud Controller Manager Administration page to clarify --cloud-provider argument usage (#43010)
* added a note on --cloud-provider argument usage * Rephrased the sentance with generic meaning as per review comments * updated a minor grammar nit * move the note to above first point to make it clear. * rephrased the text * Updated indentation * updated with miner nit
1 parent df02d16 commit d725c81

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

content/en/docs/tasks/administer-cluster/running-cloud-controller.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,17 +46,15 @@ integration, it should not be too different from the requirements when running
4646

4747
Successfully running cloud-controller-manager requires some changes to your cluster configuration.
4848

49-
* `kube-apiserver` and `kube-controller-manager` MUST NOT specify the `--cloud-provider`
50-
flag. This ensures that it does not run any cloud specific loops that would be run by
51-
cloud controller manager. In the future, this flag will be deprecated and removed.
52-
* `kubelet` must run with `--cloud-provider=external`. This is to ensure that the
53-
kubelet is aware that it must be initialized by the cloud controller manager
54-
before it is scheduled any work.
49+
* `kubelet`, `kube-apiserver`, and `kube-controller-manager` must be set according to the
50+
user's usage of external CCM. If the user has an external CCM (not the internal cloud
51+
controller loops in the Kubernetes Controller Manager), then `--cloud-provider=external`
52+
must be specified. Otherwise, it should not be specified.
5553

5654
Keep in mind that setting up your cluster to use cloud controller manager will
5755
change your cluster behaviour in a few ways:
5856

59-
* kubelets specifying `--cloud-provider=external` will add a taint
57+
* Components that specify `--cloud-provider=external` will add a taint
6058
`node.cloudprovider.kubernetes.io/uninitialized` with an effect `NoSchedule`
6159
during initialization. This marks the node as needing a second initialization
6260
from an external controller before it can be scheduled work. Note that in the

0 commit comments

Comments
 (0)