Add K3s agent setup with NVMe-backed persistent storage
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.
This commit is contained in:
4
files/k3s-agent.env
Normal file
4
files/k3s-agent.env
Normal file
@@ -0,0 +1,4 @@
|
||||
# K3s agent configuration
|
||||
# Server URL and token for cluster join
|
||||
K3S_URL="https://192.168.100.1:6443"
|
||||
K3S_TOKEN="K106e2ea6914f7a019d1222c1fdd19c5065978377364701f60eb1f2a585e8c3924b::server:0a15c4d7a13df65b066f5b8eff710ecd"
|
||||
Reference in New Issue
Block a user