Update metricbeat to 6.5.4 and added required cluster role permission for kubelet auth (#10592)

Signed-off-by: Matteo Gazzetta <matteo_gazzetta@hotmail.it>
This commit is contained in:
Matteo Gazzetta
2019-01-14 14:38:07 -08:00
committed by Kubernetes Prow Robot
parent ff86c681bb
commit dfa9d3a320
3 changed files with 14 additions and 3 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ apiVersion: v1
description: A Helm chart to collect Kubernetes logs with metricbeat
icon: https://www.elastic.co/assets/blt47799dcdcf08438d/logo-elastic-beats-lt.svg
name: metricbeat
version: 0.4.3
appVersion: 6.5.1
version: 0.4.4
appVersion: 6.5.4
home: https://www.elastic.co/products/beats/metricbeat
sources:
- https://www.elastic.co/guide/en/beats/metricbeat/current/index.html
@@ -25,6 +25,10 @@ rules:
- statefulsets
- deployments
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources:
- nodes/stats
verbs: ["get"]
- nonResourceURLs: ["/metrics"]
verbs: ["get"]
{{- end -}}
+8 -1
View File
@@ -1,6 +1,6 @@
image:
repository: docker.elastic.co/beats/metricbeat
tag: 6.5.1
tag: 6.5.4
pullPolicy: IfNotPresent
# The instances created by daemonset retrieve most metrics from the host
@@ -62,7 +62,14 @@ daemonset:
- container
- volume
period: 10s
host: ${NODE_NAME}
hosts: ["localhost:10255"]
# If using Red Hat OpenShift remove the previous hosts entry and
# uncomment these settings:
# hosts: ["https://${HOSTNAME}:10250"]
# bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
# ssl.certificate_authorities:
# - /var/run/secrets/kubernetes.io/serviceaccount/service-ca.crt
# The instance created by deployment retrieves metrics that are unique for the whole cluster, like Kubernetes events or kube-state-metrics
deployment:
podAnnotations: []