Advanced Installation
Multi-node clusters, disabling the sandbox matrix, and key environment variables.
Add a Worker Node
# Get token from server node
cat /var/lib/k8e/server/node-token
# On worker machine
curl -sfL https://k8e.sh/install.sh | \
K8E_TOKEN=<token> \
K8E_URL=https://<server-ip>:6443 \
INSTALL_K8E_EXEC="agent" \
sh -
Disable Sandbox Matrix
curl -sfL https://k8e.sh/install.sh | INSTALL_K8E_EXEC="server --disable-sandbox-matrix" sh -
Key Environment Variables
| Variable | Purpose |
|---|---|
K8E_TOKEN=<secret> | Cluster join token |
K8E_URL=https://<server>:6443 | Server URL (agent nodes) |
K8E_KUBECONFIG_OUTPUT=<path> | Kubeconfig output path |