Define the Control Plane Endpoint for your cluster
A control plane should have three, five, or seven nodes, so it can remain available if one, two, or three nodes fail. A control plane with one node should not be used in production.
In addition, the control plane should have an endpoint that remains available if some nodes fail.
-------- cp1.example.com:6443 | lb.example.com:6443 ---------- cp2.example.com:6443 | -------- cp3.example.com:6443
In this example, the control plane endpoint host is
lb.example.com, and the control plane endpoint port is
6443. The control plane nodes are
cp3.example.com. The port of each API server is
External Load Balancer
It is recommended that an external load balancer(LB) be the control plane endpoint. To distribute request load among the control plane machines, configure the load balancer to send requests to all the control plane machines. Configure the load balancer to send requests only to control plane machines that are responding to API requests.
Built-in virtual IP
If an external load balancer is not available, use the built-in virtual IP. The virtual IP is not a load balancer; it does not distribute request load among the control plane machines. However, if the machine receiving requests does not respond to them, the virtual IP automatically moves to another machine.
Single-Node control plane
Do not use a single-node control plane in a production cluster.
A control plane with one node can use its single node as the endpoint, so you will not require an external load balancer, or a built-in virtual IP. At least one control plane node must always be running. Therefore, to upgrade a cluster with one control plane node, a spare machine must be available in the control plane inventory. This machine is used to provision the new node before the old node is deleted.
Modify Control Plane Audit logs settings using the information contained in the page Configuring the Control Plane.
When the API server endpoints are defined, you can create the cluster.
Be aware of these limitations in the current release of DKP.
The control plane endpoint port is also used as the API server port on each control plane machine. The default port is 6443. Before you create the cluster, ensure the port is available for use on each control plane machine.