c12s-kubespray/docs
Rick Haan 5cba8b1614
Wait for kube-apiserver availability before starting upgrade (#6243)
* Wait for kube-apiserver availability before starting upgrade

I am experiencing a timing issue when upgrading from kubespray
2.11.0(k8s 1.15.3) to kubespray 2.12.6(k8s 1.16.9). The certificates get
replaced in `kubeadm-secondary-legacy.yml` and kube-apiserver notices a mismatch
(for a fraction of a second) between `apiserver.crt` and `apiserver.key`
which causes it to restart. And sometimes ( ~ 1 out of 5 upgrades) the
kube-apiserver isn't back on time for the start of the upgrade task. It
fails when kubeadm checks with the kube-apiserver to start the upgrade. The
kube-apiserver returns a `connect: connection refused`. I have created this
small task to check the availability of the kube-apiserver before starting the
upgrade, so that the upgrade will run without an issue.

Signed-off-by: Rick Haan <rickhaan94@gmail.com>

* Fix markdownlint

* Remove old CI

Co-authored-by: Maxime Guyot <maxime@root314.com>
2020-06-08 07:25:53 -07:00
..
calico_peer_example Yamllint fixes (#4410) 2019-04-01 02:38:33 -07:00
figures rename almost all mentions of kargo 2017-06-16 13:25:46 -04:00
img Added img kubernetes-logo.png 2018-04-16 17:29:55 +03:00
_sidebar.md Removes repetition. (#5310) 2019-10-30 06:12:53 -07:00
ansible.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
arch.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
atomic.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
aws.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
azure.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
calico.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
cinder-csi.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
cloud.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
cni.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
comparisons.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
contiv.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
coreos.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
cri-o.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
debian.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
dns-stack.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
downloads.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
flannel.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
getting-started.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
ha-mode.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
integration.md Wait for kube-apiserver availability before starting upgrade (#6243) 2020-06-08 07:25:53 -07:00
kube-ovn.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
kube-router.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
kubernetes-reliability.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
large-deployments.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
macvlan.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
multus.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
netcheck.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
openstack.md Enable openstack_cacert to be either file or base64 string (#5243) 2019-10-09 02:19:49 -07:00
opensuse.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
packet.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
proxy.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
recover-control-plane.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
roadmap.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
test_cases.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
upgrades.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
vagrant.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
vars.md Add Helm 3.x support (#5441) 2019-12-12 09:24:32 -08:00
vsphere.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00
weave.md Add markdown CI (#5380) 2019-12-04 07:22:57 -08:00