Mercurial > code > home > repos > victoriametrics
diff deploy.yaml @ 4:1eb6e6a2b9b6
version control configs finally; use configmaps to present them to VM
author | drewp@bigasterisk.com |
---|---|
date | Sun, 12 Jun 2022 17:08:31 -0700 |
parents | 6056f2e2aba5 |
children |
line wrap: on
line diff
--- a/deploy.yaml Sun Jun 12 17:06:10 2022 -0700 +++ b/deploy.yaml Sun Jun 12 17:08:31 2022 -0700 @@ -18,6 +18,8 @@ - name: data persistentVolumeClaim: claimName: opt-victoriametrics + - name: config + configMap: {name: victoriametrics-config} serviceAccountName: victoriametrics containers: - name: victoriametrics @@ -27,7 +29,7 @@ - -storageDataPath=/data - -memory.allowedBytes=512MB - -http.pathPrefix=/m/ - - -promscrape.config=/data/scrape_config.yaml + - -promscrape.config=/config/scrape_config.yaml - -loggerTimezone=America/Los_Angeles - -retentionPeriod=10y - -sortLabels @@ -35,6 +37,7 @@ - containerPort: 8428 volumeMounts: - { name: data, mountPath: /data } + - { name: config, mountPath: /config } # resources: # limits: # memory: 0.5Gi