How can I connect to my kubernetes api using KHKS?
Log in to your KeepSec Dashboard.
Navigate to Products > Kubernetes > KHKS.
Locate the cluster you wish to connect to.
Click on the three-dot menu on the right side of the Kubernetes cluster box.
Select "Download Config" from the dropdown options to download the kubeconfig file for your cluster.
Use the kubeconfig file to connect to your cluster:
- Run the following command in your local environment:
- Replace </path/to/downloaded/kubeconfig> with the actual path to the downloaded kubeconfig file.
Ensure that kubectl is installed on your machine. You can refer to the official kubectl installation guide if needed.
Facing Issues?
If you encounter any problems, please reach out to our support team through the Support section in the dashboard.
Navigate to Products > Kubernetes > KHKS.
Locate the cluster you wish to connect to.
Click on the three-dot menu on the right side of the Kubernetes cluster box.
Select "Download Config" from the dropdown options to download the kubeconfig file for your cluster.
Use the kubeconfig file to connect to your cluster:
- Run the following command in your local environment:
kubectl --kubeconfig=</path/to/downloaded/kubeconfig> get nodes
- Replace </path/to/downloaded/kubeconfig> with the actual path to the downloaded kubeconfig file.
Ensure that kubectl is installed on your machine. You can refer to the official kubectl installation guide if needed.
Facing Issues?
If you encounter any problems, please reach out to our support team through the Support section in the dashboard.
Updated on: 09/11/2024
Thank you!