Skip to content
Snippets Groups Projects
Commit dd1b9d00 authored by Michel Tomas's avatar Michel Tomas
Browse files

docs: fix outdated anti-affinity docs

parent e9d5221f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment