Skip to content

Commit

Permalink
Cherry-pick #6824 to 6.2: Kubernetes deployment: Add ServiceAccount c…
Browse files Browse the repository at this point in the history
…onfig to system metricbeat. (#6920)

Cherry-pick of PR #6824 to 6.2 branch. Original message: 

Without the SA, metricbeat is unable to get e.g event infos from kube-state-metrics
  • Loading branch information
exekias authored and ruflin committed Apr 26, 2018
1 parent 91cfc08 commit 7a45f64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ https://github.com/elastic/beats/compare/v6.2.4...6.2[Check the HEAD diff]

*Metricbeat*

- Kubernetes deployment: Add ServiceAccount config to system metricbeat. {pull}6824[6824]

*Packetbeat*

*Winlogbeat*
Expand Down
1 change: 1 addition & 0 deletions deploy/kubernetes/metricbeat-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ spec:
k8s-app: metricbeat
kubernetes.io/cluster-service: "true"
spec:
serviceAccountName: metricbeat
containers:
- name: metricbeat
image: docker.elastic.co/beats/metricbeat:6.2.4
Expand Down
1 change: 1 addition & 0 deletions deploy/kubernetes/metricbeat/metricbeat-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ spec:
k8s-app: metricbeat
kubernetes.io/cluster-service: "true"
spec:
serviceAccountName: metricbeat
containers:
- name: metricbeat
image: docker.elastic.co/beats/metricbeat:%VERSION%
Expand Down

0 comments on commit 7a45f64

Please sign in to comment.