Project: VictoriaMetrics (Observability and Analysis / Observability)
File: vars.md

sort: 11 weight: 11 title: Variables menu: docs: parent: "operator" weight: 11 <!-- this doc autogenerated - don't edit it manually --> updated at Thu May 9 16:51:28 UTC 2024 | varible name | variable default value | variable required | variable description | | | | | | | VM_USECUSTOMCONFIGRELOADER | false | false | enables custom config reloader for vmauth and vmagent,it should speed-up config reloading process. | | VM_CONTAINERREGISTRY | - | false | container registry name prefix, e.g. docker.io | | VM_CUSTOMCONFIGRELOADERIMAGE | victoriametrics/operator:config-reloader-v0.43.0 | false | - | | VM_PSPAUTOCREATEENABLED | false | false | - | | VMVMALERTDEFAULTIMAGE | victoriametrics/vmalert | false | - | | VMVMALERTDEFAULTVERSION | v1.101.0 | false | - | | VMVMALERTDEFAULTPORT | 8080 | false | - | | VMVMALERTDEFAULTUSEDEFAULTRESOURCES | true | false | - | | VMVMALERTDEFAULTRESOURCELIMITMEM | 500Mi | false | - | | VMVMALERTDEFAULTRESOURCELIMITCPU | 200m | false | - | | VMVMALERTDEFAULTRESOURCEREQUESTMEM | 200Mi | false | - | | VMVMALERTDEFAULTRESOURCEREQUESTCPU | 50m | false | - | | VMVMALERTDEFAULTCONFIGRELOADERCPU | 100m | false | - | | VMVMALERTDEFAULTCONFIGRELOADERMEMORY | 25Mi | false | - | | VMVMALERTDEFAULTCONFIGRELOADIMAGE | jimmidyson/configmap-reload:v0.3.0 | false | - | | VMVMAGENTDEFAULTIMAGE | victoriametrics/vmagent | false | - | | VMVMAGENTDEFAULTVERSION | v1.101.0 | false | - | | VMVMAGENTDEFAULTCONFIGRELOADIMAGE | quay.io/prometheus-operator/prometheus-config-reloader:v0.68.0 | false | - | | VMVMAGENTDEFAULTPORT | 8429 | false | - | | VMVMAGENTDEFAULTUSEDEFAULTRESOURCES | true | false | - | | VMVMAGENTDEFAULTRESOURCELIMITMEM | 500Mi | false | - | | VMVMAGENTDEFAULTRESOURCELIMITCPU | 200m | false | - | | VMVMAGENTDEFAULTRESOURCEREQUESTMEM | 200Mi | false | - | | VMVMAGENTDEFAULTRESOURCEREQUESTCPU | 50m | false | - | | VMVMAGENTDEFAULTCONFIGRELOADERCPU | 100m | false | - | | VMVMAGENTDEFAULTCONFIGRELOADERMEMORY | 25Mi | false | - | | VMVMSINGLEDEFAULTIMAGE | victoriametrics/victoria-metrics | false | - | | VMVMSINGLEDEFAULTVERSION | v1.101.0 | false | - | | VMVMSINGLEDEFAULTPORT | 8429 | false | - | | VMVMSINGLEDEFAULTUSEDEFAULTRESOURCES | true | false | - | | VMVMSINGLEDEFAULTRESOURCELIMITMEM | 1500Mi | false | - | | VMVMSINGLEDEFAULTRESOURCELIMITCPU | 1200m | false | - | | VMVMSINGLEDEFAULTRESOURCEREQUESTMEM | 500Mi | false | - | | VMVMSINGLEDEFAULTRESOURCEREQUESTCPU | 150m | false | - | | VMVMSINGLEDEFAULTCONFIGRELOADERCPU | 100m | false | - | | VMVMSINGLEDEFAULTCONFIGRELOADERMEMORY | 25Mi | false | - | | VMVMCLUSTERDEFAULTUSEDEFAULTRESOURCES | true | false | - | | VMVMCLUSTERDEFAULTVMSELECTDEFAULT_IMAGE | victoriametrics/vmselect | false | - | | VMVMCLUSTERDEFAULTVMSELECTDEFAULT_VERSION |

| false | - | | VMVMCLUSTERDEFAULTVMSELECTDEFAULT_PORT | 8481 | false | - | | VMVMCLUSTERDEFAULTVMSELECTDEFAULTRESOURCELIMIT_MEM | 1000Mi | false | - | | VMVMCLUSTERDEFAULTVMSELECTDEFAULTRESOURCELIMIT_CPU | 500m | false | - | | VMVMCLUSTERDEFAULTVMSELECTDEFAULTRESOURCEREQUEST_MEM | 500Mi | false | - | | VMVMCLUSTERDEFAULTVMSELECTDEFAULTRESOURCEREQUEST_CPU | 100m | false | - | | VMVMCLUSTERDEFAULTVMSTORAGEDEFAULT_IMAGE | victoriametrics/vmstorage | false | - | | VMVMCLUSTERDEFAULTVMSTORAGEDEFAULT_VERSION | v1.101.0-cluster | false | - | | VMVMCLUSTERDEFAULTVMSTORAGEDEFAULT_VMINSERTPORT | 8400 | false | - | | VMVMCLUSTERDEFAULTVMSTORAGEDEFAULT_VMSELECTPORT | 8401 | false | - | | VMVMCLUSTERDEFAULTVMSTORAGEDEFAULT_PORT | 8482 | false | - | | VMVMCLUSTERDEFAULTVMSTORAGEDEFAULTRESOURCELIMIT_MEM | 1500Mi | false | - | | VMVMCLUSTERDEFAULTVMSTORAGEDEFAULTRESOURCELIMIT_CPU | 1000m | false | - | | VMVMCLUSTERDEFAULTVMSTORAGEDEFAULTRESOURCEREQUEST_MEM | 500Mi | false | - | | VMVMCLUSTERDEFAULTVMSTORAGEDEFAULTRESOURCEREQUEST_CPU | 250m | false | - | | VMVMCLUSTERDEFAULTVMINSERTDEFAULT_IMAGE | victoriametrics/vminsert | false | - | | VMVMCLUSTERDEFAULTVMINSERTDEFAULT_VERSION | v1.101.0-cluster | false | - | | VMVMCLUSTERDEFAULTVMINSERTDEFAULT_PORT | 8480 | false | - | | VMVMCLUSTERDEFAULTVMINSERTDEFAULTRESOURCELIMIT_MEM | 500Mi | false | - | | VMVMCLUSTERDEFAULTVMINSERTDEFAULTRESOURCELIMIT_CPU | 500m | false | - | | VMVMCLUSTERDEFAULTVMINSERTDEFAULTRESOURCEREQUEST_MEM | 200Mi | false | - | | VMVMCLUSTERDEFAULTVMINSERTDEFAULTRESOURCEREQUEST_CPU | 150m | false | - | | VMVMALERTMANAGERCONFIGRELOADERIMAGE | jimmidyson/configmap-reload:v0.3.0 | false | - | | VMVMALERTMANAGERCONFIGRELOADERCPU | 100m | false | - | | VMVMALERTMANAGERCONFIGRELOADERMEMORY | 25Mi | false | - | | VMVMALERTMANAGERALERTMANAGERDEFAULTBASEIMAGE | prom/alertmanager | false | - | | VMVMALERTMANAGERALERTMANAGERVERSION | v0.27.0 | false | - | | VMVMALERTMANAGERLOCALHOST | 127.0.0.1 | false | - | | VMVMALERTMANAGERUSEDEFAULTRESOURCES | true | false | - | | VMVMALERTMANAGERRESOURCELIMITMEM | 256Mi | false | - | | VMVMALERTMANAGERRESOURCELIMITCPU | 100m | false | - | | VMVMALERTMANAGERRESOURCEREQUESTMEM | 56Mi | false | - | | VMVMALERTMANAGERRESOURCEREQUESTCPU | 30m | false | - | | VM_DISABLESELFSERVICESCRAPECREATION | false | false | - | | VMVMBACKUPIMAGE | victoriametrics/vmbackupmanager | false | - | | VMVMBACKUPVERSION | v1.101.0-enterprise | false | - | | VMVMBACKUPPORT | 8300 | false | - | | VMVMBACKUPUSEDEFAULTRESOURCES | true | false | - | | VMVMBACKUPRESOURCELIMITMEM | 500Mi | false | - | | VMVMBACKUPRESOURCELIMITCPU | 500m | false | - | | VMVMBACKUPRESOURCEREQUESTMEM | 200Mi | false | - | | VMVMBACKUPRESOURCEREQUESTCPU | 150m | false | - | | VMVMBACKUPLOGLEVEL | INFO | false | - | | VMVMAUTHDEFAULTIMAGE | victoriametrics/vmauth | false | - | | VMVMAUTHDEFAULTVERSION | v1.101.0 | false | - | | VMVMAUTHDEFAULTCONFIGRELOADIMAGE |

| false | - | | VMVMAUTHDEFAULTPORT | 8427 | false | - | | VMVMAUTHDEFAULTUSEDEFAULTRESOURCES | true | false | - | | VMVMAUTHDEFAULTRESOURCELIMITMEM | 300Mi | false | - | | VMVMAUTHDEFAULTRESOURCELIMITCPU | 200m | false | - | | VMVMAUTHDEFAULTRESOURCEREQUESTMEM | 100Mi | false | - | | VMVMAUTHDEFAULTRESOURCEREQUESTCPU | 50m | false | - | | VMVMAUTHDEFAULTCONFIGRELOADERCPU | 100m | false | - | | VMVMAUTHDEFAULTCONFIGRELOADERMEMORY | 25Mi | false | - | | VMENABLEDPROMETHEUSCONVERTERPODMONITOR | true | false | - | | VMENABLEDPROMETHEUSCONVERTERSERVICESCRAPE | true | false | - | | VMENABLEDPROMETHEUSCONVERTERPROMETHEUSRULE | true | false | - | | VMENABLEDPROMETHEUSCONVERTERPROBE | true | false | - | | VMENABLEDPROMETHEUSCONVERTERALERTMANAGERCONFIG | true | false | - | | VMENABLEDPROMETHEUSCONVERTERSCRAPECONFIG | true | false | - | | VM_FILTERCHILDLABELPREFIXES | - | false | - | | VM_FILTERCHILDANNOTATIONPREFIXES | - | false | - | | VM_PROMETHEUSCONVERTERADDARGOCDIGNOREANNOTATIONS | false | false | adds compare-options and sync-options for prometheus objects converted by operatorit helps to properly use converter with ArgoCD | | VM_ENABLEDPROMETHEUSCONVERTEROWNERREFERENCES | false | false | - | | VM_FILTERPROMETHEUSCONVERTERLABELPREFIXES | - | false | allows filtering for converted labels, labels with matched prefix will be ignored | | VM_FILTERPROMETHEUSCONVERTERANNOTATIONPREFIXES | - | false | allows filtering for converted annotations, annotations with matched prefix will be ignored | | VM_HOST | 0.0.0.0 | false | - | | VM_LISTENADDRESS | 0.0.0.0 | false | - | | VM_DEFAULTLABELS | managed-by=vm-operator | false | - | | VM_LABELS | - | false | - | | VM_CLUSTERDOMAINNAME | - | false | - | | VM_PODWAITREADYTIMEOUT | 80s | false | - | | VM_PODWAITREADYINTERVALCHECK | 5s | false | - | | VM_PODWAITREADYINITDELAY | 10s | false | - | | VM_FORCERESYNCINTERVAL | 60s | false | configures force resync interval for VMAgent, VMAlert, VMAlertmanager and VMAuth. | | VM_ENABLESTRICTSECURITY | false | false | EnableStrictSecurity will add default `securityContext` to pods and containers created by operatorDefault PodSecurityContext include:1. RunAsNonRoot: true2. RunAsUser/RunAsGroup/FSGroup: 65534'65534' refers to 'nobody' in all the used default images like alpine, busybox.If you're using customize image, please make sure '65534' is a valid uid in there or specify SecurityContext.3. FSGroupChangePolicy: &onRootMismatchIf KubeVersion>=1.20, use `FSGroupChangePolicy="onRootMismatch"` to skip the recursive permission changewhen the root of the volume already has the correct permissions4. SeccompProfile:type: RuntimeDefaultUse `RuntimeDefault` seccomp profile by default, which is defined by the container runtime,instead of using the Unconfined (seccomp disabled) mode.Default container SecurityContext include:1. AllowPrivilegeEscalation: false2. ReadOnlyRootFilesystem: true3. Capabilities:drop:- allturn off `EnableStrictSecurity` by default, see https://github.com/VictoriaMetrics/operator/issues/749 for details |