Kubernetes Setup: Document and validate SupplementalGroupsPolicy requirements

Offen Anfängerfreundlich
#5,772 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Anfängerfreundlichkeit
86/100
Issue-Typ
Dokumentation
Klarheit
Klar beschrieben
Aktivitätsstatus
Aktiv
Tech-Stack
kubernetes
Bereich
documentation

Rechercherichtung

Beginne mit docs/kubernetes/setup.mdx und dem Abschnitt Prerequisites. Prüfe anschließend in der verlinkten Kubernetes-Dokumentation die genannten Laufzeitanforderungen und das Feld für Node-Features. Füge den Verifizierungsbefehl und Hinweise zum Fehler SupplementalGroupsPolicyNotSupported hinzu. Als erledigt gilt die Aufgabe, wenn der Leitfaden kompatible Laufzeitumgebungen und die Erkennung nicht unterstützter Nodes erklärt und dabei die erforderliche Strict-Richtlinie beibehält.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

state:triage-needed
User Story

I use OpenShell to run sandboxed agents on a local Kubernetes cluster.

During a CNCF ChatLoopBackOff livestream with @drew, I deployed OpenShell v0.1.9 on Minikube following the official Kubernetes setup guide.

The gateway started successfully, but sandbox creation failed because the node did not support SupplementalGroupsPolicy: Strict.

Problem Statement

The v0.1.9 Kubernetes setup guide lists Kubernetes 1.29+ as a prerequisite but does not mention the container runtime requirements for SupplementalGroupsPolicy: Strict.

Sandbox Pods fail with:

SupplementalGroupsPolicyNotSupported
Pod was rejected: SupplementalGroupsPolicy=Strict is not supported in this node
Impact / Why This Matters

Users can successfully deploy the gateway following the documented prerequisites but still be unable to create sandboxes.

The incompatibility is discovered only after attempting to start a sandbox, making it difficult to identify the missing runtime capability.

Proposed Design

Update the Kubernetes setup guide's Prerequisites section to document the requirements for SupplementalGroupsPolicy: Strict.

According to the official Kubernetes documentation:

  • containerd 2.0+ and CRI-O 1.31+ support this feature.
  • Starting with Kubernetes 1.33, Pods requesting Strict are rejected when the node lacks support.
  • Node compatibility can be verified through .status.features.supplementalGroupsPolicy.

Include a verification command:

kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{"\t"}{.status.nodeInfo.containerRuntimeVersion}{"\t"}{.status.features.supplementalGroupsPolicy}{"\n"}{end}'

The guide should explain the SupplementalGroupsPolicyNotSupported error and direct users to a compatible runtime without weakening sandbox isolation.

Acceptance Criteria
  • Kubernetes setup documentation specifies the runtime requirements for SupplementalGroupsPolicy: Strict.
  • Documentation includes a command to verify node support.
  • Users receive clear guidance when their cluster does not support the required policy.
  • The existing sandbox security guarantees are preserved.
Alternatives Considered

Users can inspect Kubernetes events and consult the upstream Kubernetes documentation to diagnose the failure.

However, this requires troubleshooting a failed sandbox rather than identifying the incompatibility during setup.

Agent Investigation

Reviewed docs/kubernetes/setup.mdx at tag v0.1.9.

The prerequisites cover Kubernetes version, RBAC, NetworkPolicy enforcement, Helm, and Agent Sandbox, but do not mention SupplementalGroupsPolicy or its runtime compatibility requirements.

Checklist
  • I've reviewed existing issues and the published docs
  • This is a design proposal, not a "please build this" request
Vorherrschende Sprache
Rust
Sterne
21.5k
Forks
2.1k
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus NVIDIA/OpenShell

Alle Issues in NVIDIA/OpenShell

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.