-
Notifications
You must be signed in to change notification settings - Fork 94
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
Peerpodconfig removal #2027
Peerpodconfig removal #2027
Conversation
1133cdc
to
2c3a48f
Compare
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.
This seems like a great change in terms of removing code and simplifying things. Do you see any negatives of have the functionality integrated?
I had question from me about the limit default value and I guess we'll need a follow-up operator PR to reflect the removal as well?
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.
nit about the number of peerpods per node, other lgtm
I strongly feel our default deployments should include webhook deployment along with the limit/node. Further hardening the resource management aspects as we move towards 1.0. @mkulke @stevenhorsman what do you prefer as a good default for the number of peerpods per node? |
2c3a48f
to
669b70d
Compare
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. Thanks
Advertise the node extended resources for peer-pods via the cloud-api-adaptor daemonset. This removes the dependency from peerpodconfig-controller. The number of peer pods per node is provided via the config param PEERPODS_LIMIT_PER_NODE. Default is 10 Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Default is set to 10 per node Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
This is needed for CAA to advertise the per node peer-pods limit Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
Remove peerpodconfig controller as its functionality is now included in CAA itself. Signed-off-by: Pradipta Banerjee <pradipta.banerjee@gmail.com>
669b70d
to
7d01a66
Compare
Rebased and pushed, to trigger the e2e CI again. |
The libvirt e2e test got killed due to the time it took. @stevenhorsman @mkulke any thoughts? |
If we need to bump to 1.22.7 for this fix:
I'm not sure if dependabot will do this as it bumps packages rather than the go version? I'm happy for this to merge without that fix as then if dependabot hasn't created anything by Monday I can manually bump and try things out? |
I didn't read that the vulnerability is in go standard library. So we will need to bump golang. I will merge this and open a new PR to bump golang version across the project |
Working on the PR to update golang - #2030 |
This PR removes peerpodconfig controller and instead moves its functionality of advertising node extended resources for peerpods to CAA daemonset itself.