diff --git a/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet b/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet index 198260213156ec121cfc4574f94fde0a14a413a8..42f9191150b78bc05c5d504ce8745e5e1cd7346d 100644 --- a/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet @@ -182,6 +182,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet'; serviceMonitorSelector: {}, podMonitorSelector: {}, serviceMonitorNamespaceSelector: {}, + podMonitorNamespaceSelector: {}, nodeSelector: { 'kubernetes.io/os': 'linux' }, ruleSelector: selector.withMatchLabels({ role: 'alert-rules', diff --git a/manifests/prometheus-prometheus.yaml b/manifests/prometheus-prometheus.yaml index f2c340d75a5c661a319fdcb1b5dd165497d9ca90..72b462c0517637c084b403b6fdcd4a7018d3b11f 100644 --- a/manifests/prometheus-prometheus.yaml +++ b/manifests/prometheus-prometheus.yaml @@ -14,6 +14,7 @@ spec: baseImage: quay.io/prometheus/prometheus nodeSelector: kubernetes.io/os: linux + podMonitorNamespaceSelector: {} podMonitorSelector: {} replicas: 2 resources: