From 7e72848ab378779b70eff9ab52e4c72c8bf7a370 Mon Sep 17 00:00:00 2001 From: Github Actions <133988544+victoriametrics-bot@users.noreply.github.com> Date: Sun, 10 Nov 2024 15:55:33 -0800 Subject: [PATCH] Automatic update helm docs from VictoriaMetrics/helm-charts@27cf093 (#7498) Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action Signed-off-by: Github Actions <133988544+victoriametrics-bot@users.noreply.github.com> Co-authored-by: AndrewChubatiuk <3162380+AndrewChubatiuk@users.noreply.github.com> --- docs/helm/victoria-logs-single/CHANGELOG.md | 28 ++ docs/helm/victoria-logs-single/README.md | 313 +++++------------- docs/helm/victoria-metrics-agent/CHANGELOG.md | 2 +- docs/helm/victoria-metrics-alert/CHANGELOG.md | 2 +- .../victoria-metrics-anomaly/CHANGELOG.md | 2 +- docs/helm/victoria-metrics-auth/CHANGELOG.md | 2 +- .../victoria-metrics-cluster/CHANGELOG.md | 9 + docs/helm/victoria-metrics-cluster/README.md | 2 +- .../helm/victoria-metrics-common/CHANGELOG.md | 25 ++ .../victoria-metrics-distributed/CHANGELOG.md | 2 +- .../victoria-metrics-gateway/CHANGELOG.md | 2 +- .../victoria-metrics-k8s-stack/CHANGELOG.md | 13 +- .../helm/victoria-metrics-k8s-stack/README.md | 2 +- .../victoria-metrics-operator/CHANGELOG.md | 2 +- .../helm/victoria-metrics-single/CHANGELOG.md | 2 +- 15 files changed, 158 insertions(+), 250 deletions(-) diff --git a/docs/helm/victoria-logs-single/CHANGELOG.md b/docs/helm/victoria-logs-single/CHANGELOG.md index 0d64ece95..726cf4ad3 100644 --- a/docs/helm/victoria-logs-single/CHANGELOG.md +++ b/docs/helm/victoria-logs-single/CHANGELOG.md @@ -2,6 +2,34 @@ - TODO +## 0.8.1 + +**Release date:** 2024-11-08 + +![AppVersion: v0.41.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.41.0&color=success&logo=) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + +- updated common dependency 0.0.21 -> 0.0.23 +- added `log.message` to a list of default vector message fields + +## 0.8.0 + +**Release date:** 2024-11-08 + +![AppVersion: v0.41.0](https://img.shields.io/static/v1?label=AppVersion&message=v0.41.0&color=success&logo=) +![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm) + +**Update note 1**: In a response to multiple collector related configuration feature requests and inability to use fluent-bit YAML configuration parser to provide +ability easily override parts of default configuration we've considered using Vector as a default logs collector instead of fluent-bit. +Please consider using [vector chart docs](https://github.com/vectordotdev/helm-charts/tree/develop/charts/vector) values under `vector` key +to update your agent configuration if you are using it. + +- Allow selecting multiple/all instances in a dashboard. See [this issue](https://github.com/VictoriaMetrics/helm-charts/issues/1699) +- Upgraded VictoriaLogs 0.40.0 -> 0.41.0 +- Replaced default fluent-bit collector with vector +- Parsed json fields are now nested into `log` key. See [this issue](https://github.com/VictoriaMetrics/helm-charts/issues/1708) +- updated common dependency 0.0.19 -> 0.0.21 + ## 0.7.3 **Release date:** 2024-11-06 diff --git a/docs/helm/victoria-logs-single/README.md b/docs/helm/victoria-logs-single/README.md index d4dbc60d1..fb3e41bf3 100644 --- a/docs/helm/victoria-logs-single/README.md +++ b/docs/helm/victoria-logs-single/README.md @@ -1,4 +1,4 @@ - ![Version: 0.7.3](https://img.shields.io/badge/Version-0.7.3-informational?style=flat-square) + ![Version: 0.8.1](https://img.shields.io/badge/Version-0.8.1-informational?style=flat-square) [![Artifact Hub](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/victoriametrics)](https://artifacthub.io/packages/helm/victoriametrics/victoria-logs-single) [![Slack](https://img.shields.io/badge/join%20slack-%23victoriametrics-brightgreen.svg)](https://slack.victoriametrics.com/) @@ -15,15 +15,15 @@ Victoria Logs Single version - high-performance, cost-effective and scalable log This chart will do the following: * Rollout Victoria Logs Single. -* (optional) Rollout [fluentbit](https://fluentbit.io/) to collect logs from pods. +* (optional) Rollout [vector](https://vector.dev/) to collect logs from pods. Chart allows to configure logs collection from Kubernetes pods to VictoriaLogs. -In order to do that you need to enable fluentbit: +In order to do that you need to enable vector: ```yaml -fluent-bit: +vector: enabled: true ``` -By default, fluentbit will forward logs to VictoriaLogs installation deployed by this chart. +By default, vector will forward logs to VictoriaLogs installation deployed by this chart. ## How to install @@ -143,106 +143,6 @@ Change the values according to the need of the environment in ``victoria-logs-si
-0
-
-
-
-msg
-
-
-
-_msg
-
-
-
-message
-
-
-
-0
-
-
-
-stream
-
-
-
-kubernetes_pod_name
-
-
-
-kubernetes_container_name
-
-
-
-kubernetes_namespace_name
-
-
-
-date
-
-
-Add extra specs dynamically to this chart
-
-args:
- - --workdir=/fluent-bit/etc
- - --config=/fluent-bit/etc/conf/fluent-bit.conf
- - --enable-hot-reload
-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_
- [FILTER]
- Name parser
- Match *
- Parser json
- Key_Name log
- Reserve_Data On
- [FILTER]
- Name modify
- Match *
- Rename log msg
- outputs: |
- @INCLUDE /fluent-bit/etc/conf/vl/output_*.conf
-daemonSetVolumeMounts:
- - mountPath: /var/log
- name: varlog
- - mountPath: /var/lib/docker/containers
- name: varlibdockercontainers
- readOnly: true
- - mountPath: /fluent-bit/etc/conf/vl
- name: vl-outputs
-daemonSetVolumes:
- - hostPath:
- path: /var/log
- name: varlog
- - hostPath:
- path: /var/lib/docker/containers
- name: varlibdockercontainers
- - configMap:
- name: vl-outputs
- name: vl-outputs
-enabled: false
-extraContainers: |
- - name: reloader
- image: {{ include "fluent-bit.image" .Values.hotReload.image }}
- args:
- - {{ printf "-webhook-url=http://localhost:%s/api/v2/reload" (toString .Values.metricsPort) }}
- - -volume-dir=/watch/config
- - -volume-dir=/watch/outputs
- volumeMounts:
- - name: config
- mountPath: /watch/config
- - name: vl-outputs
- mountPath: /watch/outputs
-resources: {}
-
-
-Values for fluent-bit helm chart
-
-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_
- [FILTER]
- Name parser
- Match *
- Parser json
- Key_Name log
- Reserve_Data On
- [FILTER]
- Name modify
- Match *
- Rename log msg
-
-
-
-FluentBit configuration filters
-
-fluent-bit.config.outputs: |
- @INCLUDE /fluent-bit/etc/conf/vl/output_*.conf
-
-
-
-Note that Host must be replaced to match your VictoriaLogs service name Default format points to VictoriaLogs service.
-
-false
-
-
-Enable deployment of fluent-bit
Pod topologySpreadConstraints
+
+customConfig:
+ api:
+ address: 127.0.0.1:8686
+ enabled: false
+ playground: true
+ data_dir: /vector-data-dir
+ sinks:
+ vlogs:
+ api_version: v8
+ compression: gzip
+ endpoints: << include "vlogs.es.urls" . >>
+ healthcheck:
+ enabled: false
+ inputs:
+ - parser
+ mode: bulk
+ request:
+ headers:
+ AccountID: "0"
+ ProjectID: "0"
+ VL-Msg-Field: message,msg,_msg,log.msg,log.message,log
+ VL-Stream-Fields: stream,kubernetes.pod_name,kubernetes.container_name,kubernetes.pod_namespace
+ VL-Time-Field: timestamp
+ type: elasticsearch
+ sources:
+ k8s:
+ type: kubernetes_logs
+ transforms:
+ parser:
+ inputs:
+ - k8s
+ source: |
+ .log = parse_json(.message) ?? .message
+ del(.message)
+ type: remap
+dataDir: /vector-data-dir
+enabled: false
+env:
+ - name: VECTOR_SELF_NODE_NAME
+ valueFrom:
+ fieldRef:
+ fieldPath: spec.nodeName
+existingConfigMaps:
+ - vl-config
+resources: {}
+role: Agent
+service:
+ enabled: false
+
+
+Values for vector helm chart
+
+false
+
+
+Enable deployment of vector