remove kube functions

This commit is contained in:
Gabriel Augendre 2023-08-11 19:48:22 +02:00
parent ec85e23146
commit 2fbaa251fe
8 changed files with 0 additions and 28 deletions

View file

@ -1,3 +0,0 @@
function kdjango
kubectl django $argv
end

View file

@ -1,3 +0,0 @@
function kjsonlogs
klogs $argv -o raw | jq -r -R 'fromjson? | select(type == "object") | "\(.time) \(.levelname) \(.message)"'
end

View file

@ -1,3 +0,0 @@
function kbash
kubectl bash $argv
end

View file

@ -1,3 +0,0 @@
function kctx --wraps='kubectl ctx'
kubectl ctx $argv;
end

View file

@ -1,6 +0,0 @@
function kgetall
for i in (kubectl api-resources --verbs=list --namespaced -o name | grep -v "events.events.k8s.io" | grep -v "events" | sort | uniq)
echo -e "\nResource:" $i
kubectl get $i
end
end

View file

@ -1,3 +0,0 @@
function kgpg
killall gpg-agent;
end

View file

@ -1,4 +0,0 @@
# Defined interactively
function klogs --wraps=stern
stern --tail=50 $argv
end

View file

@ -1,3 +0,0 @@
function kns --wraps='kubectl ns'
kubectl ns $argv;
end