mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +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
|
then
|
||||||
exit 1;
|
exit 1;
|
||||||
fi;
|
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:
|
nodeSelector:
|
||||||
beta.kubernetes.io/fluentd-ds-ready: "true"
|
beta.kubernetes.io/fluentd-ds-ready: "true"
|
||||||
tolerations:
|
tolerations:
|
||||||
@ -107,3 +117,6 @@ spec:
|
|||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: fluentd-gcp-config
|
name: fluentd-gcp-config
|
||||||
|
- name: ssl-certs
|
||||||
|
hostPath:
|
||||||
|
path: /etc/ssl/certs
|
||||||
|
Loading…
Reference in New Issue
Block a user