Kubernetes Access

How to connect to Kubernetes

Configure kubectl

Before you can use kubectl, you need to connect it to your kubernetes cluster (created by opta). This is pretty simple in the Opta world! Just run:

# note: if you don't want to use the default path $HOME/.kube/config, set the env var KUBECONFIG first
opta configure-kubectl

By defaut opta use the default kube config file ~/.kube/config, if you want to use a different file set the KUBECONFIG environment variable.


Last modified May 23, 2022 : Docs for new release (#191) (ba6432d)