diff --git a/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet b/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet index 2ab96c53efb3c2dcba5be9dfa131cfda938f7e39..8ff6e924e26e165511d5910b92687d7aacac5155 100644 --- a/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet +++ b/jsonnet/kube-prometheus/prometheus/prometheus.libsonnet @@ -182,8 +182,10 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet'; serviceAccountName: 'prometheus-' + p.name, serviceMonitorSelector: {}, podMonitorSelector: {}, + probeSelector: {}, serviceMonitorNamespaceSelector: {}, podMonitorNamespaceSelector: {}, + probeNamespaceSelector: {}, nodeSelector: { 'kubernetes.io/os': 'linux' }, ruleSelector: selector.withMatchLabels({ role: 'alert-rules', diff --git a/manifests/prometheus-prometheus.yaml b/manifests/prometheus-prometheus.yaml index af520a828b4f89d5aa644a019ef5908bb76f3afd..4b99429ee0b19f69306b2151ef92ebb2dec2f7d9 100644 --- a/manifests/prometheus-prometheus.yaml +++ b/manifests/prometheus-prometheus.yaml @@ -16,6 +16,8 @@ spec: kubernetes.io/os: linux podMonitorNamespaceSelector: {} podMonitorSelector: {} + probeNamespaceSelector: {} + probeSelector: {} replicas: 2 resources: requests: