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

  1. Go to the Bunnyshell platform and click Integrations on the left-side menu.

  2. Click Kubernetes clusters on the left side of the main interface.

  3. Click Connect cluster.

  4. 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 the kubeconfig file, in clusters.[...].cluster.name.
    • Cluster URL
      You can find it in the kubeconfig file, in clusters.[...].cluster.server.
    • User Certificate
      You can find it in the kubeconfig file, in users.[...].user.client-certificate-data, for the user corresponding to the cluster.
    • User Certificate Private Key
      You can find it in the kubeconfig file, in users.[...].user.client-key-data, for the user corresponding to the cluster.
    • CA Certificate
      You can find it in the kubeconfig file, in clusters.[...].cluster.certificate-authority-data.
  • 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 the kubeconfig file, in clusters.[...].cluster.name.
    • Cluster URL
      You can find it in the kubeconfig file, in clusters.[...].cluster.server.
    • Token
      You can find it in the kubeconfig file, in users.[...].user.token, for the user corresponding to the cluster.
    • CA Certificate
      You can find it in the kubeconfig file, in clusters.[...].cluster.certificate-authority-data.