-
Notifications
You must be signed in to change notification settings - Fork 867
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
traefikservices.traefik.containo.us not found error when using traefik.io/v1alpha1 TraefikService #3615
Comments
Did you try setting these flags
|
@zachaller I am having the same issue. Did setting the flags work for you? and if so how do we set the flags in argo-rollout deployment? |
@evega-ws do you have any progress on this bug because I am having the same error as you described above. |
@smutoni2022 Unfortunately I have not been able to fix this. Given that I am using helm I've set the flags as follows controller:
extraArgs:
- "--traefik-api-group=traefik.io"
- "--traefik-api-version=traefik.io/v1alpha1" I used
The flag seems to be applied correctly, however it is still unable to pick up my
This makes sense as it is trying to
Changing the ClusterRole permissions to add Unsure as to how to proceed, given that we are using traefik > v3.0 we are not in a position to fall back to the deprecated |
@evega-ws I have tried the same arguments in my helm chart as well and I got same error . Is it possible to reopen this issue to get more visibility from others? |
@smutoni2022 I am unable to re-open the issue, perhaps @zachaller could re-open the issue if warranted? It doesn't look like the flags usage works in this case. |
…proj#3615 Signed-off-by: BrunoTarijon <[email protected]>
@zachaller @BrunoTarijon This fix is not working. I tested it by upgrading to the latest argo-rollout helm chart and upgrade traefik api to traefik.io. I still get the same error about the service not being found. Can you explain how we can implement this fix beyond what I did, |
Hey, I don't think that my changes are in the latest release (1.7.1), I build the image from the master branch. Maybe it is in the 1.7.2 release. |
#3759) Signed-off-by: BrunoTarijon <[email protected]>
@BrunoTarijon @zachaller I have tested this again with the latest release of 1.7.2. No luck . It still shows the service not found error mentioned before. I am not sure if there is an extra config I need to make in the chart other than updating the chart version. |
@smutoni2022, I have just installed the argo-rollouts in a new local cluster (1.7.2 release) and add the arg to the deployment
everything seems to work
Maybe if you shared more info I can help you. |
@BrunoTarijon I was missing the arguments. I added the extra ergs in the values file and works fine now. Thank you. |
Checklist:
Describe the bug
Trying to use Traefik 3.0.0 with Argo Rollouts which does not include Traefik 1.X CRD
traefik.containo.us
.Using a
TraefikService
object withapiVersion: traefik.io/v1alpha1
fails with the following errorAdditional logs
To Reproduce
ArgoCD Canary Rollout with
trafficRouting
configured to usetraefik
TraefikService
using the 2.x APItraefik.io/v1alpha1
Canary
Service
objects for Traefik to route toExpected behavior
Argo Rollouts controller is able to look up and reference
TraefikService
resources using the newest API version.Screenshots
Version
v1.6.6
Logs
Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritize the issues with the most 👍.
The text was updated successfully, but these errors were encountered: