-
Notifications
You must be signed in to change notification settings - Fork 3
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
fix: added gitaly cgroups init image to package #246
Conversation
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.
Per the discussion on getting this working you had posted about in slack, shouldnt securityContext need to be overridden in the common values for this even if its not being enabled so it works with uds with minimum configuration?
Depends on the level of support we want to provide in this package for the custom init. Having the image available allows me to override things downstream at the bundle level until it works. We could backport the configuration settings too, but as it's broken again in my cluster for some reason, I'll have to wait on that changeset. |
Note: future work - given the link you shared: https://gitlab.com/gitlab-org/build/CNG/-/blob/master/gitaly-init-cgroups/Dockerfile?ref_type=heads we should be able to create our own unicorn and ironbank versions of that image fairly easily. I doubt it's worth the work yet, but if ever needed, it wouldn't be hard. |
From before Thanksgiving break, note from reviewer in slack:
|
The script is there, but if swapped in for the gitaly init container, it errors out. They're relying on the dockerfile |
The securityContext is now set in the common-values.yaml as suggested. |
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!
@JoeHCQ1 The required exception is missing from this. It needs to be in the config chart, templated based on a value, which defaults to |
ah yes, that exception is probably in my nutanix bundle but it'd be needed here. Good catch. |
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 have created a release *beep* *boop* --- ## [17.6.1-uds.1](v17.6.1-uds.0...v17.6.1-uds.1) (2024-12-06) ### Bug Fixes * added gitaly cgroups init image to package ([#246](#246)) ([31613df](31613df)) ### Miscellaneous * **deps:** update gitlab package dependencies ([#250](#250)) ([f23020c](f23020c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Description
Downstream we use this image to modify cgroups on gitaly nodes to improve resiliency. This isn't in the package right now, so we're having to add it to a local package so it is available. By putting it here in the original package we ensure the version always matches the rest of the install, and save others who do similar work time later.
Type of change
Checklist before merging