Closed Bhargav-InfraCloud closed 3 months ago
The issue #335 impacts this PR. Hence holding this until it is resolved.
Thanks for bringing this to our attention @Bhargav-InfraCloud . The issue #335 has been resolved.
Thanks @mridulgain! Changes in this PR are now based on the latest master.
The E2E is failing as the image is missing in the Docker hub:
Unable to find image 'aveshadev/kubeslice-e2e:latest' locally
docker: Error response from daemon: pull access denied for aveshadev/kubeslice-e2e, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
Was it moved to somewhere else?
@narmidm @bharath-avesha @gourishkb Can you please review this PR? Thanks!
The E2E is failing as the image is missing in the Docker hub:
Unable to find image 'aveshadev/kubeslice-e2e:latest' locally docker: Error response from daemon: pull access denied for aveshadev/kubeslice-e2e, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
Was it moved to somewhere else?
@Bhargav-InfraCloud we have resolved the image issue & re triggered the pipeline.
@mridulgain Great! Thanks for the update. I've rebased with the latest master. Please trigger the E2E again.
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:
error when evicting pods/"water-kind-kubeslice-worker-2-kind-kubeslice-worker-1-1-0-h4vsp" -n "kubeslice-system" (will retry after 5s): Cannot evict pod as it would violate the pod's disruption budget.