-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[release-1.0] [virt-operator] cope with misscheduled virt-handler pods #12363
[release-1.0] [virt-operator] cope with misscheduled virt-handler pods #12363
Conversation
Applying a custom `NoSchedule` taint to a nod will flip the `Available` condition of KubeVirt to `False`: ``` - lastProbeTime: "2023-08-07T14:15:43Z" lastTransitionTime: "2023-08-07T14:15:43Z" message: Deploying version devel with registry registry:5000/kubevirt reason: DeploymentInProgress status: "False" type: Available ``` This will only resolve back to `True` if the pod gets manually evicted, or if the daemonset gets updated. The background is, that we will see more up-to-date virt-handler pods in ready state than we actually want. Relax the readiness check slightly by counting misscheduled but up-to-date and ready virt-handlers as something which does not trigger a `DeploymentInProgress` state. Signed-off-by: Roman Mohr <rmohr@google.com>
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with /lifecycle stale |
@xpivarc do we still need this backport? Thanks |
@jean-edouard |
/cc @fossedihelm |
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.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jean-edouard The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This is an automated cherry-pick of #10254
/assign xpivarc