Kubernetes Setup: Document and validate SupplementalGroupsPolicy requirements
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 86/100
- Issue 类型
- 文档
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- kubernetes
调研方向
从 docs/kubernetes/setup.mdx 及其 Prerequisites 部分开始,然后查阅链接的 Kubernetes 文档,核实其中提到的运行时要求和节点功能字段。添加验证命令以及针对错误 SupplementalGroupsPolicyNotSupported 的指导。完成标准是:指南说明兼容的运行时以及如何识别不受支持的节点,同时保留必需的 Strict 策略。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Rust
- 星标
- 21.5k
- 派生
- 2.1k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
NVIDIA/OpenShell 的其他 Issue
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failure可能已有人在做 @TaylorMutch 于 9 天前认领。 未关闭state:accepted state:pr-opened
难度 2/5 1-3 小时 新手友好度 78/100
-
state:triage-needed
难度 1/5 1-3 小时 新手友好度 78/100
-
state:triage-needed
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 2/5 1-3 小时 新手友好度 84/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copied未关闭unconfirmed possible issue
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 78/100
jerney-nexus/epikrise#364 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
Yeachan-Heo/gajae-code#8058 ·
维护者通常 1 天内回复