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: