mirror of
https://github.com/denisidoro/navi.git
synced 2024-09-19 14:27:17 +03: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,5 +1,14 @@
|
|||||||
% kubernetes, k8s
|
% 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
|
# Print resource documentation
|
||||||
kubectl explain <resource>
|
kubectl explain <resource>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user