diff deploy_vmetrics.yaml @ 20:f5777b65f035

fast update of scrape_main.yaml
author drewp@bigasterisk.com
date Sat, 24 Jun 2023 01:44:57 -0700
parents 73d23fdfee8e
children 10127391f6f3
line wrap: on
line diff
--- a/deploy_vmetrics.yaml	Sat Jun 24 01:43:55 2023 -0700
+++ b/deploy_vmetrics.yaml	Sat Jun 24 01:44:57 2023 -0700
@@ -27,12 +27,12 @@
       containers:
         - name: victoriametrics
           # https://hub.docker.com/r/victoriametrics/victoria-metrics/tags also check vmalert.yaml
-          image: bang5:5000/victoriametrics
+          image: docker.io/victoriametrics/victoria-metrics:v1.91.2
           args:
             - -http.pathPrefix=/m/
             - -loggerTimezone=America/Los_Angeles
             - -memory.allowedBytes=512MB
-            - -promscrape.config=/local/config/scrape_main.yaml
+            - -promscrape.config=/local/config/scrape_main
             - -promscrape.configCheckInterval=5s
             - -retentionPeriod=10y
             - -sortLabels
@@ -41,6 +41,7 @@
             - containerPort: 8428
           volumeMounts:
             - { name: data, mountPath: /data }
+            - { name: config, mountPath: "/local/config" }
           # resources:
           #   limits:
           #     memory: 0.5Gi