Last active
December 18, 2019 23:00
-
-
Save asabirov/ca184d588ea2d500d757e6f01061520b to your computer and use it in GitHub Desktop.
envs for cka exam
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
source <(kubectl completion bash) | |
complete -F __start_kubectl k | |
alias k='kubectl' | |
alias kgd='k get deploy' | |
alias kgp='k get pods' | |
alias kgn='k get nodes' | |
alias kgs='k get svc' | |
alias kge="k get events — sort-by='.metadata.creationTimestamp' |tail -" | |
function vaml() | |
{ | |
vim -R -c 'set syntax=yaml' -; | |
} | |
# ~/.vimrc | |
#autocmd FileType yaml setlocal ts=2 sts=2 sw=2 expandtab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment