This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a Deployment with AntiAfinnity for kube-apiserver
Before a DaemonSet was used to deploy multiple kube-apiservers these were bound to the hostport 6443, because DaemonSet do not support a rollover without 1 pos bing unavailable this caused issues with one API server endpoint becoming unavailable on update. In systems where no network level loadbalancer of these was implemented it causes Helm to error as it can no longer check how the rollout of its update is going causing the kube-apiserver to never be updated. This changes the multi controller setup to use a Deployment just like a single controller setup. It uses Pod AntiAffinity rules to spread to all controller nodes. Signed-off-by: Maartje Eyskens <maartje@eyskens.me>
- Loading branch information