From e53d50b5d2880204193cb598022af0139f59272d Mon Sep 17 00:00:00 2001 From: Joseph Wright Date: Tue, 9 Oct 2018 08:18:33 -0400 Subject: [PATCH] Add cloud-provider=aws to /etc/default/kubelet This does not get automatically passed down from kubeadm, see https://github.com/kubernetes/kubeadm/issues/1021. --- stack/cloudformation/node.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stack/cloudformation/node.yml b/stack/cloudformation/node.yml index 3132ca6a..8d4d83b6 100644 --- a/stack/cloudformation/node.yml +++ b/stack/cloudformation/node.yml @@ -127,7 +127,7 @@ Resources: owner: root:root permissions: '0644' content: | - KUBELET_EXTRA_ARGS=--node-labels=kubernetes.io/role=node,node-role.kubernetes.io/node=,${NodeLabels} + KUBELET_EXTRA_ARGS=--cloud-provider=aws --node-labels=kubernetes.io/role=node,node-role.kubernetes.io/node=,${NodeLabels} runcmd: - systemctl daemon-reload