-
Notifications
You must be signed in to change notification settings - Fork 1
How to setup new k3s master
Émilien (perso) edited this page Oct 21, 2023
·
1 revision
curl -sfL https://get.k3s.io | sh -s - server \
'--flannel-ipv6-masq' \
'--cluster-cidr' \
'10.10.0.0/16,fd42::/48' \
'--service-cidr=10.43.0.0/16,fd43::/112' \
'--disable' \
'traefik' \
'--node-label' \
'failure-domain.beta.kubernetes.io/zone=eu-frankfurt-1-AD-1' \
'--node-label' \
'failure-domain.beta.kubernetes.io/region=oraclefra' \
'--vpn-auth' \
'name=tailscale,joinKey=tskey-auth-SUP' \
'--flannel-external-ip' \
'--disable' \
'metrics-server' \
'--disable' \
'coredns' \
'--disable' \
'local-storage' \
'--node-external-ip' \
'130.SUP' \
'--node-external-ip' \
'2603:SUP' \
'--kube-controller-manager-arg=node-cidr-mask-size-ipv4=22' \
'--kubelet-arg=max-pods=500' \
'--tls-san' \
'130.SUP' \
'--tls-san' \
'k3s.mydomain.com' \
'--tls-san' \
'2603:SUP' \
'--node-taint' \
'k3s-controlplane=true:NoExecute' \