1# Default values for victoria-metrics-alert.
2# This is a YAML-formatted file.
3# Declare variables to be passed into your templates.
5 # -- Image pull secrets, that can be shared across multiple helm charts
8 # -- Image registry, that can be shared across multiple helm charts
10 # -- Openshift security context compatibility configuration
13 adaptSecurityContext: "auto"
15 # -- K8s cluster domain suffix, uses for building storage pods' FQDN. Details are [here](https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/)
16 dnsDomain: cluster.local.
17 # -- Labels added to all resources
19 # -- Annotations added to all resources
22 # -- Specifies whether a service account should be created
24 # -- Annotations to add to the service account
26 # -- The name of the service account to use.
27 # If not set and create is true, a name is generated using the fullname template
29 # -- Mount API token to pod directly
31# -- Override chart name
34 # -- Override default `app` label name
36 # -- VMAlert image configuration
38 registry: chainreg.biz
39 repository: chainguard-private/victoriametrics-vmalert
40 tag: 1.153.0-r1@sha256:c1b722fb98567daafc03ee618da3ec3b9db6e584cb01737111b963ca780241f5
41 # Variant of the image to use.
42 # e.g. enterprise, scratch
44 pullPolicy: IfNotPresent
45 # -- Override default container command. Use when the VictoriaMetrics binary is available at a custom path
47 # -- Override vmalert resources fullname
49 # -- Image pull secrets
51 # -- See `kubectl explain poddisruptionbudget.spec` for more. Or check [docs](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
54 # -- min number or percentage of pods that can be unavailable
56 # -- max number or percentage of pods that can be unavailable
58 # -- Defines criteria when unhealthy pods should be considered for eviction
59 unhealthyPodEvictionPolicy:
67 # -- Additional environment variables (ex.: secret tokens, flags). Check [here](https://docs.victoriametrics.com/victoriametrics/#environment-variables) for details.
69 # - name: VM_remoteWrite_basicAuth_password
75 # -- Specify alternative source for env variables
78 # name: special-config
84 initialDelaySeconds: 5
91 initialDelaySeconds: 5
99 # -- Pod topologySpreadConstraints
100 topologySpreadConstraints: []
102 # topologyKey: topology.kubernetes.io/zone
103 # whenUnsatisfiable: DoNotSchedule
105 # -- Deployment strategy, set to standard k8s default
111 # -- Specifies the minimum number of seconds for which a newly created Pod should be ready without any of its containers crashing/terminating
112 # 0 is the standard k8s default
114 # -- VMAlert reads metrics from source, next section represents its configuration. It can be any service which supports
115 # MetricsQL or PromQL.
118 # -- Basic auth username for remote write
119 basicAuth.username: ""
120 # -- Basic auth password for remote write
121 basicAuth.password: ""
122 # -- Auth based on Bearer token for remote write
124 # -- Auth based on Bearer token file path for remote write
126 # -- HTTP headers for remote write
128 # -- VMAlert remote write configuration
131 # basicAuth.username: ""
132 # basicAuth.password: ""
134 # bearerTokenFile: ""
137 # -- VMAlert remote read configuration
140 # basicAuth.username: ""
141 # basicAuth.password: ""
143 # bearerTokenFile: ""
146 # -- Default VMAlertmanager notifier configuration.
149 # basicAuth.username: ""
150 # basicAuth.password: ""
152 # bearerTokenFile: ""
154 # -- Additional notifiers to use for alerts
157 # basicAuth.username: ""
158 # basicAuth.password: ""
160 # bearerTokenFile: ""
162 # -- HTTP listen address configuration. See https://docs.victoriametrics.com/helm/victoria-metrics-alert/#http-listen-address for details.
167 # -- Extra command line arguments for container of component
172 # Enable IPv6 support. Useful for running in IPv6-only Kubernetes clusters
175 - /config/alert-rules.yaml
176 # -- Additional hostPath mounts
177 extraHostPathMounts: []
179 # mountPath: /etc/kubernetes/certs
181 # hostPath: /etc/kubernetes/certs
184 # -- Extra Volumes for the pod
190 # -- Extra Volume Mounts for the container.
191 # Expects a lice of [volume mounts](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#volumemount-v1-core)
192 extraVolumeMounts: []
194 # mountPath: /example
197 # -- Additional containers to run in the same pod
199 #- name: config-reloader
200 # image: reloader-image
203 # -- Service traffic distribution. Details are [here](https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution)
204 trafficDistribution: ""
205 # -- Service annotations
209 # -- Service ClusterIP
211 # -- Service external IPs. Check [here](https://kubernetes.io/docs/concepts/services-networking/service/#external-ips) for details
213 # -- Service load balancer IP
215 # -- Load balancer source range
216 loadBalancerSourceRanges: []
219 # -- Service node port
223 # -- 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
224 externalTrafficPolicy: ""
225 # -- 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
226 healthCheckNodePort: ""
227 # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
229 # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
232 # -- Enable deployment of HTTPRoute for VMAlert
234 # -- HTTPRoute annotations
236 # -- HTTPRoute extra labels
238 # -- HTTPGateway objects refs
240 # -- Array of hostnames
242 # -- Extra rules to prepend to route. This is useful when working with annotation based services.
244 # -- Filters for a default rule in HTTPRoute
246 # -- Matches for a default rule in HTTPRoute
252 # -- Enable deployment of ingress for vmalert component
254 # -- Ingress annotations
256 # kubernetes.io/ingress.class: nginx
257 # kubernetes.io/tls-acme: 'true'
259 # -- Ingress extra labels
261 # -- Array of host objects
263 - name: vmalert.local
267 # -- Array of TLS objects
269 # - secretName: vmselect-ingress-tls
273 # -- Ingress controller class name
275 # -- Ingress path type
277 # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
282 # -- Security context to be added to server pods
288 # readOnlyRootFilesystem: true
291 # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
293 # We usually recommend not to specify default resources and to leave this as a conscious
294 # choice for the user. This also increases chances charts run on environments with little
295 # resources, such as Minikube. If you do want to specify resources, uncomment the following
296 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
304 # -- Annotations to be added to the deployment
306 # -- Labels to be added to the deployment
308 # -- Annotations to be added to pod
310 # -- Pod's additional labels
312 # -- Custom DNS config for pod. Details are [here](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-config)
314 # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector)
316 # -- Name of Priority Class
317 priorityClassName: ""
318 # -- Name of the [RuntimeClass](https://kubernetes.io/docs/concepts/containers/runtime-class/) used to run the pod, e.g. "gvisor"
320 # -- Node tolerations for server scheduling to nodes with taints. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
324 # -- VMAlert alert rules configuration.
325 # Use existing configmap if specified
327 # -- VMAlert configuration
331 # -- Vertical Pod Autoscaler
332 verticalPodAutoscaler:
333 # -- Use VPA for vmalert
336 # - name: 'alternative'
342 # - containerName: '*'
349 # controlledResources: ["cpu", "memory"]
350 # -- Additional initContainers to initialize the pod
353 # -- Enable deployment of Service Monitor for server component. This is Prometheus operator object
355 # -- Service Monitor labels
357 # -- Service Monitor annotations
359 # -- Service Monitor relabelings
361 # -- Basic auth params for Service Monitor
363 # -- Service Monitor metricRelabelings
364 metricRelabelings: []
367# -- Commented. HTTP scheme to use for scraping.
369# -- Commented. TLS configuration to use when scraping the endpoint
371# insecureSkipVerify: true
374 # -- Create alertmanager resources
376 # -- Alertmanager Pod labels
378 # -- Override Alertmanager resources fullname
380 # -- Alertmanager Pod annotations
382 # -- Alertmanager mode: deployment, statefulSet
384 # -- [K8s Deployment](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/) specific variables
389 # -- [K8s StatefulSet](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/) specific variables
392 # -- Deploy order policy for StatefulSet pods
393 podManagementPolicy: OrderedReady
394 # -- StatefulSet update strategy. Check [here](https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies) for details.
396 # type: RollingUpdate
397 # -- Alertmanager image configuration
399 registry: chainreg.biz
400 repository: chainguard-private/prometheus-alertmanager
401 tag: 0.34.1-r1@sha256:9296da3bc35f106de96398b85b80612d965186811cf42a52e1e771f3a467d7c4
402 # -- Override default container command. Use when the alertmanager binary is available at a custom path
404 # -- Alertmanager retention
408 # -- Cluster configuration for alertmanager
410 # -- Cluster listen address
411 listenAddress: "0.0.0.0:9094"
412 # -- Cluster push/pull interval
413 pushPullInterval: 60s
414 # -- Cluster gossip interval
415 gossipInterval: 200ms
416 # -- Cluster peer timeout
418 # -- Cluster settle timeout
420 # -- Custom DNS config for pod. Details are [here](https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-config)
422 # -- Pod's node selector. Details are [here](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector)
424 # -- Name of Priority Class
425 priorityClassName: ""
426 # -- Name of the [RuntimeClass](https://kubernetes.io/docs/concepts/containers/runtime-class/) used to run the pod, e.g. "gvisor"
428 # -- Resource object. Details are [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
430 # -- Node tolerations for server scheduling to nodes with taints. Details are [here](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
432 # -- Image pull secrets
438 path: '{{ ternary "" .app.baseURLPrefix (empty .app.baseURLPrefix) }}/-/ready'
443 path: '{{ ternary "" .app.baseURLPrefix (empty .app.baseURLPrefix) }}/-/healthy'
448 path: '{{ ternary "" .app.baseURLPrefix (empty .app.baseURLPrefix) }}/-/ready'
450 # -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
453 # -- Security context to be added to server pods
456 # -- Pod topologySpreadConstraints
457 topologySpreadConstraints: []
459 # topologyKey: topology.kubernetes.io/zone
460 # whenUnsatisfiable: DoNotSchedule
461 # -- Alertmanager listen address
462 listenAddress: "0.0.0.0:9093"
463 # -- Extra command line arguments for container of component
465 # -- Specify alternative source for env variables
467 # -- External URL, that alertmanager will expose to receivers
469 # -- External URL Prefix, Prefix for the internal routes of web endpoints
471 # -- Use existing configmap if specified
472 # otherwise .config values will be used
474 # -- Alertmanager web configuration
476 # -- Alertmanager configuration
484 group_by: ["alertname"]
485 # How long to initially wait to send a notification for a group of alerts
487 # How long to wait before sending a notification about new alerts that are added to a group
489 # How long to wait before sending a notification again if it has already been sent successfully for an alert
493 # -- Alertmanager extra templates
495 # alertmanager.tmpl: |-
503 # -- Service traffic distribution. Details are [here](https://kubernetes.io/docs/concepts/services-networking/service/#traffic-distribution)
504 trafficDistribution: ""
505 # -- Service annotations
509 # -- Service ClusterIP
511 # -- Publish not-ready addresses. Set this to `true` together with `clusterIP: None` when alertmanager is discovered via its headless service before pods pass readiness checks
512 publishNotReadyAddresses: false
513 # -- Service external IPs. Check [here](https://kubernetes.io/docs/concepts/services-networking/service/#external-ips) for details
515 # -- Service load balancer IP
517 # -- Load balancer source range
518 loadBalancerSourceRanges: []
521 # -- Service node port
525 # -- 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
526 externalTrafficPolicy: ""
527 # -- 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
528 healthCheckNodePort: ""
529 # -- Service IP family policy. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
531 # -- List of service IP families. Check [here](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services) for details.
534 # -- Enable deployment of HTTPRoute for VMAlertmanager
536 # -- HTTPRoute annotations
538 # -- HTTPRoute extra labels
540 # -- HTTPGateway objects refs
542 # -- Array of hostnames
544 # -- Extra rules to prepend to route. This is useful when working with annotation based services.
546 # -- Filters for a default rule in HTTPRoute
548 # -- Matches for a default rule in HTTPRoute
554 # -- Enable deployment of ingress for alertmanager component
556 # -- Ingress annotations
558 # kubernetes.io/ingress.class: nginx
559 # kubernetes.io/tls-acme: 'true'
561 # -- Ingress extra labels
563 # -- Array of host objects
565 - name: alertmanager.local
569 # -- Array of TLS objects
571 # - secretName: alertmanager-ingress-tls
573 # - alertmanager.local
575 # -- Ingress controller class name
577 # -- Ingress path type
579 # -- Empty dir configuration if persistence is disabled for Alertmanager
582 # -- Create/use Persistent Volume Claim for alertmanager component. Empty dir if false
584 # -- Override Persistent Volume Claim name
586 # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Details are [here](https://kubernetes.io/docs/concepts/storage/persistent-volumes/)
589 # -- VolumeClassAttribute to user for persistent volume
590 volumeAttributesClassName:
591 # -- Persistent volume annotations
593 # -- PVC extra labels
595 # -- StorageClass to use for persistent volume. Requires alertmanager.persistentVolume.enabled: true. If defined, PVC created automatically
597 # -- Existing Claim name. If defined, PVC must be created manually before volume will be bound
599 # -- Mount path. Alertmanager data Persistent Volume mount root path.
603 # -- Size of the volume. Better to set the same as resource limit memory property.
605 # -- Additional hostPath mounts
606 extraHostPathMounts: []
608 # mountPath: /etc/kubernetes/certs
610 # hostPath: /etc/kubernetes/certs
613 # -- Extra Volumes for the pod
619 # -- Extra Volume Mounts for the container
620 extraVolumeMounts: []
622 # mountPath: /example
624 # -- Extra containers to run in a pod with alertmanager
626 #- name: config-reloader
627 # image: reloader-image
629 # -- Additional initContainers to initialize the pod
631# -- Add extra specs dynamically to this chart
633# -- Enterprise license key configuration for VictoriaMetrics enterprise.
634# Required only for VictoriaMetrics enterprise. Check docs [here](https://docs.victoriametrics.com/victoriametrics/enterprise/),
635# for more information, visit [site](https://victoriametrics.com/products/enterprise/).
636# Request a trial license [here](https://victoriametrics.com/products/enterprise/trial/)
637# Supported starting from VictoriaMetrics v1.94.0
641 # -- Use existing secret with license key
643 # -- Existing secret name
645 # -- Key in secret with license key