Skip to content

WRKLDS-730: use default /healthz path for readiness probe in OCM and RCM#2873

Merged
openshift-merge-robot merged 1 commit intoopenshift:mainfrom
atiratree:ocm-rcm-readiness
Aug 3, 2023
Merged

WRKLDS-730: use default /healthz path for readiness probe in OCM and RCM#2873
openshift-merge-robot merged 1 commit intoopenshift:mainfrom
atiratree:ocm-rcm-readiness

Conversation

@atiratree
Copy link
Member

@atiratree atiratree commented Aug 2, 2023

What this PR does / why we need it:

openshift-controller-manager deployment uses /healthz endpoint https://github.com/openshift/cluster-openshift-controller-manager-operator/blob/master/bindata/v3.11.0/openshift-controller-manager/deploy.yaml even though /healhtz/ready is 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#L75

With a switch to library-go in openshift/route-controller-manager#28 (and k8s.io/apiserver) /healthz/ready endpoint is no longer available: https://github.com/kubernetes/apiserver/blob/d2172f30e1af3782a7124e21b8cb4676fc789acc/pkg/server/config.go#L412, so we need to update endpoints here accordingly

Which 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

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

@atiratree
Copy link
Member Author

/retest

3 similar comments
@atiratree
Copy link
Member Author

/retest

@atiratree
Copy link
Member Author

/retest

@atiratree
Copy link
Member Author

/retest

@csrwng
Copy link
Contributor

csrwng commented Aug 3, 2023

/approve

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 3, 2023
@bryan-cox
Copy link
Member

bryan-cox commented Aug 3, 2023

/retitle WRKLDS-730: use default /healthz path for readiness probe in OCM and RCM

@openshift-ci openshift-ci bot changed the title use default /healthz path for readiness probe in OCM and RCM WRKLDS-730: use default /healthz path for readiness probe in OCM and RCM Aug 3, 2023
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Aug 3, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Aug 3, 2023

@atiratree: This pull request references WRKLDS-730 which is a valid jira issue.

Details

In response to this:

What this PR does / why we need it:

openshift-controller-manager deployment uses /healthz endpoint https://github.com/openshift/cluster-openshift-controller-manager-operator/blob/master/bindata/v3.11.0/openshift-controller-manager/deploy.yaml even though /healhtz/ready is 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#L75

With a switch to library-go in openshift/route-controller-manager#28 (and k8s.io/apiserver) /healthz/ready endpoint is no longer available: https://github.com/kubernetes/apiserver/blob/d2172f30e1af3782a7124e21b8cb4676fc789acc/pkg/server/config.go#L412, so we need to update endpoints here accordingly

Which 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

  • Subject and description added to both, commit and PR.
  • Relevant issues have been referenced.
  • This change includes docs.
  • This change includes unit tests.

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.

Copy link
Member

@bryan-cox bryan-cox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Aug 3, 2023
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 3, 2023

[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

Details 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

@csrwng
Copy link
Contributor

csrwng commented Aug 3, 2023

/override "Pipelines as Code CI / hypershift-operator-main-on-pull-request"
/override "Pipelines as Code CI"

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 3, 2023

@csrwng: Overrode contexts on behalf of csrwng: Pipelines as Code CI, Pipelines as Code CI / hypershift-operator-main-on-pull-request

Details

In response to this:

/override "Pipelines as Code CI / hypershift-operator-main-on-pull-request"
/override "Pipelines as Code CI"

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.

@openshift-ci-robot
Copy link

/retest-required

Remaining retests: 0 against base HEAD fc42313 and 2 for PR HEAD 49a08a8 in total

@atiratree
Copy link
Member Author

/test e2e-aws

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Aug 3, 2023

@atiratree: all tests passed!

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

@openshift-merge-robot openshift-merge-robot merged commit b6235e4 into openshift:main Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. area/control-plane-operator Indicates the PR includes changes for the control plane operator - in an OCP release jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants