disable traefik installation on k3s.

nagle_dev
Ubuntu 4 years ago
parent b0415f2ce8
commit 12268ceac9
  1. 2
      bootstrap.sh

@ -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 || \

Loading…
Cancel
Save