Files
2026-10-21 00:11:42 +02:00
..
2026-10-21 00:11:42 +02:00
2026-10-21 00:11:42 +02:00
2026-10-21 00:11:42 +02:00
k3s
2026-10-20 23:15:49 +02:00

Install the server on odroid

curl -sfL https://get.k3s.io | sh -s - server \
  --node-ip="100.70.193.97" \
  --node-external-ip="100.70.193.97" \
  --tls-san="100.70.193.97" \
  --flannel-iface="tailscale0" \
  --flannel-external-ip \
  --flannel-backend="vxlan"

Get the join token from odroid:

sudo systemctl is-active k3s sudo cat /var/lib/rancher/k3s/server/node-token

Copy that value into K3S_TOKEN on each node only when running its join command. Do not commit the token to this file.

Join rudolf-T

Run on rudolf-T:

export K3S_TOKEN='<TODO>'
curl -sfL https://get.k3s.io | \
  K3S_URL="https://100.70.193.97:6443" \
  K3S_TOKEN="$K3S_TOKEN" \
  sh -s - agent \
  --node-ip="100.105.201.15" \
  --node-external-ip="100.105.201.15" \
  --flannel-iface="tailscale0"

Join xu4

Run on xu4:

export K3S_TOKEN='<TODO>'
curl -sfL https://get.k3s.io | \
  K3S_URL="https://100.70.193.97:6443" \
  K3S_TOKEN="$K3S_TOKEN" \
  sh -s - agent \
  --node-ip="100.96.92.102" \
  --node-external-ip="100.96.92.102" \
  --flannel-iface="tailscale0"

Verify from odroid

sudo k3s kubectl get nodes -o wide
sudo k3s kubectl get pods -A -o wide
sudo k3s kubectl get --raw='/readyz?verbose'
sudo k3s kubectl get events -A --sort-by=.lastTimestamp | tail -n 50

Health

API server health

kubectl get --raw='/readyz?verbose' kubectl get --raw='/livez?verbose'

Node health and scheduling status

kubectl get nodes -o wide

All system and workload pods

kubectl get pods -A -o wide

Recent warnings/errors across namespaces

kubectl get events -A --sort-by=.lastTimestamp | tail -n 50