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

[RELEASE-1.11] Backport of Support GRPC probes #582

Conversation

ReToCode
Copy link

@ReToCode ReToCode commented Jan 9, 2024

What this PR does / why we need it:

Which issue(s) this PR fixes:

JIRA: https://issues.redhat.com/browse/SRVKS-1185

Does this PR needs for other branches:
No, it is already included in 1.12

Does this PR (patch) needs to update/drop in the future?:
No

/hold testing on OCP

seongpyoHong and others added 2 commits January 9, 2024 14:15
* Add gRPC probe

* Modify unit test

* Modify unit test

* Set default to grpcprobe's service field

* Use knative pkg for ptr operation

* Use config's KubeMajor & KubeMinor instead of k8s native version pkg

* Wrap error in GRPCProbe

* Add comment to explain why use dialer_others.go

* Run update scripts

* Add probe test

* Add test in readiness/probe_test.go

* update deps

* Ignore readinessProbe when it's gRPC

* Fix test to use empemeral port

* Resolve govet lint error

* Use errors.Is to compare

* Also use ephemeral port for handler test

* drop unneccesary else block

(cherry picked from commit d02702e)
@ReToCode
Copy link
Author

ReToCode commented Jan 9, 2024

/unhold

/assign @skonto

@skonto
Copy link

skonto commented Jan 10, 2024

/lgtm
/approve

/hold do we need any e2e test?

Copy link

openshift-ci bot commented Jan 10, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ReToCode, skonto

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

@skonto
Copy link

skonto commented Jan 10, 2024

/unhold we will deal with e2e tests separately.

@ReToCode
Copy link
Author

/unhold

@openshift-merge-bot openshift-merge-bot bot merged commit d1ff617 into openshift-knative:release-v1.11 Jan 10, 2024
10 checks passed
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.

3 participants