We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 064a3a7 + a0feb85 commit 40163beCopy full SHA for 40163be
content/en/docs/reference/kubectl/cheatsheet.md
@@ -68,6 +68,11 @@ kubectl config get-contexts # display list of contexts
68
kubectl config current-context # display the current-context
69
kubectl config use-context my-cluster-name # set the default context to my-cluster-name
70
71
+kubectl config set-cluster my-cluster-name # set a cluster entry in the kubeconfig
72
+
73
+# configure the URL to a proxy server to use for requests made by this client in the kubeconfig
74
+kubectl config set-cluster my-cluster-name --proxy-url=my-proxy-url
75
76
# add a new user to your kubeconf that supports basic auth
77
kubectl config set-credentials kubeuser/foo.kubernetes.com --username=kubeuser --password=kubepassword
78
0 commit comments