Merge pull request #2040 from kad/cloud-config

Append note about content and format of /etc/kubernetes/cloud-config.
This commit is contained in:
devin-donnelly
2017-01-03 15:33:32 -08:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
+3
View File
@@ -84,6 +84,9 @@ Valid values are the ones supported by `controller-manager`, namely `"aws"`,
the cloud provider, you should create a `/etc/kubernetes/cloud-config`
file manually, before running `kubeadm init`. `kubeadm` automatically
picks those settings up and ensures other nodes are configured correctly.
The exact format and content of the file `/etc/kubernetes/cloud-config` depends
on the type you specified for `--cloud-provider`; see the appropriate documentation
for your cloud provider for details.
You must also set the `--cloud-provider` and `--cloud-config` parameters
yourself by editing the `/etc/systemd/system/kubelet.service.d/10-kubeadm.conf`
file appropriately.