Skip to main content
Skip table of contents

Pre-provisioned Built-in Virtual IP

As explained in Define the Control Plane Endpoint, we recommend using an external load balancer for the control plane endpoint, but provide a built-in virtual IP when an external load balancer is not available. The built-in virtual IP uses the kube-vip project. To use the virtual IP, add these flags to the create cluster command:

Virtual IP Configuration

Flag

Network interface to use for Virtual IP. Must exist on all control plane machines.

--virtual-ip-interface string

IPv4 address. Reserved for use by the cluster.

--control-plane-endpoint string

Virtual IP example

CODE
dkp create cluster preprovisioned \
    --cluster-name ${CLUSTER_NAME} \
    --control-plane-endpoint-host 196.168.1.10 \
    --virtual-ip-interface eth1
    --pre-provisioned-inventory-file preprovisioned_inventory.yaml 
    --ssh-private-key-file <path-to-ssh-private-key> 
    --self-managed

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.