12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166 |
- # 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: ""
|