mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Add metrics exporter to the fluentd-gcp deployment
This commit is contained in:
parent
9afeabb642
commit
fb3e30729e
@ -88,6 +88,16 @@ spec:
|
||||
then
|
||||
exit 1;
|
||||
fi;
|
||||
- name: prometheus-to-sd-exporter
|
||||
image: gcr.io/google-containers/prometheus-to-sd:v0.1.0
|
||||
command:
|
||||
- /monitor
|
||||
- --component=fluentd
|
||||
- --stackdriver-prefix=container.googleapis.com/internal/addons
|
||||
- --whitelisted-metrics=logging_line_count,logging_entry_count
|
||||
volumeMounts:
|
||||
- name: ssl-certs
|
||||
mountPath: /etc/ssl/certs
|
||||
nodeSelector:
|
||||
beta.kubernetes.io/fluentd-ds-ready: "true"
|
||||
tolerations:
|
||||
@ -107,3 +117,6 @@ spec:
|
||||
- name: config-volume
|
||||
configMap:
|
||||
name: fluentd-gcp-config
|
||||
- name: ssl-certs
|
||||
hostPath:
|
||||
path: /etc/ssl/certs
|
||||
|
Loading…
Reference in New Issue
Block a user