Skip to content
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

🐛 Skip health check for deployments whose replicas is 0 #279

Conversation

zhujian7
Copy link
Member

@zhujian7 zhujian7 commented Jul 3, 2024

Summary

In some cases, we want to deploy a deployment resource whose replicas is 0 to the managed cluster, if we set the health probe type to "WorkloadAvailability", the addon can not become available since there is no probed result for 0 replicas deployments. In this situation, we want to make the health probe check pass for the addon.

Related issue(s)

Fixes #

@openshift-ci openshift-ci bot requested review from deads2k and elgnay July 3, 2024 08:37
@openshift-ci openshift-ci bot added the approved label Jul 3, 2024

Verified

This commit was signed with the committer’s verified signature.
mscdex mscdex
Signed-off-by: zhujian <jiazhu@redhat.com>
@zhujian7 zhujian7 force-pushed the health-probe-replica branch from 83f320a to 6bd739a Compare July 3, 2024 08:43
@zhujian7
Copy link
Member Author

zhujian7 commented Jul 3, 2024

/hold

@zhujian7
Copy link
Member Author

zhujian7 commented Jul 3, 2024

/hold cancel
/cc @qiujian16

@openshift-ci openshift-ci bot requested a review from qiujian16 July 3, 2024 08:59
@zhujian7
Copy link
Member Author

zhujian7 commented Jul 3, 2024

/cherrypick release-0.10

@openshift-cherrypick-robot
Copy link
Contributor

@zhujian7: once the present PR merges, I will cherry-pick it on top of release-0.10 in a new PR and assign it to you.

In response to this:

/cherrypick release-0.10

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-sigs/prow repository.

@qiujian16
Copy link
Member

/approve
/lgtm

Copy link
Contributor

openshift-ci bot commented Jul 3, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: qiujian16, zhujian7

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit ba7fd00 into open-cluster-management-io:main Jul 3, 2024
13 checks passed
@openshift-cherrypick-robot
Copy link
Contributor

@zhujian7: new pull request created: #280

In response to this:

/cherrypick release-0.10

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-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants