mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
docs: update VM versions to the latest version
See https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7388 Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
c963d7d10d
commit
b86b0dd910
3 changed files with 21 additions and 21 deletions
|
@ -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.102.0)
|
- [VictoriaMetrics Single-Node](https://docs.victoriametrics.com/single-server-victoriametrics) (v1.105.0)
|
||||||
- [vmalert](https://docs.victoriametrics.com/vmalert/) (v1.102.0)
|
- [vmalert](https://docs.victoriametrics.com/vmalert/) (v1.105.0)
|
||||||
- [vmagent](https://docs.victoriametrics.com/vmagent/) (v1.102.0)
|
- [vmagent](https://docs.victoriametrics.com/vmagent/) (v1.105.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.102.0
|
image: victoriametrics/vmagent:v1.105.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.102.0
|
image: victoriametrics/victoria-metrics:v1.105.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.102.0
|
image: victoriametrics/vmalert:v1.105.0
|
||||||
depends_on:
|
depends_on:
|
||||||
- "victoriametrics"
|
- "victoriametrics"
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -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.102.0-enterprise.tar.gz`.
|
Enterprise binaries and packages have `enterprise` suffix in their names. For example, `victoria-metrics-linux-amd64-v1.105.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.102.0/victoria-metrics-linux-amd64-v1.102.0-enterprise.tar.gz
|
wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.105.0/victoria-metrics-linux-amd64-v1.105.0-enterprise.tar.gz
|
||||||
tar -xzf victoria-metrics-linux-amd64-v1.102.0-enterprise.tar.gz
|
tar -xzf victoria-metrics-linux-amd64-v1.105.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.102.0-enterprise`.
|
Enterprise docker images have `enterprise` suffix in their names. For example, `victoriametrics/victoria-metrics:v1.105.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.102.0-enterprise -license=BASE64_ENCODED_LICENSE_KEY
|
docker run --name=victoria-metrics victoriametrics/victoria-metrics:v1.105.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.102.0-enterprise -licenseFile=/path/to/vm-license
|
docker run --name=victoria-metrics -v /vm-license:/vm-license victoriametrics/victoria-metrics:v1.105.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.102.0
|
image: victoriametrics/victoria-metrics:v1.105.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.102.0-enterprise
|
tag: v1.105.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.102.0-enterprise
|
tag: v1.105.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.102.0-enterprise
|
tag: v1.105.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.102.0-enterprise
|
tag: v1.105.0-enterprise
|
||||||
```
|
```
|
||||||
|
|
||||||
Example secret with license key:
|
Example secret with license key:
|
||||||
|
|
|
@ -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.102.0/victoria-metrics-linux-amd64-v1.102.0.tar.gz
|
wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.105.0/victoria-metrics-linux-amd64-v1.105.0.tar.gz
|
||||||
tar xzf victoria-metrics-linux-amd64-v1.102.0.tar.gz
|
tar xzf victoria-metrics-linux-amd64-v1.105.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.102.0/victoria-metrics-linux-amd64-v1.102.0.tar.gz
|
wget https://github.com/VictoriaMetrics/VictoriaMetrics/releases/download/v1.105.0/victoria-metrics-linux-amd64-v1.105.0.tar.gz
|
||||||
tar xzf victoria-metrics-linux-amd64-v1.102.0.tar.gz
|
tar xzf victoria-metrics-linux-amd64-v1.105.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
|
||||||
|
|
Loading…
Reference in a new issue