apiVersion: v1
kind: ConfigMap
data:
config.yaml: |
prometheusK8s:
retention: {{PROMeTHeUS_ReTeNTION_PeRIOD}} (1)
nodeSelector:
node-role.kubernetes.io/infra: ""
volumeClaimTemplate:
spec:
storageClassName: {{STORAGe_CLASS}} (2)
resources:
requests:
storage: {{PROMeTHeUS_STORAGe_SIZe}} (3)
alertmanagerMain:
nodeSelector:
node-role.kubernetes.io/infra: ""
volumeClaimTemplate:
spec:
storageClassName: {{STORAGe_CLASS}} (2)
resources:
requests:
storage: {{ALeRTMANAGeR_STORAGe_SIZe}} (4)
metadata:
name: cluster-monitoring-config
namespace: openshift-monitoring