{docs,deployment}: update vm apps to the latest v1.107.0 release version

This commit is contained in:
f41gh7 2024-12-02 11:09:05 +01:00
parent 12c9aa9bf3
commit b4d8d135e9
No known key found for this signature in database
GPG Key ID: 4558311CF775EC72
10 changed files with 48 additions and 48 deletions

View File

@ -4,7 +4,7 @@ services:
# And forward them to --remoteWrite.url # And forward them to --remoteWrite.url
vmagent: vmagent:
container_name: vmagent container_name: vmagent
image: victoriametrics/vmagent:v1.106.1 image: victoriametrics/vmagent:v1.107.0
depends_on: depends_on:
- "vminsert" - "vminsert"
ports: ports:
@ -39,7 +39,7 @@ services:
# where N is number of vmstorages (2 in this case). # where N is number of vmstorages (2 in this case).
vmstorage-1: vmstorage-1:
container_name: vmstorage-1 container_name: vmstorage-1
image: victoriametrics/vmstorage:v1.106.1-cluster image: victoriametrics/vmstorage:v1.107.0-cluster
ports: ports:
- 8482 - 8482
- 8400 - 8400
@ -51,7 +51,7 @@ services:
restart: always restart: always
vmstorage-2: vmstorage-2:
container_name: vmstorage-2 container_name: vmstorage-2
image: victoriametrics/vmstorage:v1.106.1-cluster image: victoriametrics/vmstorage:v1.107.0-cluster
ports: ports:
- 8482 - 8482
- 8400 - 8400
@ -66,7 +66,7 @@ services:
# pre-process them and distributes across configured vmstorage shards. # pre-process them and distributes across configured vmstorage shards.
vminsert: vminsert:
container_name: vminsert container_name: vminsert
image: victoriametrics/vminsert:v1.106.1-cluster image: victoriametrics/vminsert:v1.107.0-cluster
depends_on: depends_on:
- "vmstorage-1" - "vmstorage-1"
- "vmstorage-2" - "vmstorage-2"
@ -81,7 +81,7 @@ services:
# vmselect collects results from configured `--storageNode` shards. # vmselect collects results from configured `--storageNode` shards.
vmselect-1: vmselect-1:
container_name: vmselect-1 container_name: vmselect-1
image: victoriametrics/vmselect:v1.106.1-cluster image: victoriametrics/vmselect:v1.107.0-cluster
depends_on: depends_on:
- "vmstorage-1" - "vmstorage-1"
- "vmstorage-2" - "vmstorage-2"
@ -94,7 +94,7 @@ services:
restart: always restart: always
vmselect-2: vmselect-2:
container_name: vmselect-2 container_name: vmselect-2
image: victoriametrics/vmselect:v1.106.1-cluster image: victoriametrics/vmselect:v1.107.0-cluster
depends_on: depends_on:
- "vmstorage-1" - "vmstorage-1"
- "vmstorage-2" - "vmstorage-2"
@ -112,7 +112,7 @@ services:
# It can be used as an authentication proxy. # It can be used as an authentication proxy.
vmauth: vmauth:
container_name: vmauth container_name: vmauth
image: victoriametrics/vmauth:v1.106.1 image: victoriametrics/vmauth:v1.107.0
depends_on: depends_on:
- "vmselect-1" - "vmselect-1"
- "vmselect-2" - "vmselect-2"
@ -127,7 +127,7 @@ services:
# vmalert executes alerting and recording rules # vmalert executes alerting and recording rules
vmalert: vmalert:
container_name: vmalert container_name: vmalert
image: victoriametrics/vmalert:v1.106.1 image: victoriametrics/vmalert:v1.107.0
depends_on: depends_on:
- "vmauth" - "vmauth"
ports: ports:

View File

@ -60,7 +60,7 @@ services:
# scraping, storing metrics and serve read requests. # scraping, storing metrics and serve read requests.
victoriametrics: victoriametrics:
container_name: victoriametrics container_name: victoriametrics
image: victoriametrics/victoria-metrics:v1.106.1 image: victoriametrics/victoria-metrics:v1.107.0
ports: ports:
- 8428:8428 - 8428:8428
volumes: volumes:
@ -79,7 +79,7 @@ services:
# depending on the requested path. # depending on the requested path.
vmauth: vmauth:
container_name: vmauth container_name: vmauth
image: victoriametrics/vmauth:v1.106.1 image: victoriametrics/vmauth:v1.107.0
depends_on: depends_on:
- "victoriametrics" - "victoriametrics"
- "victorialogs" - "victorialogs"
@ -96,7 +96,7 @@ services:
# vmalert executes alerting and recording rules according to given rule type. # vmalert executes alerting and recording rules according to given rule type.
vmalert: vmalert:
container_name: vmalert container_name: vmalert
image: victoriametrics/vmalert:v1.106.1 image: victoriametrics/vmalert:v1.107.0
depends_on: depends_on:
- "vmauth" - "vmauth"
- "alertmanager" - "alertmanager"

View File

@ -4,7 +4,7 @@ services:
# And forward them to --remoteWrite.url # And forward them to --remoteWrite.url
vmagent: vmagent:
container_name: vmagent container_name: vmagent
image: victoriametrics/vmagent:v1.106.1 image: victoriametrics/vmagent:v1.107.0
depends_on: depends_on:
- "victoriametrics" - "victoriametrics"
ports: ports:
@ -22,7 +22,7 @@ services:
# storing metrics and serve read requests. # storing metrics and serve read requests.
victoriametrics: victoriametrics:
container_name: victoriametrics container_name: victoriametrics
image: victoriametrics/victoria-metrics:v1.106.1 image: victoriametrics/victoria-metrics:v1.107.0
ports: ports:
- 8428:8428 - 8428:8428
- 8089:8089 - 8089:8089
@ -65,7 +65,7 @@ services:
# vmalert executes alerting and recording rules # vmalert executes alerting and recording rules
vmalert: vmalert:
container_name: vmalert container_name: vmalert
image: victoriametrics/vmalert:v1.106.1 image: victoriametrics/vmalert:v1.107.0
depends_on: depends_on:
- "victoriametrics" - "victoriametrics"
- "alertmanager" - "alertmanager"

View File

@ -18,7 +18,7 @@ services:
retries: 10 retries: 10
dd-logs: dd-logs:
image: docker.io/victoriametrics/vmauth:v1.106.1 image: docker.io/victoriametrics/vmauth:v1.107.0
restart: on-failure restart: on-failure
volumes: volumes:
- ./:/etc/vmauth - ./:/etc/vmauth

View File

@ -1,7 +1,7 @@
services: services:
vmagent: vmagent:
container_name: vmagent container_name: vmagent
image: victoriametrics/vmagent:v1.106.1 image: victoriametrics/vmagent:v1.107.0
depends_on: depends_on:
- "victoriametrics" - "victoriametrics"
ports: ports:
@ -18,7 +18,7 @@ services:
victoriametrics: victoriametrics:
container_name: victoriametrics container_name: victoriametrics
image: victoriametrics/victoria-metrics:v1.106.1 image: victoriametrics/victoria-metrics:v1.107.0
ports: ports:
- 8428:8428 - 8428:8428
volumes: volumes:
@ -50,7 +50,7 @@ services:
vmalert: vmalert:
container_name: vmalert container_name: vmalert
image: victoriametrics/vmalert:v1.106.1 image: victoriametrics/vmalert:v1.107.0
depends_on: depends_on:
- "victoriametrics" - "victoriametrics"
ports: ports:

View File

@ -46,7 +46,7 @@ services:
- "--config=/config.yml" - "--config=/config.yml"
vmsingle: vmsingle:
image: victoriametrics/victoria-metrics:v1.106.1 image: victoriametrics/victoria-metrics:v1.107.0
ports: ports:
- "8428:8428" - "8428:8428"
command: command:

View File

@ -2,9 +2,9 @@
- To use *vmanomaly*, part of the enterprise package, a license key is required. Obtain your key [here](https://victoriametrics.com/products/enterprise/trial/) for this tutorial or for enterprise use. - To use *vmanomaly*, part of the enterprise package, a license key is required. Obtain your key [here](https://victoriametrics.com/products/enterprise/trial/) for this tutorial or for enterprise use.
- In the tutorial, we'll be using the following VictoriaMetrics components: - In the tutorial, we'll be using the following VictoriaMetrics components:
- [VictoriaMetrics Single-Node](https://docs.victoriametrics.com/single-server-victoriametrics) (v1.106.1) - [VictoriaMetrics Single-Node](https://docs.victoriametrics.com/single-server-victoriametrics) (v1.107.0)
- [vmalert](https://docs.victoriametrics.com/vmalert/) (v1.106.1) - [vmalert](https://docs.victoriametrics.com/vmalert/) (v1.107.0)
- [vmagent](https://docs.victoriametrics.com/vmagent/) (v1.106.1) - [vmagent](https://docs.victoriametrics.com/vmagent/) (v1.107.0)
- [Grafana](https://grafana.com/) (v.10.2.1) - [Grafana](https://grafana.com/) (v.10.2.1)
- [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/) - [Docker](https://docs.docker.com/get-docker/) and [Docker Compose](https://docs.docker.com/compose/)
- [Node exporter](https://github.com/prometheus/node_exporter#node-exporter) (v1.7.0) and [Alertmanager](https://prometheus.io/docs/alerting/latest/alertmanager/) (v0.27.0) - [Node exporter](https://github.com/prometheus/node_exporter#node-exporter) (v1.7.0) and [Alertmanager](https://prometheus.io/docs/alerting/latest/alertmanager/) (v0.27.0)
@ -313,7 +313,7 @@ Let's wrap it all up together into the `docker-compose.yml` file.
services: services:
vmagent: vmagent:
container_name: vmagent container_name: vmagent
image: victoriametrics/vmagent:v1.106.1 image: victoriametrics/vmagent:v1.107.0
depends_on: depends_on:
- "victoriametrics" - "victoriametrics"
ports: ports:
@ -330,7 +330,7 @@ services:
victoriametrics: victoriametrics:
container_name: victoriametrics container_name: victoriametrics
image: victoriametrics/victoria-metrics:v1.106.1 image: victoriametrics/victoria-metrics:v1.107.0
ports: ports:
- 8428:8428 - 8428:8428
volumes: volumes:
@ -363,7 +363,7 @@ services:
vmalert: vmalert:
container_name: vmalert container_name: vmalert
image: victoriametrics/vmalert:v1.106.1 image: victoriametrics/vmalert:v1.107.0
depends_on: depends_on:
- "victoriametrics" - "victoriametrics"
ports: ports:

View File

@ -82,7 +82,7 @@ VictoriaMetrics Enterprise components are available in the following forms:
It is allowed to run VictoriaMetrics Enterprise components in [cases listed here](#valid-cases-for-victoriametrics-enterprise). It is allowed to run VictoriaMetrics Enterprise components in [cases listed here](#valid-cases-for-victoriametrics-enterprise).
Binary releases of VictoriaMetrics Enterprise are available [at the releases page](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/latest). Binary releases of VictoriaMetrics Enterprise are available [at the releases page](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/latest).
Enterprise binaries and packages have `enterprise` suffix in their names. For example, `victoria-metrics-linux-amd64-v1.106.1-enterprise.tar.gz`. Enterprise binaries and packages have `enterprise` suffix in their names. For example, `victoria-metrics-linux-amd64-v1.107.0-enterprise.tar.gz`.
In order to run binary release of VictoriaMetrics Enterprise component, please download the `*-enterprise.tar.gz` archive for your OS and architecture In order to run binary release of VictoriaMetrics Enterprise component, please download the `*-enterprise.tar.gz` archive for your OS and architecture
from the [releases page](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/latest) and unpack it. Then run the unpacked binary. from the [releases page](https://github.com/VictoriaMetrics/VictoriaMetrics/releases/latest) and unpack it. Then run the unpacked binary.
@ -100,8 +100,8 @@ For example, the following command runs VictoriaMetrics Enterprise binary with t
obtained at [this page](https://victoriametrics.com/products/enterprise/trial/): obtained at [this page](https://victoriametrics.com/products/enterprise/trial/):
```sh ```sh
wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.106.1/victoria-metrics-linux-amd64-v1.106.1-enterprise.tar.gz wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.107.0/victoria-metrics-linux-amd64-v1.107.0-enterprise.tar.gz
tar -xzf victoria-metrics-linux-amd64-v1.106.1-enterprise.tar.gz tar -xzf victoria-metrics-linux-amd64-v1.107.0-enterprise.tar.gz
./victoria-metrics-prod -license=BASE64_ENCODED_LICENSE_KEY ./victoria-metrics-prod -license=BASE64_ENCODED_LICENSE_KEY
``` ```
@ -116,7 +116,7 @@ Alternatively, VictoriaMetrics Enterprise license can be stored in the file and
It is allowed to run VictoriaMetrics Enterprise components in [cases listed here](#valid-cases-for-victoriametrics-enterprise). It is allowed to run VictoriaMetrics Enterprise components in [cases listed here](#valid-cases-for-victoriametrics-enterprise).
Docker images for VictoriaMetrics Enterprise are available [at VictoriaMetrics DockerHub](https://hub.docker.com/u/victoriametrics). Docker images for VictoriaMetrics Enterprise are available [at VictoriaMetrics DockerHub](https://hub.docker.com/u/victoriametrics).
Enterprise docker images have `enterprise` suffix in their names. For example, `victoriametrics/victoria-metrics:v1.106.1-enterprise`. Enterprise docker images have `enterprise` suffix in their names. For example, `victoriametrics/victoria-metrics:v1.107.0-enterprise`.
In order to run Docker image of VictoriaMetrics Enterprise component, it is required to provide the license key via command-line In order to run Docker image of VictoriaMetrics Enterprise component, it is required to provide the license key via command-line
flag as described [here](#binary-releases). flag as described [here](#binary-releases).
@ -126,13 +126,13 @@ Enterprise license key can be obtained at [this page](https://victoriametrics.co
For example, the following command runs VictoriaMetrics Enterprise Docker image with the specified license key: For example, the following command runs VictoriaMetrics Enterprise Docker image with the specified license key:
```sh ```sh
docker run --name=victoria-metrics victoriametrics/victoria-metrics:v1.106.1-enterprise -license=BASE64_ENCODED_LICENSE_KEY docker run --name=victoria-metrics victoriametrics/victoria-metrics:v1.107.0-enterprise -license=BASE64_ENCODED_LICENSE_KEY
``` ```
Alternatively, the license code can be stored in the file and then referred via `-licenseFile` command-line flag: Alternatively, the license code can be stored in the file and then referred via `-licenseFile` command-line flag:
```sh ```sh
docker run --name=victoria-metrics -v /vm-license:/vm-license victoriametrics/victoria-metrics:v1.106.1-enterprise -licenseFile=/path/to/vm-license docker run --name=victoria-metrics -v /vm-license:/vm-license victoriametrics/victoria-metrics:v1.107.0-enterprise -licenseFile=/path/to/vm-license
``` ```
Example docker-compose configuration: Example docker-compose configuration:
@ -141,7 +141,7 @@ version: "3.5"
services: services:
victoriametrics: victoriametrics:
container_name: victoriametrics container_name: victoriametrics
image: victoriametrics/victoria-metrics:v1.106.1 image: victoriametrics/victoria-metrics:v1.107.0
ports: ports:
- 8428:8428 - 8428:8428
volumes: volumes:
@ -173,7 +173,7 @@ is used to provide key in plain-text:
```yaml ```yaml
server: server:
image: image:
tag: v1.106.1-enterprise tag: v1.107.0-enterprise
license: license:
key: {BASE64_ENCODED_LICENSE_KEY} key: {BASE64_ENCODED_LICENSE_KEY}
@ -184,7 +184,7 @@ In order to provide key via existing secret, the following values file is used:
```yaml ```yaml
server: server:
image: image:
tag: v1.106.1-enterprise tag: v1.107.0-enterprise
license: license:
secret: secret:
@ -233,7 +233,7 @@ spec:
license: license:
key: {BASE64_ENCODED_LICENSE_KEY} key: {BASE64_ENCODED_LICENSE_KEY}
image: image:
tag: v1.106.1-enterprise tag: v1.107.0-enterprise
``` ```
In order to provide key via existing secret, the following custom resource is used: In order to provide key via existing secret, the following custom resource is used:
@ -250,7 +250,7 @@ spec:
name: vm-license name: vm-license
key: license key: license
image: image:
tag: v1.106.1-enterprise tag: v1.107.0-enterprise
``` ```
Example secret with license key: Example secret with license key:

View File

@ -236,27 +236,27 @@ services:
- grafana_data:/var/lib/grafana/ - grafana_data:/var/lib/grafana/
vmsingle: vmsingle:
image: victoriametrics/victoria-metrics:v1.106.1 image: victoriametrics/victoria-metrics:v1.107.0
command: command:
- -httpListenAddr=0.0.0.0:8429 - -httpListenAddr=0.0.0.0:8429
vmstorage: vmstorage:
image: victoriametrics/vmstorage:v1.106.1-cluster image: victoriametrics/vmstorage:v1.107.0-cluster
vminsert: vminsert:
image: victoriametrics/vminsert:v1.106.1-cluster image: victoriametrics/vminsert:v1.107.0-cluster
command: command:
- -storageNode=vmstorage:8400 - -storageNode=vmstorage:8400
- -httpListenAddr=0.0.0.0:8480 - -httpListenAddr=0.0.0.0:8480
vmselect: vmselect:
image: victoriametrics/vmselect:v1.106.1-cluster image: victoriametrics/vmselect:v1.107.0-cluster
command: command:
- -storageNode=vmstorage:8401 - -storageNode=vmstorage:8401
- -httpListenAddr=0.0.0.0:8481 - -httpListenAddr=0.0.0.0:8481
vmagent: vmagent:
image: victoriametrics/vmagent:v1.106.1 image: victoriametrics/vmagent:v1.107.0
volumes: volumes:
- ./scrape.yaml:/etc/vmagent/config.yaml - ./scrape.yaml:/etc/vmagent/config.yaml
command: command:
@ -265,7 +265,7 @@ services:
- -remoteWrite.url=http://vmsingle:8429/api/v1/write - -remoteWrite.url=http://vmsingle:8429/api/v1/write
vmgateway-cluster: vmgateway-cluster:
image: victoriametrics/vmgateway:v1.106.1-enterprise image: victoriametrics/vmgateway:v1.107.0-enterprise
ports: ports:
- 8431:8431 - 8431:8431
volumes: volumes:
@ -281,7 +281,7 @@ services:
- -auth.oidcDiscoveryEndpoints=http://keycloak:8080/realms/master/.well-known/openid-configuration - -auth.oidcDiscoveryEndpoints=http://keycloak:8080/realms/master/.well-known/openid-configuration
vmgateway-single: vmgateway-single:
image: victoriametrics/vmgateway:v1.106.1-enterprise image: victoriametrics/vmgateway:v1.107.0-enterprise
ports: ports:
- 8432:8431 - 8432:8431
volumes: volumes:
@ -393,7 +393,7 @@ Once iDP configuration is done, vmagent configuration needs to be updated to use
```yaml ```yaml
vmagent: vmagent:
image: victoriametrics/vmagent:v1.106.1 image: victoriametrics/vmagent:v1.107.0
volumes: volumes:
- ./scrape.yaml:/etc/vmagent/config.yaml - ./scrape.yaml:/etc/vmagent/config.yaml
- ./vmagent-client-secret:/etc/vmagent/oauth2-client-secret - ./vmagent-client-secret:/etc/vmagent/oauth2-client-secret

View File

@ -30,8 +30,8 @@ scrape_configs:
After you created the `scrape.yaml` file, download and unpack [single-node VictoriaMetrics](https://docs.victoriametrics.com/) to the same directory: After you created the `scrape.yaml` file, download and unpack [single-node VictoriaMetrics](https://docs.victoriametrics.com/) to the same directory:
``` ```
wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.106.1/victoria-metrics-linux-amd64-v1.106.1.tar.gz wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.107.0/victoria-metrics-linux-amd64-v1.107.0.tar.gz
tar xzf victoria-metrics-linux-amd64-v1.106.1.tar.gz tar xzf victoria-metrics-linux-amd64-v1.107.0.tar.gz
``` ```
Then start VictoriaMetrics and instruct it to scrape targets defined in `scrape.yaml` and save scraped metrics Then start VictoriaMetrics and instruct it to scrape targets defined in `scrape.yaml` and save scraped metrics
@ -146,8 +146,8 @@ Then start [single-node VictoriaMetrics](https://docs.victoriametrics.com/) acco
```yaml ```yaml
# Download and unpack single-node VictoriaMetrics # Download and unpack single-node VictoriaMetrics
wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.106.1/victoria-metrics-linux-amd64-v1.106.1.tar.gz wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.107.0/victoria-metrics-linux-amd64-v1.107.0.tar.gz
tar xzf victoria-metrics-linux-amd64-v1.106.1.tar.gz tar xzf victoria-metrics-linux-amd64-v1.107.0.tar.gz
# Run single-node VictoriaMetrics with the given scrape.yaml # Run single-node VictoriaMetrics with the given scrape.yaml
./victoria-metrics-prod -promscrape.config=scrape.yaml ./victoria-metrics-prod -promscrape.config=scrape.yaml