Skip to content

Commit

Permalink
[7.16](backport #28675) Update standalone agent manifest conditions a…
Browse files Browse the repository at this point in the history
…nd scheduler and controllermanager default hosts (#28764)

* Update standalone agent manifest conditions and scheduler and controllermanager default hosts (#28675)
  • Loading branch information
mergify[bot] authored Nov 3, 2021
1 parent 835a241 commit 472df86
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ https://github.com/elastic/beats/compare/v7.0.0-alpha2...master[Check the HEAD d
- Update ECS to 1.12.0. {pull}27770[27770]
- Fields mapped as `match_only_text` will automatically fallback to a `text` mapping when using Elasticsearch versions that do not support `match_only_text`. {pull}27770[27770]
- Do not load ML jobs to Elasticsearch 8.x from new Beats 7.x releases. {pull}27771[27771]
- Update kubernetes scheduler and controllermanager endpoints in elastic-agent-standalone-kubernetes.yaml with secure ports {pull}28675[28675]

*Auditbeat*

Expand Down
12 changes: 8 additions & 4 deletions deploy/kubernetes/elastic-agent-standalone-kubernetes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -341,19 +341,23 @@ data:
type: metrics
metricsets:
- controllermanager
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
hosts:
- '${kubernetes.pod.ip}:10252'
- 'https://${kubernetes.pod.ip}:10257'
period: 10s
condition: ${kubernetes.pod.labels.component} == 'kube-controller-manager'
ssl.verification_mode: none
condition: ${kubernetes.labels.component} == 'kube-controller-manager'
- data_stream:
dataset: kubernetes.scheduler
type: metrics
metricsets:
- scheduler
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
hosts:
- '${kubernetes.pod.ip}:10251'
- 'https://${kubernetes.pod.ip}:10259'
period: 10s
condition: ${kubernetes.pod.labels.component} == 'kube-scheduler'
ssl.verification_mode: none
condition: ${kubernetes.labels.component} == 'kube-scheduler'
- data_stream:
dataset: kubernetes.proxy
type: metrics
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -341,19 +341,23 @@ data:
type: metrics
metricsets:
- controllermanager
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
hosts:
- '${kubernetes.pod.ip}:10252'
- 'https://${kubernetes.pod.ip}:10257'
period: 10s
condition: ${kubernetes.pod.labels.component} == 'kube-controller-manager'
ssl.verification_mode: none
condition: ${kubernetes.labels.component} == 'kube-controller-manager'
- data_stream:
dataset: kubernetes.scheduler
type: metrics
metricsets:
- scheduler
bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
hosts:
- '${kubernetes.pod.ip}:10251'
- 'https://${kubernetes.pod.ip}:10259'
period: 10s
condition: ${kubernetes.pod.labels.component} == 'kube-scheduler'
ssl.verification_mode: none
condition: ${kubernetes.labels.component} == 'kube-scheduler'
- data_stream:
dataset: kubernetes.proxy
type: metrics
Expand Down

0 comments on commit 472df86

Please sign in to comment.