-
Notifications
You must be signed in to change notification settings - Fork 193
Remove artifacts from deprecated Elastic Endpoint in K8s project #4081
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
Conversation
This pull request does not have a backport label. Could you fix it @norrietaylor? 🙏
NOTE: |
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.
Thanks!
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.
The node autodiscovery of elastic agent is based (in one of the alternatives) to machine-id: https://github.com/elastic/elastic-agent-autodiscover/blob/e3da20d82e3f0fa03637f298d73d631cbd9b0068/kubernetes/util.go#L198
So the mounting of this /etc/machine-id
is needed and not to be removed
It is the last alternative in case the NODE_NAME env var is not set for any reason. I think it is ok to leave the mount there and update the comment to |
8504235
to
bf68154
Compare
|
@norrietaylor what is the plan with this PR? Still relevant? |
|
This certainly slipped through the cracks. Apologies. This is clean up, that we should probably do, as the Elastic Defend integration in K8s is no longer supported or distributed. I made the changes requested by @gizas and @MichaelKatsoulis. If they give the LGTM, we can merge. |
Co-authored-by: Pierre HILBERT <[email protected]> (cherry picked from commit 8e35021)
…) (#5055) Co-authored-by: Pierre HILBERT <[email protected]> (cherry picked from commit 8e35021) Co-authored-by: Norrie Taylor <[email protected]>
#4081 removed hostPID. Add comment that this setting is essential for Universal Profiling. Signed-off-by: Florian Lehner <[email protected]>
#4081 removed hostPID. Add comment that this setting is essential for Universal Profiling. Signed-off-by: Florian Lehner <[email protected]>
…10173) #4081 removed hostPID. Add comment that this setting is essential for Universal Profiling. Signed-off-by: Florian Lehner <[email protected]>
…10173) #4081 removed hostPID. Add comment that this setting is essential for Universal Profiling. Signed-off-by: Florian Lehner <[email protected]> (cherry picked from commit 6cd7ffc)
…10173) #4081 removed hostPID. Add comment that this setting is essential for Universal Profiling. Signed-off-by: Florian Lehner <[email protected]> (cherry picked from commit 6cd7ffc)
…10173) (#10175) #4081 removed hostPID. Add comment that this setting is essential for Universal Profiling. (cherry picked from commit 6cd7ffc) Signed-off-by: Florian Lehner <[email protected]> Co-authored-by: Florian Lehner <[email protected]>
…10173) (#10176) #4081 removed hostPID. Add comment that this setting is essential for Universal Profiling. (cherry picked from commit 6cd7ffc) Signed-off-by: Florian Lehner <[email protected]> Co-authored-by: Florian Lehner <[email protected]>
What does this PR do?
The Elastic Endpoint in K8s project has been deprecated. This PR cleans up artifacts that remained in the Agent YAML due to that project.
This PR is tested in the cloud-defend CI pipeline.