mirror of
https://github.com/denisidoro/navi
synced 2024-11-24 20:43:06 +00:00
Merge pull request #127 from fengyuxx/master
Add kubectl config get-contexts Add kubectl config current-context Add kubectl config use-context <context>
This commit is contained in:
commit
8ef05c26cb
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,14 @@
|
|||
% kubernetes, k8s
|
||||
|
||||
# Print all contexts
|
||||
kubectl config get-contexts
|
||||
|
||||
# Print current context of kubeconfig
|
||||
kubectl config current-context
|
||||
|
||||
# Set context of kubeconfig
|
||||
kubectl config use-context <context>
|
||||
|
||||
# Print resource documentation
|
||||
kubectl explain <resource>
|
||||
|
||||
|
|
Loading…
Reference in a new issue