Files
kube-prometheus/manifests/prometheus-prometheus.yaml
Lucas Serven 28e3ef5a6d contrib/kube-prometheus: bump prometheus-operator
This commit bumps the version of the Prometheus Operator jsonnet
dependency in kube-prometheus. With this change, kube-prometheus now
supports Prometheus Operator v0.23.0.
2018-08-07 17:44:01 +02:00

34 lines
684 B
YAML

apiVersion: monitoring.coreos.com/v1
kind: Prometheus
metadata:
labels:
prometheus: k8s
name: k8s
namespace: monitoring
spec:
alerting:
alertmanagers:
- name: alertmanager-main
namespace: monitoring
port: web
baseImage: quay.io/prometheus/prometheus
nodeSelector:
beta.kubernetes.io/os: linux
replicas: 2
resources:
requests:
memory: 400Mi
ruleSelector:
matchLabels:
prometheus: k8s
role: alert-rules
serviceAccountName: prometheus-k8s
serviceMonitorNamespaceSelector:
matchExpressions:
- {}
serviceMonitorSelector:
matchExpressions:
- key: k8s-app
operator: Exists
version: v2.3.1