-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[helm] fleet mode fixes #6345
[helm] fleet mode fixes #6345
Conversation
81e13d6
to
53b7cc1
Compare
/test |
53b7cc1
to
a3ad6c7
Compare
buildkite test this |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
cc @eedugon in case you wanna give this PR a go before it gets merged 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
I'll give it a try! |
This pull request is now in conflicts. Could you fix it? 🙏
|
…unts # Conflicts: # deploy/helm/elastic-agent/examples/kubernetes-hints-autodiscover/rendered/manifest.yaml # deploy/helm/elastic-agent/examples/multiple-integrations/rendered/manifest.yaml # deploy/helm/elastic-agent/templates/integrations/_kubernetes/_preset_pernode.tpl
Quality Gate passedIssues Measures |
@pkoutsovasilis : I've tried to test the PR. It looks promising and I think everything is fixed, however I've found a problem. From your branch I have run the following:
Note: I have to set
So it looks the parameter Besides that, the generated manifest looks OK, and I would expect it to solve the issues of the PR:
Thanks for this! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, check out the comment about agent.version
just in case (not related with this PR though).
thanks for the testing @eedugon , the value to change the tag of the agent image is |
* fix: allow fleet mode to do the necessary k8s changes for enabled integrations * fix: make kubernetes integration enabled by default * fix: enable leader election for fleet mode unless explicitly disabled by user * fix: enable hostNetwork for perNode preset (cherry picked from commit 0d94ead) # Conflicts: # deploy/helm/elastic-agent/examples/kubernetes-hints-autodiscover/rendered/manifest.yaml # deploy/helm/elastic-agent/examples/multiple-integrations/rendered/manifest.yaml # deploy/helm/elastic-agent/templates/integrations/_kubernetes/_preset_pernode.tpl
* fix: allow fleet mode to do the necessary k8s changes for enabled integrations * fix: make kubernetes integration enabled by default * fix: enable leader election for fleet mode unless explicitly disabled by user * fix: enable hostNetwork for perNode preset (cherry picked from commit 0d94ead)
* fix: allow fleet mode to do the necessary k8s changes for enabled integrations * fix: make kubernetes integration enabled by default * fix: enable leader election for fleet mode unless explicitly disabled by user * fix: enable hostNetwork for perNode preset (cherry picked from commit 0d94ead) # Conflicts: # deploy/helm/elastic-agent/examples/kubernetes-hints-autodiscover/rendered/manifest.yaml # deploy/helm/elastic-agent/examples/multiple-integrations/rendered/manifest.yaml # deploy/helm/elastic-agent/templates/integrations/_kubernetes/_preset_pernode.tpl
* fix: allow fleet mode to do the necessary k8s changes for enabled integrations * fix: make kubernetes integration enabled by default * fix: enable leader election for fleet mode unless explicitly disabled by user * fix: enable hostNetwork for perNode preset (cherry picked from commit 0d94ead) Co-authored-by: Panos Koutsovasilis <[email protected]>
* [helm] fleet mode fixes (#6345) * fix: allow fleet mode to do the necessary k8s changes for enabled integrations * fix: make kubernetes integration enabled by default * fix: enable leader election for fleet mode unless explicitly disabled by user * fix: enable hostNetwork for perNode preset (cherry picked from commit 0d94ead) # Conflicts: # deploy/helm/elastic-agent/examples/kubernetes-hints-autodiscover/rendered/manifest.yaml # deploy/helm/elastic-agent/examples/multiple-integrations/rendered/manifest.yaml # deploy/helm/elastic-agent/templates/integrations/_kubernetes/_preset_pernode.tpl * fix: resolve conflicts --------- Co-authored-by: Panos Koutsovasilis <[email protected]>
* [helm] fleet mode fixes (#6345) * fix: allow fleet mode to do the necessary k8s changes for enabled integrations * fix: make kubernetes integration enabled by default * fix: enable leader election for fleet mode unless explicitly disabled by user * fix: enable hostNetwork for perNode preset (cherry picked from commit 0d94ead) # Conflicts: # deploy/helm/elastic-agent/examples/kubernetes-hints-autodiscover/rendered/manifest.yaml # deploy/helm/elastic-agent/examples/multiple-integrations/rendered/manifest.yaml # deploy/helm/elastic-agent/templates/integrations/_kubernetes/_preset_pernode.tpl * fix: resolve conflicts --------- Co-authored-by: Panos Koutsovasilis <[email protected]>
What does this PR do?
This PR introduces several fixes to the Elastic Agent Helm chart regarding Fleet Mode deployments:
hostNetwork=true
forperNode
(Daemonset
) agent preset, used by kubernetes and system integrationsWhy is it important?
These changes are critical as they address bugs 🙂
Checklist
[ ] I have added an entry in./changelog/fragments
using the changelog tool[ ] I have added an integration test or an E2E testDisruptive User Impact
N/A
How to test this PR locally
Related issues
/var/log/containers/
on Elastic-Agent pod, thus no logs are ingested #6204