upgrade ignores HighAvailability feature gate #731
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/critical-urgent
Highest priority. Must be actively worked on as someone's top priority right now.
Milestone
Choose one: BUG REPORT
I have the
HighAvailability
feature gate enabled in my kubeadm configuration file. Onkubeadm init
, that added--endpoint-reconciler-type=lease
to the kube-apiserver static pod. After runningkubeadm upgrade
with the same configuration file, that option is gone.Versions
kubeadm version (use
kubeadm version
): 1.9.4Environment:
Kubernetes version (use
kubectl version
): 1.9.3Cloud provider or hardware configuration: Vagrant with VirtualBox
OS (e.g. from /etc/os-release): CentOS Linux release 7.4.1708 (Core)
Kernel (e.g.
uname -a
): Linux vagrant-kubernetes-master1 3.10.0-693.17.1.el7.x86_64 kubeadm join on slave node fails preflight checks #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64 x86_64 x86_64 GNU/LinuxOthers:
What happened?
Before upgrade:
After upgrade:
What you expected to happen?
After upgrade:
How to reproduce it (as minimally and precisely as possible)?
kubeadm init --config /etc/kubernetes/kubeadm.yaml
grep endpoint-reconciler-type /etc/kubernetes/manifests/kube-apiserver.yaml
: shows optionkubectl apply -f https://raw.githubusercontent.com/coreos/flannel/v0.9.1/Documentation/kube-flannel.yml
kubectl get nodes -w
kubeadm upgrade --yes --config /etc/kubernetes/kubeadm.yaml apply v1.9.4
grep endpoint-reconciler-type /etc/kubernetes/manifests/kube-apiserver.yaml
: no outputAnything else we need to know?
The text was updated successfully, but these errors were encountered: