-
Notifications
You must be signed in to change notification settings - Fork 245
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
Replace gRPC health probe utility with k8s built-in health probe #1046
Replace gRPC health probe utility with k8s built-in health probe #1046
Conversation
✅ Deploy Preview for kubernetes-sigs-nfd ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We do register the native gRPC protocol for health checks see:
/lgtm
LGTM label has been added. Git tree hash: a713eb00f5b94fdeabaaef133c0f8c2c2b787501
|
/assign @marquiz |
Thanks @fmuyassarov for the patch. I think we're in no hurry with this one. There are probably many pre v1.23 clusters out there and I think e.g. AWS EKS still officially supports v1.22 for some time /hold |
Yep good point. Let's keep it here for some time. |
What? isn't everyone running latest:nightly in prod? what a world we live in..... |
/retest |
/test |
@fmuyassarov: The
Use
In 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 all |
fmuyassarov let's fix the merge conflict and I'll review again |
bdaa725
to
c71f26c
Compare
@ArangoGutierrez sorry for late response on this, rebase is done, but perhaps we can wait a bit more to not breaking possible users of k8s version below v1.23? |
@marquiz @fmuyassarov should we mark this as milestone for v0.15? |
v0.15 might be, K8s v1.22 was EOL'd last autumn |
yes, 0.15 sounds good to me. |
@fmuyassarov: You must be a member of the kubernetes-sigs/node-feature-discovery-maintainers GitHub team to set the milestone. If you believe you should be able to issue the /milestone command, please contact your Node Feature Discovery Maintainers and have them propose you as an additional delegate for this responsibility. In 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. |
/milestone v0.15 |
Let's make this part of #1187 |
What do you mean? They're not related |
If we are moving away from GRPC into the API (IOW Kubernetes native objects), moving forward with this makes also more sense. |
But this still leverages gRPC. Just uses the K8s internal support for gRPC probes instead of an external tool |
Agree, I was thinking just on the Kubernetes native part, and forgot the implementation |
PR needs rebase. 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. |
@fmuyassarov @ArangoGutierrez I think we could merge this one. K8s v1.22 was EOL'd nearly a year ago and at least all the bigger CSPs (like GKE, EKS, AKS) have officially stopped supporting it, also OpenShift 4. |
Needs rebase ;P |
Kubernetes 1.23 has introduced native health probes for gRPC which can replace grpc_health_probe utility. This commit removes baking in grpc_health_probe binary into the image and updates related health checks to use k8s native gRPC. Signed-off-by: Muyassarov, Feruzjon <feruzjon.muyassarov@intel.com>
c71f26c
to
06036a6
Compare
Sounds good. Just rebased. |
/hold cancel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
LGTM label has been added. Git tree hash: e8d4ef68ca0c62969da35dec89b865018602b614
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ArangoGutierrez, fmuyassarov 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 |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1046 +/- ##
=======================================
Coverage 30.02% 30.02%
=======================================
Files 56 56
Lines 7457 7457
=======================================
Hits 2239 2239
Misses 4974 4974
Partials 244 244 |
Kubernetes 1.23 has introduced native health probes for gRPC which can replace
grpc_health_probe
utility. This commit removes baking ingrpc_health_probe
binary into the image and updates related health checks to use k8s native gRPC.