SUSE / caasp-salt

A collection of salt states used to provision a kubernetes cluster
Apache License 2.0
64 stars 29 forks source link

During upgrade, ensure masters always have the correct taints #608

Closed kiall closed 6 years ago

kiall commented 6 years ago

When migrating from the "old" to "new" names for the kubelets, we pre-create the new node so that we can clone the network config. This means the kubelet is NOT self-registering, and the "single use options" like --register-with-taints are ignored. This means the kubelet is connected from the period of time where it starts, to where salt later forcefully adds the taint. Any pods created during this window could end up scheduled to the master.

bsc#1098383