forked from knative/serving
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RELEASE-1.11] Backport of Support GRPC probes (#582)
* Support gRPC probe (knative#14134) * 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) * Regenerate OCP release artifacts --------- Co-authored-by: Seongpyo Hong <[email protected]>
- Loading branch information
1 parent
9bd87d6
commit d1ff617
Showing
18 changed files
with
576 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.