Difference between revisions of "Kubectl (alias)"
Jump to navigation
Jump to search
Line 4: | Line 4: | ||
[[alias]] kgp="[[kubectl get pods]]" | [[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: