44 lines
959 B
Smarty
44 lines
959 B
Smarty
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
|
|
run_cmd:
|
|
- sh -c "ip route add 10.0.0.0/16 via 10.0.0.1 dev eth1"
|
|
k3os:
|
|
k3s_args:
|
|
- server
|
|
- "--server"
|
|
- "https://${master_ip}:6443"
|
|
- "--disable-cloud-controller"
|
|
- "--disable-network-policy"
|
|
- "--disable=traefik"
|
|
- "--disable=servicelb"
|
|
- "--disable=local-storage"
|
|
- "--flannel-iface=eth1"
|
|
- "--node-ip"
|
|
- "${node_ip}"
|
|
- "--advertise-address"
|
|
- "${node_ip}"
|
|
- "--tls-san"
|
|
- "${node_ip}"
|
|
- "--kubelet-arg"
|
|
- "cloud-provider=external"
|
|
- "--node-label"
|
|
- "k3os.io/upgrade=latest"
|
|
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 |