From 62df91d9fd9954152801b5d29ebb29f4eed1768e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Sun, 4 Sep 2022 11:52:49 +0200 Subject: [PATCH] k3s --- .bash_extra | 5 +++++ .ssh/config | 3 +++ 2 files changed, 8 insertions(+) diff --git a/.bash_extra b/.bash_extra index af95f4c..4500bb7 100644 --- a/.bash_extra +++ b/.bash_extra @@ -261,3 +261,8 @@ alias hibernate="~/dotfiles/scripts/pwr.sh -hb" alias restart="~/dotfiles/scripts/pwr.sh -r" alias shutdown="~/dotfiles/scripts/pwr.sh -s" alias reboot="~/dotfiles/scripts/pwr.sh -r" +# k3s +alias k="sudo kubectl" +source <(sudo kubectl completion bash) +# https://kubernetes.io/docs/tasks/tools/included/optional-kubectl-configs-bash-linux/ +complete -o default -F __start_kubectl k diff --git a/.ssh/config b/.ssh/config index 5e09499..6c1ebec 100644 --- a/.ssh/config +++ b/.ssh/config @@ -21,6 +21,9 @@ Host docker7-test.grote.lan Host vm-test2.grote.lan Host pve2-test2.grote.lan Host gitea-test.grote.lan +Host k3s1.grote.lan +Host k3s2.grote.lan +Host k3s3.grote.lan Host dnsmasq-test.grote.lan Host bastelstube-gui.grote.lan Host *.grote.lan