Skip to content

Cherry-pick #25016 to 7.x: Leverege leader election in agent k8s manifests#25033

Merged
ChrsMark merged 1 commit intoelastic:7.xfrom
ChrsMark:backport_25016_7.x
Apr 13, 2021
Merged

Cherry-pick #25016 to 7.x: Leverege leader election in agent k8s manifests#25033
ChrsMark merged 1 commit intoelastic:7.xfrom
ChrsMark:backport_25016_7.x

Conversation

@ChrsMark
Copy link
Copy Markdown
Member

@ChrsMark ChrsMark commented Apr 13, 2021

Cherry-pick of PR #25016 to 7.x branch. Original message:

What does this PR do?

This PR tunes k8s manifests for elastic-agent so as to use leaderelection provider in order to enable cluster level monitoring only from one leader Pod at a time.

Why is it important?

Removing Deployment and using only Daemonset will simplify the deployment process for users.

Note: Tested on GKE 3-node cluster, leaderelection and all functionality works.

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Apr 13, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/integrations (Team:Integrations)

@botelastic botelastic bot removed the needs_team Indicates that the issue/PR needs a Team:* label label Apr 13, 2021
@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #25033 opened

  • Start Time: 2021-04-13T07:38:39.405+0000

  • Duration: 71 min 50 sec

  • Commit: 0a78fa6

Trends 🧪

Image of Build Times

❕ Flaky test report

No test was executed to be analysed.

@ChrsMark ChrsMark merged commit 205e3dd into elastic:7.x Apr 13, 2021
@zube zube bot removed the [zube]: Done label Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Team:Integrations Label for the Integrations team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants