Skip to content

Getting started with the Kubernetes Service ​

This "Getting started" guide walks you through creating your first cluster and accessing it using kubectl.

Prerequisites ​

Before you begin, make sure the following are in place:

  • You have created a Kubernetes Service Environment in the ESC Portal Create Environment
  • You have a working installation of kubectl
  • You are logged into the Kubernetes Service Portal using your organizational credentials

Create a Project ​

To create a project navigate to the desired KS Environment in the ESC Portal and click on the "Kubernetes Projects" tab in the navigation menu. Then click the "Add Kubernetes Project" button located at the top right corner of the page.

Read more about Project Management.

Cluster ​

Cluster Management ist done within the KKP UI or API. Read more about Cluster Management.

Accessing the Cluster Overview ​

To view the list of clusters and access the cluster overview, select the Project and navigate to the "Clusters" tab in the top navigation bar. The Cluster Overview page will display all clusters under the selected project, including their status, provider, version, and health.

Read more about Cluster Overview.

Create a Kubernetes Cluster ​

Inside your project, you are now able to create new clusters. Select Clusters and click the Button Create Cluster on the top right.

Read more about Create Cluster.

Connect to your Cluster ​

  1. Once the cluster status is Running, download the kubeconfig from the cluster details.

  2. Test your connection using the following command to show your worker nodes:

    bash
    kubectl --kubeconfig=./kubeconfig get nodes

    You should see your worker nodes ready. You can also export your kubeconfig as an environment variable so you can omit the --kubeconfig flag in the commands:

    bash
    export KUBECONFIG=$PWD/kubeconfig-xxxx-yyyy