Kubernetes Setup: Document and validate SupplementalGroupsPolicy requirements

オープン 初心者向け
#5,772 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
86/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
kubernetes
領域
documentation

調査の方向性

まず docs/kubernetes/setup.mdx とその Prerequisites セクションを確認し、次にリンク先の Kubernetes ドキュメントで、記載されているランタイム要件とノード機能フィールドを確認してください。検証コマンドと、エラー SupplementalGroupsPolicyNotSupported への対処指針を追加してください。ガイドで、互換性のあるランタイムと、サポートされていないノードの特定方法を説明し、必須の Strict ポリシーを維持できれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Rust
スター
21.5k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NVIDIA/OpenShell のほかの issue

NVIDIA/OpenShell の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。