What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2022-01-25 13:50:59
kubernetes cert kubeconfig
KUBECONFIG=<filename> kubectl config set-cluster default-cluster --server=https://<host ip>:6443 --certificate-authority <path-to-kubernetes-ca> --embed-certs KUBECONFIG=<filename> kubectl config set-credentials <credential-name... Add solution -
Shell/Bash 2021-08-31 08:37:02
kubectl switch context
kubectl config use-context my-context Add solution -
Shell/Bash 2021-08-27 04:20:02
kubectl use context
kubectl config view # Show Merged kubeconfig settings. # use multiple kubeconfig files at the same time and view merged config KUBECONFIG=~/.kube/config:~/.kube/kubconfig2 kubectl config view # get the password for the e2e user kubectl config view -o ... Add solution