mirror of
https://github.com/jessebot/dot_files.git
synced 2025-10-01 01:48:43 +00:00
fix kgb alias status field
This commit is contained in:
parent
17a715e60f
commit
0b28ec9643
1 changed files with 4 additions and 1 deletions
|
@ -31,7 +31,7 @@ alias kgn="kubecolor get nodes -l kubernetes.io/role=node"
|
|||
# get cnpg backups
|
||||
alias kgpgb="kubecolor get backups.postgresql.cnpg.io -o custom-columns=name:.metadata.name,status:.status.phase"
|
||||
# get k8up backups
|
||||
alias kgb="kubecolor get backups -o custom-columns=name:.metadata.name,status:.status.phase"
|
||||
alias kgb="kubecolor get backups -o custom-columns=name:.metadata.name,status:.status.conditions[-1].reason"
|
||||
alias kgp="kubecolor get pods -o custom-columns=name:.metadata.name,status:.status.phase"
|
||||
alias kgj="kubecolor get jobs -o custom-columns=name:.metadata.name,status:.status.conditions[0].type"
|
||||
|
||||
|
@ -58,6 +58,9 @@ function kgall() {
|
|||
kubecolor get configmaps
|
||||
}
|
||||
|
||||
# alias a common typo
|
||||
alias gkall="kgall"
|
||||
|
||||
# print every k8s secret in plain text... very secure
|
||||
function kgsdump() {
|
||||
BLUE='\033[1;34m'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue