Change port on which fluentd exposes its metrics
This commit is contained in:
		@@ -295,7 +295,7 @@ data:
 | 
			
		||||
    # Prometheus monitoring
 | 
			
		||||
    <source>
 | 
			
		||||
      @type prometheus
 | 
			
		||||
      port 80
 | 
			
		||||
      port 31337
 | 
			
		||||
    </source>
 | 
			
		||||
 | 
			
		||||
    <source>
 | 
			
		||||
 
 | 
			
		||||
@@ -94,6 +94,7 @@ spec:
 | 
			
		||||
        command:
 | 
			
		||||
          - /monitor
 | 
			
		||||
          - --component=fluentd
 | 
			
		||||
          - --target-port=31337
 | 
			
		||||
          - --stackdriver-prefix=container.googleapis.com/internal/addons
 | 
			
		||||
          - --whitelisted-metrics=logging_line_count,logging_entry_count
 | 
			
		||||
        volumeMounts:
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user