Kubermatic Kubernetes Platform Integration
Enterprise EditionStarting 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.
- Create a KubeLB management cluster with the following settings in the
values.yaml
file for the kubelb-management
chart:
kkpintegration.rbac: true
- Install the kubectl-view-serviceaccount-kubeconfig plugin.
- 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
- 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
- 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.