mirror of https://github.com/fluxcd/flux2.git
				
				
				
			
			You cannot select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
	
	
		
			34 lines
		
	
	
		
			809 B
		
	
	
	
		
			YAML
		
	
			
		
		
	
	
			34 lines
		
	
	
		
			809 B
		
	
	
	
		
			YAML
		
	
apiVersion: helm.toolkit.fluxcd.io/v2beta1
 | 
						|
kind: HelmRelease
 | 
						|
metadata:
 | 
						|
  name: kube-prometheus-stack
 | 
						|
spec:
 | 
						|
  interval: 5m
 | 
						|
  chart:
 | 
						|
    spec:
 | 
						|
      version: "35.x"
 | 
						|
      chart: kube-prometheus-stack
 | 
						|
      sourceRef:
 | 
						|
        kind: HelmRepository
 | 
						|
        name: prometheus-community
 | 
						|
      interval: 60m
 | 
						|
  install:
 | 
						|
    crds: Create
 | 
						|
  upgrade:
 | 
						|
    crds: CreateReplace
 | 
						|
  # https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml
 | 
						|
  values:
 | 
						|
    alertmanager:
 | 
						|
      enabled: false
 | 
						|
    prometheus:
 | 
						|
      prometheusSpec:
 | 
						|
        retention: 24h
 | 
						|
        resources:
 | 
						|
          requests:
 | 
						|
            cpu: 200m
 | 
						|
            memory: 200Mi
 | 
						|
        podMonitorNamespaceSelector: {}
 | 
						|
        podMonitorSelector:
 | 
						|
          matchLabels:
 | 
						|
            app.kubernetes.io/component: monitoring
 |