Skip to content

Commit

Permalink
Add metrics exporter to the fluentd-gcp deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Mik Vyatskov committed Apr 28, 2017
1 parent 9afeabb commit fb3e307
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions cluster/addons/fluentd-gcp/fluentd-gcp-ds.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -107,3 +117,6 @@ spec:
- name: config-volume
configMap:
name: fluentd-gcp-config
- name: ssl-certs
hostPath:
path: /etc/ssl/certs

0 comments on commit fb3e307

Please sign in to comment.