Bind-mount K3s agent data, node identity, and kubelet dirs from NVMe so container image cache and node registration survive reboots on the diskless netboot nodes. Includes K3s binary download, agent systemd service, DHCP hostname resolution, and open-iscsi for Longhorn iSCSI support.
5 lines
224 B
Bash
5 lines
224 B
Bash
# K3s agent configuration
|
|
# Server URL and token for cluster join
|
|
K3S_URL="https://192.168.100.1:6443"
|
|
K3S_TOKEN="K106e2ea6914f7a019d1222c1fdd19c5065978377364701f60eb1f2a585e8c3924b::server:0a15c4d7a13df65b066f5b8eff710ecd"
|