Kubernetes Setup: Document and validate SupplementalGroupsPolicy requirements

Aperta Adatta ai principianti
#5,772 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

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
Lingua principale
Rust
Stelle
21.5k
Fork
2.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di NVIDIA/OpenShell

Tutte le issue di NVIDIA/OpenShell

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.