mirror of
https://github.com/denisidoro/navi
synced 2025-02-16 12:38:28 +00:00
Update kubernetes.cheat
Add kubectl config get-contexts Add kubectl config current-context Add kubectl config use-context <context>
This commit is contained in:
parent
cc2e3f7832
commit
d21e44fc0b
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…
Add table
Reference in a new issue