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:
Denis Isidoro 2019-10-14 13:38:09 -03:00 committed by GitHub
commit 8ef05c26cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>