mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-14 16:12:15 +01:00
Automatic update operator docs from VictoriaMetrics/operator@45bfa36 (#5373)
This commit is contained in:
parent
10b4dfbbf9
commit
28df725a37
@ -582,6 +582,7 @@ code vmrule.yaml
|
||||
|
||||
with the following content:
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMRule
|
||||
@ -601,6 +602,7 @@ spec:
|
||||
value: "{{ $value }}"
|
||||
description: 'error reloading vmalert config, reload count for 5 min {{ $value }}'
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
After that you can deploy `vmrule` resource to the kubernetes cluster:
|
||||
|
||||
|
@ -310,6 +310,7 @@ with [extraArgs](./README.md#extra-arguments)
|
||||
and specify `tenant` field for groups
|
||||
in [VMRule](./vmrule.md#enterprise-features):
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMAlert
|
||||
@ -355,6 +356,7 @@ spec:
|
||||
value: "{{ $value }}"
|
||||
description: 'error reloading vmalert config, reload count for 5 min {{ $value }}'
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
## Examples
|
||||
|
||||
|
@ -180,6 +180,7 @@ spec:
|
||||
|
||||
- `spec.templates` - list of keys in `ConfigMaps`, that contains template files for `alertmanager`, e.g.:
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMAlertmanager
|
||||
@ -204,6 +205,7 @@ spec:
|
||||
{{- end }}
|
||||
my-template-2.tmpl: """
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
These templates will be automatically added to `VMAlertmanager` configuration and will be automatically reloaded on changes in source `ConfigMap`.
|
||||
- `spec.configMaps` - list of `ConfigMap` names (in the same namespace) that will be mounted at `VMAlertmanager`
|
||||
|
@ -44,6 +44,7 @@ you need to **[enable VMAlert Enterprise](./vmalert.md#enterprise-features)**.
|
||||
|
||||
After that you can add `tenant` field for groups in `VMRule`:
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMRule
|
||||
@ -66,11 +67,13 @@ spec:
|
||||
value: "{{ $value }}"
|
||||
description: 'error reloading vmalert config, reload count for 5 min {{ $value }}'
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
## Examples
|
||||
|
||||
### Alerting rule
|
||||
|
||||
{% raw %}
|
||||
```yaml
|
||||
apiVersion: operator.victoriametrics.com/v1beta1
|
||||
kind: VMRule
|
||||
@ -90,6 +93,7 @@ spec:
|
||||
value: "{{ $value }}"
|
||||
description: 'error reloading vmalert config, reload count for 5 min {{ $value }}'
|
||||
```
|
||||
{% endraw %}
|
||||
|
||||
### Recording rule
|
||||
|
||||
|
@ -10,7 +10,7 @@ menu:
|
||||
|
||||
<!-- this doc autogenerated - don't edit it manually -->
|
||||
# Auto Generated vars for package config
|
||||
updated at Wed Nov 22 11:56:55 UTC 2023
|
||||
updated at Wed Nov 22 17:02:40 UTC 2023
|
||||
|
||||
|
||||
| varible name | variable default value | variable required | variable description |
|
||||
|
Loading…
Reference in New Issue
Block a user