# Default values for victoria-metrics. # This is a YAML-formatted file. # Declare variables to be passed into your templates. global: # -- Image pull secrets, that can be shared across multiple helm charts imagePullSecrets: [] image: # -- Image registry, that can be shared across multiple helm charts registry: "" # -- Openshift security context compatibility configuration compatibility: openshift: adaptSecurityContext: "auto" # -- k8s cluster domain suffix, uses for building storage pods' FQDN. Details are [here](https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/) cluster: dnsDomain: cluster.local. # -- Print information after deployment printNotes: true # use SRV discovery for storageNode and selectNode flags for enterprise version autoDiscovery: false serviceAccount: # -- Specifies whether a service account should be created create: true # -- The name of the service account to use. # If not set and create is true, a name is generated using the fullname template name: # -- Service account labels extraLabels: {} # -- Service account annotations annotations: {} # -- mount API token to pod directly automountToken: true extraSecrets: [] # - name: secret-remote-storage-keys # annotations: [] # labels: [] # data: | # credentials: b64_encoded_str # -- Add extra specs dynamically to this chart extraObjects: [] vmselect: # -- Enable deployment of vmselect component. Can be deployed as Deployment(default) or StatefulSet enabled: true # -- VMSelect container name name: "" # -- VMSelect strategy strategy: {} # rollingUpdate: # maxSurge: 25% # maxUnavailable: 25% # type: RollingUpdate image: # -- Image registry registry: "" # -- Image repository repository: victoriametrics/vmselect # -- Image tag # override Chart.AppVersion tag: "" # -- Image pull policy pullPolicy: IfNotPresent # -- Variant of the image to use. # e.g. cluster, enterprise-cluster variant: cluster ports: # -- VMSelect http port name name: "http" # -- Name of Priority Class priorityClassName: "" # -- Overrides the full name of vmselect component fullnameOverride: "" # -- Suppress rendering `--storageNode` FQDNs based on `vmstorage.replicaCount` value. If true suppress rendering `--storageNodes`, they can be re-defined in extraArgs suppressStorageFQDNsRender: false # -- Extra command line arguments for vmselect component extraArgs: envflag.enable: true envflag.prefix: VM_ loggerFormat: json # -- StatefulSet/Deployment annotations annotations: {} # -- StatefulSet/Deployment additional labels extraLabels: {} # -- Pod’s additional labels podLabels: {} # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details. env: [] # -- Specify alternative source for env variables envFrom: [] #- configMapRef: # name: special-config # -- Readiness & Liveness probes probe: # -- VMSelect readiness probe readiness: httpGet: {} initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 # -- VMSelect liveness probe liveness: tcpSocket: {} initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 # -- VMSelect startup probe startup: {} horizontalPodAutoscaler: # -- Use HPA for vmselect component enabled: false # -- Maximum replicas for HPA to use to to scale the vmselect component maxReplicas: 10 # -- Minimum replicas for HPA to use to scale the vmselect component minReplicas: 2 # -- Metric for HPA to use to scale the vmselect component metrics: [] # -- Behavior settings for scaling by the HPA behavior: {} # -- Additional hostPath mounts extraHostPathMounts: [] # - name: certs-dir # mountPath: /etc/kubernetes/certs # subPath: "" # hostPath: /etc/kubernetes/certs # readOnly: true # -- Extra Volumes for the pod extraVolumes: [] # - name: example # configMap: # name: example # -- Extra Volume Mounts for the container extraVolumeMounts: [] # - name: example # mountPath: /example # -- Extra containers to run in a pod with vmselect extraContainers: [] # - name: config-reloader # image: reloader-image # -- Init containers for vmselect initContainers: [] # - name: example # image: example-image # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) podDisruptionBudget: # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) enabled: false # minAvailable: 1 # maxUnavailable: 1 labels: {} # -- Array of tolerations object. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) tolerations: [] # - key: "key" # operator: "Equal|Exists" # value: "value" # effect: "NoSchedule|PreferNoSchedule" # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/user-guide/node-selection/) nodeSelector: {} # -- Pod affinity affinity: {} # -- Pod topologySpreadConstraints topologySpreadConstraints: [] # -- Pod's annotations podAnnotations: {} # -- Count of vmselect pods replicaCount: 1 # -- Container workdir containerWorkingDir: "" # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) resources: limits: cpu: 1 memory: 1Gi # requests: # cpu: 50m # memory: 64Mi # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) securityContext: enabled: true # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) podSecurityContext: enabled: true # -- Cache root folder cacheMountPath: /cache service: # -- Create VMSelect service enabled: true # -- Service annotations annotations: {} # -- Service labels labels: {} # -- Service ClusterIP clusterIP: "" # -- Service external IPs. Details are [here](https://kubernetes.io/docs/user-guide/services/#external-ips) externalIPs: [] # -- Extra service ports extraPorts: [] # -- Service load balacner IP loadBalancerIP: "" # -- Load balancer source range loadBalancerSourceRanges: [] # -- Service port servicePort: 8481 # -- Target port targetPort: http # -- Service type type: ClusterIP # -- Health check node port for a service. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details healthCheckNodePort: "" # -- Service external traffic policy. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details externalTrafficPolicy: "" # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details. ipFamilyPolicy: "" # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details. ipFamilies: [] ingress: # -- Enable deployment of ingress for vmselect component enabled: true # -- Ingress annotations annotations: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: 'true' # -- Ingress extra labels extraLabels: {} # -- Array of host objects hosts: - name: vm-select.cestong.com.cn path: - /select port: http # -- Array of TLS objects tls: [] # - secretName: vmselect-ingress-tls # hosts: # - vmselect.local # -- Ingress controller class name ingressClassName: "nginx" # -- Ingress path type pathType: Prefix statefulSet: # -- Deploy StatefulSet instead of Deployment for vmselect. Useful if you want to keep cache data. enabled: false # -- Deploy order policy for StatefulSet pods podManagementPolicy: OrderedReady # -- Empty dir configuration if persistence is disabled emptyDir: {} persistentVolume: # -- Create/use Persistent Volume Claim for vmselect component. Empty dir if false. If true, vmselect will create/use a Persistent Volume Claim enabled: false # -- Array of access mode. Must match those of existing PV or dynamic provisioner. Details are [here](http://kubernetes.io/docs/user-guide/persistent-volumes/) accessModes: - ReadWriteOnce # -- Persistent volume annotations annotations: {} # -- Persistent volume labels labels: {} # -- Existing Claim name. Requires vmselect.persistentVolume.enabled: true. If defined, PVC must be created manually before volume will be bound existingClaim: "" # -- Size of the volume. Better to set the same as resource limit memory property size: 2Gi # -- Mount subpath subPath: "" serviceMonitor: # -- Enable deployment of Service Monitor for vmselect component. This is Prometheus operator object enabled: false # -- Target namespace of ServiceMonitor manifest namespace: "" # -- Service Monitor labels extraLabels: {} # -- Service Monitor annotations annotations: {} # -- Basic auth params for Service Monitor basicAuth: {} # Commented. Prometheus scare interval for vmselect component # interval: 15s # Commented. Prometheus pre-scrape timeout for vmselect component # scrapeTimeout: 5s # -- Commented. HTTP scheme to use for scraping. # scheme: https # -- Commented. TLS configuration to use when scraping the endpoint # tlsConfig: # insecureSkipVerify: true # -- Service Monitor relabelings relabelings: [] # -- Service Monitor metricRelabelings metricRelabelings: [] vminsert: # -- Enable deployment of vminsert component. Deployment is used enabled: true # -- IDs of vmstorage nodes to exclude from writing excludeStorageIDs: [] # -- VMInsert name name: "" # -- VMInsert strategy strategy: {} # rollingUpdate: # maxSurge: 25% # maxUnavailable: 25% # type: RollingUpdate image: # -- Image registry registry: "" # -- Image repository repository: victoriametrics/vminsert # -- Image tag # override Chart.AppVersion tag: "" # -- Variant of the image to use. # e.g. cluster, enterprise-cluster variant: cluster # -- Image pull policy pullPolicy: IfNotPresent ports: # -- VMInsert http port name name: "http" # -- Name of Priority Class priorityClassName: "" # -- Overrides the full name of vminsert component fullnameOverride: "" # -- Extra command line arguments for vminsert component extraArgs: envflag.enable: "true" envflag.prefix: VM_ loggerFormat: json # -- StatefulSet/Deployment annotations annotations: {} # -- StatefulSet/Deployment additional labels extraLabels: {} # -- Pod’s additional labels podLabels: {} # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details. env: [] # -- Specify alternative source for env variables envFrom: [] #- configMapRef: # name: special-config # -- Suppress rendering `--storageNode` FQDNs based on `vmstorage.replicaCount` value. If true suppress rendering `--storageNodes`, they can be re-defined in extraArgs suppressStorageFQDNsRender: false # -- Readiness & Liveness probes probe: # -- VMInsert readiness probe readiness: httpGet: {} initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 # -- VMInsert liveness probe liveness: tcpSocket: {} initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 # -- VMInsert startup probe startup: {} # Horizontal Pod Autoscaling horizontalPodAutoscaler: # -- Use HPA for vminsert component enabled: false # -- Maximum replicas for HPA to use to to scale the vminsert component maxReplicas: 10 # -- Minimum replicas for HPA to use to scale the vminsert component minReplicas: 2 # -- Metric for HPA to use to scale the vminsert component metrics: [] # -- Behavior settings for scaling by the HPA behavior: {} # -- Extra Volumes for the pod extraVolumes: [] # - name: example # configMap: # name: example # -- Extra Volume Mounts for the container extraVolumeMounts: [] # - name: example # mountPath: /example # -- Extra containers to run in a pod with vminsert extraContainers: [] # - name: config-reloader # image: reloader-image # -- Init containers for vminsert initContainers: [] # - name: example # image: example-image # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) podDisruptionBudget: enabled: false # minAvailable: 1 # maxUnavailable: 1 labels: {} # -- Array of tolerations object. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) tolerations: [] # - key: "key" # operator: "Equal|Exists" # value: "value" # effect: "NoSchedule|PreferNoSchedule" # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/user-guide/node-selection/) nodeSelector: {} # -- Pod affinity affinity: {} # -- Pod topologySpreadConstraints topologySpreadConstraints: [] # -- Pod's annotations podAnnotations: {} # -- Count of vminsert pods replicaCount: 1 # -- Container workdir containerWorkingDir: "" # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) resources: limits: cpu: 1 memory: 1Gi # requests: # cpu: 50m # memory: 64Mi # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) securityContext: enabled: false # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) podSecurityContext: enabled: false service: # -- Create VMInsert service enabled: true # -- Service annotations annotations: {} # -- Service labels labels: {} # -- Service ClusterIP clusterIP: "" # -- Service external IPs. Details are [here]( https://kubernetes.io/docs/user-guide/services/#external-ips) externalIPs: [] # -- Extra service ports extraPorts: [] # -- Service load balancer IP loadBalancerIP: "" # -- Load balancer source range loadBalancerSourceRanges: [] # -- Service port servicePort: 8480 # -- Target port targetPort: http # -- Service type type: ClusterIP # -- Enable UDP port. used if you have `spec.opentsdbListenAddr` specified # Make sure that service is not type `LoadBalancer`, as it requires `MixedProtocolLBService` feature gate. Check [here](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) for details udp: false # -- Health check node port for a service. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details healthCheckNodePort: "" # -- Service external traffic policy. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details externalTrafficPolicy: "" # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details. ipFamilyPolicy: "" # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details. ipFamilies: [] ingress: # -- Enable deployment of ingress for vminsert component enabled: false # -- Ingress annotations annotations: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: 'true' # -- Ingress extra labels extraLabels: {} # -- Array of host objects hosts: [] # - name: vminsert.local # path: # - /insert # port: http # -- Array of TLS objects tls: [] # - secretName: vminsert-ingress-tls # hosts: # - vminsert.local # -- Ingress controller class name ingressClassName: "" # -- Ingress path type pathType: Prefix serviceMonitor: # -- Enable deployment of Service Monitor for vminsert component. This is Prometheus operator object enabled: false # -- Target namespace of ServiceMonitor manifest namespace: "" # -- Service Monitor labels extraLabels: {} # -- Service Monitor annotations annotations: {} # -- Basic auth params for Service Monitor basicAuth: {} # Commented. Prometheus scare interval for vminsert component # interval: 15s # Commented. Prometheus pre-scrape timeout for vminsert component # scrapeTimeout: 5s # -- Commented. HTTP scheme to use for scraping. # scheme: https # -- Commented. TLS configuration to use when scraping the endpoint # tlsConfig: # insecureSkipVerify: true # -- Service Monitor relabelings relabelings: [] # -- Service Monitor metricRelabelings metricRelabelings: [] vmauth: # -- Enable deployment of vmauth component. # With vmauth enabled please set `service.clusterIP: None` and `service.type: ClusterIP` for `vminsert` and `vmselect` to use vmauth balancing benefits. enabled: false # -- VMAuth container name name: "" # -- VMAuth configuration secret name configSecretName: "" # -- VMAuth configuration object config: unauthorized_user: {} # -- VMAuth Deployment strategy strategy: {} # rollingUpdate: # maxSurge: 25% # maxUnavailable: 25% # type: RollingUpdate image: # -- Image registry registry: "" # -- Image repository repository: victoriametrics/vmauth # -- Image tag # override Chart.AppVersion tag: "" # -- Variant of the image to use. # e.g. cluster, enterprise-cluster variant: "" # -- Image pull policy pullPolicy: IfNotPresent ports: # -- VMAuth http port name name: "http" # -- Name of Priority Class priorityClassName: "" # -- Overrides the full name of vmauth component fullnameOverride: "" # -- Extra command line arguments for vmauth component extraArgs: envflag.enable: "true" envflag.prefix: VM_ loggerFormat: json # -- VMAuth annotations annotations: {} # -- VMAuth additional labels extraLabels: {} # -- VMAuth pod labels podLabels: {} # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details env: [] # -- Specify alternative source for env variables envFrom: [] #- configMapRef: # name: special-config # -- Suppress rendering `--storageNode` FQDNs based on `vmstorage.replicaCount` value. If true suppress rendering `--storageNodes`, they can be re-defined in extraArgs suppressStorageFQDNsRender: false # Readiness & Liveness probes probe: # -- VMAuth readiness probe readiness: httpGet: {} initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 # -- VMAuth liveness probe liveness: tcpSocket: {} initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 # -- VMAuth startup probe startup: {} # Horizontal Pod Autoscaling horizontalPodAutoscaler: # -- Use HPA for vmauth component enabled: false # -- Maximum replicas for HPA to use to to scale the vmauth component maxReplicas: 10 # -- Minimum replicas for HPA to use to scale the vmauth component minReplicas: 2 # -- Metric for HPA to use to scale the vmauth component metrics: [] # -- Behavior settings for scaling by the HPA behavior: {} # -- Extra Volumes for the pod extraVolumes: [] # - name: example # configMap: # name: example # -- Extra Volume Mounts for the container extraVolumeMounts: [] # - name: example # mountPath: /example # -- Extra containers to run in a pod with vmauth extraContainers: [] # - name: config-reloader # image: reloader-image # -- Init containers for vmauth initContainers: [] # - name: example # image: example-image # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) podDisruptionBudget: enabled: false # minAvailable: 1 # maxUnavailable: 1 labels: {} # -- Array of tolerations object. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) tolerations: [] # - key: "key" # operator: "Equal|Exists" # value: "value" # effect: "NoSchedule|PreferNoSchedule" # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/user-guide/node-selection/) nodeSelector: {} # -- Pod affinity affinity: {} # -- Pod topologySpreadConstraints topologySpreadConstraints: [] # -- Pod's annotations podAnnotations: {} # -- Count of vmauth pods replicaCount: 2 # -- Container workdir containerWorkingDir: "" # -- Resource object resources: # limits: # cpu: 50m # memory: 64Mi # requests: # cpu: 50m # memory: 64Mi # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) securityContext: enabled: false # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) podSecurityContext: enabled: false service: # -- Create VMAuth service enabled: true # -- Service annotations annotations: {} # -- Service labels labels: {} # -- Service ClusterIP clusterIP: "" # -- Service External IPs. Details are [here]( https://kubernetes.io/docs/user-guide/services/#external-ips) externalIPs: [] # -- Extra service ports extraPorts: [] # -- Service load balancer IP loadBalancerIP: "" # -- Load balancer source range loadBalancerSourceRanges: [] # -- Service port servicePort: 8427 # -- Target port targetPort: http # -- Service type type: ClusterIP # -- Enable UDP port. used if you have `spec.opentsdbListenAddr` specified # Make sure that service is not type `LoadBalancer`, as it requires `MixedProtocolLBService` feature gate. # Check [here](https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/) udp: false # -- Health check node port for a service. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details healthCheckNodePort: "" # -- Service external traffic policy. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details externalTrafficPolicy: "" # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details. ipFamilyPolicy: "" # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details. ipFamilies: [] ingress: # -- Enable deployment of ingress for vmauth component enabled: false # -- Ingress annotations annotations: {} # kubernetes.io/ingress.class: nginx # kubernetes.io/tls-acme: 'true' extraLabels: {} # -- Array of host objects hosts: [] # - name: vmauth.local # path: # - /insert # port: http # -- Array of TLS objects tls: [] # - secretName: vmauth-ingress-tls # hosts: # - vmauth.local # For Kubernetes >= 1.18 you should specify the ingress-controller via the field ingressClassName # See https://kubernetes.io/blog/2020/04/02/improvements-to-the-ingress-api-in-kubernetes-1.18/#specifying-the-class-of-an-ingress # ingressClassName: nginx # -- pathType is only for k8s >= 1.1= pathType: Prefix serviceMonitor: # -- Enable deployment of Service Monitor for vmauth component. This is Prometheus operator object enabled: false # -- Target namespace of ServiceMonitor manifest namespace: "" # -- Service Monitor labels extraLabels: {} # -- Service Monitor annotations annotations: {} # -- Basic auth params for Service Monitor basicAuth: {} # Commented. Prometheus scare interval for vmauth component # interval: 15s # Commented. Prometheus pre-scrape timeout for vmauth component # scrapeTimeout: 5s # -- Commented. HTTP scheme to use for scraping. # scheme: https # -- Commented. TLS configuration to use when scraping the endpoint # tlsConfig: # insecureSkipVerify: true # -- Service Monitor relabelings relabelings: [] # -- Service Monitor metricRelabelings metricRelabelings: [] vmstorage: # -- Enable deployment of vmstorage component. StatefulSet is used enabled: true # -- VMStorage container name name: "" image: # -- Image registry registry: "" # -- Image repository repository: victoriametrics/vmstorage # -- Image tag # override Chart.AppVersion tag: "" # -- Variant of the image to use. # e.g. cluster, enterprise-cluster variant: cluster # -- Image pull policy pullPolicy: IfNotPresent ports: # -- VMStorage http port name name: "http" # -- Name of Priority Class priorityClassName: "" # -- Overrides the full name of vmstorage component fullnameOverride: # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details env: [] # -- Specify alternative source for env variables envFrom: [] #- configMapRef: # name: special-config # -- Data retention period. Supported values 1w, 1d, number without measurement means month, e.g. 2 = 2month retentionPeriod: 1 # -- Additional vmstorage container arguments. Extra command line arguments for vmstorage component extraArgs: envflag.enable: "true" envflag.prefix: VM_ loggerFormat: json # -- Additional hostPath mounts extraHostPathMounts: [] # - name: certs-dir # mountPath: /etc/kubernetes/certs # subPath: "" # hostPath: /etc/kubernetes/certs # readOnly: true # -- Extra Volumes for the pod extraVolumes: [] # - name: example # configMap: # name: example # -- Extra Volume Mounts for the container extraVolumeMounts: [] # - name: example # mountPath: /example # -- Extra containers to run in a pod with vmstorage extraContainers: [] # - name: config-reloader # image: reloader-image # -- Extra secret mounts for vmstorage extraSecretMounts: [] # - name: secret # mountPath: /etc/credentials # subPath: "" # readOnly: true # -- Init containers for vmstorage initContainers: [] # - name: vmrestore # image: victoriametrics/vmrestore:latest # volumeMounts: # - mountPath: /storage # name: vmstorage-volume # - mountPath: /etc/vm/creds # name: secret-remote-storage-keys # readOnly: true # args: # - -storageDataPath=/storage # - -src=s3://your_bucket/folder/latest # - -credsFilePath=/etc/vm/creds/credentials # -- See `kubectl explain poddisruptionbudget.spec` for more. Details are [here](https://kubernetes.io/docs/tasks/run-application/configure-pdb/) podDisruptionBudget: enabled: false # minAvailable: 1 # maxUnavailable: 1 labels: {} # -- Array of tolerations object. Node tolerations for server scheduling to nodes with taints. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/) tolerations: [] # - key: "key" # operator: "Equal|Exists" # value: "value" # effect: "NoSchedule|PreferNoSchedule" # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/user-guide/node-selection/) nodeSelector: {} # -- Pod affinity affinity: {} # -- Pod topologySpreadConstraints topologySpreadConstraints: [] # -- Use an alternate scheduler, e.g. "stork". Check [here](https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/) for details # schedulerName: "" # -- Empty dir configuration if persistence is disabled emptyDir: {} persistentVolume: # -- Create/use Persistent Volume Claim for vmstorage component. Empty dir if false. If true, vmstorage will create/use a Persistent Volume Claim enabled: true name: vmstorage-volume # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Details are [here](http://kubernetes.io/docs/user-guide/persistent-volumes/) accessModes: - ReadWriteOnce # -- Persistent volume annotations annotations: {} # -- Persistent volume labels labels: {} # -- Storage class name. Will be empty if not setted storageClassName: "openebs-hostpath" # -- Existing Claim name. Requires vmstorage.persistentVolume.enabled: true. If defined, PVC must be created manually before volume will be bound existingClaim: "" # -- Data root path. Vmstorage data Persistent Volume mount root path mountPath: /storage # -- Size of the volume. size: 8Gi # -- Mount subpath subPath: "" # -- Pod's annotations podAnnotations: {} # -- StatefulSet/Deployment annotations annotations: {} # -- StatefulSet/Deployment additional labels extraLabels: {} # -- Pod’s additional labels podLabels: {} # -- Count of vmstorage pods replicaCount: 2 # -- Container workdir containerWorkingDir: "" # -- Deploy order policy for StatefulSet pods podManagementPolicy: OrderedReady # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) resources: limits: cpu: 1 memory: 1Gi # requests: # cpu: 500m # memory: 512Mi # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) securityContext: enabled: false # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) podSecurityContext: enabled: false service: enabled: true # -- Service annotations annotations: {} # -- Service ClusterIP clusterIP: None # -- Service type type: ClusterIP # -- Service labels labels: {} # -- Service port servicePort: 8482 # -- Port for accepting connections from vminsert vminsertPort: 8400 # -- Port for accepting connections from vmselect vmselectPort: 8401 # -- Extra service ports extraPorts: [] # -- Health check node port for a service. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details healthCheckNodePort: "" # -- Service external traffic policy. Check [here](https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip) for details externalTrafficPolicy: "" # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details. ipFamilyPolicy: "" # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details. ipFamilies: [] # -- Pod's termination grace period in seconds terminationGracePeriodSeconds: 60 # -- Readiness & Liveness probes probe: # -- VMStorage readiness probe readiness: httpGet: {} initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 # -- VMStorage liveness probe liveness: tcpSocket: {} initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5 failureThreshold: 10 # -- VMStorage startup probe startup: {} horizontalPodAutoscaler: # -- Use HPA for vmstorage component enabled: false # -- Maximum replicas for HPA to use to to scale the vmstorage component maxReplicas: 10 # -- Minimum replicas for HPA to use to scale the vmstorage component minReplicas: 2 # -- Metric for HPA to use to scale the vmstorage component metrics: [] # -- Behavior settings for scaling by the HPA behavior: scaleDown: selectPolicy: Disabled vmbackupmanager: # -- Enable automatic creation of backup via vmbackupmanager. vmbackupmanager is part of Enterprise packages enabled: false image: # -- VMBackupManager image registry registry: "" # -- VMBackupManager image repository repository: victoriametrics/vmbackupmanager # -- VMBackupManager image tag # override Chart.AppVersion tag: "" # -- Variant of the image tag to use. # e.g. enterprise. variant: cluster # -- Disable hourly backups disableHourly: false # -- Disable daily backups disableDaily: false # -- Disable weekly backups disableWeekly: false # -- Disable monthly backups disableMonthly: false # -- Backup destination at S3, GCS or local filesystem. Pod name will be included to path! destination: "" # -- Backups' retention settings retention: # -- Keep last N hourly backups. 0 means delete all existing hourly backups. Specify -1 to turn off keepLastHourly: 2 # -- Keep last N daily backups. 0 means delete all existing daily backups. Specify -1 to turn off keepLastDaily: 2 # -- Keep last N weekly backups. 0 means delete all existing weekly backups. Specify -1 to turn off keepLastWeekly: 2 # -- Keep last N monthly backups. 0 means delete all existing monthly backups. Specify -1 to turn off keepLastMonthly: 2 # -- Extra command line arguments for container of component extraArgs: envflag.enable: "true" envflag.prefix: VM_ loggerFormat: json # -- Allows to enable restore options for pod. Check [here](https://docs.victoriametrics.com/vmbackupmanager#restore-commands) for details restore: onStart: enabled: false # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/) resources: {} # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/#environment-variables) for details env: [] # -- Readiness & Liveness probes probe: # -- VMBackupManager readiness probe readiness: httpGet: port: manager-http initialDelaySeconds: 5 periodSeconds: 15 timeoutSeconds: 5 failureThreshold: 3 # -- VMBackupManager liveness probe liveness: tcpSocket: port: manager-http initialDelaySeconds: 30 periodSeconds: 30 timeoutSeconds: 5 failureThreshold: 10 # -- VMBackupManager startup probe startup: {} # -- Extra secret mounts for vmbackupmanager extraSecretMounts: [] # - name: secret # mountPath: /etc/credentials # subPath: "" # readOnly: true serviceMonitor: # -- Enable deployment of Service Monitor for vmstorage component. This is Prometheus operator object enabled: false # -- Target namespace of ServiceMonitor manifest namespace: "" # -- Service Monitor labels extraLabels: {} # -- Service Monitor annotations annotations: {} # -- Basic auth params for Service Monitor basicAuth: {} # Commented. Prometheus scare interval for vmstorage component # interval: 15s # Commented. Prometheus pre-scrape timeout for vmstorage component # scrapeTimeout: 5s # -- Commented. HTTP scheme to use for scraping. # scheme: https # -- Commented. TLS configuration to use when scraping the endpoint # tlsConfig: # insecureSkipVerify: true # -- Service Monitor relabelings relabelings: [] # -- Service Monitor metricRelabelings metricRelabelings: [] # -- Enterprise license key configuration for VictoriaMetrics enterprise. # Required only for VictoriaMetrics enterprise. Check docs [here](https://docs.victoriametrics.com/enterprise), # for more information, visit [site](https://victoriametrics.com/products/enterprise/). # Request a trial license [here](https://victoriametrics.com/products/enterprise/trial/) # Supported starting from VictoriaMetrics v1.94.0 license: # -- License key key: "" # -- Use existing secret with license key secret: # -- Existing secret name name: "" # -- Key in secret with license key key: ""