Connecting to the cluster
Using Kubectl
One way to interact with your cluster is by downloading the kubeconfig file and using kubectl. This allows you to manage and interact with your cluster directly from the command line.
To download the Kubeconfig, go to the Clusters page in the KKP interface and select the appropriate cluster. On the top-right corner of the page, you will find a Get Kubeconfig button to download the Kubeconfig file.
Note: In order to interact with your cluster from outside EWC, you need to make sure HTTPS access to destination port 6443 is allowed on your organization's firewall.
Note: Ensure that kubectl is installed on your system before using the kubeconfig file to interact with the cluster. If kubectl is not installed, you will not be able to execute commands.
Once you have downloaded the kubeconfig file, export it to your environment to start interacting with your cluster.
Using the Web Terminal
The Web Terminal allows direct kubectl access to a cluster from the KKP dashboard. This enables you to manage your cluster using kubectl commands directly through the web interface.
To access it, click the Web Terminal button located on the top-right side of the user cluster page.
Note: On your first usage of the Web Terminal, you will be prompted to log in to KKP again. After this initial login, you will not need to reauthenticate.
Once the web terminal is open, it will appear at the bottom of the page, and you can begin using kubectl to interact with your cluster.