Commit 94567f64 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #45096 from crassirostris/fluentd-metrics-exporter

Automatic merge from submit-queue Add metrics exporter to the fluentd-gcp deployment Metrics exporter container reads metrics from the `/metrics` endpoint in fluentd and exports them directly to the Stackdriver. It assumes that Stackdriver Monitoring API is enabled. /cc @fgrzadkowski
parents bec2c604 fb3e3072
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment