Created
August 9, 2019 08:49
-
-
Save vnovichek/1bbdad6d7c8518d85c42d54a21439b5b to your computer and use it in GitHub Desktop.
This file contains hidden or 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 kg='kubectl get' | |
alias kga='kubectl get all' | |
alias kgp='kubectl get pod' | |
alias kgd='kubectl get deploy' | |
alias kd='kubectl describe' | |
alias k-prom-prod='kubectl port-forward --address 0.0.0.0 -n prometheus deploy/prometheus-server 9090:9090 &> /dev/null & kubectl port-forward --address 0.0.0.0 -n prometheus deploy/prometheus-alertmanager 9093:9093 &> /dev/null &' | |
alias k-prom-stage='kubectl port-forward --address 0.0.0.0 -n prometheus deploy/prometheus-server 9190:9090 &> /dev/null & kubectl port-forward --address 0.0.0.0 -n prometheus deploy/prometheus-alertmanager 9193:9093 &> /dev/null &' | |
alias bb='kubectl run busybox --image=busybox --rm -it --restart=Never --command --' | |
source ~/.kube-ps1.sh | |
PS1='\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]$(kube_ps1)\$ ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment