2021-11-30 23:09:34 +01:00
|
|
|
ssh_authorized_keys:
|
|
|
|
- ${ssh_public_key}
|
|
|
|
hostname: ${name}
|
|
|
|
boot_cmd:
|
|
|
|
- |
|
|
|
|
echo 'auto eth0
|
|
|
|
iface eth0 inet dhcp
|
|
|
|
auto eth1
|
|
|
|
iface eth1 inet dhcp' > /etc/network/interfaces
|
|
|
|
- rc-update del connman boot
|
|
|
|
- rc-update add networking boot
|
|
|
|
- rc-update add ntpd default
|
2021-12-03 02:11:52 +01:00
|
|
|
run_cmd:
|
|
|
|
- sh -c "ip route add 10.0.0.0/16 via 10.0.0.1 dev eth1"
|
2021-11-30 23:09:34 +01:00
|
|
|
k3os:
|
|
|
|
k3s_args:
|
|
|
|
- server
|
|
|
|
- "--cluster-init"
|
|
|
|
- "--disable-cloud-controller"
|
2021-12-05 10:50:51 +01:00
|
|
|
- "--disable-network-policy"
|
2021-11-30 23:09:34 +01:00
|
|
|
- "--disable=traefik"
|
|
|
|
- "--disable=servicelb"
|
|
|
|
- "--disable=local-storage"
|
|
|
|
- "--flannel-iface=eth1"
|
|
|
|
- "--node-ip"
|
2021-12-03 02:11:52 +01:00
|
|
|
- "${master_ip}"
|
2021-11-30 23:09:34 +01:00
|
|
|
- "--advertise-address"
|
2021-12-03 02:11:52 +01:00
|
|
|
- "${master_ip}"
|
2021-11-30 23:09:34 +01:00
|
|
|
- "--tls-san"
|
2021-12-03 02:11:52 +01:00
|
|
|
- "${master_ip}"
|
2021-11-30 23:09:34 +01:00
|
|
|
- "--kubelet-arg"
|
|
|
|
- "cloud-provider=external"
|
2021-12-05 10:50:51 +01:00
|
|
|
- "--node-label"
|
|
|
|
- "k3os.io/upgrade=latest"
|
2021-11-30 23:09:34 +01:00
|
|
|
token: ${k3s_token}
|
|
|
|
ntp_servers:
|
|
|
|
- 0.de.pool.ntp.org
|
|
|
|
- 1.de.pool.ntp.org
|
|
|
|
dns_nameservers:
|
|
|
|
- 8.8.8.8
|
|
|
|
- 1.1.1.1
|
|
|
|
- 2001:4860:4860::8888
|
|
|
|
- 2606:4700:4700::1111
|