fix: Cilium multi-node support #9

Merged
michal merged 1 commits from fix/cilium-multi-node into main 2026-03-31 00:36:17 +00:00
Owner

Summary

  • Remove hardcoded devices/directRoutingDevice from Cilium install — auto-detect per node for heterogeneous NICs (eno1 vs enP7s7)
  • Set k8sServiceHost=127.0.0.1 k8sServicePort=6444 so Cilium init containers reach API via k3s agent's local LB proxy (port 6444, not 6443)
  • Add node-role.kubernetes.io/worker label to agent config so workers show role in kubectl get nodes

Test plan

  • Tested live: DGX Spark (aarch64, Ubuntu, enP7s7) joined worker0-k8s0 cluster as worker
  • Both nodes Ready, all Cilium pods Running

🤖 Generated with Claude Code

## Summary - Remove hardcoded `devices`/`directRoutingDevice` from Cilium install — auto-detect per node for heterogeneous NICs (eno1 vs enP7s7) - Set `k8sServiceHost=127.0.0.1` `k8sServicePort=6444` so Cilium init containers reach API via k3s agent's local LB proxy (port 6444, not 6443) - Add `node-role.kubernetes.io/worker` label to agent config so workers show role in `kubectl get nodes` ## Test plan - [x] Tested live: DGX Spark (aarch64, Ubuntu, enP7s7) joined worker0-k8s0 cluster as worker - [x] Both nodes Ready, all Cilium pods Running 🤖 Generated with [Claude Code](https://claude.com/claude-code)
michal added 1 commit 2026-03-31 00:36:08 +00:00
fix: Cilium multi-node support — auto-detect NIC, k3s agent API port, worker label
Some checks failed
CI/CD / typecheck (pull_request) Failing after 10s
CI/CD / lint (pull_request) Failing after 22s
CI/CD / test (pull_request) Failing after 7m8s
CI/CD / build (pull_request) Has been skipped
CI/CD / publish-rpm (pull_request) Has been skipped
CI/CD / publish-deb (pull_request) Has been skipped
aea28b5a0f
- Remove hardcoded devices/directRoutingDevice from Cilium install (let
  Cilium auto-detect per node — needed for heterogeneous NICs like eno1 vs enP7s7)
- Set k8sServiceHost=127.0.0.1 k8sServicePort=6444 so Cilium init
  containers can reach the API via k3s agent's local LB proxy
- Add node-role.kubernetes.io/worker label to agent config

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
michal merged commit 906f93f6f2 into main 2026-03-31 00:36:17 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: michal/lab#9