Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ns-dev-system/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ sablier:
kubernetes.io/hostname: eee101.tokyotech.org

ssgen:
replicas: 2
replicas: 0
nodeSelector:
kubernetes.io/hostname: las211.tokyotech.org
pvc:
Expand Down
2 changes: 1 addition & 1 deletion sakura-monitor/victoria-metrics/stateful-set-patch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: victoria-metrics

spec:
replicas: 1
replicas: 0
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

VictoriaMetrics の常時停止は監視基盤を実質無効化します。

Line 7 の replicas: 0 により、monitor/victoria-metrics/service.yaml(Line 1-14)の Service は残ってもバックエンド Pod が消えます。さらに monitor/victoria-metrics/config/prometheus.yml(Line 1-10)のスクレイプ実行主体も停止するため、ns-dev-system/values.yaml の Line 91 で参照しているメトリクスエンドポイントが実質的に機能しなくなります。メンテ目的なら、恒久設定ではなく期間限定のオーバーレイ等に分離するのが安全です。

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@sakura-monitor/victoria-metrics/stateful-set-patch.yaml` at line 7, 現在のパッチで
stateful-set-patch.yaml の replicas: 0 が指定されているため VictoriaMetrics のバックエンド Pod
が停止して監視が無効化されます。修正方法は replicas を 1 以上に戻すか(推奨: replicas:
1)、もし一時的に停止したいだけならこの変更を恒久設定にせず kustomize overlay や別の一時用マニフェストに分離してデプロイすること;該当箇所は
stateful-set-patch.yaml の replicas フィールド、関連する監視設定は
monitor/victoria-metrics/service.yaml と
monitor/victoria-metrics/config/prometheus.yml、および ns-dev-system/values.yaml
の参照先を確認して影響範囲を検証してください。

volumeClaimTemplates:
- apiVersion: v1
kind: PersistentVolumeClaim
Expand Down
Loading