Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Use a Deployment for kube-apiserver #1455

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 29, 2021

  1. 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@kinvolk.io>
    meyskens committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    3053f64 View commit details
    Browse the repository at this point in the history