🤖 CoderWorkspacePool: ship the autoscaler admission policy

Đang mở
#462 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

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
kubernetes, yaml

Hướng nghiên cứu

Start with the workspace pool how-to's "Grant access" section, which holds the ValidatingAdmissionPolicy example, and with plan workspace-13.md sections 7.3 and 16 item 8. Move that policy into a manifest under config/. Done means the policy refuses an HPA or KEDA ScaledObject targeting a pool unless its author can update coderworkspacepools/scale, and the Kind test passes.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Idea

Ship the ValidatingAdmissionPolicy from the workspace pool how-to ("Grant access") as a manifest under config/. The policy refuses an HPA or a KEDA ScaledObject that targets a pool unless its author can update that pool's coderworkspacepools/scale. Today it is a docs example, tested once in Kind.

Trigger: users adopt the docs example. The HPA controller and KEDA can resize every pool, so anyone who can create an HPA in a namespace can resize a pool up to 100 (plan section 7.3).

Plan workspace-13.md sections 7.3 and 16 item 8.

Refs #153


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: xhigh

Ngôn ngữ chính
Go
Star
5
Fork
3
Merge trung bình
2 giờ 49 phút
Pull request đã merge (30 ngày)
206

Chuẩn bị môi trường

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 coder/coder-k8s

Tất cả issue của coder/coder-k8s

Issue tương tự

Thêm issue về Go

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.