Private Kubernetes Cluster
Introduction
With Bunnyshell you can easily connect a private Kubernetes cluster to your Organization. Make sure you meet the prerequisites, then follow the steps described in this guide.
Connect a Private Kubernetes Cluster to Bunnyshell
Prerequisites for connecting the cluster
- You have a Bunnyshell account
- You have created an Organization.
- You have a private Kubernetes Cluster already configured.
Before connecting the cluster to Bunnyshell, make sure you have access to the
.kube/config
file.
How to connect the cluster
-
Go to the Bunnyshell platform and click Integrations on the left-side menu.
-
Click Kubernetes clusters on the left side of the main interface.
-
Click Connect cluster.
-
For a Private Cluster, you can choose one of two options:
-
Private cluster with certificate
A new window should pop-up now. It's time to use the info from the Config File downloaded earlier. The fields listed below are displayed in the new window:- Name
Choose what name your cluster will have in Bunnyshell. - Cluster name
You can find it in thekubeconfig
file, inclusters.[...].cluster.name
. - Cluster URL
You can find it in thekubeconfig
file, inclusters.[...].cluster.server
. - User Certificate
You can find it in thekubeconfig
file, inusers.[...].user.client-certificate-data
, for the user corresponding to the cluster. - User Certificate Private Key
You can find it in thekubeconfig
file, inusers.[...].user.client-key-data
, for the user corresponding to the cluster. - CA Certificate
You can find it in thekubeconfig
file, inclusters.[...].cluster.certificate-authority-data
.
- Name
-
Private cluster with token
A new window should pop-up now. Use the info from the Config File downloaded earlier. The following fields are displayed in the new window:- Name
Choose what name your cluster will have in Bunnyshell. - Cluster name
You can find it in thekubeconfig
file, inclusters.[...].cluster.name
. - Cluster URL
You can find it in thekubeconfig
file, inclusters.[...].cluster.server
. - Token
You can find it in thekubeconfig
file, inusers.[...].user.token
, for the user corresponding to the cluster. - CA Certificate
You can find it in thekubeconfig
file, inclusters.[...].cluster.certificate-authority-data
.
- Name
Updated 11 months ago