mirror of
https://github.com/mr0xb/dotfiles.git
synced 2026-08-27 19:34:57 -04:00
..
This commit is contained in:
parent
6c4c0198b8
commit
490cfc4a3a
5 changed files with 27 additions and 9 deletions
|
|
@ -78,16 +78,12 @@ alias kgsec='kubectl get secret'
|
|||
alias kgj='kubectl get job'
|
||||
alias fqdn="kubectl get ingress -o json | jq '.items[] | .metadata.namespace + \": \" + .metadata.annotations.\"external-dns.alpha.kubernetes.io/hostname\"'"
|
||||
alias fqdna="kubectl get ingress --all-namespaces -o json | jq '.items[] | .metadata.namespace + \": \" + .metadata.annotations.\"external-dns.alpha.kubernetes.io/hostname\"'"
|
||||
#Kubernetes + Teleport
|
||||
|
||||
#===================================
|
||||
# Kubernetes + Teleport
|
||||
#===================================
|
||||
alias tkl='tsh kube ls'
|
||||
kutil () {
|
||||
for host in $(kubectl get nodes --no-headers | cut -d' ' -f1)
|
||||
do
|
||||
echo "$host - $(kubectl get nodes -o jsonpath='{.metadata.labels.topology\.kubernetes\.io/zone}' $host)"
|
||||
kubectl describe node "$host" | grep --color Allocated -A 5 | grep --color -ve Event -ve Allocated -ve percent -ve --
|
||||
echo
|
||||
done
|
||||
}
|
||||
|
||||
#===================================
|
||||
# USEFUL / CONVIENENCE
|
||||
#===================================
|
||||
|
|
|
|||
|
|
@ -1,4 +1,8 @@
|
|||
[ -f $HOME/.config/.vault ] && source ~/.config/.vault
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
[ -f $HOME/.vault-token ] && source ~/.vault-token
|
||||
>>>>>>> 64f3fcd (updates)
|
||||
|
||||
export AWS_VAULT_BACKEND=keychain
|
||||
export AWS_VAULT_KEYCHAIN_NAME="aws-vault"
|
||||
|
|
|
|||
Loading…
Reference in a new issue