observability: make the collector replica count configurable
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- helm, kubernetes, yaml
調査の方向性
charts/nvcf-otel-collector から始めて OpenTelemetryCollector テンプレートがどのようにレンダリングされるかを確認し、次にデフォルトが 1 の collector.replicas 値を追加して spec.replicas としてレンダリングします。その値を helmfile.d/01-observability.yaml.gotmpl 内の otel-collector リリースに通し、tests/chart-versions.sh を使ってチャートのバージョンを上げます。完了とは、既存のインストールがデフォルトで同一にレンダリングされ、値を設定すると collector のレプリカがスケールすることを意味します。
索引モデルが issue の本文から書いたものです。
説明
Is this related to a problem? Please describe.
The observability stack always installs one OpenTelemetryCollector replica. Neither charts/nvcf-otel-collector nor helmfile.d/01-observability.yaml.gotmpl exposes spec.replicas, so a deployment cannot run more than one collector without patching the stack.
With a single replica, a collector restart or a node drain stops every scraped metric, including the series the function autoscaler queries, and drops traces sent through the collector until the pod is back.
Describe the solution you'd like
A collector.replicas stack value, default 1 so existing installs render the same, passed to the otel-collector release and rendered as spec.replicas on the OpenTelemetryCollector. The Target Allocator already spreads scrape targets across collector replicas (consistent-hashing), and OTLP clients reach the replicas through the collector Service.
Describe alternatives you've considered
Patching the chart template and Helmfile in each deployment, which has to be carried forward on every stack release.
Additional context
The chart version needs a bump with the template change (tests/chart-versions.sh).
- 主要言語
- Go
- スター
- 251
- フォーク
- 100
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
NVIDIA/nvcf のほかの issue
-
cicd needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
-
documentation needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
nvca operator: an invalid NVCFWorkerDegradationPeriodMinutes value blocks all cluster configuration updates対応中かも @SelvanayakiGurusamy が 2 日前に担当しました。 オープンcompute-stack
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
-
documentation needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
documentation needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
似ている issue
-
bug effort:s impact:med raised-by:desk risk:low
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
medici-finance/assay#7342 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
enhancement service/backup
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
hashicorp/terraform-provider-aws#51204 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
nwverse/persona#12200 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 91/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100