In correlation with the end of life (EOL) for MKE 3.5.x, maintenance of this documentation set was discontinued as of 2023-NOV-22. Click here for the latest MKE 3.x version documentation.
Use a load balancer
After joining multiple manager nodes for high availability (HA), you can
configure your own load balancer to balance user requests across all
manager nodes.
Use of a load balancer allows users to access MKE using a centralized domain
name. The load balancer can detect when a manager node fails and stop
forwarding requests to that node, so that users are unaffected by the failure.
Configure load balancing on MKE
Because MKE uses TLS, do the following when configuring your load balancer:
Load-balance TCP traffic on ports 443 and 6443.
Do not terminate HTTPS connections.
On each manager node, use the /_ping endpoint to verify whether the
node is healthy and whether or not it should remain in the load balancing
pool.
Use the following examples to configure your load balancer for MKE:
By default, both MKE and Mirantis Secure Registry (MSR) use port 443. If you
plan to deploy MKE and MSR together, your load balancer must
distinguish traffic between the two by IP address or port number.
If you want MKE and MSR both to use port 443, then you must either use separate
load balancers for each or use two virtual IPs. Otherwise, you must configure
your load balancer to expose MKE or MSR on a port other than 443.