mirror of
https://github.com/Crocmagnon/dotfiles.git
synced 2024-11-22 06:28:08 +01:00
remove kube functions
This commit is contained in:
parent
ec85e23146
commit
2fbaa251fe
8 changed files with 0 additions and 28 deletions
|
@ -1,3 +0,0 @@
|
|||
function kdjango
|
||||
kubectl django $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function kjsonlogs
|
||||
klogs $argv -o raw | jq -r -R 'fromjson? | select(type == "object") | "\(.time) \(.levelname) \(.message)"'
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function kbash
|
||||
kubectl bash $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function kctx --wraps='kubectl ctx'
|
||||
kubectl ctx $argv;
|
||||
end
|
|
@ -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
|
|
@ -1,3 +0,0 @@
|
|||
function kgpg
|
||||
killall gpg-agent;
|
||||
end
|
|
@ -1,4 +0,0 @@
|
|||
# Defined interactively
|
||||
function klogs --wraps=stern
|
||||
stern --tail=50 $argv
|
||||
end
|
|
@ -1,3 +0,0 @@
|
|||
function kns --wraps='kubectl ns'
|
||||
kubectl ns $argv;
|
||||
end
|
Loading…
Reference in a new issue