Last active
October 23, 2022 16:55
-
-
Save devangtomar/7c71346c1a60a9c37561851e52f0caa0 to your computer and use it in GitHub Desktop.
Kubectl time saving aliases
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias k='kubectl' | |
alias kc='k config view --minify | grep name' | |
alias kdp='kubectl describe pod' | |
alias krh='kubectl run --help | more' | |
alias ugh='kubectl get --help | more' | |
alias c='clear' | |
alias kd='kubectl describe pod' | |
alias ke='kubectl explain' | |
alias kf='kubectl create -f' | |
alias kg='kubectl get pods --show-labels' | |
alias kr='kubectl replace -f' | |
alias kh='kubectl --help | more' | |
alias krh='kubectl run --help | more' | |
alias ks='kubectl get namespaces' | |
alias l='ls -lrt' | |
alias ll='vi ls -rt | tail -1' | |
alias kga='k get pod --all-namespaces' | |
alias kgaa='kubectl get all --show-labels' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment