-
Notifications
You must be signed in to change notification settings - Fork 153
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
Create a PriorityClass for KubeVirt on startup #669
Conversation
Until now, the PriorityClass for KubeVirt was created during reconciliation (after creating the CR for the HCO). This caused the virt-operator to exit with a FailedCreate status, and the CSV to stay in a Failed status. This patch creates the PriorityClass when the HCO starts, allowing the virt-operator to be installed properly and the CSV's status to change to Succeeded. Signed-off-by: Yuval Turgeman <[email protected]>
Hello contributor, thanks for submitting a PR for this project! I am the bot who triggers "standard-CI" builds for this project. In order to allow automated tests to run, please ask one of the project maintainers to review the code and then do one of the following:
|
/test hco-e2e-upgrade-aws |
@tiraboschi: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/override coverage/coveralls |
@tiraboschi: Overrode contexts on behalf of tiraboschi: coverage/coveralls In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/test hco-e2e-upgrade-aws |
@tiraboschi: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: tiraboschi 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 |
/test hco-e2e-upgrade-aws |
@tiraboschi: The specified target(s) for
Use In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
KV Priority Class is needed to start virt-operator but OLM is currently not able to create it so HCO is trying to create it ASAP. With #669 we are trying to create it as soon as HCO starts. But, for the same reason, we should not trying to delete it it when the user deletes HCO CR because virt-operator should continue running even if HCO CR got deleted. In the past we were trying to delete the priority class but we was failing on that just because we forgot to set app label on that and componentResourceRemoval is explictly checking for that before really deleting. Signed-off-by: Simone Tiraboschi <[email protected]>
/cherry-pick release-2.4 |
@tiraboschi: #669 failed to apply on top of branch "release-2.4":
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Until now, the PriorityClass for KubeVirt was created during reconciliation (after creating the CR for the HCO). This caused the virt-operator to exit with a FailedCreate status, and the CSV to stay in a Failed status. This patch creates the PriorityClass when the HCO starts, allowing the virt-operator to be installed properly and the CSV's status to change to Succeeded. Signed-off-by: Yuval Turgeman <[email protected]>
Until now, the PriorityClass for KubeVirt was created during reconciliation (after creating the CR for the HCO). This caused the virt-operator to exit with a FailedCreate status, and the CSV to stay in a Failed status. This patch creates the PriorityClass when the HCO starts, allowing the virt-operator to be installed properly and the CSV's status to change to Succeeded. Signed-off-by: Yuval Turgeman <[email protected]>
Until now, the PriorityClass for KubeVirt was created during
reconciliation (after creating the CR for the HCO). This caused the
virt-operator to exit with a FailedCreate status, and the CSV to stay in
a Failed status.
This patch creates the PriorityClass when the HCO starts, allowing the
virt-operator to be installed properly and the CSV's status to change to
Succeeded.
Signed-off-by: Yuval Turgeman [email protected]
Release note: