Kubernetes reference chart: add a Casework status operation and an optional BReg metrics port
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ó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- helm, json, kubernetes, rust, yaml
- Lĩnh vực
- devops, documentation, infrastructure
Hướng nghiên cứu
Start in deploy/helm/registry-stack/: read values.schema.json for the casework.operation.kind enum, then the Job template that renders those kinds, and copy the existing BReg operation path for a status kind. For the metrics port, read crates/registry-breg/src/runtime_config.rs to see how metricsListener is parsed, then wire an optional (default-off) container and Service port plus a NetworkPolicy ingress rule limited to a configured scraper selector. Finish by extending the chart's existing contract tests and correcting the README sentence near line 485 that claims BReg exposes no metrics port.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
From the review of #2742, the Kubernetes reference chart under deploy/helm/registry-stack/. The chart is an unsupported reference, so neither gap blocks anything.
1. No Casework status operation
caseworkctl has a status command, but the chart's Casework operation kinds are only plan, apply and doctor (values.schema.json, the casework.operation.kind enum). An operator cannot read Casework status through the same operation Job path used for BReg.
Expected: add status to the enum and the template, with a contract test, or say in the README why it is left out.
2. No BReg metrics port
BReg reads a metricsListener runtime setting (crates/registry-breg/src/runtime_config.rs), but the chart has no container port, Service port or NetworkPolicy rule for it. An operator who sets metricsListener in the runtime configuration cannot scrape it. The README (around line 485) says BReg "exposes no metrics port". That is inaccurate: BReg has a metrics listener, and only the chart does not expose it.
Expected: an optional metrics port (off by default) with a NetworkPolicy ingress rule limited to a configured scraper namespace or Pod selector, and a contract test. Or document that metrics are not wired in the reference and correct the README sentence.
Related: #2749 (metrics follow-ups).
- Ngôn ngữ chính
- Rust
- Star
- 2
- Fork
- 0
- Merge trung bình
- 9 giờ 48 phút
- Pull request đã merge (30 ngày)
- 151
Chuẩn bị môi trường
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 registrystack/registry-stack
-
area:breg enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
registrystack/registry-stack#2765 ·
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
registrystack/registry-stack#2761 ·
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 70/100
registrystack/registry-stack#2743 ·
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 76/100
registrystack/registry-stack#2706 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
macOS contributor gates: Messaging config tests fail under the symlinked macOS temporary directoryĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
registrystack/registry-stack#2704 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của registrystack/registry-stack
Issue tương tự
-
[Bug] 建议把黑白主题设置同步到启动页面Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
AstrBotDevs/AstrBot-desktop#197 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/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 68/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
stackabletech/airflow-operator#898 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
2 advisory ignore entries no longer match anything (`bytes`, `time` already patched in `Cargo.lock`)Có thể đã có người làm @zyl71 đã nhận hôm nay. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100