apiVersion: monitoring.coreos.com/v1 kind: Prometheus metadata: name: prometheus namespace: monitoring spec: serviceAccountName: prometheus serviceMonitorNamespaceSelector: {} serviceMonitorSelector: {} podMonitorSelector: matchLabels: team: core resources: requests: memory: 300Mi storage: volumeClaimTemplate: spec: storageClassName: flat-storage-class resources: requests: storage: 5Gi securityContext: runAsNonRoot: true fsGroup: 2000 runAsUser: 1000