Kubectl config: Difference between revisions
Jump to navigation
Jump to search
Line 21: | Line 21: | ||
kubectl config view | kubectl config view | ||
Revision as of 05:48, 29 November 2019
Internal
Overview
current-context
Displays the current context:
kubectl config current-context
use-context
Sets the current context:
kubectl config use-context new-context-name
view
Displays the content of ~/.kube/cofig:
kubectl config view