fix: shareProcessNamespace for sandbox CNI loopback (HOMELAB-546) #141

Merged
claude-agent merged 1 commit from fix/HOMELAB-546-sandbox-share-pid-namespace into live 2026-04-02 06:00:03 +00:00
Owner

Summary

  • Adds shareProcessNamespace: true to sandbox pod spec
  • Fixes inner K3s CNI loopback failures caused by PID namespace isolation between sandbox and dind containers
  • Without this, kubelet cannot access /proc/<pid>/ns/net for containers created by dockerd

HOMELAB-546

## Summary - Adds `shareProcessNamespace: true` to sandbox pod spec - Fixes inner K3s CNI loopback failures caused by PID namespace isolation between sandbox and dind containers - Without this, kubelet cannot access `/proc/<pid>/ns/net` for containers created by dockerd HOMELAB-546
fix: add shareProcessNamespace to sandbox pod for CNI loopback access
Some checks failed
0/0 projects applied successfully.
CI Review / ai-review (pull_request) Has been cancelled
CI Review / helm-validate (pull_request) Has been cancelled
CI Review / pr-title (pull_request) Has been cancelled
Lint & Validate / shellcheck (pull_request) Has been cancelled
Lint & Validate / yaml-lint (pull_request) Has been cancelled
Lint & Validate / terraform-validate (pull_request) Has been cancelled
c39911e5c7
The sandbox and dind containers had separate PID namespaces, so the K3s
kubelet couldn't access /proc/<pid>/ns/net for containers created by
dockerd. This caused every inner kube-system pod to fail CNI loopback
setup in a tight retry loop (~12k error lines in 8h, burning 1+ CPU).

HOMELAB-546

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aaron/infra-core!141
No description provided.