enhancements icon indicating copy to clipboard operation
enhancements copied to clipboard

Add gRPC probe to Pod.Spec.Container.{Liveness,Readiness,Startup}Probe

Open bowei opened this issue 4 years ago • 48 comments

Enhancement Description

Add gRPC probe to Pod.Spec.Container.{Liveness,Readiness,Startup}Probe

  • Kubernetes Enhancement Proposal:
    • PR: https://github.com/kubernetes/enhancements/pull/2728
    • Original PR: https://github.com/kubernetes/enhancements/pull/1667
  • Discussion Link: kubernetes/kubernetes#89797
  • Primary contact (assignee): bowei@ (PxyUp@ was original author)
  • Responsible SIGs:
    • SIG-NETWORK
    • SIG-NODE
  • Enhancement target (which target equals to which milestone):
    • Alpha release target (x.y): 1.22 (target)
    • Beta release target (x.y): 1.23 (TBD)
    • Stable release target (x.y): TBD
  • [ ] Alpha
    • [ ] KEP (k/enhancements) update PR(s):
    • [ ] Code (k/k) update PR(s):
    • [ ] Docs (k/website) update PR(s):

bowei avatar May 12 '21 17:05 bowei

/sig network

bowei avatar May 12 '21 17:05 bowei

/assign

bowei avatar May 12 '21 17:05 bowei

@PxyUp

bowei avatar May 12 '21 17:05 bowei

/sig node

bowei avatar May 12 '21 17:05 bowei

for the quick reference of the reviewer, currently supported solutions:

  • https://github.com/grpc-ecosystem/grpc-health-probe/
  • https://kubernetes.io/blog/2018/10/01/health-checking-grpc-servers-on-kubernetes/

This solution is in high demand:

  • https://github.com/search?q=grpc_health_probe+extension%3Ayaml

SergeyKanzhelev avatar May 12 '21 23:05 SergeyKanzhelev

@bowei can you start filing an exception request if you want this in 1.22? It seems very unlikely this feature will make the deadline of tomorrow given that it has not been opted in to the release, is missing PRR, etc.

ehashman avatar May 13 '21 00:05 ehashman

/milestone v1.22 /stage alpha

JamesLaverack avatar May 13 '21 16:05 JamesLaverack

Hi @bowei, 1.22 Enhancements Lead here. We're not removing this from 1.22, but can you address John's comment about updating your kep.yaml metadata to match your KEP README?

JamesLaverack avatar May 14 '21 08:05 JamesLaverack

/cc

yuzhiquan avatar May 14 '21 08:05 yuzhiquan

Got it, updating.

bowei avatar May 14 '21 15:05 bowei

@ehashman do we need an exception request?

bowei avatar May 14 '21 17:05 bowei

@ehashman do we need an exception request?

It is in the tracking document: https://docs.google.com/spreadsheets/d/1mlui0brYypOAsgS2D13fvcs3At1uMq4i1gWfneq-jxY/edit#gid=1954476102 and was merged in time. Also @ehashman counted it in the Slack message =).

We generally not encouraging last minute KEPs so we have a proper planning and be respectful for reviewers time. I think this one is not controversial and it is great that it got merged in time.

SergeyKanzhelev avatar May 14 '21 20:05 SergeyKanzhelev

@bowei thanks for leading that, sadly i haven't time to finish my proposal. I did MR for prober long time ago may be commits will be also useful:

https://github.com/kubernetes/kubernetes/pull/89832

If you need it, i will rebase and update MR

PxyUp avatar May 14 '21 23:05 PxyUp

@bowei do you working on this now?

If not, i would like to take this from here, and base on @PxyUp work https://github.com/kubernetes/kubernetes/pull/89832.

yuzhiquan avatar May 18 '21 02:05 yuzhiquan

I can review if you are willing to commit to getting this into 1.22

bowei avatar May 18 '21 05:05 bowei

I can review if you are willing to commit to getting this into 1.22

Sure, we will keep in touch for this feature.

yuzhiquan avatar May 18 '21 06:05 yuzhiquan

Hello @bowei 👋, 1.22 Docs release lead here. This enhancement is marked as ‘Needs Docs’ for 1.22 release.

Please follow the steps detailed in the documentation to open a PR against dev-1.22 branch in the k/website repo. This PR can be just a placeholder at this time and must be created before Fri July 9, 11:59 PM PDT.
 Also, take a look at Documenting for a release to familiarize yourself with the docs requirement for the release. 
Thank you!

p.s.: please don't forget to add GRPCContainerProbe to the feature gates table to reflect this change.

PI-Victor avatar May 18 '21 11:05 PI-Victor

Docs draft: https://github.com/kubernetes/website/pull/28105

bowei avatar May 25 '21 05:05 bowei

Greetings @bowei , Enhancement shadow checking with a reminder that we are 2 weeks away from code freeze (July 8, 2021). Can you link which k/k PR/s are needed to implement this enhancement for the 1.22 milestone?

Thanks!

jrsapi avatar Jun 24 '21 18:06 jrsapi

Greetings @bowei, A reminder that the code freeze is this Thursday, July 8th and all PR's must be code complete and merged. Can you link the k/k PR's for this KEP? The KEP status is marked "At Risk" for the 1.22 milestone.

Also, the Docs PR deadline is this Friday, July 9th. kubernetes/website/28105 is in place.

Thanks!

jrsapi avatar Jul 06 '21 06:07 jrsapi

Greetings @bowei, Sending a reminder that we have just one more day to get all open PRs merged before the code freeze deadline tomorrow on Thursday, July 8th, at 18:00 Pacific Time.

Thanks!

jrsapi avatar Jul 08 '21 03:07 jrsapi

Hi, v1.22 Enhancements Lead here. Unfortunately this enhancement has not met the requirements for code freeze as https://github.com/kubernetes/kubernetes/pull/102162 is unmerged and unapproved.

If you still wish to progress this enhancement in v1.22, then please file an exception request.

/milestone clear

JamesLaverack avatar Jul 09 '21 02:07 JamesLaverack

Hi, v1.22 Enhancements Lead here. Unfortunately this enhancement has not met the requirements for code freeze as kubernetes/kubernetes#102162 is unmerged and unapproved.

If you still wish to progress this enhancement in v1.22, then please file an exception request.

/milestone clear

Ok, i will send an exception request.

yuzhiquan avatar Jul 09 '21 04:07 yuzhiquan

Hi, v1.22 Enhancements Lead here. Unfortunately this enhancement has not met the requirements for code freeze as kubernetes/kubernetes#102162 is unmerged and unapproved.

If you still wish to progress this enhancement in v1.22, then please file an exception request.

/milestone clear

Exception request was send, and https://github.com/kubernetes/kubernetes/pull/102162 is close to be merge. @JamesLaverack /cc @bowei @SergeyKanzhelev @PxyUp

yuzhiquan avatar Jul 09 '21 06:07 yuzhiquan

We are aim to v1.23 now.

yuzhiquan avatar Aug 04 '21 02:08 yuzhiquan

Marking this for v1.23 and hope this request wouldn't miss the release again. The KEP was merged and the implementation is under reviewing.

dchen1107 avatar Sep 02 '21 16:09 dchen1107

Hi @bowei! 1.23 Enhancements team here. Just checking in as we approach enhancements freeze at 11:59pm PST on Thursday 09/09. Here's where this enhancement currently stands:

  • [ ] Updated KEP file using the latest template has been merged into the k/enhancements repo.
  • [X] ~~KEP status is marked as implementable~~
  • [X] ~~KEP has a test plan section filled out.~~
  • [X] ~~KEP has up to date graduation criteria.~~
  • [X] ~~KEP has a production readiness review that has been completed and merged into k/enhancements.~~

For this one, it looks like we just need the kep.yaml file updated to reference the correct latest milestone, then we're good to go.

Thanks!

salaxander avatar Sep 07 '21 22:09 salaxander

Hi @bowei, 1.23 Enhancements Shadow here 👋🏽 This issue is currently marked as atRisk. I am following up on this one as we are approaching the enhancements freeze deadline at 23:59:59 PDT on Thursday, September 9th.

For this issue to be included in the 1.23 milestone, please update your kep.yaml to reflect the latest milestone.

Enhancements missing this deadline will require an exception

Thank you!

supriya-premkumar avatar Sep 09 '21 02:09 supriya-premkumar

Thank you @SergeyKanzhelev! This enhancement is all set for the freeze deadline 🎉 Updating the tracking sheet as well.

supriya-premkumar avatar Sep 10 '21 03:09 supriya-premkumar

Hi @bowei @SergeyKanzhelev :wave: 1.23 Docs lead here.

This enhancement is marked as 'Needs Docs' for the 1.23 release.

Please follow the steps detailed in the documentation to open a PR against the dev-1.23 branch in the k/website repo. This PR can be just a placeholder at this time and must be created before Thu November 18, 11:59 PM PDT.

Also, if needed take a look at Documenting for a release to familiarize yourself with the docs requirement for the release.

Thanks!

jlbutler avatar Sep 17 '21 18:09 jlbutler