Kubernetes Setup: Document and validate SupplementalGroupsPolicy requirements
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 86/100
- Tipo di issue
- Documentazione
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- kubernetes
- Ambito
- documentation
Direzione di ricerca
Inizia da docs/kubernetes/setup.mdx e dalla sua sezione Prerequisites, quindi consulta la documentazione Kubernetes collegata per verificare i requisiti indicati per il runtime e il campo delle funzionalità del nodo. Aggiungi il comando di verifica e le indicazioni per l’errore SupplementalGroupsPolicyNotSupported. Il lavoro è completo quando la guida spiega quali runtime sono compatibili e come individuare i nodi non supportati, mantenendo la policy Strict richiesta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
Strictare 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
- Lingua principale
- Rust
- Stelle
- 21.5k
- Fork
- 2.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/OpenShell
-
state:triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failureForse già presa @TaylorMutch l’ha presa 9 giorni fa. Apertastate:accepted state:pr-opened
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
state:triage-needed
Difficoltà 1/5 1-3 ore Idoneità per principianti 78/100
-
state:triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Tutte le issue di NVIDIA/OpenShell
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
anomalyco/rune#2432 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedApertaunconfirmed possible issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 1 giorno
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
jerney-nexus/epikrise#364 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Yeachan-Heo/gajae-code#8058 ·
I maintainer di solito rispondono entro 1 giorno