apache / apisix

The Cloud-Native API Gateway
https://apisix.apache.org/blog/
Apache License 2.0
14.3k stars 2.49k forks source link

help request: apisix uses ingress for configuration. If I want to configure routing using the traffic plugin, how can I avoid having route information be synchronously overwritten by ingress information? #11546

Open zydxxxxx opened 1 week ago

zydxxxxx commented 1 week ago

Description

Hello, I am currently researching the use of apisix's traffic-split plugin for grayscale release. However, our company uses ingress to configure apisix's routing data.

How can I safely do this so that the ingress configuration does not overwrite the routing data of the traffic-split plugin?

Environment

kayx23 commented 1 week ago

... ingress configuration does not overwrite the routing data of the traffic-split plugin

What do you mean by overwriting the routing data of the traffic-split plugin? Can you provide a scenario (that you don't want)?

zydxxxxx commented 1 week ago

... ingress configuration does not overwrite the routing data of the traffic-split plugin

What do you mean by overwriting the routing data of the traffic-split plugin? Can you provide a scenario (that you don't want)?

As you can see this is my ingress configuration。

ingress配置

Here are my routes and upstream ingress-route ingress-upstream I modified my route to look like 1 below, but the route eventually changed back to 2 Figure 1route修改配置 Figure 2ingress-route