Skip to content

Commit

Permalink
add kgpr to get running pods only
Browse files Browse the repository at this point in the history
  • Loading branch information
the-gigi committed Apr 12, 2022
1 parent 4afb76e commit 25f1163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/k8s.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
alias k='kubectl'
alias kg='k get'
alias kgpr='kg po --field-selector=status.phase==Running'
alias kd='k describe'
alias kc='k config'
alias kcc='echo "$(kubectl config current-context)"'
Expand Down
2 changes: 1 addition & 1 deletion components/prompt/prompt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function prompt()
prompt

# Install the status
sched +5 install_status
sched +2 install_status

#function prompt()
#{
Expand Down

0 comments on commit 25f1163

Please sign in to comment.