Kubermatic Kubernetes Platform Integration

Enterprise Edition

Kubermatic Kubernetes Platform (Enterprise Edition Only)

Starting with KKP v2.24, KubeLB Enterprise Edition is integrated into the Kubermatic Kubernetes Platform (KKP). This means that you can use KubeLB to provision load balancers for your KKP clusters. KKP will take care of configurations and deployments for you in the user cluster. Admins mainly need to create the KubeLB manager cluster and configure KKP to use it.

Prerequisites

To configure KubeLB for KKP, you first need a KubeLB management cluster and its Kubeconfig. KubeLB requires access to certain resources like Tenants, LoadBalancer, Routes, etc. for the KKP integration to work. Instead of using admin Kubeconfig, we can 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 --admin
  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 --admin)" \
  --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, please refer to the official KKP documentation.

To use KubeLB enterprise offering, you need to have a valid license. Please contact sales for more information.