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