Skip to content
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

feat: add sysctl configure daemonset #700

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

shreddedbacon
Copy link
Member

@shreddedbacon shreddedbacon commented Nov 11, 2024

To remove https://github.com/uselagoon/build-deploy-tool/blob/d2508efa74871cabe4c477e44bbe87e339d99f5d/internal/servicetypes/opensearch.go#L75-L96 from the opensearch and elasticsearch templates so that no containers require the privileged: true value. There needs to be some option to configure any sysctl values as required in lagoon-remote.

This adds a DaemonSet that allows for setting this value, and potentially other values. This is disabled by default.

Ideally the underlying instances that run kubernetes should have the values updated to remove the need for this, but in cases where it isn't possible to do so, this DaemonSet provides the capability.

Linked to uselagoon/build-deploy-tool#395

@shreddedbacon shreddedbacon force-pushed the lagoon-remote-sysctl-configure branch from f3d19e8 to 4b154cd Compare December 3, 2024 21:37
@shreddedbacon shreddedbacon marked this pull request as ready for review December 3, 2024 22:01
@shreddedbacon shreddedbacon added this to the core-v2.23.0 milestone Dec 17, 2024
@shreddedbacon shreddedbacon force-pushed the lagoon-remote-sysctl-configure branch 3 times, most recently from 67e4261 to e867e78 Compare December 18, 2024 08:55
@shreddedbacon shreddedbacon force-pushed the lagoon-remote-sysctl-configure branch from e867e78 to 37d8726 Compare December 18, 2024 20:19
Copy link
Member

@tobybellwood tobybellwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested working

@tobybellwood tobybellwood merged commit dec14f2 into main Dec 18, 2024
18 checks passed
@tobybellwood tobybellwood deleted the lagoon-remote-sysctl-configure branch December 18, 2024 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants