Open obeyler opened 5 years ago
Please note: that to make openstack cloud provider as external, master nodes must also not be hidden. (daemonset is collocated on master node by spec it has node selection). when external is set, every nodes are taint until daemonset pod avialability for cloud manager external. To make it run, I add kubelet on maste, with arg: register-with-taints: node-role.kubernetes.io/master=true:NoSchedule
What happened:
Kubelet job warns that cloud providers are getting externalized through the following log:
However when specifying the cloud-provider.type to
external
then the flagcloud-provider
inside kube-api-server and kube-controller-manager is incorrectly set in current templateshttps://github.com/cloudfoundry-incubator/kubo-release/blob/0b66efc0aa54deb522d0e04f16d2d2ccbbc74ed8/jobs/kube-apiserver/templates/config/bpm.yml.erb#L48-L51
https://github.com/cloudfoundry-incubator/kubo-release/blob/0b66efc0aa54deb522d0e04f16d2d2ccbbc74ed8/jobs/kube-controller-manager/templates/config/bpm.yml.erb#L26-L29
according to documentation at https://kubernetes.io/docs/tasks/administer-cluster/running-cloud-controller/#running-cloud-controller-manager reproduced below.
I wonder whether this invalid flag may explain why my configured external openstack cloud provider fails to load
kubectl version
): 1.14.1aws
,gcp
,vsphere
): external => openstack