kubernetes ingress with multiple target-rewrite

前端 未结 2 1966
野性不改
野性不改 2021-01-04 23:35

Usually ingress rewrite target works as follows:

nginx.ingress.kubernetes.io/rewrite-target: /

This will rewrite the target of your service

2条回答
  •  自闭症患者
    2021-01-05 00:31

    Another solution is create two ingress yaml files

    Each one using different annotations. It works!

提交回复
热议问题