kubernetes request response manipulation

6/6/2019

I need to perform some logic on requests and responses on my application. Basically when response from application on path X is 200 I need to store some value in some distributed cache, and when application response is 200 on path Y I need to remove this value from cache. Also I need to check against this cache if each request contains some another value in header. I created this in reverse proxy in Go and it does required thing. Now I need to deploy that and I’m not sure if sidecar to each application pod is best option. Isn’t it possible to add this on ingress controller level?

-- Mateusz
kubernetes
kubernetes-ingress

0 Answers