Setup promtail and loki
This commit is contained in:
		@@ -48,12 +48,12 @@ releases:
 | 
			
		||||
    createNamespace: true
 | 
			
		||||
 | 
			
		||||
  - <<: *loki
 | 
			
		||||
    installed: false
 | 
			
		||||
    installed: true
 | 
			
		||||
    namespace: monitoring-system
 | 
			
		||||
    createNamespace: false
 | 
			
		||||
 | 
			
		||||
  - <<: *promtail
 | 
			
		||||
    installed: false
 | 
			
		||||
    installed: true
 | 
			
		||||
    namespace: monitoring-system
 | 
			
		||||
    createNamespace: false
 | 
			
		||||
 | 
			
		||||
@@ -83,7 +83,7 @@ releases:
 | 
			
		||||
    createNamespace: true
 | 
			
		||||
 | 
			
		||||
  - <<: *mysql
 | 
			
		||||
    installed: true
 | 
			
		||||
    installed: false
 | 
			
		||||
    namespace: database-service
 | 
			
		||||
    createNamespace: true
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,11 +1,22 @@
 | 
			
		||||
---
 | 
			
		||||
singleBinary:
 | 
			
		||||
  replicas: 1
 | 
			
		||||
  persistence:
 | 
			
		||||
    size: 5Gi
 | 
			
		||||
loki:
 | 
			
		||||
  auth_enabled: false
 | 
			
		||||
  commonConfig:
 | 
			
		||||
    replication_factor: 1
 | 
			
		||||
  storage:
 | 
			
		||||
    type: 'filesystem'
 | 
			
		||||
monitoring:
 | 
			
		||||
  selfMonitoring:
 | 
			
		||||
    enabled: false
 | 
			
		||||
  lokiCanary:
 | 
			
		||||
    enabled: false
 | 
			
		||||
test:
 | 
			
		||||
  enabled: false
 | 
			
		||||
compactor:
 | 
			
		||||
  retention_enabled: true
 | 
			
		||||
limits_config:
 | 
			
		||||
  retention_period: 2d
 | 
			
		||||
  retention_period: 14d
 | 
			
		||||
 
 | 
			
		||||
@@ -3,3 +3,9 @@ config:
 | 
			
		||||
  clients:
 | 
			
		||||
    #    - url: http://loki.monitoring-system:3100
 | 
			
		||||
    - url: http://loki-gateway/loki/api/v1/push
 | 
			
		||||
  snippets:
 | 
			
		||||
    pipelineStages:
 | 
			
		||||
      - match:
 | 
			
		||||
          pipeline_name: "drop-all"
 | 
			
		||||
          selector: '{namespace!="mail-service"}'
 | 
			
		||||
          action: drop
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user