# How to create a fallback reverse proxy on Kubernetes?

**URL:** <https://community.traefik.io/t/how-to-create-a-fallback-reverse-proxy-on-kubernetes/7125>\
**Category:** Traefik v2\
**Tags:** kubernetes-crd\
**Created:** [July 29, 2020, 12:07pm UTC](https://community.traefik.io/t/how-to-create-a-fallback-reverse-proxy-on-kubernetes/7125 "2020-07-29T12:07:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![scorsi](https://avatars.discourse-cdn.com/v4/letter/s/34f0e0/32.png) [@scorsi](https://community.traefik.io/u/scorsi)\
**Post date:** [July 29, 2020, 12:07pm UTC](https://community.traefik.io/t/how-to-create-a-fallback-reverse-proxy-on-kubernetes/7125/1 "2020-07-29T12:07:17Z")

</div>

Hello,

I would like to know how to create a fallback reverse proxy with Traefik on Kubernetes.

I am actually migrating from a old monolithic application to a micro-services architecture, step by step. The idea is to create micro-services one by one and fallback to the old monolithic when the service (the path) doesn't exists.  
More explicitly:

- `/service-a/**` -\> `api.service-a.svc.cluster.local`
- `/service-b/**` -\> `api.service-b.svc.cluster.local`
- `/**` -\> `https://api.somedomain.com/`

So when we will do `/service-c` it will reverse proxy the request to `https://api.somedomain.com/service-c`.

I know how to achieve the both first but not the reverse proxy, I searched on the documentation but I don't figured out how to achieve that in Kubernetes.

I don't want a redirection, I need a transparent proxy like what we can do with Nginx.

Thanks,
