Fixing replica-weighted canary #1771
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@Eslam-mohammed-anwar In this case, you can create one more service that will point to all pods from old replica and new replica. Name it as an example the root-service. This service will be pointing to the all pods and based on a number of pods launched you will get a traffic splitting, managed by root-service instead of the Traefik itself. Upd: |
Beta Was this translation helpful? Give feedback.
-
#516 is required for what you need to achieve. Not sure if the workaround provided by @perenesenko works for you. |
Beta Was this translation helpful? Give feedback.
@Eslam-mohammed-anwar
You're trying to configure the basic-canary without the traffic routing.
In this case, you can create one more service that will point to all pods from old replica and new replica. Name it as an example the root-service. This service will be pointing to the all pods and based on a number of pods launched you will get a traffic splitting, managed by root-service instead of the Traefik itself.
Upd:
you have to specify the root-service in the ingress backend