Difference between revisions of "Kubernetes aliases"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 
  alias k=[[kubectl]]
 
  alias k=[[kubectl]]
  alias kgp="[[k get pod]]"
+
  alias [[kgp]]="[[k get pod]]"
 
  alias kgd="k get deploy"
 
  alias kgd="k get deploy"
 
  alias kgs="k get svc"
 
  alias kgs="k get svc"

Revision as of 19:16, 27 May 2022

alias k=kubectl
alias kgp="k get pod"
alias kgd="k get deploy"
alias kgs="k get svc"
alias kgn="k get nodes"
alias kd="k describe"
alias kge="k get events --sort-by='.metadata.creationTimestamp' |tail -8"

Advertising: