AN
Size: a a a
AN
j
PK
AN
PK
AN
G
### Changes since v1.36.3More
* FEATURE: vmalert: add support for Prometheus-compatible recording rules - see [vmalert docs](https://github.com/VictoriaMetrics/VictoriaMetrics/blob/master/app/vmalert/README.md) for details.
* FEATURE: optimize perfo...
PK
I
AK
apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
name: prometheus
spec:
containers:
# replace prometheus with vmagent
- name: prometheus
image: victoriametrics/vmagent:v1.36.3
args:
- -httpListenAddr
- :9090
- -remoteWrite.url
- http://vminsert:8480/insert/0/prometheus
- -remoteWrite.tmpDataPath
- /prometheus
- -promscrape.config
- /etc/prometheus/config_out/prometheus.env.yaml
ports:
# need to keep Prometheus port so config-reloader can access vmagent
- containerPort: 9090
name: web
protocol: TCP
livenessProbe:
failureThreshold: 6
httpGet:
path: /health
port: web
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
readinessProbe:
failureThreshold: 120
httpGet:
path: /health
port: web
scheme: HTTP
periodSeconds: 5
successThreshold: 1
timeoutSeconds: 3
AK
PK
J
A
A
AK
AK
BD
A
DF