diff --git a/charts/victoria-logs-single/README.md b/charts/victoria-logs-single/README.md index 19411322e..19a05edb3 100644 --- a/charts/victoria-logs-single/README.md +++ b/charts/victoria-logs-single/README.md @@ -130,43 +130,45 @@ Change the values according to the need of the environment in ``victoria-logs-si
-| - [FILTER] - Name kubernetes - Match kube.* - Merge_Log On - Keep_Log On - K8S-Logging.Parser On - K8S-Logging.Exclude On - [FILTER] - Name nest - Match * - Wildcard pod_name - Operation lift - Nested_under kubernetes - Add_prefix kubernetes_ --
+fluent-bit.config.filters: |
+ [FILTER]
+ Name kubernetes
+ Match kube.*
+ Merge_Log On
+ Keep_Log On
+ K8S-Logging.Parser On
+ K8S-Logging.Exclude On
+ [FILTER]
+ Name nest
+ Match *
+ Wildcard pod_name
+ Operation lift
+ Nested_under kubernetes
+ Add_prefix kubernetes_
+
+
+-| - [OUTPUT] - Name http - Match kube.* - Host {{ include "victoria-logs.server.fullname" . }} - port 9428 - compress gzip - uri /insert/jsonline?_stream_fields=stream,kubernetes_pod_name,kubernetes_container_name,kubernetes_namespace_name&_msg_field=log&_time_field=date - format json_lines - json_date_format iso8601 - header AccountID 0 - header ProjectID 0 +tpl + +fluent-bit.config.outputs: | + [OUTPUT] + Name http + Match kube.* + Host {{ include "victoria-logs.server.fullname" . }} + port 9428 + compress gzip + uri /insert/jsonline?_stream_fields=stream,kubernetes_pod_name,kubernetes_container_name,kubernetes_namespace_name&_msg_field=log&_time_field=date + format json_lines + json_date_format iso8601 + header AccountID 0 + header ProjectID 0 +Note that Host must be replaced to match your VictoriaLogs service name Default format points to VictoriaLogs service. @@ -276,6 +278,24 @@ false+ auto++
+"" ++
+[]
+
kubectl explain poddisruptionbudget.spec
for more. Details are here
+{}
+
+
+[]
+
+-10 --
-30 --
-30 --
-'{{ include "vm.probe.port" . }}' --
-5 --
-3 --
-'{{ include "vm.probe.http.path" . }}' --
-'{{ include "vm.probe.port" . }}' --
-'{{ include "vm.probe.http.scheme" . }}' --
-5 --
-15 +server.probe.liveness +object +- +failureThreshold: 10 +initialDelaySeconds: 30 +periodSeconds: 30 +tcpSocket: + port: '{{ include "vm.probe.port" . }}' +timeoutSeconds: 5+ Indicates whether the Container is running. If the liveness probe fails, the kubelet kills the Container, and the Container is subjected to its restart policy. If a Container does not provide a liveness probe, the default state is Success.
-5 +server.probe.readiness +object +- +failureThreshold: 3 +httpGet: + path: '{{ include "vm.probe.http.path" . }}' + port: '{{ include "vm.probe.port" . }}' + scheme: '{{ include "vm.probe.http.scheme" . }}' +initialDelaySeconds: 5 +periodSeconds: 15 +timeoutSeconds: 5+ Indicates whether the Container is ready to service requests. If the readiness probe fails, the endpoints controller removes the Pod's IP address from the endpoints of all Services that match the Pod. The default state of readiness before the initial delay is Failure. If a Container does not provide a readiness probe, the default state is Success.
kubectl explain poddisruptionbudget.spec
for more. Details are here
enabled: false
# minAvailable: 1
# maxUnavailable: 1
@@ -82,7 +82,7 @@ server:
initContainers:
[]
- # -- Node tolerations for server scheduling to nodes with taints. Ref: [https://kubernetes.io/docs/concepts/configuration/assign-pod-node/](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
+ # -- Node tolerations for server scheduling to nodes with taints. Details are here
tolerations:
[]
# - key: "key"
@@ -90,7 +90,7 @@ server:
# value: "value"
# effect: "NoSchedule|PreferNoSchedule"
- # -- Pod's node selector. Ref: [https://kubernetes.io/docs/user-guide/node-selection/](https://kubernetes.io/docs/user-guide/node-selection/)
+ # -- Pod's node selector. Details are here
nodeSelector: {}
# -- Pod affinity
@@ -118,7 +118,7 @@ server:
# -- Create/use Persistent Volume Claim for server component. Empty dir if false
enabled: false
- # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Ref: [http://kubernetes.io/docs/user-guide/persistent-volumes/](http://kubernetes.io/docs/user-guide/persistent-volumes/)
+ # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Details are here
accessModes:
- ReadWriteOnce
# -- Persistant volume annotations
@@ -149,7 +149,7 @@ server:
# -- Pod's management policy
podManagementPolicy: OrderedReady
- # -- Resource object. Ref: [http://kubernetes.io/docs/user-guide/compute-resources/](http://kubernetes.io/docs/user-guide/compute-resources/
+ # -- Resource object. Details are here
resources:
{}
# limits:
@@ -160,7 +160,7 @@ server:
# memory: 512Mi
probe:
- # Indicates whether the Container is ready to service requests. If the readiness probe fails, the endpoints controller removes the Pod's IP address from the endpoints of all Services that match the Pod. The default state of readiness before the initial delay is Failure. If a Container does not provide a readiness probe, the default state is Success.
+ # -- Indicates whether the Container is ready to service requests. If the readiness probe fails, the endpoints controller removes the Pod's IP address from the endpoints of all Services that match the Pod. The default state of readiness before the initial delay is Failure. If a Container does not provide a readiness probe, the default state is Success.
readiness:
httpGet:
path: '{{ include "vm.probe.http.path" . }}'
@@ -171,7 +171,7 @@ server:
timeoutSeconds: 5
failureThreshold: 3
- # Indicates whether the Container is running. If the liveness probe fails, the kubelet kills the Container, and the Container is subjected to its restart policy. If a Container does not provide a liveness probe, the default state is Success.
+ # -- Indicates whether the Container is running. If the liveness probe fails, the kubelet kills the Container, and the Container is subjected to its restart policy. If a Container does not provide a liveness probe, the default state is Success.
liveness:
tcpSocket:
port: '{{ include "vm.probe.port" . }}'
@@ -180,7 +180,7 @@ server:
timeoutSeconds: 5
failureThreshold: 10
- # Indicates whether the Container is done with potentially costly initialization. If set it is executed first. If it fails Container is restarted. If it succeeds liveness and readiness probes takes over.
+ # -- Indicates whether the Container is done with potentially costly initialization. If set it is executed first. If it fails Container is restarted. If it succeeds liveness and readiness probes takes over.
startup: {}
# tcpSocket:
# port: http
@@ -198,7 +198,7 @@ server:
- ALL
readOnlyRootFilesystem: true
- # -- Pod's security context. Ref: [https://kubernetes.io/docs/tasks/configure-pod-container/security-context/](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
+ # -- Pod's security context. Details are here
podSecurityContext:
enabled: true
fsGroup: 2000
@@ -240,7 +240,7 @@ server:
labels: {}
# -- Service ClusterIP
clusterIP: ""
- # -- Service External IPs. Ref: [https://kubernetes.io/docs/user-guide/services/#external-ips]( https://kubernetes.io/docs/user-guide/services/#external-ips)
+ # -- Service External IPs. Details are here
externalIPs: []
# -- Service load balacner IP
loadBalancerIP: ""
@@ -321,6 +321,7 @@ fluent-bit:
config:
# -- Note that Host must be replaced to match your VictoriaLogs service name
# Default format points to VictoriaLogs service.
+ # @notationType -- tpl
outputs: |
[OUTPUT]
Name http
@@ -333,6 +334,8 @@ fluent-bit:
json_date_format iso8601
header AccountID 0
header ProjectID 0
+ # -- FluentBit configuration filters
+ # @notationType -- tpl
filters: |
[FILTER]
Name kubernetes
diff --git a/charts/victoria-metrics-agent/README.md b/charts/victoria-metrics-agent/README.md
index 119609100..90374e1e2 100644
--- a/charts/victoria-metrics-agent/README.md
+++ b/charts/victoria-metrics-agent/README.md
@@ -130,1597 +130,251 @@ Change the values according to the need of the environment in ``victoria-metrics
-vmagent --
-localhost:8429 --
-/var/run/secrets/kubernetes.io/serviceaccount/token --
-kubernetes-apiservers --
-endpoints --
-keep --
-default;kubernetes;https --
-__meta_kubernetes_namespace --
-__meta_kubernetes_service_name --
-__meta_kubernetes_endpoint_port_name --
-https --
-/var/run/secrets/kubernetes.io/serviceaccount/ca.crt --
-true --
-/var/run/secrets/kubernetes.io/serviceaccount/token --
-kubernetes-nodes --
-node --
-labelmap --
-__meta_kubernetes_node_label_(.+) --
-kubernetes.default.svc:443 --
-__address__ --
-(.+) --
-/api/v1/nodes/$1/proxy/metrics --
-__meta_kubernetes_node_name --
-__metrics_path__ --
-https --
-/var/run/secrets/kubernetes.io/serviceaccount/ca.crt --
-true --
-/var/run/secrets/kubernetes.io/serviceaccount/token --
-false --
-kubernetes-nodes-cadvisor --
-node --
-labelmap --
-__meta_kubernetes_node_label_(.+) --
-kubernetes.default.svc:443 --
-__address__ --
-(.+) --
-/api/v1/nodes/$1/proxy/metrics/cadvisor --
-__meta_kubernetes_node_name --
-__metrics_path__ --
-https --
-/var/run/secrets/kubernetes.io/serviceaccount/ca.crt --
-true --
-kubernetes-service-endpoints --
-endpointslices --
-drop --
-true --
-__meta_kubernetes_pod_container_init --
-__meta_kubernetes_service_name --
-service --
-${1} --
-__meta_kubernetes_service_name --
-job --
-replace --
-__meta_kubernetes_pod_node_name --
-node --
-keep_if_equal --
-__meta_kubernetes_service_annotation_prometheus_io_port --
-__meta_kubernetes_pod_container_port_number --
-keep --
-true --
-__meta_kubernetes_service_annotation_prometheus_io_scrape --
-replace --
-(https?) --
-__meta_kubernetes_service_annotation_prometheus_io_scheme --
-__scheme__ --
-replace --
-(.+) --
-__meta_kubernetes_service_annotation_prometheus_io_path --
-__metrics_path__ --
-replace --
-([^:]+)(?::\d+)?;(\d+) --
-$1:$2 --
-__address__ --
-__meta_kubernetes_service_annotation_prometheus_io_port --
-__address__ --
-labelmap --
-__meta_kubernetes_service_label_(.+) --
-__meta_kubernetes_pod_name --
-pod --
-__meta_kubernetes_pod_container_name --
-container --
-__meta_kubernetes_namespace --
-namespace --
-kubernetes-service-endpoints-slow --
-endpointslices --
-drop --
-true --
-__meta_kubernetes_pod_container_init --
-__meta_kubernetes_service_name --
-service --
-${1} --
-__meta_kubernetes_service_name --
-job --
-replace --
-__meta_kubernetes_pod_node_name --
-node --
-keep_if_equal --
-__meta_kubernetes_service_annotation_prometheus_io_port --
-__meta_kubernetes_pod_container_port_number --
-keep --
-true --
-__meta_kubernetes_service_annotation_prometheus_io_scrape_slow --
-replace --
-(https?) --
-__meta_kubernetes_service_annotation_prometheus_io_scheme --
-__scheme__ --
-replace --
-(.+) --
-__meta_kubernetes_service_annotation_prometheus_io_path --
-__metrics_path__ --
-replace --
-([^:]+)(?::\d+)?;(\d+) --
-$1:$2 --
-__address__ --
-__meta_kubernetes_service_annotation_prometheus_io_port --
-__address__ --
-labelmap --
-__meta_kubernetes_service_label_(.+) --
-__meta_kubernetes_pod_name --
-pod --
-__meta_kubernetes_pod_container_name --
-container --
-__meta_kubernetes_namespace --
-namespace --
-5m --
-30s --
-kubernetes-services --
-service --
-/probe --
-http_2xx --
-keep --
-true --
-__meta_kubernetes_service_annotation_prometheus_io_probe --
-__address__ --
-__param_target --
-blackbox --
-__address__ --
-__param_target --
-instance --
-labelmap --
-__meta_kubernetes_service_label_(.+) --
-__meta_kubernetes_namespace --
-namespace --
-__meta_kubernetes_service_name --
-service --
-kubernetes-pods --
-pod --
-drop --
-true --
-__meta_kubernetes_pod_container_init --
-keep_if_equal --
-__meta_kubernetes_pod_annotation_prometheus_io_port --
-__meta_kubernetes_pod_container_port_number --
-keep --
-true --
-__meta_kubernetes_pod_annotation_prometheus_io_scrape --
-replace --
-(.+) --
-__meta_kubernetes_pod_annotation_prometheus_io_path --
-__metrics_path__ --
-replace --
-([^:]+)(?::\d+)?;(\d+) --
-$1:$2 --
-__address__ --
-__meta_kubernetes_pod_annotation_prometheus_io_port --
-__address__ --
-labelmap --
-__meta_kubernetes_pod_label_(.+) --
-__meta_kubernetes_pod_name --
-pod --
-__meta_kubernetes_pod_container_name --
-container --
-__meta_kubernetes_namespace --
-namespace --
-replace --
-__meta_kubernetes_pod_node_name --
-node --
+- job_name: vmagent
+ static_configs:
+ - targets:
+ - localhost:8429
+- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
+ job_name: kubernetes-apiservers
+ kubernetes_sd_configs:
+ - role: endpoints
+ relabel_configs:
+ - action: keep
+ regex: default;kubernetes;https
+ source_labels:
+ - __meta_kubernetes_namespace
+ - __meta_kubernetes_service_name
+ - __meta_kubernetes_endpoint_port_name
+ scheme: https
+ tls_config:
+ ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
+ insecure_skip_verify: true
+- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
+ job_name: kubernetes-nodes
+ kubernetes_sd_configs:
+ - role: node
+ relabel_configs:
+ - action: labelmap
+ regex: __meta_kubernetes_node_label_(.+)
+ - replacement: kubernetes.default.svc:443
+ target_label: __address__
+ - regex: (.+)
+ replacement: /api/v1/nodes/$1/proxy/metrics
+ source_labels:
+ - __meta_kubernetes_node_name
+ target_label: __metrics_path__
+ scheme: https
+ tls_config:
+ ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
+ insecure_skip_verify: true
+- bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
+ honor_timestamps: false
+ job_name: kubernetes-nodes-cadvisor
+ kubernetes_sd_configs:
+ - role: node
+ relabel_configs:
+ - action: labelmap
+ regex: __meta_kubernetes_node_label_(.+)
+ - replacement: kubernetes.default.svc:443
+ target_label: __address__
+ - regex: (.+)
+ replacement: /api/v1/nodes/$1/proxy/metrics/cadvisor
+ source_labels:
+ - __meta_kubernetes_node_name
+ target_label: __metrics_path__
+ scheme: https
+ tls_config:
+ ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
+ insecure_skip_verify: true
+- job_name: kubernetes-service-endpoints
+ kubernetes_sd_configs:
+ - role: endpointslices
+ relabel_configs:
+ - action: drop
+ regex: true
+ source_labels:
+ - __meta_kubernetes_pod_container_init
+ - action: keep_if_equal
+ source_labels:
+ - __meta_kubernetes_service_annotation_prometheus_io_port
+ - __meta_kubernetes_pod_container_port_number
+ - action: keep
+ regex: true
+ source_labels:
+ - __meta_kubernetes_service_annotation_prometheus_io_scrape
+ - action: replace
+ regex: (https?)
+ source_labels:
+ - __meta_kubernetes_service_annotation_prometheus_io_scheme
+ target_label: __scheme__
+ - action: replace
+ regex: (.+)
+ source_labels:
+ - __meta_kubernetes_service_annotation_prometheus_io_path
+ target_label: __metrics_path__
+ - action: replace
+ regex: ([^:]+)(?::\d+)?;(\d+)
+ replacement: $1:$2
+ source_labels:
+ - __address__
+ - __meta_kubernetes_service_annotation_prometheus_io_port
+ target_label: __address__
+ - action: labelmap
+ regex: __meta_kubernetes_service_label_(.+)
+ - source_labels:
+ - __meta_kubernetes_pod_name
+ target_label: pod
+ - source_labels:
+ - __meta_kubernetes_pod_container_name
+ target_label: container
+ - source_labels:
+ - __meta_kubernetes_namespace
+ target_label: namespace
+ - source_labels:
+ - __meta_kubernetes_service_name
+ target_label: service
+ - replacement: ${1}
+ source_labels:
+ - __meta_kubernetes_service_name
+ target_label: job
+ - action: replace
+ source_labels:
+ - __meta_kubernetes_pod_node_name
+ target_label: node
+- job_name: kubernetes-service-endpoints-slow
+ kubernetes_sd_configs:
+ - role: endpointslices
+ relabel_configs:
+ - action: drop
+ regex: true
+ source_labels:
+ - __meta_kubernetes_pod_container_init
+ - action: keep_if_equal
+ source_labels:
+ - __meta_kubernetes_service_annotation_prometheus_io_port
+ - __meta_kubernetes_pod_container_port_number
+ - action: keep
+ regex: true
+ source_labels:
+ - __meta_kubernetes_service_annotation_prometheus_io_scrape_slow
+ - action: replace
+ regex: (https?)
+ source_labels:
+ - __meta_kubernetes_service_annotation_prometheus_io_scheme
+ target_label: __scheme__
+ - action: replace
+ regex: (.+)
+ source_labels:
+ - __meta_kubernetes_service_annotation_prometheus_io_path
+ target_label: __metrics_path__
+ - action: replace
+ regex: ([^:]+)(?::\d+)?;(\d+)
+ replacement: $1:$2
+ source_labels:
+ - __address__
+ - __meta_kubernetes_service_annotation_prometheus_io_port
+ target_label: __address__
+ - action: labelmap
+ regex: __meta_kubernetes_service_label_(.+)
+ - source_labels:
+ - __meta_kubernetes_pod_name
+ target_label: pod
+ - source_labels:
+ - __meta_kubernetes_pod_container_name
+ target_label: container
+ - source_labels:
+ - __meta_kubernetes_namespace
+ target_label: namespace
+ - source_labels:
+ - __meta_kubernetes_service_name
+ target_label: service
+ - replacement: ${1}
+ source_labels:
+ - __meta_kubernetes_service_name
+ target_label: job
+ - action: replace
+ source_labels:
+ - __meta_kubernetes_pod_node_name
+ target_label: node
+ scrape_interval: 5m
+ scrape_timeout: 30s
+- job_name: kubernetes-services
+ kubernetes_sd_configs:
+ - role: service
+ metrics_path: /probe
+ params:
+ module:
+ - http_2xx
+ relabel_configs:
+ - action: keep
+ regex: true
+ source_labels:
+ - __meta_kubernetes_service_annotation_prometheus_io_probe
+ - source_labels:
+ - __address__
+ target_label: __param_target
+ - replacement: blackbox
+ target_label: __address__
+ - source_labels:
+ - __param_target
+ target_label: instance
+ - action: labelmap
+ regex: __meta_kubernetes_service_label_(.+)
+ - source_labels:
+ - __meta_kubernetes_namespace
+ target_label: namespace
+ - source_labels:
+ - __meta_kubernetes_service_name
+ target_label: service
+- job_name: kubernetes-pods
+ kubernetes_sd_configs:
+ - role: pod
+ relabel_configs:
+ - action: drop
+ regex: true
+ source_labels:
+ - __meta_kubernetes_pod_container_init
+ - action: keep_if_equal
+ source_labels:
+ - __meta_kubernetes_pod_annotation_prometheus_io_port
+ - __meta_kubernetes_pod_container_port_number
+ - action: keep
+ regex: true
+ source_labels:
+ - __meta_kubernetes_pod_annotation_prometheus_io_scrape
+ - action: replace
+ regex: (.+)
+ source_labels:
+ - __meta_kubernetes_pod_annotation_prometheus_io_path
+ target_label: __metrics_path__
+ - action: replace
+ regex: ([^:]+)(?::\d+)?;(\d+)
+ replacement: $1:$2
+ source_labels:
+ - __address__
+ - __meta_kubernetes_pod_annotation_prometheus_io_port
+ target_label: __address__
+ - action: labelmap
+ regex: __meta_kubernetes_pod_label_(.+)
+ - source_labels:
+ - __meta_kubernetes_pod_name
+ target_label: pod
+ - source_labels:
+ - __meta_kubernetes_pod_container_name
+ target_label: container
+ - source_labels:
+ - __meta_kubernetes_namespace
+ target_label: namespace
+ - action: replace
+ source_labels:
+ - __meta_kubernetes_pod_node_name
+ target_label: node
+
+
{}
+
+{}
+
-"true" --
-VM_ --
-json +extraArgs +object +- +envflag.enable: "true" +envflag.prefix: VM_ +loggerFormat: json+ vmagent extra command line arguments
config
auto+
+"" ++
+[]
+
-5 --
-15 --
-'{{ include "vm.probe.port" . }}' --
-5 --
-'{{ include "vm.probe.http.path" . }}' --
-'{{ include "vm.probe.port" . }}' --
-'{{ include "vm.probe.http.scheme" . }}' --
-5 +probe.liveness +object +- +initialDelaySeconds: 5 +periodSeconds: 15 +tcpSocket: + port: '{{ include "vm.probe.port" . }}' +timeoutSeconds: 5+ liveness probe
-15 +probe.readiness +object +- +httpGet: + path: '{{ include "vm.probe.http.path" . }}' + port: '{{ include "vm.probe.port" . }}' + scheme: '{{ include "vm.probe.http.scheme" . }}' +initialDelaySeconds: 5 +periodSeconds: 15+ readiness probe
rbac.enabled
, will deploy a Role/Rolebinding instead of a ClusterRole/ClusterRoleBindingrbac.enabled
, will deploy a Role/Rolebinding instead of a ClusterRole/ClusterRoleBinding
namespaced: false
serviceAccount:
@@ -65,7 +65,7 @@ serviceAccount:
# If not set and create is true, a name is generated using the fullname template
name:
-## See `kubectl explain poddisruptionbudget.spec` for more
+## See kubectl explain poddisruptionbudget.spec
for more
## ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
podDisruptionBudget:
enabled: false
@@ -84,6 +84,7 @@ multiTenantUrls: []
# - http://vm-insert-az1:8480
# - http://vm-insert-az2:8480
+# -- vmagent extra command line arguments
extraArgs:
envflag.enable: "true"
envflag.prefix: VM_
@@ -288,7 +289,7 @@ config:
global:
scrape_interval: 10s
- # scrape self by default
+ # -- scrape configuration. scrape self by default
scrape_configs:
- job_name: vmagent
static_configs:
@@ -299,15 +300,15 @@ config:
# Scrape config for API servers.
#
# Kubernetes exposes API servers as endpoints to the default/kubernetes
- # service so this uses `endpoints` role and uses relabelling to only keep
+ # service so this uses endpoints
role and uses relabelling to only keep
# the endpoints associated with the default/kubernetes service using the
- # default named port `https`. This works for single API server deployments as
+ # default named port https
. This works for single API server deployments as
# well as HA API server deployments.
- job_name: "kubernetes-apiservers"
kubernetes_sd_configs:
- role: endpoints
# Default to scraping over https. If required, just disable this or change to
- # `http`.
+ # http
.
scheme: https
# This TLS & bearer token file config is used to connect to the actual scrape
# endpoints for cluster components. This is separate to discovery auth
@@ -339,7 +340,7 @@ config:
regex: default;kubernetes;https
- job_name: "kubernetes-nodes"
# Default to scraping over https. If required, just disable this or change to
- # `http`.
+ # http
.
scheme: https
# This TLS & bearer token file config is used to connect to the actual scrape
# endpoints for cluster components. This is separate to discovery auth
@@ -370,7 +371,7 @@ config:
replacement: /api/v1/nodes/$1/proxy/metrics
- job_name: "kubernetes-nodes-cadvisor"
# Default to scraping over https. If required, just disable this or change to
- # `http`.
+ # http
.
scheme: https
# This TLS & bearer token file config is used to connect to the actual scrape
# endpoints for cluster components. This is separate to discovery auth
@@ -412,12 +413,14 @@ config:
# The relabeling allows the actual service scrape endpoint to be configured
# via the following annotations:
#
- # * `prometheus.io/scrape`: Only scrape services that have a value of `true`
- # * `prometheus.io/scheme`: If the metrics endpoint is secured then you will need
- # to set this to `https` & most likely set the `tls_config` of the scrape config.
- # * `prometheus.io/path`: If the metrics path is not `/metrics` override this.
- # * `prometheus.io/port`: If the metrics are exposed on a different port to the
- # service then set this appropriately.
+ # prometheus.io/scrape
: Only scrape services that have a value of true
prometheus.io/scheme
: If the metrics endpoint is secured then you will need
+ # to set this to https
& most likely set the tls_config
of the scrape config.
+ # prometheus.io/path
: If the metrics path is not /metrics
override this.prometheus.io/port
: If the metrics are exposed on a different port to the
+ # service then set this appropriately.prometheus.io/scrape-slow
: Only scrape services that have a value of true
prometheus.io/scheme
: If the metrics endpoint is secured then you will need
+ # to set this to https
& most likely set the tls_config
of the scrape config.prometheus.io/path
: If the metrics path is not /metrics
override this.
+ # prometheus.io/port
: If the metrics are exposed on a different port to the
+ # service then set this appropriately.prometheus.io/probe
: Only probe services that have a value of true
prometheus.io/scrape
: Only scrape pods that have a value of true
prometheus.io/path
: If the metrics path is not /metrics
override this.prometheus.io/port
: Scrape the pod on the indicated port instead of the default of 9102
.config
extraScrapeConfigs: []
probe:
+ # -- readiness probe
readiness:
httpGet:
path: '{{ include "vm.probe.http.path" . }}'
@@ -611,12 +621,14 @@ probe:
port: '{{ include "vm.probe.port" . }}'
initialDelaySeconds: 5
periodSeconds: 15
+ # -- liveness probe
liveness:
tcpSocket:
port: '{{ include "vm.probe.port" . }}'
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 5
+ # -- startup probe
startup: {}
# Add extra specs dynamically to this chart
diff --git a/charts/victoria-metrics-alert/README.md b/charts/victoria-metrics-alert/README.md
index fdc9cc55a..8b067277e 100644
--- a/charts/victoria-metrics-alert/README.md
+++ b/charts/victoria-metrics-alert/README.md
@@ -196,6 +196,15 @@ devnull
""+
+{}
+
-"" --
-prom/alertmanager --
-v0.25.0 +alertmanager.image +object +- +registry: "" +repository: prom/alertmanager +tag: v0.25.0+ alertmanager image configuration
-'{{ ternary "" .baseURLPrefix (empty .baseURLPrefix) }}/-/healthy' --
-web --
-'{{ ternary "" .baseURLPrefix (empty .baseURLPrefix) }}/-/ready' --
-web +alertmanager.probe.liveness +object +- +httpGet: + path: '{{ ternary "" .baseURLPrefix (empty .baseURLPrefix) }}/-/healthy' + port: web+ liveness probe
-'{{ ternary "" .baseURLPrefix (empty .baseURLPrefix) }}/-/ready' +alertmanager.probe.readiness +object +- +httpGet: + path: '{{ ternary "" .baseURLPrefix (empty .baseURLPrefix) }}/-/ready' + port: web+ readiness probe
-web +alertmanager.probe.startup +object +- +httpGet: + path: '{{ ternary "" .baseURLPrefix (empty .baseURLPrefix) }}/-/ready' + port: web+ startup probe
auto+
+"" ++
+[]
+
-IfNotPresent --
-"" --
-victoriametrics/vmalert --
-"" --
-"" +server.image +object +- +pullPolicy: IfNotPresent +registry: "" +repository: victoriametrics/vmalert +tag: "" +variant: ""+ vmalert image configuration
notifiers
section-3 --
-5 --
-15 --
-'{{ include "vm.probe.port" . }}' --
-5 --
-3 --
-'{{ include "vm.probe.http.path" . }}' --
-'{{ include "vm.probe.port" . }}' --
-'{{ include "vm.probe.http.scheme" . }}' --
-5 --
-15 +server.probe.liveness +object +- +failureThreshold: 3 +initialDelaySeconds: 5 +periodSeconds: 15 +tcpSocket: + port: '{{ include "vm.probe.port" . }}' +timeoutSeconds: 5+ liveness probe
-5 +server.probe.readiness +object +- +failureThreshold: 3 +httpGet: + path: '{{ include "vm.probe.http.path" . }}' + port: '{{ include "vm.probe.port" . }}' + scheme: '{{ include "vm.probe.http.scheme" . }}' +initialDelaySeconds: 5 +periodSeconds: 15 +timeoutSeconds: 5+ readiness probe
kubectl explain poddisruptionbudget.spec
for more. Or check docs
podDisruptionBudget:
enabled: false
# minAvailable: 1
@@ -63,8 +63,8 @@ server:
#- configMapRef:
# name: special-config
- # Readiness & Liveness probes
probe:
+ # -- readiness probe
readiness:
httpGet:
path: '{{ include "vm.probe.http.path" . }}'
@@ -74,6 +74,7 @@ server:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
+ # -- liveness probe
liveness:
tcpSocket:
port: '{{ include "vm.probe.port" . }}'
@@ -81,6 +82,7 @@ server:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
+ # -- startup probe
startup: {}
replicaCount: 1
@@ -138,7 +140,7 @@ server:
tokenFile: ""
# -- Notifier to use for alerts.
- # Multiple notifiers can be enabled by using `notifiers` section
+ # Multiple notifiers can be enabled by using notifiers
section
notifier:
alertmanager:
url: ""
@@ -335,6 +337,7 @@ alertmanager:
podMetadata:
labels: {}
annotations: {}
+ # -- alertmanager image configuration
image:
registry: ""
repository: prom/alertmanager
@@ -346,14 +349,17 @@ alertmanager:
tolerations: []
imagePullSecrets: []
probe:
+ # -- readiness probe
readiness:
httpGet:
path: '{{ ternary "" .baseURLPrefix (empty .baseURLPrefix) }}/-/ready'
port: web
+ # -- liveness probe
liveness:
httpGet:
path: '{{ ternary "" .baseURLPrefix (empty .baseURLPrefix) }}/-/healthy'
port: web
+ # -- startup probe
startup:
httpGet:
path: '{{ ternary "" .baseURLPrefix (empty .baseURLPrefix) }}/-/ready'
@@ -422,7 +428,7 @@ alertmanager:
persistentVolume:
# -- Create/use Persistent Volume Claim for alertmanager component. Empty dir if false
enabled: false
- # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Ref: [http://kubernetes.io/docs/user-guide/persistent-volumes/](http://kubernetes.io/docs/user-guide/persistent-volumes/)
+ # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Details are here
accessModes:
- ReadWriteOnce
# -- Persistant volume annotations
diff --git a/charts/victoria-metrics-anomaly/README.md b/charts/victoria-metrics-anomaly/README.md
index 4f46fce99..e628591b0 100644
--- a/charts/victoria-metrics-anomaly/README.md
+++ b/charts/victoria-metrics-anomaly/README.md
@@ -152,7 +152,7 @@ writer:
tenant_id: ""
- http://single-victoria-metrics-single-server.default.svc.cluster.local:8428
or http://cluster-victoria-metrics-cluster-vminsert.default.svc.cluster.local:8480/insert/
/query_range?step=%s
param (in seconds). http://single-victoria-metrics-single-server.default.svc.cluster.local:8428
or http://cluster-victoria-metrics-cluster-vminsert.default.svc.cluster.local:8480/insert/
auto+
+"" ++
+[]
+
kubectl explain poddisruptionbudget.spec
for more. Details are herekubectl explain poddisruptionbudget.spec
for more. Details are here
podDisruptionBudget:
enabled: false
# minAvailable: 1
@@ -102,10 +102,10 @@ annotations: {}
# -- Annotations to be added to pod
podAnnotations: {}
-# -- NodeSelector configurations. Ref: https://kubernetes.io/docs/user-guide/node-selection/
+# -- NodeSelector configurations. Details are here
nodeSelector: {}
-# -- Tolerations configurations. Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
+# -- Tolerations configurations. Details are here
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
@@ -125,21 +125,21 @@ serviceMonitor:
# https://victoriametrics.com/legal/esa/
eula: false
-# -- Full [vmanomaly config section](https://docs.victoriametrics.com/anomaly-detection/components/)
+# -- Full vmanomaly config section
config:
# -- Whether to use preset configuration. If not empty, preset name should be specified.
preset: ""
- # -- [Scheduler section](https://docs.victoriametrics.com/anomaly-detection/components/scheduler/)
+ # -- Scheduler section
schedulers: {}
- # -- [Models section](https://docs.victoriametrics.com/anomaly-detection/components/models/)
+ # -- Models section
models: {}
- # -- [Reader section](https://docs.victoriametrics.com/anomaly-detection/components/reader/)
+ # -- Reader section
reader:
# -- Name of the class needed to enable reading from VictoriaMetrics or Prometheus. VmReader is the default option, if not specified.
class: "vm"
- # -- Datasource URL address. Required for example "http://single-victoria-metrics-single-server.default.svc.cluster.local:8428" or "http://cluster-victoria-metrics-cluster-vminsert.default.svc.cluster.local:8480/insert/"
+ # -- Datasource URL address. Required for example http://single-victoria-metrics-single-server.default.svc.cluster.local:8428
or http://cluster-victoria-metrics-cluster-vminsert.default.svc.cluster.local:8480/insert/
datasource_url: ""
# -- For VictoriaMetrics Cluster version only, tenants are identified by accountID or accountID:projectID. See VictoriaMetrics Cluster multitenancy docs
tenant_id: ""
@@ -156,14 +156,14 @@ config:
# expr: 'sum(rate(vm_http_requests_total{path=~"/api/v1/write|.*insert.*"}[5m])) by (path) > 0'
# slow_inserts:
# expr: 'sum(rate(vm_slow_row_inserts_total[5m])) / sum(rate(vm_rows_inserted_total[5m]))'
- # -- Frequency of the points returned. Will be converted to "/query_range?step=%s" param (in seconds). **Required** since 1.9.0.
+ # -- Frequency of the points returned. Will be converted to /query_range?step=%s
param (in seconds). http://single-victoria-metrics-single-server.default.svc.cluster.local:8428
or http://cluster-victoria-metrics-cluster-vminsert.default.svc.cluster.local:8480/insert/
datasource_url: ""
# -- For VictoriaMetrics Cluster version only, tenants are identified by accountID or accountID:projectID. See VictoriaMetrics Cluster multitenancy docs
tenant_id: ""
@@ -174,7 +174,7 @@ persistentVolume:
# -- Create/use Persistent Volume Claim for models dump.
enabled: false
- # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Ref: [http://kubernetes.io/docs/user-guide/persistent-volumes/](http://kubernetes.io/docs/user-guide/persistent-volumes/)
+ # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Details are here
accessModes:
- ReadWriteOnce
# -- Persistant volume annotations
@@ -192,7 +192,7 @@ persistentVolume:
# -- Size of the volume. Should be calculated based on the metrics you send and retention policy you set.
size: 1Gi
-# -- License key configuration for vmanomaly. See [docs](https://docs.victoriametrics.com/vmanomaly.html#licensing)
+# -- License key configuration for vmanomaly. See docs
# Required starting from v1.5.0.
license:
# -- License key for vmanomaly
diff --git a/charts/victoria-metrics-auth/README.md b/charts/victoria-metrics-auth/README.md
index f21f6dab4..8126f635b 100644
--- a/charts/victoria-metrics-auth/README.md
+++ b/charts/victoria-metrics-auth/README.md
@@ -252,6 +252,24 @@ json
auto+
+"" ++
+[]
+
kubectl explain poddisruptionbudget.spec
for more. Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/-5 --
-15 --
-'{{ include "vm.probe.port" . }}' --
-5 --
-5 --
-15 +probe.liveness +object +- +initialDelaySeconds: 5 +periodSeconds: 15 +tcpSocket: + port: '{{ include "vm.probe.port" . }}' +timeoutSeconds: 5+ liveness probe
-'{{ include "vm.probe.port" . }}' +probe.readiness +object +- +initialDelaySeconds: 5 +periodSeconds: 15 +tcpSocket: + port: '{{ include "vm.probe.port" . }}'+ readiness probe
resources:
.auth.yml
key.kubectl explain poddisruptionbudget.spec
for more. Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
podDisruptionBudget:
enabled: false
# minAvailable: 1
@@ -159,7 +159,7 @@ ingressInternal:
# -- pathType is only for k8s >= 1.1=
pathType: Prefix
-# -- We usually recommend not to specify default resources and to leave this as a conscious choice for the user. This also increases chances charts run on environments with little resources, such as Minikube. If you do want to specify resources, uncomment the following lines, adjust them as necessary, and remove the curly braces after 'resources:'.
+# -- We usually recommend not to specify default resources and to leave this as a conscious choice for the user. This also increases chances charts run on environments with little resources, such as Minikube. If you do want to specify resources, uncomment the following lines, adjust them as necessary, and remove the curly braces after resources:
.
resources: {}
# limits:
# cpu: 100m
@@ -212,7 +212,7 @@ serviceMonitor:
# insecureSkipVerify: true
# -- Use existing secret if specified otherwise .config values will be used. Ref: https://victoriametrics.github.io/vmauth.html.
-# Configuration in the given secret must be stored under `auth.yml` key.
+# Configuration in the given secret must be stored under auth.yml
key.
secretName: ""
# -- Config file content.
@@ -250,17 +250,20 @@ config:
extraObjects: []
probe:
+ # -- readiness probe
readiness:
tcpSocket:
port: '{{ include "vm.probe.port" . }}'
initialDelaySeconds: 5
periodSeconds: 15
+ # -- liveness probe
liveness:
tcpSocket:
port: '{{ include "vm.probe.port" . }}'
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 5
+ # -- startup probe
startup: {}
# -- Enterprise license key configuration for VictoriaMetrics enterprise.
diff --git a/charts/victoria-metrics-cluster/README.md b/charts/victoria-metrics-cluster/README.md
index a52c28108..ba4c3649d 100644
--- a/charts/victoria-metrics-cluster/README.md
+++ b/charts/victoria-metrics-cluster/README.md
@@ -115,7 +115,7 @@ Change the values according to the need of the environment in ``victoria-metrics
cluster.local
- auto+
+"" ++
+[]
+
kubectl explain poddisruptionbudget.spec
for more. Details are here-3 --
-5 --
-15 --
-'{{ dig "ports" "name" "http" (.app | dict) }}' --
-5 --
-3 --
-'{{ index .app.extraArgs "http.pathPrefix" | default "" | trimSuffix "/" }}/health' --
-'{{ dig "ports" "name" "http" (.app | dict) }}' --
-'{{ ternary "HTTPS" "HTTP" (.app.extraArgs.tls | default false) }}' --
-5 --
-15 +vminsert.probe.liveness +object +- +failureThreshold: 3 +initialDelaySeconds: 5 +periodSeconds: 15 +tcpSocket: + port: '{{ dig "ports" "name" "http" (.app | dict) }}' +timeoutSeconds: 5+ vminsert liveness probe
-5 +vminsert.probe.readiness +object +- +failureThreshold: 3 +httpGet: + path: '{{ index .app.extraArgs "http.pathPrefix" | default "" | trimSuffix "/" }}/health' + port: '{{ dig "ports" "name" "http" (.app | dict) }}' + scheme: '{{ ternary "HTTPS" "HTTP" (.app.extraArgs.tls | default false) }}' +initialDelaySeconds: 5 +periodSeconds: 15 +timeoutSeconds: 5+ vminsert readiness probe
--storageNode
FQDNs based on vmstorage.replicaCount
value. If true suppress rendering --storageNodes
, they can be re-defined in extraArgs
+{}
+
+kubectl explain poddisruptionbudget.spec
for more. Details are here-3 --
-5 --
-15 --
-'{{ include "vm.probe.port" . }}' --
-5 --
-3 --
-'{{ include "vm.probe.http.path" . }}' --
-'{{ include "vm.probe.port" . }}' --
-'{{ include "vm.probe.http.scheme" . }}' --
-5 --
-15 +vmselect.probe.liveness +object +- +failureThreshold: 3 +initialDelaySeconds: 5 +periodSeconds: 15 +tcpSocket: + port: '{{ include "vm.probe.port" . }}' +timeoutSeconds: 5+ vmselect liveness probe
-5 +vmselect.probe.readiness +object +- +failureThreshold: 3 +httpGet: + path: '{{ include "vm.probe.http.path" . }}' + port: '{{ include "vm.probe.port" . }}' + scheme: '{{ include "vm.probe.http.scheme" . }}' +initialDelaySeconds: 5 +periodSeconds: 15 +timeoutSeconds: 5+ vmselect readiness probe
--storageNode
FQDNs based on vmstorage.replicaCount
value. If true suppress rendering --storageNodes
, they can be re-defined in extraArgs
+{}
+
+kubectl explain poddisruptionbudget.spec
for more. Details are here-10 --
-30 --
-30 --
-'{{ include "vm.probe.port" . }}' --
-5 --
-3 --
-'{{ include "vm.probe.http.path" . }}' --
-'{{ include "vm.probe.port" . }}' --
-'{{ include "vm.probe.http.scheme" . }}' --
-5 --
-15 +vmstorage.probe.liveness +object +- +failureThreshold: 10 +initialDelaySeconds: 30 +periodSeconds: 30 +tcpSocket: + port: '{{ include "vm.probe.port" . }}' +timeoutSeconds: 5+ vmstorage liveness probe
-5 +vmstorage.probe.readiness +object +- +failureThreshold: 3 +httpGet: + path: '{{ include "vm.probe.http.path" . }}' + port: '{{ include "vm.probe.port" . }}' + scheme: '{{ include "vm.probe.http.scheme" . }}' +initialDelaySeconds: 5 +periodSeconds: 15 +timeoutSeconds: 5+ vmstorage readiness probe
-10 --
-30 --
-30 --
-manager-http --
-5 --
-3 --
-'{{ include "vm.probe.http.path" . }}' --
-manager-http --
-'{{ include "vm.probe.http.scheme" . }}' --
-5 --
-15 +vmstorage.vmbackupmanager.probe.liveness +object +- +failureThreshold: 10 +initialDelaySeconds: 30 +periodSeconds: 30 +tcpSocket: + port: manager-http +timeoutSeconds: 5+ vmbackupmanager liveness probe
-5 +vmstorage.vmbackupmanager.probe.readiness +object +- +failureThreshold: 3 +httpGet: + path: '{{ include "vm.probe.http.path" . }}' + port: manager-http + scheme: '{{ include "vm.probe.http.scheme" . }}' +initialDelaySeconds: 5 +periodSeconds: 15 +timeoutSeconds: 5+ vmbackupmanager readiness probe
--storageNode
FQDNs based on vmstorage.replicaCount
value. If true suppress rendering --storageNodes
, they can be re-defined in extraArgs
suppressStorageFQDNsRender: false
automountServiceAccountToken: true
# Extra command line arguments for vmselect component
@@ -84,7 +84,7 @@ vmselect:
# name: special-config
probe:
- # Readiness probe
+ # -- vmselect readiness probe
readiness:
httpGet:
path: '{{ include "vm.probe.http.path" . }}'
@@ -94,7 +94,7 @@ vmselect:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
- # Liveness probe
+ # -- vmselect liveness probe
liveness:
tcpSocket:
port: '{{ include "vm.probe.port" . }}'
@@ -102,7 +102,7 @@ vmselect:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
- # Startup probe
+ # -- vmselect startup probe
startup: {}
horizontalPodAutoscaler:
@@ -150,20 +150,20 @@ vmselect:
# image: example-image
podDisruptionBudget:
- # -- See `kubectl explain poddisruptionbudget.spec` for more. Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
+ # -- See kubectl explain poddisruptionbudget.spec
for more. Details are here
enabled: false
# minAvailable: 1
# maxUnavailable: 1
labels: {}
- # -- Array of tolerations object. Ref: [https://kubernetes.io/docs/concepts/configuration/assign-pod-node/](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
+ # -- Array of tolerations object. Details are here
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule"
- # -- Pod's node selector. Ref: [https://kubernetes.io/docs/user-guide/node-selection/](https://kubernetes.io/docs/user-guide/node-selection/)
+ # -- Pod's node selector. Details are here
nodeSelector: {}
# -- Pod affinity
affinity: {}
@@ -184,7 +184,7 @@ vmselect:
# cpu: 50m
# memory: 64Mi
- # -- Pod's security context. Ref: [https://kubernetes.io/docs/tasks/configure-pod-container/security-context/](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
+ # -- Pod's security context. Details are here
securityContext:
enabled: true
podSecurityContext:
@@ -198,7 +198,7 @@ vmselect:
labels: {}
# -- Service ClusterIP
clusterIP: ""
- # -- Service External IPs. Ref: [https://kubernetes.io/docs/user-guide/services/#external-ips](https://kubernetes.io/docs/user-guide/services/#external-ips)
+ # -- Service External IPs. Details are here
externalIPs: []
# -- Extra service ports
extraPorts: []
@@ -254,7 +254,7 @@ vmselect:
# -- 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. Ref: [http://kubernetes.io/docs/user-guide/persistent-volumes/](http://kubernetes.io/docs/user-guide/persistent-volumes/)
+ # -- Array of access mode. Must match those of existing PV or dynamic provisioner. Details are here
accessModes:
- ReadWriteOnce
# -- Persistent volume annotations
@@ -339,12 +339,13 @@ vminsert:
#- 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
+ # -- Suppress rendering --storageNode
FQDNs based on vmstorage.replicaCount
value. If true suppress rendering --storageNodes
, they can be re-defined in extraArgs
suppressStorageFQDNsRender: false
automountServiceAccountToken: true
# Readiness & Liveness probes
probe:
+ # -- vminsert readiness probe
readiness:
httpGet:
path: '{{ index .app.extraArgs "http.pathPrefix" | default "" | trimSuffix "/" }}/health'
@@ -354,6 +355,7 @@ vminsert:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
+ # -- vminsert liveness probe
liveness:
tcpSocket:
port: '{{ dig "ports" "name" "http" (.app | dict) }}'
@@ -361,6 +363,7 @@ vminsert:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
+ # -- vminsert startup probe
startup: {}
# Horizontal Pod Autoscaling
@@ -400,20 +403,20 @@ vminsert:
# image: example-image
podDisruptionBudget:
- # -- See `kubectl explain poddisruptionbudget.spec` for more. Ref: [https://kubernetes.io/docs/tasks/run-application/configure-pdb/](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
+ # -- See kubectl explain poddisruptionbudget.spec
for more. Details are here
enabled: false
# minAvailable: 1
# maxUnavailable: 1
labels: {}
- # -- Array of tolerations object. Ref: [https://kubernetes.io/docs/concepts/configuration/assign-pod-node/](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
+ # -- Array of tolerations object. Details are here
tolerations: []
# - key: "key"
# operator: "Equal|Exists"
# value: "value"
# effect: "NoSchedule|PreferNoSchedule"
- # -- Pod's node selector. Ref: [https://kubernetes.io/docs/user-guide/node-selection/](https://kubernetes.io/docs/user-guide/node-selection/)
+ # -- Pod's node selector. Details are here
nodeSelector: {}
# -- Pod affinity
affinity: {}
@@ -433,7 +436,7 @@ vminsert:
# requests:
# cpu: 50m
# memory: 64Mi
- # -- Pod's security context. Ref: [https://kubernetes.io/docs/tasks/configure-pod-container/security-context/](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
+ # -- Pod's security context. Details are here
securityContext:
enabled: false
podSecurityContext:
@@ -445,7 +448,7 @@ vminsert:
labels: {}
# -- Service ClusterIP
clusterIP: ""
- # -- Service External IPs. Ref: [https://kubernetes.io/docs/user-guide/services/#external-ips]( https://kubernetes.io/docs/user-guide/services/#external-ips)
+ # -- Service External IPs. Details are here
externalIPs: []
# -- Extra service ports
extraPorts: []
@@ -598,14 +601,14 @@ vmstorage:
# - -src=s3://your_bucket/folder/latest
# - -credsFilePath=/etc/vm/creds/credentials
- # -- See `kubectl explain poddisruptionbudget.spec` for more. Ref: [https://kubernetes.io/docs/tasks/run-application/configure-pdb/](https://kubernetes.io/docs/tasks/run-application/configure-pdb/)
+ # -- See kubectl explain poddisruptionbudget.spec
for more. Details are here
podDisruptionBudget:
enabled: false
# minAvailable: 1
# maxUnavailable: 1
labels: {}
- # -- Array of tolerations object. Node tolerations for server scheduling to nodes with taints. Ref: [https://kubernetes.io/docs/concepts/configuration/assign-pod-node/](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
+ # -- Array of tolerations object. Node tolerations for server scheduling to nodes with taints. Details are here
##
tolerations:
[]
@@ -614,7 +617,7 @@ vmstorage:
# value: "value"
# effect: "NoSchedule|PreferNoSchedule"
- # -- Pod's node selector. Ref: [https://kubernetes.io/docs/user-guide/node-selection/](https://kubernetes.io/docs/user-guide/node-selection/)
+ # -- Pod's node selector. Details are here
nodeSelector: {}
# -- Pod affinity
@@ -634,7 +637,7 @@ vmstorage:
enabled: true
name: vmstorage-volume
- # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Ref: [http://kubernetes.io/docs/user-guide/persistent-volumes/](http://kubernetes.io/docs/user-guide/persistent-volumes/)
+ # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Details are here
accessModes:
- ReadWriteOnce
# -- Persistent volume annotations
@@ -664,7 +667,7 @@ vmstorage:
# -- Deploy order policy for StatefulSet pods
podManagementPolicy: OrderedReady
- # -- Resource object. Ref: [https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/)
+ # -- Resource object. Details are here
resources: {}
# limits:
# cpu: 500m
@@ -673,7 +676,7 @@ vmstorage:
# cpu: 500m
# memory: 512Mi
- # -- Pod's security context. Ref: [https://kubernetes.io/docs/tasks/configure-pod-container/security-context/](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
+ # -- Pod's security context. Details are here
securityContext:
enabled: false
podSecurityContext:
@@ -694,6 +697,7 @@ vmstorage:
# -- Pod's termination grace period in seconds
terminationGracePeriodSeconds: 60
probe:
+ # -- vmstorage readiness probe
readiness:
httpGet:
path: '{{ include "vm.probe.http.path" . }}'
@@ -703,6 +707,7 @@ vmstorage:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
+ # -- vmstorage liveness probe
liveness:
tcpSocket:
port: '{{ include "vm.probe.port" . }}'
@@ -710,6 +715,7 @@ vmstorage:
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 10
+ # -- vmstorage startup probe
startup: {}
vmbackupmanager:
# -- enable automatic creation of backup via vmbackupmanager. vmbackupmanager is part of Enterprise packages
@@ -762,6 +768,7 @@ vmstorage:
# -- Additional environment variables (ex.: secret tokens, flags) https://docs.victoriametrics.com/#environment-variables
env: []
probe:
+ # -- vmbackupmanager readiness probe
readiness:
httpGet:
path: '{{ include "vm.probe.http.path" . }}'
@@ -771,6 +778,7 @@ vmstorage:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
+ # -- vmbackupmanager liveness probe
liveness:
tcpSocket:
port: manager-http
@@ -778,6 +786,7 @@ vmstorage:
periodSeconds: 30
timeoutSeconds: 5
failureThreshold: 10
+ # -- vmbackupmanager startup probe
startup: {}
extraSecretMounts:
[]
diff --git a/charts/victoria-metrics-distributed/README.md b/charts/victoria-metrics-distributed/README.md
index b9e5881f7..7151f7d11 100644
--- a/charts/victoria-metrics-distributed/README.md
+++ b/charts/victoria-metrics-distributed/README.md
@@ -377,7 +377,7 @@ name: ""
spec: {}
- allowQuery: true
as query backendsallowQuery: true
as query backends
vmauthCrossAZQuery:
enabled: true
name: ""
@@ -197,7 +197,7 @@ availabilityZones:
# spec:
# extraArgs:
# discoverBackendIPs: "true"
- # # -- set up a vmauth with all the zone with `allowQuery: true` as query backends
+ # # -- set up a vmauth with all the zone with allowQuery: true
as query backends
# vmauthCrossAZQuery:
# enabled: true
# name: ""
diff --git a/charts/victoria-metrics-gateway/README.md b/charts/victoria-metrics-gateway/README.md
index 91248e93f..bec82528d 100644
--- a/charts/victoria-metrics-gateway/README.md
+++ b/charts/victoria-metrics-gateway/README.md
@@ -337,6 +337,24 @@ json
auto+
+"" ++
+[]
+
kubectl explain poddisruptionbudget.spec
for more. Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/-5 --
-15 --
-'{{ include "vm.probe.port" . }}' --
-5 --
-'{{ include "vm.probe.http.path" . }}' --
-'{{ include "vm.probe.port" . }}' --
-'{{ include "vm.probe.http.scheme" . }}' --
-5 +probe.liveness +object +- +initialDelaySeconds: 5 +periodSeconds: 15 +tcpSocket: + port: '{{ include "vm.probe.port" . }}' +timeoutSeconds: 5+ liveness probe
-15 +probe.readiness +object +- +httpGet: + path: '{{ include "vm.probe.http.path" . }}' + port: '{{ include "vm.probe.port" . }}' + scheme: '{{ include "vm.probe.http.scheme" . }}' +initialDelaySeconds: 5 +periodSeconds: 15+ readiness probe
kubectl explain poddisruptionbudget.spec
for more. Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
podDisruptionBudget:
enabled: false
# minAvailable: 1
@@ -229,6 +229,7 @@ write:
url: ""
probe:
+ # -- readiness probe
readiness:
httpGet:
path: '{{ include "vm.probe.http.path" . }}'
@@ -236,12 +237,14 @@ probe:
port: '{{ include "vm.probe.port" . }}'
initialDelaySeconds: 5
periodSeconds: 15
+ # -- liveness probe
liveness:
tcpSocket:
port: '{{ include "vm.probe.port" . }}'
initialDelaySeconds: 5
periodSeconds: 15
timeoutSeconds: 5
+ # -- startup probe
startup: {}
# -- Enterprise license key configuration for VictoriaMetrics enterprise.
diff --git a/charts/victoria-metrics-k8s-stack/values.yaml b/charts/victoria-metrics-k8s-stack/values.yaml
index 3867bc2e7..e83a332f3 100644
--- a/charts/victoria-metrics-k8s-stack/values.yaml
+++ b/charts/victoria-metrics-k8s-stack/values.yaml
@@ -826,7 +826,7 @@ grafana:
# allow_loading_unsigned_plugins: victoriametrics-datasource
# Change datasource type in dashboards from Prometheus to VictoriaMetrics.
- # you can use `victoriametrics-datasource` instead of `prometheus` if enabled VictoriaMetrics Datasource above
+ # you can use victoriametrics-datasource
instead of prometheus
if enabled VictoriaMetrics Datasource above
defaultDatasourceType: "prometheus"
ingress:
diff --git a/charts/victoria-metrics-operator/README.md b/charts/victoria-metrics-operator/README.md
index fff197f28..7320b9058 100644
--- a/charts/victoria-metrics-operator/README.md
+++ b/charts/victoria-metrics-operator/README.md
@@ -275,7 +275,7 @@ true
[]
- +"" ++
+[]
+
+
+pullPolicy: IfNotPresent
+registry: ""
+repository: victoriametrics/operator
+tag: ""
+variant: ""
+
+-"" --
-3 --
-5 --
-15 --
-probe --
-5 --
-3 --
-'{{ include "vm.probe.http.path" . }}' --
-probe --
-'{{ include "vm.probe.http.scheme" . }}' --
-5 --
-15 +probe.liveness +object +- +failureThreshold: 3 +initialDelaySeconds: 5 +periodSeconds: 15 +tcpSocket: + port: probe +timeoutSeconds: 5+ Liveness probe
-5 +probe.readiness +object +- +failureThreshold: 3 +httpGet: + path: '{{ include "vm.probe.http.path" . }}' + port: probe + scheme: '{{ include "vm.probe.http.scheme" . }}' +initialDelaySeconds: 5 +periodSeconds: 15 +timeoutSeconds: 5+ Readiness probe
kubectl explain poddisruptionbudget.spec
for more or check these docs
podDisruptionBudget:
enabled: false
# minAvailable: 1
@@ -110,22 +110,22 @@ resources:
# cpu: 80m
# memory: 120Mi
-# -- Pod's node selector. Ref: [https://kubernetes.io/docs/user-guide/node-selection/](https://kubernetes.io/docs/user-guide/node-selection/
+# -- Pod's node selector. Details are here
nodeSelector: {}
-# -- Array of tolerations object. Ref: [https://kubernetes.io/docs/concepts/configuration/assign-pod-node/](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
+# -- Array of tolerations object. Spec is here
tolerations: []
# -- Pod affinity
affinity: {}
-# -- Pod Topology Spread Constraints. Ref: [https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/](https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/)
+# -- Pod Topology Spread Constraints. Spec is here
topologySpreadConstraints: []
# -- operator container additional commandline arguments
extraArgs: {}
-# -- extra settings for the operator deployment. full list Ref: [https://github.com/VictoriaMetrics/operator/blob/master/vars.MD](https://github.com/VictoriaMetrics/operator/blob/master/vars.MD)
+# -- extra settings for the operator deployment. Full list here
env:
[]
# - name: VM_VMSINGLEDEFAULT_VERSION
@@ -197,7 +197,7 @@ serviceMonitor:
relabelings: []
probe:
- # Readiness probe
+ # -- Readiness probe
readiness:
httpGet:
path: '{{ include "vm.probe.http.path" . }}'
@@ -207,7 +207,7 @@ probe:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
- # Liveness probe
+ # -- Liveness probe
liveness:
tcpSocket:
port: probe
@@ -215,7 +215,7 @@ probe:
periodSeconds: 15
timeoutSeconds: 5
failureThreshold: 3
- # Startup probe
+ # -- Startup probe
startup: {}
# -- Add extra specs dynamically to this chart
diff --git a/charts/victoria-metrics-single/README.md b/charts/victoria-metrics-single/README.md
index 7c19d29ec..c500c36ee 100644
--- a/charts/victoria-metrics-single/README.md
+++ b/charts/victoria-metrics-single/README.md
@@ -132,6 +132,24 @@ true
auto+
+"" ++
+[]
+
kubectl explain poddisruptionbudget.spec
for more. Details are here""+
+[]
+
prometheus.io/scrape-slow
: Only scrape services that have a value of true
prometheus.io/scheme
: If the metrics endpoint is secured then you will need to set this to https
& most likely set the tls_config
of the scrape config.prometheus.io/path
: If the metrics path is not /metrics
override this.prometheus.io/port
: If the metrics are exposed on a different port to the service then set this appropriately.prometheus.io/probe
: Only probe services that have a value of true
prometheus.io/scrape
: Only scrape pods that have a value of true
prometheus.io/path
: If the metrics path is not /metrics
override this.prometheus.io/port
: Scrape the pod on the indicated port instead of the default of 9102
.server.scrape.config
kubectl explain poddisruptionbudget.spec
for more. Details are here
enabled: false
# minAvailable: 1
# maxUnavailable: 1
@@ -108,7 +108,7 @@ server:
# - -src=s3://your_bucket/folder/latest
# - -credsFilePath=/etc/vm/creds/credentials
- # -- Node tolerations for server scheduling to nodes with taints. Ref: [https://kubernetes.io/docs/concepts/configuration/assign-pod-node/](https://kubernetes.io/docs/concepts/configuration/assign-pod-node/)
+ # -- Node tolerations for server scheduling to nodes with taints. Details are here
tolerations:
[]
# - key: "key"
@@ -116,7 +116,7 @@ server:
# value: "value"
# effect: "NoSchedule|PreferNoSchedule"
- # -- Pod's node selector. Ref: [https://kubernetes.io/docs/user-guide/node-selection/](https://kubernetes.io/docs/user-guide/node-selection/)
+ # -- Pod's node selector. Details are here
nodeSelector: {}
# -- Pod affinity
@@ -142,7 +142,7 @@ server:
# -- Create/use Persistent Volume Claim for server component. Empty dir if false
enabled: true
- # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Ref: [http://kubernetes.io/docs/user-guide/persistent-volumes/](http://kubernetes.io/docs/user-guide/persistent-volumes/)
+ # -- Array of access modes. Must match those of existing PV or dynamic provisioner. Details are here
accessModes:
- ReadWriteOnce
# -- Persistant volume annotations
@@ -173,7 +173,7 @@ server:
# -- Pod's management policy
podManagementPolicy: OrderedReady
- # -- Resource object. Ref: [http://kubernetes.io/docs/user-guide/compute-resources/](http://kubernetes.io/docs/user-guide/compute-resources/
+ # -- Resource object. Details are here
resources:
{}
# limits:
@@ -214,7 +214,7 @@ server:
# -- Security context to be added to server pods
securityContext:
enabled: true
- # -- Pod's security context. Ref: [https://kubernetes.io/docs/tasks/configure-pod-container/security-context/](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
+ # -- Pod's security context. Details are here
podSecurityContext:
enabled: true
ingress:
@@ -323,7 +323,7 @@ server:
labels: {}
# -- Service ClusterIP
clusterIP: ""
- # -- Service External IPs. Ref: [https://kubernetes.io/docs/user-guide/services/#external-ips]( https://kubernetes.io/docs/user-guide/services/#external-ips)
+ # -- Service External IPs. Details are here
externalIPs: []
# -- Service load balacner IP
loadBalancerIP: ""
@@ -404,15 +404,15 @@ server:
# -- Scrape config for API servers.
#
# Kubernetes exposes API servers as endpoints to the default/kubernetes
- # service so this uses `endpoints` role and uses relabelling to only keep
+ # service so this uses endpoints
role and uses relabelling to only keep
# the endpoints associated with the default/kubernetes service using the
- # default named port `https`. This works for single API server deployments as
+ # default named port https
. This works for single API server deployments as
# well as HA API server deployments.
- job_name: "kubernetes-apiservers"
kubernetes_sd_configs:
- role: endpoints
# Default to scraping over https. If required, just disable this or change to
- # `http`.
+ # http
.
scheme: https
# This TLS & bearer token file config is used to connect to the actual scrape
# endpoints for cluster components. This is separate to discovery auth
@@ -445,7 +445,7 @@ server:
# -- Scrape rule using kubernetes service discovery for nodes
- job_name: "kubernetes-nodes"
# Default to scraping over https. If required, just disable this or change to
- # `http`.
+ # http
.
scheme: https
# This TLS & bearer token file config is used to connect to the actual scrape
# endpoints for cluster components. This is separate to discovery auth
@@ -477,7 +477,7 @@ server:
# -- Scrape rule using kubernetes service discovery for cadvisor
- job_name: "kubernetes-nodes-cadvisor"
# Default to scraping over https. If required, just disable this or change to
- # `http`.
+ # http
.
scheme: https
# This TLS & bearer token file config is used to connect to the actual scrape
# endpoints for cluster components. This is separate to discovery auth
@@ -519,12 +519,14 @@ server:
# The relabeling allows the actual service scrape endpoint to be configured
# via the following annotations:
#
- # * `prometheus.io/scrape`: Only scrape services that have a value of `true`
- # * `prometheus.io/scheme`: If the metrics endpoint is secured then you will need
- # to set this to `https` & most likely set the `tls_config` of the scrape config.
- # * `prometheus.io/path`: If the metrics path is not `/metrics` override this.
- # * `prometheus.io/port`: If the metrics are exposed on a different port to the
- # service then set this appropriately.
+ # prometheus.io/scrape
: Only scrape services that have a value of true
prometheus.io/scheme
: If the metrics endpoint is secured then you will need
+ # to set this to https
& most likely set the tls_config
of the scrape config.prometheus.io/path
: If the metrics path is not /metrics
override this.prometheus.io/port
: If the metrics are exposed on a different port to the
+ # service then set this appropriately.prometheus.io/scrape-slow
: Only scrape services that have a value of true
prometheus.io/scheme
: If the metrics endpoint is secured then you will need
+ # to set this to https
& most likely set the tls_config
of the scrape config.prometheus.io/path
: If the metrics path is not /metrics
override this.prometheus.io/port
: If the metrics are exposed on a different port to the
+ # service then set this appropriately.prometheus.io/probe
: Only probe services that have a value of true
prometheus.io/scrape
: Only scrape pods that have a value of true
prometheus.io/path
: If the metrics path is not /metrics
override this.prometheus.io/port
: Scrape the pod on the indicated port instead of the default of 9102
.server.scrape.config
extraScrapeConfigs: []
# -- Add extra specs dynamically to this chart