Open bitsmaestro opened 1 month ago
/sig app
@bitsmaestro: The label(s) sig/app
cannot be applied, because the repository doesn't have them.
/sig app
@bitsmaestro: The label(s) sig/app
cannot be applied, because the repository doesn't have them.
/sig apps
Like HTTP we can implement similar concept for TCP probes and GRPC Health Checking Protocol also error returned by finalizerProbe we dont delete the pod , success we delete the pod it will be amalgamation of finalizers & probes concept
Enhancement Description
Requirement: while deleting a pod API server is not sure if anything on that pod is running or not. May be pod is still processing response for some rest call and we may loose it.
Enhancement: So suggestion is introduce an finalizerProbe which when curled should return if Pod is ready to die or not. this should only be used when we get some external delete with force option, all other deletion scenarios should not care about finalizerProbe
finalizerProbe should return 500 if not ready to be deleted & 200 when ready to be deleted
Application inside the pod should ensure the logic to return return 500 or 200 as per the business that new request is not accepted once a finalizerProbe is called or metadata.deletionTimestamp is added to the pod.
k/enhancements
) update PR(s):k/k
) update PR(s):k/website
) update PR(s):Please keep this description up to date. This will help the Enhancement Team to track the evolution of the enhancement efficiently.