feat(kubectl): add aliases for kustomization directories (#13033)

This commit is contained in:
NanoNova authored and GitHub committed 2025-12-17 19:27:29 +01:00
1 parent 8a231b1930
commit 945d89f7ae
2 files changed
+6

No files matched your search

+4
View File
@@ -21,6 +21,9 @@ alias kca='_kca(){ kubectl "$@" --all-namespaces; unset -f _kca; }; _kca'
# Apply a YML file
alias kaf='kubectl apply -f'
# Apply a kustomization directory
alias kapk='kubectl apply -k'
# Drop into an interactive terminal on a container
alias keti='kubectl exec -t -i'
@@ -36,6 +39,7 @@ alias kcgc='kubectl config get-contexts'
# General aliases
alias kdel='kubectl delete'
alias kdelf='kubectl delete -f'
alias kdelk='kubectl delete -k'
alias kge='kubectl get events --sort-by=".lastTimestamp"'
alias kgew='kubectl get events --sort-by=".lastTimestamp" --watch'