mirror of
https://github.com/prometheus-operator/kube-prometheus.git
synced 2025-10-25 22:21:19 +02:00
docs: fix outdated anti-affinity docs
This commit is contained in:
parent
e9d5221fb7
commit
dd1b9d00e3
@ -637,11 +637,11 @@ In order to configure a static etcd cluster to scrape there is a simple [kube-pr
|
||||
### Pod Anti-Affinity
|
||||
|
||||
To prevent `Prometheus` and `Alertmanager` instances from being deployed onto the same node when
|
||||
possible, one can include the [kube-prometheus-anti-affinity.libsonnet](jsonnet/kube-prometheus/kube-prometheus-anti-affinity.libsonnet) mixin:
|
||||
possible, one can include the [kube-prometheus-anti-affinity.libsonnet](jsonnet/kube-prometheus/addons/anti-affinity.libsonnet) mixin:
|
||||
|
||||
```jsonnet
|
||||
(import 'kube-prometheus/kube-prometheus.libsonnet') +
|
||||
(import 'kube-prometheus/kube-prometheus-anti-affinity.libsonnet')
|
||||
(import 'kube-prometheus/addons/anti-affinity.libsonnet')
|
||||
```
|
||||
|
||||
### Stripping container resource limits
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user