Kubernetes Setup: Document and validate SupplementalGroupsPolicy requirements
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 86/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- kubernetes
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với docs/kubernetes/setup.mdx và phần Prerequisites, sau đó kiểm tra tài liệu Kubernetes được liên kết để xác nhận các yêu cầu runtime đã nêu và trường tính năng của node. Thêm lệnh xác minh và hướng dẫn xử lý lỗi SupplementalGroupsPolicyNotSupported. Công việc hoàn tất khi hướng dẫn giải thích các runtime tương thích và cách xác định những node không được hỗ trợ, đồng thời vẫn giữ chính sách Strict bắt buộc.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Rust
- Star
- 21.5k
- Fork
- 2.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của NVIDIA/OpenShell
-
state:triage-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
bug: Ready=False/PodTerminating is treated as a terminal sandbox failureCó thể đã có người làm @TaylorMutch đã nhận 9 ngày trước. Đang mởstate:accepted state:pr-opened
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
state:triage-needed
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 78/100
-
state:triage-needed
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Tất cả issue của NVIDIA/OpenShell
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/rune#2432 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
[Bug]: Add Data's question says "Link to the file" for a GeoPackage where small tables are copiedĐang mởunconfirmed possible issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
jerney-nexus/epikrise#364 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Yeachan-Heo/gajae-code#8058 ·
Maintainer thường phản hồi trong vòng 1 ngày