A
A
a000_000a2018-08-21 16:24:50
Kubernetes
a000_000a, 2018-08-21 16:24:50

How to write rewrite in Kubernetes?

You need to rewrite:
1. a-service/a -> a-service/a
2. b-service/b -> b-service/b
how to describe it correctly in Ingress?
So it does not work, how to do the redirect correctly?

{
              "path": "a-service/a", 
              "backend": {
                "serviceName": "a-service/a",
                "servicePort": 80
              }
            },
            {
              "path": "b-service/b", 
              "backend": {
                "serviceName": "b-service/b",
                "servicePort": 80
              }
            },

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question