Difference between revisions of "Kubectl (alias)"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
− | kgn="[[kubectl get nodes]]" | + | [[alias]] kgn="[[kubectl get nodes]]" |
− | + | [[alias]] kgp="[[kubectl get pods]]" | |
+ | [[alias]] kgpvc="[[kubectl get pvc]]" | ||
* {{Alias}} | * {{Alias}} | ||
{{kubectl}} | {{kubectl}} |
Latest revision as of 09:39, 29 November 2023
alias kgn="kubectl get nodes" alias kgp="kubectl get pods"
alias kgpvc="kubectl get pvc"
kubectl
: [ cp | config | create
| delete
| edit | explain |
apply
| exec
| get
| set
| drain | uncordon | rolling-update
| rollout
| logs
| run
| auth
| label | annotate
| version
| top
| diff
| debug
| replace
| describe
| port-forward | proxy
| scale
| rollout
| api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: