bug: Kubernetes setup guide points at a nonexistent agent-sandbox manifest.yaml asset
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức phù hợp với người mới
- 88/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
- devops, documentation
Hướng nghiên cứu
Bắt đầu từ dòng 36 và 55 trong docs/kubernetes/setup.mdx, sau đó kiểm tra các release assets của Agent Sandbox v1.0.3 và hành vi của sandbox.yaml. Đảm bảo cả hướng dẫn setup và air-gapped đều sử dụng một core bundle URL hoạt động, đồng thời ghi lại liệu URL có nên được ghim thay vì sử dụng latest hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
User Story
As an operator installing OpenShell on Kubernetes for the first time, I want the documented prerequisite commands to work, so that I can complete the setup without having to diagnose a broken URL before I have installed anything.
Problem Statement
docs/kubernetes/setup.mdx:36 instructs operators to install the Agent Sandbox controller and CRDs with:
kubectl apply -f https://github.com/kubernetes-sigs/agent-sandbox/releases/latest/download/manifest.yaml
That asset no longer exists. Upstream kubernetes-sigs/agent-sandbox renamed its release assets; the current release (v1.0.3) publishes extensions.yaml, sandbox-with-extensions.yaml, and sandbox.yaml, and no manifest.yaml. The latest redirect resolves correctly to the v1.0.3 tag, then 404s on the asset name.
The correct asset is sandbox.yaml. Its contents match what the surrounding documentation already promises at line 39: it creates the agent-sandbox-system namespace, installs the sandboxes.agents.x-k8s.io CRD (served at v1beta1), and starts the controller Deployment along with its ServiceAccount, ClusterRole, ClusterRoleBinding, and Service.
Two nearby lines depend on the same asset name and should be checked in the same change:
docs/kubernetes/setup.mdx:55tells air-gapped operators to "mirror the manifest above," which inherits the wrong name.- The install is pinned to
latest, which is what allowed an upstream rename to silently break the documented path.
Impact / Why This Matters
This is the first command in the Kubernetes setup guide, and it fails before any OpenShell component is installed. An operator following the published documentation hits a 404 with no indication of what the correct asset is; latest/download/manifest.yaml gives no hint that the name changed rather than the release being missing.
The current workaround is to inspect the upstream repository's release assets and substitute the correct filename. That is insufficient because it requires the operator to know that OpenShell needs the core controller and CRD bundle specifically — sandbox.yaml — rather than sandbox-with-extensions.yaml or extensions.yaml, a choice the documentation never describes. It also blocks the documented path for air-gapped installs, where the operator must mirror the asset before they can reach a cluster at all.
Because the Kubernetes compute driver cannot function without these CRDs, and the OpenShell chart's preflight check fails without them, this blocks the entire documented Kubernetes install.
Acceptance Criteria
-
docs/kubernetes/setup.mdxreferences an Agent Sandbox asset URL that resolves successfully. - The documented URL installs the
agent-sandbox-systemnamespace, thesandboxes.agents.x-k8s.ioCRD, and the controller, matching the behavior already described atdocs/kubernetes/setup.mdx:39. - The air-gapped mirroring guidance at
docs/kubernetes/setup.mdx:55refers to the same, correct asset. - A decision is recorded on whether to pin the documented URL to a known-good Agent Sandbox version instead of
latest, so a future upstream rename cannot silently break the documented install path again.
Reproduction Steps
- Follow
docs/kubernetes/setup.mdxagainst any Kubernetes cluster. - Run the Agent Sandbox install command from line 36.
- Observe the command fail before anything is installed.
Environment
- OpenShell:
mainat cb93f62bf - OS: macOS 15 (Darwin 25.6.0), arm64
- Runtime: k3d v5 / k3s v1.31.5+k3s1, kubectl client v1.31
- Upstream: kubernetes-sigs/agent-sandbox v1.0.3
Logs
$ kubectl apply -f https://github.com/kubernetes-sigs/agent-sandbox/releases/latest/download/manifest.yaml
error: unable to read URL "https://github.com/kubernetes-sigs/agent-sandbox/releases/latest/download/manifest.yaml", server reported 404 Not Found, status code=404
$ curl -sIL -o /dev/null -w '%{http_code} %{url_effective}\n' \
https://github.com/kubernetes-sigs/agent-sandbox/releases/latest/download/manifest.yaml
404 https://github.com/kubernetes-sigs/agent-sandbox/releases/download/v1.0.3/manifest.yaml
$ gh api repos/kubernetes-sigs/agent-sandbox/releases/latest --jq '.tag_name, (.assets[] | .name)'
v1.0.3
extensions.yaml
sandbox-with-extensions.yaml
sandbox.yaml
Verified that sandbox.yaml is the correct replacement — applying it produced the agent-sandbox-system namespace, the sandboxes.agents.x-k8s.io CRD at v1beta1, and a Running controller pod.
- Ngôn ngữ chính
- Rust
- Star
- 8.7k
- Fork
- 1.3k
- Merge trung bình
- 2 ngày 7 giờ
- Pull request đã merge (30 ngày)
- 243
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 82/100
-
area:cli state:validated
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
state:triage-needed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
area:build spike state:review-ready state:stale
Độ khó 2/5 Nửa ngày Mức phù hợp với người mới 68/100
-
area:docs state:stale
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
Tất cả issue của NVIDIA/OpenShell
Issue tương tự
-
risk:low runtime status:in-progress type:test
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
zeroclaw-labs/zeroclaw#11023 ·
-
good first issue refactor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
EricSpencer00/Resilient#4835 · 1 bình luận ·
-
agent:ready documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
cesarferreira/stax#890 ·
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100