WRKLDS-730: use default /healthz path for readiness probe in OCM and RCM#2873
Conversation
|
/retest |
3 similar comments
|
/retest |
|
/retest |
|
/retest |
|
/approve |
|
/retitle WRKLDS-730: use default /healthz path for readiness probe in OCM and RCM |
|
@atiratree: This pull request references WRKLDS-730 which is a valid jira issue. DetailsIn 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. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: atiratree, bryan-cox, csrwng The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/override "Pipelines as Code CI / hypershift-operator-main-on-pull-request" |
|
@csrwng: Overrode contexts on behalf of csrwng: Pipelines as Code CI, Pipelines as Code CI / hypershift-operator-main-on-pull-request DetailsIn 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 e2e-aws |
|
@atiratree: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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. I understand the commands that are listed here. |
What this PR does / why we need it:
openshift-controller-manager deployment uses
/healthzendpoint https://github.com/openshift/cluster-openshift-controller-manager-operator/blob/master/bindata/v3.11.0/openshift-controller-manager/deploy.yaml even though/healhtz/readyis available, there does not seem to be good reason for using it: https://github.com/openshift/openshift-controller-manager/blob/80c4923e0b2014ec8b8a6845c21078e6cc036f91/pkg/cmd/controller/standalone_apiserver.go#L75With a switch to library-go in openshift/route-controller-manager#28 (and k8s.io/apiserver)
/healthz/readyendpoint is no longer available: https://github.com/kubernetes/apiserver/blob/d2172f30e1af3782a7124e21b8cb4676fc789acc/pkg/server/config.go#L412, so we need to update endpoints here accordinglyWhich issue(s) this PR fixes (optional, use
fixes #<issue_number>(, fixes #<issue_number>, ...)format, where issue_number might be a GitHub issue, or a Jira story:Fixes https://issues.redhat.com/browse/WRKLDS-730 and followup to #2674
Checklist