From 3f4f13c0d532c98898f6c95df78ab24d85dcfaed Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Fri, 23 Oct 2026 19:55:50 +0200 Subject: [PATCH] prometheus: remove obsolete host Immich scrapes --- apps/prometheus/README.md | 5 ++--- apps/prometheus/values.yaml | 19 ------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/apps/prometheus/README.md b/apps/prometheus/README.md index bc219f5..1268f64 100644 --- a/apps/prometheus/README.md +++ b/apps/prometheus/README.md @@ -7,9 +7,8 @@ their supporting workloads, and chart-provided monitoring resources. The `resources/` directory contains cluster-specific alert rules that are not chart defaults. It does not contain application workload templates. Immich's -host metrics endpoints are configured as static scrape targets in `values.yaml`; -this avoids depending on legacy Endpoints objects, which this Argo CD instance -intentionally excludes from reconciliation. +in-cluster metrics endpoints are discovered through its ServiceMonitor in the +Immich namespace; the former host scrape targets were removed after migration. The chart's CRDs are skipped during normal sync because the existing CRDs are cluster-wide and their large schemas exceed client-side apply annotation limits. diff --git a/apps/prometheus/values.yaml b/apps/prometheus/values.yaml index f095959..d1d110a 100644 --- a/apps/prometheus/values.yaml +++ b/apps/prometheus/values.yaml @@ -90,22 +90,3 @@ prometheus: serviceMonitorSelector: {} ruleSelectorNilUsesHelmValues: false ruleSelector: {} - additionalScrapeConfigs: - - job_name: external-immich-8082 - metrics_path: /metrics - static_configs: - - targets: - - 192.168.0.2:8082 - labels: - endpoint: metrics - namespace: prometheus - service: external-immich-8082 - - job_name: external-immich-8083 - metrics_path: /metrics - static_configs: - - targets: - - 192.168.0.2:8083 - labels: - endpoint: metrics - namespace: prometheus - service: external-immich-8083