This message was deleted.
# k3s
a
This message was deleted.
q
Here is the sample config.yaml (not with the real IP ofc)
Copy code
write-kubeconfig-mode: "0644"
server: "<https://103.1.2.3:6443>" # other server external IP, HA setup
token: "redacted"
cluster-domain: "some.domain"
cluster-cidr:
  - "10.3.0.0/16"
  - "2001:2:3::/56"
service-cidr:
  - "10.4.0.0/16"
  - "2001:2:4::/112"
node-ip:
  - "10.101.0.1"
  - "2001:db8:101::1"
node-external-ip:
  - "4.10.1.1"
  - "2006:4000:101:9010::1"
advertise-address: "10.114.0.1"
tls-san:
  - "some.domain"
  - "4.10.1.1"
  - "2006:4000:101:9010::1"
flannel-iface: wg0
flannel-backend: vxlan
disable:
  - traefik
They do have different private IP since 2 located at public cloud A and 1 at public cloud B, but they're all on the same region, and latency between them is under 5ms. So I set up a wireguard to make them able to use the embedded etcd HA