Skip to content

Commit

Permalink
Merge branch 'master' into refactor-distributed-chart
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewChubatiuk authored Oct 3, 2024
2 parents 6bb6387 + 2c68c4d commit b5e19ff
Show file tree
Hide file tree
Showing 61 changed files with 2,037 additions and 795 deletions.
9 changes: 9 additions & 0 deletions charts/victoria-metrics-agent/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

- TODO

## 0.14.0

**Release date:** 2024-10-02

![AppVersion: v1.104.0](https://img.shields.io/static/v1?label=AppVersion&message=v1.104.0&color=success&logo=)
![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)

- bump version of VM components to [v1.104.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.104.0)

## 0.13.0

**Release date:** 2024-09-27
Expand Down
4 changes: 2 additions & 2 deletions charts/victoria-metrics-agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
type: application
name: victoria-metrics-agent
description: Victoria Metrics Agent - collects metrics from various sources and stores them to VictoriaMetrics
version: 0.13.0
appVersion: v1.103.0
version: 0.14.0
appVersion: v1.104.0
sources:
- https://github.com/VictoriaMetrics/helm-charts
icon: https://avatars.githubusercontent.com/u/43720803?s=200&v=4
Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-agent/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.13.0](https://img.shields.io/badge/Version-0.13.0-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.14.0](https://img.shields.io/badge/Version-0.14.0-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-metrics-agent)
[![Slack](https://img.shields.io/badge/join%20slack-%23victoriametrics-brightgreen.svg)](https://slack.victoriametrics.com/)

Expand Down
9 changes: 9 additions & 0 deletions charts/victoria-metrics-alert/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

- TODO

## 0.12.0

**Release date:** 2024-10-02

![AppVersion: v1.104.0](https://img.shields.io/static/v1?label=AppVersion&message=v1.104.0&color=success&logo=)
![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)

- bump version of VM components to [v1.104.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.104.0)

## 0.11.1

**Release date:** 2024-09-10
Expand Down
4 changes: 2 additions & 2 deletions charts/victoria-metrics-alert/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
type: application
name: victoria-metrics-alert
description: Victoria Metrics Alert - executes a list of given MetricsQL expressions (rules) and sends alerts to Alert Manager.
version: 0.11.1
appVersion: v1.103.0
version: 0.12.0
appVersion: v1.104.0
sources:
- https://github.com/VictoriaMetrics/helm-charts
icon: https://avatars.githubusercontent.com/u/43720803?s=200&v=4
Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-alert/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.11.1](https://img.shields.io/badge/Version-0.11.1-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.12.0](https://img.shields.io/badge/Version-0.12.0-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-metrics-alert)
[![Slack](https://img.shields.io/badge/join%20slack-%23victoriametrics-brightgreen.svg)](https://slack.victoriametrics.com/)

Expand Down
12 changes: 12 additions & 0 deletions charts/victoria-metrics-anomaly/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

- TODO

## 1.5.0

**Release date:** 2024-10-03

![AppVersion: v1.16.1](https://img.shields.io/static/v1?label=AppVersion&message=v1.16.1&color=success&logo=)
![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)

- Upgraded vmanomaly to [1.16.1](https://docs.victoriametrics.com/anomaly-detection/changelog/#v1161)
- Added the ability to enable persistence for models and data via `.Values.persistentVolume.dumpModels` and `.Values.persistentVolume.dumpData` variables respectively.
- Fix default `podSecurityContext` configuration to ensure fs group matches container user.
- Fix passing empty `tenant_id` in case tenant is not defined in values.

## 1.4.6

**Release date:** 2024-09-16
Expand Down
4 changes: 2 additions & 2 deletions charts/victoria-metrics-anomaly/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
type: application
name: victoria-metrics-anomaly
description: Victoria Metrics Anomaly Detection - a service that continuously scans Victoria Metrics time series and detects unexpected changes within data patterns in real-time.
version: 1.4.6
appVersion: v1.15.9
version: 1.5.0
appVersion: v1.16.1
sources:
- https://github.com/VictoriaMetrics/helm-charts
icon: https://avatars.githubusercontent.com/u/43720803?s=200&v=4
Expand Down
29 changes: 27 additions & 2 deletions charts/victoria-metrics-anomaly/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Version: 1.4.6](https://img.shields.io/badge/Version-1.4.6-informational?style=flat-square)
![Version: 1.5.0](https://img.shields.io/badge/Version-1.5.0-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-metrics-anomaly)
[![Slack](https://img.shields.io/badge/join%20slack-%23victoriametrics-brightgreen.svg)](https://slack.victoriametrics.com/)
[![GitHub license](https://img.shields.io/github/license/VictoriaMetrics/VictoriaMetrics.svg)](https://github.com/VictoriaMetrics/helm-charts/blob/master/LICENSE)
Expand Down Expand Up @@ -525,7 +525,7 @@ tenant_id: ""
<td>image.tag</td>
<td>string</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="">
<code class="language-yaml">v1.15.9
<code class="language-yaml">v1.16.1
</code>
</pre>
</td>
Expand Down Expand Up @@ -631,6 +631,8 @@ name: ""
<code class="language-yaml">accessModes:
- ReadWriteOnce
annotations: {}
dumpData: true
dumpModels: true
enabled: false
existingClaim: ""
matchLabels: {}
Expand Down Expand Up @@ -662,6 +664,28 @@ storageClassName: ""
</pre>
</td>
<td><p>Persistant volume annotations</p>
</td>
</tr>
<tr>
<td>persistentVolume.dumpData</td>
<td>bool</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="">
<code class="language-yaml">true
</code>
</pre>
</td>
<td><p>Enables dumpling data which is fetched from VictoriaMetrics to persistence disk. This is helpful to reduce memory usage.</p>
</td>
</tr>
<tr>
<td>persistentVolume.dumpModels</td>
<td>bool</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="">
<code class="language-yaml">true
</code>
</pre>
</td>
<td><p>Enables dumping models to persistence disk. This is helpful to reduce memory usage.</p>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -781,6 +805,7 @@ minAvailable: 1
<td>object</td>
<td><pre class="helm-vars-default-value" language-yaml" lang="plaintext">
<code class="language-yaml">enabled: true
fsGroup: 1000
</code>
</pre>
</td>
Expand Down
7 changes: 7 additions & 0 deletions charts/victoria-metrics-anomaly/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
{{- if not .Values.config.reader.tenant_id -}}
{{- $ := unset .Values.config.reader "tenant_id" }}
{{- end -}}
{{- if not .Values.config.writer.tenant_id -}}
{{- $ := unset .Values.config.writer "tenant_id" }}
{{- end -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand Down
9 changes: 6 additions & 3 deletions charts/victoria-metrics-anomaly/templates/controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,11 @@ spec:
envFrom: {{ toYaml . | nindent 12 }}
{{- end }}
{{- $env := default list }}
{{- if .Values.persistentVolume.enabled }}
{{- $env = append $env (dict "name" "VMANOMALY_MODEL_DUMPS_DIR" "value" "/tmp/vmanomaly-model-dumps") }}
{{- if and .Values.persistentVolume.enabled .Values.persistentVolume.dumpModels }}
{{- $env = append $env (dict "name" "VMANOMALY_MODEL_DUMPS_DIR" "value" "/tmp/vmanomaly-storage/models") }}
{{- end }}
{{- if and .Values.persistentVolume.enabled .Values.persistentVolume.dumpData }}
{{- $env = append $env (dict "name" "VMANOMALY_DATA_DUMPS_DIR" "value" "/tmp/vmanomaly-storage/data") }}
{{- end }}
{{- with (concat $env (.Values.env | default list)) }}
env: {{ toYaml . | nindent 12 }}
Expand All @@ -74,7 +77,7 @@ spec:
{{- include "vm.license.mount" . | nindent 12 }}
{{- if .Values.persistentVolume.enabled }}
- name: models-dump
mountPath: /tmp/vmanomaly-model-dumps
mountPath: /tmp/vmanomaly-storage
{{- end }}
{{- with .Values.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
Expand Down
9 changes: 7 additions & 2 deletions charts/victoria-metrics-anomaly/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ image:
# -- Victoria Metrics anomaly Docker repository and image name
repository: victoriametrics/vmanomaly
# -- Tag of Docker image
tag: v1.15.9 # rewrites Chart.AppVersion
tag: v1.16.1 # rewrites Chart.AppVersion
# -- Pull policy of Docker image
pullPolicy: IfNotPresent

Expand Down Expand Up @@ -85,7 +85,7 @@ extraContainers: []
# -- Pod's security context. Details are [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/)
podSecurityContext:
enabled: true
# fsGroup: 2000
fsGroup: 1000

# -- Check [here](https://kubernetes.io/docs/tasks/configure-pod-container/security-context/) for details.
securityContext:
Expand Down Expand Up @@ -184,6 +184,11 @@ persistentVolume:
# -- Create/use Persistent Volume Claim for models dump.
enabled: false

# -- Enables dumping models to persistence disk. This is helpful to reduce memory usage.
dumpModels: true
# -- Enables dumpling data which is fetched from VictoriaMetrics to persistence disk. This is helpful to reduce memory usage.
dumpData: true

# -- 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
Expand Down
10 changes: 10 additions & 0 deletions charts/victoria-metrics-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
## Next release

- TODO

## 0.7.0

**Release date:** 2024-10-02

![AppVersion: v1.104.0](https://img.shields.io/static/v1?label=AppVersion&message=v1.104.0&color=success&logo=)
![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)

- Added ability to override deployment namespace using `namespaceOverride` and `global.namespaceOverride` variables
- bump version of VM components to [v1.104.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.104.0)

## 0.6.0

Expand Down
4 changes: 2 additions & 2 deletions charts/victoria-metrics-auth/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
type: application
appVersion: v1.103.0
appVersion: v1.104.0
description: Victoria Metrics Auth - is a simple auth proxy and router for VictoriaMetrics.
name: victoria-metrics-auth
version: 0.6.0
version: 0.7.0
sources:
- https://github.com/VictoriaMetrics/helm-charts
icon: https://avatars.githubusercontent.com/u/43720803?s=200&v=4
Expand Down
2 changes: 1 addition & 1 deletion charts/victoria-metrics-auth/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.6.0](https://img.shields.io/badge/Version-0.6.0-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![Version: 0.7.0](https://img.shields.io/badge/Version-0.7.0-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-metrics-auth)
[![Slack](https://img.shields.io/badge/join%20slack-%23victoriametrics-brightgreen.svg)](https://slack.victoriametrics.com/)

Expand Down
13 changes: 12 additions & 1 deletion charts/victoria-metrics-cluster/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
## Next release

- TODO
- Support extra storageNodes. Fail if no storageNodes set
- Support enabling automatic discovery of vmstorage addresses using DNS SRV records in enterprise version.
- Added HPA with scaledown disabled by default

## 0.14.0

**Release date:** 2024-10-02

![AppVersion: v1.104.0](https://img.shields.io/static/v1?label=AppVersion&message=v1.104.0&color=success&logo=)
![Helm: v3](https://img.shields.io/static/v1?label=Helm&message=v3&color=informational&logo=helm)

- bump version of VM components to [v1.104.0](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/tag/v1.104.0)

## 0.13.7

Expand Down
6 changes: 3 additions & 3 deletions charts/victoria-metrics-cluster/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: victoria-metrics-common
repository: https://victoriametrics.github.io/helm-charts
version: 0.0.11
digest: sha256:d91f2afa5ae37158f11b1c6601cf8265b08dad62ec4eefd36064b32946e215a6
generated: "2024-09-12T11:50:47.039315126Z"
version: 0.0.12
digest: sha256:97dec3ff63bad192d582b7db6aad9cc817094ec7d7c9cb07e40d32fcccd4bc56
generated: "2024-09-16T11:17:25.971536+03:00"
4 changes: 2 additions & 2 deletions charts/victoria-metrics-cluster/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
apiVersion: v2
type: application
appVersion: v1.103.0
appVersion: v1.104.0
description: Victoria Metrics Cluster version - high-performance, cost-effective and scalable TSDB, long-term remote storage for Prometheus
name: victoria-metrics-cluster
version: 0.13.7
version: 0.14.0
sources:
- https://github.com/VictoriaMetrics/helm-charts
icon: https://avatars.githubusercontent.com/u/43720803?s=200&v=4
Expand Down
Loading

0 comments on commit b5e19ff

Please sign in to comment.