Skip to content
Snippets Groups Projects
Select Git revision
  • 07cc98197187535619ac8e57ee4e04ae02631a54
  • master default protected
  • v2.28.0
  • v2.27.0
  • v2.25.1
  • v2.24.3
  • v2.26.0
  • v2.24.2
  • v2.25.0
  • v2.24.1
  • v2.22.2
  • v2.23.3
  • v2.24.0
  • v2.23.2
  • v2.23.1
  • v2.23.0
  • v2.22.1
  • v2.22.0
  • v2.21.0
  • v2.20.0
  • v2.19.1
  • v2.18.2
22 results

upgrades.md

Blame
  • kube-vip.md 2.04 KiB

    kube-vip

    kube-vip provides Kubernetes clusters with a virtual IP and load balancer for both the control plane (for building a highly-available cluster) and Kubernetes Services of type LoadBalancer without relying on any external hardware or software.

    Prerequisites

    You have to configure kube_proxy_strict_arp when the kube_proxy_mode is ipvs and kube-vip ARP is enabled.

    kube_proxy_strict_arp: true

    Install

    You have to explicitly enable the kube-vip extension:

    kube_vip_enabled: true

    You also need to enable kube-vip as HA, Load Balancer, or both:

    # HA for control-plane, requires a VIP
    kube_vip_controlplane_enabled: true
    kube_vip_address: 10.42.42.42
    loadbalancer_apiserver:
      address: "{{ kube_vip_address }}"
      port: 6443
    # kube_vip_interface: ens160
    
    # LoadBalancer for services
    kube_vip_services_enabled: false
    # kube_vip_services_interface: ens320