Update k3s.sh

Add interface variable to flannel arguements
This commit is contained in:
tehNooB 2023-10-31 19:24:06 +00:00 committed by GitHub
parent 75ea3d4fb0
commit 04fb9cf454
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -116,7 +116,7 @@ k3sup install \
--tls-san $vip \ --tls-san $vip \
--cluster \ --cluster \
--k3s-channel stable \ --k3s-channel stable \
--k3s-extra-args "--disable traefik --disable servicelb --flannel-iface=eth0 --node-ip=$master1" \ --k3s-extra-args "--disable traefik --disable servicelb --flannel-iface=$interface --node-ip=$master1" \
--merge \ --merge \
--sudo \ --sudo \
--local-path $HOME/.kube/config \ --local-path $HOME/.kube/config \