From 985167362fa67b5da02f6cb8844dedb6df51a324 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sun, 22 Sep 2024 14:33:15 -0400 Subject: [PATCH] chore: rename vmsingle and vmagent instances --- .../thin/apps/monitoring/victoria-metrics/vm/agent.yaml | 4 ++-- .../thin/apps/monitoring/victoria-metrics/vm/single.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kubernetes/thin/apps/monitoring/victoria-metrics/vm/agent.yaml b/kubernetes/thin/apps/monitoring/victoria-metrics/vm/agent.yaml index e07e32f..d36b916 100644 --- a/kubernetes/thin/apps/monitoring/victoria-metrics/vm/agent.yaml +++ b/kubernetes/thin/apps/monitoring/victoria-metrics/vm/agent.yaml @@ -1,7 +1,7 @@ apiVersion: operator.victoriametrics.com/v1beta1 kind: VMAgent metadata: - name: vmagent-select-all + name: select-all namespace: monitoring spec: image: @@ -12,6 +12,6 @@ spec: selectAllByDefault: true vmAgentExternalLabelName: vmagent remoteWrite: - - url: http://vmsingle-vmsingle:8429/api/v1/write + - url: http://vmsingle-primary.monitoring.svc:8429/api/v1/write minScrapeInterval: 30s maxScrapeInterval: 24h diff --git a/kubernetes/thin/apps/monitoring/victoria-metrics/vm/single.yaml b/kubernetes/thin/apps/monitoring/victoria-metrics/vm/single.yaml index 72f2463..de81759 100644 --- a/kubernetes/thin/apps/monitoring/victoria-metrics/vm/single.yaml +++ b/kubernetes/thin/apps/monitoring/victoria-metrics/vm/single.yaml @@ -1,7 +1,7 @@ apiVersion: operator.victoriametrics.com/v1beta1 kind: VMSingle metadata: - name: vmsingle + name: primary namespace: monitoring spec: image: