Allow HTTP GET to /quitquitquit admin api for k8s compatibility #1946
Labels
priority: p1
Important issue which blocks shipping the next release. Will be fixed prior to next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Feature Description
Kubernetes pod lifecycle handler allows the kubernetes api to make an HTTP GET request to a pod after the pod starts up or shuts down. This could be used to gracefully terminate the proxy when another container on the pod exits.
However, the proxy will only respond to HTTP POST requests to /quitquitquit. K8s lifecycle handler cannot make a POST request.
So in order to use the lifecycle handler, the proxy /quitquitquit endpoint should respond to both GET and POST request.
The text was updated successfully, but these errors were encountered: