kubernetes.adm.distributed_lb role – Setup a Distributed Load Balancer For The API Server using HAProxy.

Note

This role is part of the kubernetes.adm collection (version 1.0.0).

To install it use: ansible-galaxy collection install kubernetes.adm.

To use it in a playbook, specify: kubernetes.adm.distributed_lb.

Entry point main – Setup a Distributed Load Balancer For The API Server using HAProxy.

Synopsis

  • Every client will have its own load balancer on the same node.

  • HAPorxy listens on 127.0.0.1.

  • The control_plane_endpoint should resolve to 127.0.0.1

  • Connecting to the API server from outside the cluster nodes is not possible.