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.
		
		
		
		
		
			
		
			
				
	
	
		
			41 lines
		
	
	
		
			996 B
		
	
	
	
		
			YAML
		
	
			
		
		
	
	
			41 lines
		
	
	
		
			996 B
		
	
	
	
		
			YAML
		
	
apiVersion: helm.toolkit.fluxcd.io/v2beta1
 | 
						|
kind: HelmRelease
 | 
						|
metadata:
 | 
						|
  name: loki-stack
 | 
						|
spec:
 | 
						|
  interval: 5m
 | 
						|
  dependsOn:
 | 
						|
    - name: kube-prometheus-stack
 | 
						|
  chart:
 | 
						|
    spec:
 | 
						|
      version: "2.x"
 | 
						|
      chart: loki-stack
 | 
						|
      sourceRef:
 | 
						|
        kind: HelmRepository
 | 
						|
        name: grafana-charts
 | 
						|
      interval: 60m
 | 
						|
  # https://github.com/grafana/helm-charts/blob/main/charts/loki-stack/values.yaml
 | 
						|
  # https://github.com/grafana/helm-charts/blob/main/charts/loki/values.yaml
 | 
						|
  values:
 | 
						|
    grafana:
 | 
						|
      enabled: false
 | 
						|
      sidecar:
 | 
						|
        datasources:
 | 
						|
          enabled: true
 | 
						|
          maxLines: 1000
 | 
						|
    promtail:
 | 
						|
      enabled: true
 | 
						|
    loki:
 | 
						|
      enabled: true
 | 
						|
      isDefault: false
 | 
						|
      serviceMonitor:
 | 
						|
        enabled: true
 | 
						|
        additionalLabels:
 | 
						|
          app.kubernetes.io/part-of: kube-prometheus-stack
 | 
						|
      config:
 | 
						|
        chunk_store_config:
 | 
						|
          max_look_back_period: 0s
 | 
						|
        table_manager:
 | 
						|
          retention_deletes_enabled: true
 | 
						|
          retention_period: 12h
 |