Closed HarrisKirk closed 1 year ago
kubectl config --kubeconfig=config.yaml view
where the config.yaml is the contents of the config file from the cloud manager web page. How do I get the config file prorgrammatically?
linode-cli --json lke kubeconfig-view <clusterId> | jq -r '.[].kubeconfig | @base64d'
will get the config yaml intended to be the config file for the kubectl command
NEXT: Save the file in the container and use it when launching kubectl.
DONE=kubectl is communicating with the cluster