Skip to content

Instantly share code, notes, and snippets.

@fsschmitt
Created August 18, 2020 12:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fsschmitt/ff2b4ef4a56bc5f3656b375f474e6bf5 to your computer and use it in GitHub Desktop.
Save fsschmitt/ff2b4ef4a56bc5f3656b375f474e6bf5 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Global
alias watch="watch "
alias cls="clear"
# Kubectl
alias k="kubectl"
alias kg="kubectl get"
alias kd="kubectl describe"
alias kga="kubectl get all"
alias kgp="kubectl get pod"
alias kgs="kubectl get service"
alias kging="kubectl get ingress"
alias kgsec="kubectl get secret"
alias kgpvc="kubectl get pvc"
alias kgcm="kubectl get configmap"
alias kl="kubectl logs"
# Cluster View
alias kgpvcall="kubectl get pvc --all-namespaces"
alias kgingcall="kubectl get ingress --all-namespaces"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment