Kubermatic Kubernetes Platform Integration

Enterprise Edition

KubeLB Enterprise Edition is integrated into the Kubermatic Kubernetes Platform (KKP), so KubeLB can provision load balancers for KKP clusters. KKP handles configuration and deployment in the user cluster. Admins mainly need to create the KubeLB management cluster and configure KKP to use it.

Prerequisites

To configure KubeLB for KKP, you first need a KubeLB management cluster and its Kubeconfig. The KKP integration requires access to certain resources like Tenants, LoadBalancer, and Routes. Instead of the admin Kubeconfig, use a Kubeconfig with the necessary RBAC permissions to access the required resources.

  1. Create a KubeLB management cluster with the following settings in the values.yaml file for the kubelb-management chart:
kkpintegration.rbac: true
  1. Install the kubectl-view-serviceaccount-kubeconfig plugin.
  2. Use the following command to generate a Kubeconfig for the service account kubelb-manager in the kubelb namespace:
kubectl view-serviceaccount-kubeconfig kubelb-kkp -n kubelb
  1. Use the output of the previous command to create a file kubelb-secret.yaml with the required secret:
kubectl create secret generic kubelb-management-cluster \
  --namespace=kubermatic \
  --from-literal=kubeconfig="$(kubectl view-serviceaccount-kubeconfig kubelb-kkp -n kubelb)" \
  --dry-run=client -o yaml > kubelb-secret.yaml
  1. Apply the file kubelb-secret.yaml to the kubermatic namespace in your KKP cluster.
kubectl apply -f kubelb-secret.yaml

For further configuration, see the official KKP documentation.

The KubeLB Enterprise offering requires a valid license. Contact sales for more information.