Manage Kubernetes using kubectl | Twingate

Manage Kubernetes using kubectl

securely manage a k8s cluster using kubectl permalink Securely manage a K8s cluster using kubectl

Use case: You’d like to use Twingate to manage services on a K8S Cluster using kubectl without exposing your cluster’s API endpoint to the public Internet.

# Example kubectl config command
# 10.1.1.15 is an example private K8s API endpoint defined as a Resource in Twingate

kubectl config set-cluster example-cluster --server=https://10.1.1.15

As long as you are connected to Twingate, and you are authorized to access to the K8s cluster’s API endpoint Resource, you will be able to use kubectl to manage your K8s cluster securely without setting up a separate K8s proxy.

Last updated 6 months ago