-
Notifications
You must be signed in to change notification settings - Fork 19
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(SliceGwReconciler): Add PodDisruptionBudget
logic to SliceGwReconciler
(#308)
#334
feat(SliceGwReconciler): Add PodDisruptionBudget
logic to SliceGwReconciler
(#308)
#334
Conversation
33983c1
to
ea6e856
Compare
The issue #335 impacts this PR. Hence holding this until it is resolved. |
210cff2
to
d429902
Compare
Thanks for bringing this to our attention @Bhargav-InfraCloud . The issue #335 has been resolved. |
PodDisruptionBudget
Logic (#308)
Thanks @mridulgain! Changes in this PR are now based on the latest master. |
PodDisruptionBudget
Logic (#308)PodDisruptionBudget
logic to SliceGwReconciler
(#308)
d429902
to
845b305
Compare
845b305
to
048a014
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! thank you for adding this @Bhargav-InfraCloud 👍
The E2E is failing as the image is missing in the Docker hub:
Was it moved to somewhere else? |
@narmidm @bharath-avesha @gourishkb Can you please review this PR? Thanks! |
@Bhargav-InfraCloud we have resolved the image issue & re triggered the pipeline. |
048a014
to
b17c49f
Compare
@mridulgain Great! Thanks for the update. |
A PodDisruptionBedget is required that matches the slice gateway pods, and to specify a minimum availability of 1 pod in case of disruptions. The SliceGwReconciler handles the lifecycle of this PodDisruptionBudget object. Added RBAC permissions for SliceGwReconciler to maintain PodDisruptionBudget. Fixes kubeslice#308 Signed-off-by: Bhargav Ravuri <[email protected]>
b17c49f
to
bd0283b
Compare
started E2E pipeline - https://github.com/kubeslice/worker-operator/actions/runs/8244374883/job/22546499751?pr=334 |
Thanks, all! 😊 |
Description
A
PodDisruptionBedget
is required that matches the slice gateway pods, and to specify a minimum availability of 1 pod in case of disruptions.The
SliceGwReconciler
handles the lifecycle of thisPodDisruptionBudget
object.Added RBAC permissions for
SliceGwReconciler
to maintainPodDisruptionBudget
.Fixes #308
How Has This Been Tested?
Checklist:
go fmt
Does this PR introduce a breaking change?
Steps to test
PodDisruptionBudget
created in the same namespacewith labels similar to:
it should be able to evict one pod but fail to evict the other: