Skip to content

Commit

Permalink
Update standalone agent manifest conditions and scheduler and control…
Browse files Browse the repository at this point in the history
…lermanager default hosts (#28675)

* Update standalone agent manifest conditions and scheduler and controllermanager default hosts

(cherry picked from commit 223f070)
  • Loading branch information
MichaelKatsoulis authored and mergify-bot committed Nov 2, 2021
1 parent 7404a24 commit f477c92
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,8 @@ 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]
- Add options to configure k8s client qps/burst. {pull}28151[28151]

*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 f477c92

Please sign in to comment.