SetHeaderRoute not change VirtualService #2776
Unanswered
huoyinghao
asked this question in
Q&A
Replies: 2 comments
-
I also have this problem 👍 |
Beta Was this translation helpful? Give feedback.
0 replies
-
First I want to thank you for the yaml example, it really saves a lot of time. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Discussed in #2776
Originally posted by huoyinghao May 12, 2023
Hi, team
here is my rollout yaml ↓
when i promote it,i think VirtualService should be changed
but the fact doesn t seem like that, afterwards i went to check the relevant code,i found the code to set the header route.
It seems that the controller will check if the rollout generation > 1 then updates vs routing policies, which means if we want the
setHeaderRoute
step work we have to update rollout, either by edit manually or an unwanted promote. (Is there any other ways to increase the generation?)I don't understand why we add the restriction here. Or maybe I using it incorrectly? Any advice is apperaciate.
(the above comes from translation software)
Can you help me solve this problem? Thank you very much.
Beta Was this translation helpful? Give feedback.
All reactions