Open swarnadeepsaha opened 2 years ago
@gajus Able to fix this with little adjustment. Since I don't have access to this repository the changes can not be pushed. Hence created a fork out of it.
Can this fix be included?
What's the use case for this?
@gajus
We also need this feature because we're deploying two services under the same ingress. The AWS Load Balancer Controller does not currently support path rewrite, so we need to route the traffic through Ingress. If we cannot modify the endpoints, we will have 2 deployments that are listening on /health
/ /live
/ /ready
, and we cannot expose both of them simultaneously on the same domain. If we had this feature, we could make one service listen to /service1/...
and the other to /service2/...
, then expose those via Ingress to the public.
It is possible to configure liveness/ readiness endpoints?
eg.
/live
to{domain}/liveness