|
|
|
@ -2,7 +2,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
# k3s and set current context as k3s , k3s use trafik as ingress controller by default. |
|
|
|
# k3s and set current context as k3s , k3s use trafik as ingress controller by default. |
|
|
|
(which k3s &> /dev/null && test -f /etc/rancher/k3s/k3s.yaml) || \ |
|
|
|
(which k3s &> /dev/null && test -f /etc/rancher/k3s/k3s.yaml) || \ |
|
|
|
curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode 644 |
|
|
|
curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode 644 --disable traefik |
|
|
|
|
|
|
|
|
|
|
|
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml |
|
|
|
export KUBECONFIG=/etc/rancher/k3s/k3s.yaml |
|
|
|
kubectl get namespace jitsi &> /dev/null || \ |
|
|
|
kubectl get namespace jitsi &> /dev/null || \ |
|
|
|
|