Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Document namespace-scoped installs on the 1.x installation page

Đang mở
#629 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@boxcee-interview đang làm issue này rồi.

Từ ngày 21/10/2026.

  • #641 của @boxcee-interview — đang mở

Đá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ả

help wanted

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.watchNamespaces is empty (the default), the chart creates ClusterRoles and the controller watches all namespaces.
  • When global.watchNamespaces is 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.namespaces takes precedence over global.watchNamespaces whenever the key is present. An explicit rbac.namespaces: [] restores cluster-scoped RBAC. When rbac.namespaces is set, it must include the install namespace or the render fails.
  • config.kubernetes.watchNamespaces can narrow the watch below the RBAC scope. When it names a namespace outside rbac.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 allowedNamespaces on the tool server. Link to the existing coverage in 1.x/reference/tools-ecosystem.md rather 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.watchNamespaces over the per-surface keys.
  • The section links to the allowedNamespaces coverage 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

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của kagent-dev/website

Tất cả issue của kagent-dev/website

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.