Document namespace-scoped installs on the 1.x installation page
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 54/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ệ
- helm
- Lĩnh vực
- documentation
Hướng nghiên cứu
Read docs-site/content/kagent/1.x/setup/installation.md and the global.watchNamespaces entry in 1.x/reference/helm.md; re-check behavior against the latest release tag and verify it on a cluster. Add the requested section after “Verify the installation,” with a values example, precedence guidance, and a link to the allowedNamespaces coverage in 1.x/reference/tools-ecosystem.md; done includes confirming reconciliation for watched and unwatched namespaces.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The 1.x installation page has no guidance on restricting kagent to specific namespaces. By default, the controller watches every namespace and the chart creates cluster-scoped RBAC. The only documentation of the alternative is the global.watchNamespaces row in 1.x/reference/helm.md. This issue replaces #97, which tracked the original multi-namespace change (kagent-dev/kagent#405).
Scope
Add an optional section, "Restrict kagent to specific namespaces", to docs-site/content/kagent/1.x/setup/installation.md. Place it after "Verify the installation" and before "Next steps". The section must show a global.watchNamespaces values example and explain the behavior below.
Verified behavior (chart at v1.0.0-alpha16, helm/kagent/templates/_helpers.tpl)
- When
global.watchNamespacesis empty (the default), the chart creates ClusterRoles and the controller watches all namespaces. - When
global.watchNamespacesis set to a list, the chart creates a Role and RoleBinding in each listed namespace and limits the controller watch to the same list. The chart appends the install namespace automatically. rbac.namespacestakes precedence overglobal.watchNamespaceswhenever the key is present. An explicitrbac.namespaces: []restores cluster-scoped RBAC. Whenrbac.namespacesis set, it must include the install namespace or the render fails.config.kubernetes.watchNamespacescan narrow the watch below the RBAC scope. When it names a namespace outsiderbac.namespaces, the render fails, because the controller would loop on Forbidden errors at runtime.- A RemoteMCPServer admits references from its own namespace only. Agents in other watched namespaces need
allowedNamespaceson the tool server. Link to the existing coverage in1.x/reference/tools-ecosystem.mdrather than repeating it.
Before you start
- Re-check the behavior above against the latest release tag. The precedence rules changed during the alpha series.
- Test on a cluster. Install with two watched namespaces, create an Agent in each namespace and in one unwatched namespace, and confirm that the controller reconciles only the watched two.
Done when
- The installation page has the section, with a values example and the precedence rules.
- The section recommends
global.watchNamespacesover the per-surface keys. - The section links to the
allowedNamespacescoverage in tools-ecosystem. - The procedure has been run on a live cluster.
- Ngôn ngữ chính
- TypeScript
- Star
- 21
- Fork
- 69
- Merge trung bình
- 14 giờ 16 phút
- Pull request đã merge (30 ngày)
- 105
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 kagent-dev/website
-
Hold until GA: repoint kagent.dev navigation from 0.x to 1.xCó thể đã có người làm @Rachael-Graham đã nhận 22 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
kagent-dev/website#521 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
help wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 55/100
kagent-dev/website#630 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug DocOps
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
kagent-dev/website#617 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Link Checker Report - kagent OSSĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 57/100
kagent-dev/website#615 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug DocOps
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 18/100
kagent-dev/website#606 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của kagent-dev/website
Issue tương tự
-
native
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
prime-radiant-inc/evener#4839 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
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 74/100
processone/fluux-messenger#1790 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
🛣️ Infrastructure
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
opencrvs/opencrvs-core#14232 ·
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
kunchenguid/gh-axi#220 ·
Maintainer thường phản hồi trong vòng 1 ngày