traefik / mesh

Traefik Mesh - Simpler Service Mesh
https://traefik.io/traefik-mesh
Apache License 2.0
2.03k stars 141 forks source link

unable to sync shadow service of service name bigger then 63 char #817

Closed korenlev closed 2 years ago

korenlev commented 2 years ago

Welcome!

What did you do?

invalid: metadata.name: Invalid value: \"traefik-pushprox-kube-controller-manager-proxy-6d61657368-monitoring\": must be no more than 63 characters"

What did you see instead?

no workaround

What version of Traefik are you using?

2.5

What is your environment & configuration?

# (paste your configuration here)

Add more configuration information here.

If applicable, please paste the log output in DEBUG level

k8s

rtribotte commented 2 years ago

Hello @korenlev,

Thanks for your interest in Traefik!

It seems that the issue is related to https://github.com/traefik/mesh and the naming of shadow services.

If you encountered the issue by using Mesh, this issue belongs to the Mesh repository and we can migrate the issue on it.

Otherwise, if you are using Mesh as a feature of Traefik Enterprise Edition, could you please contact the support?

korenlev commented 2 years ago

Migrate issue to mesh

בתאריך יום ד׳, 2 במרץ 2022, 11:07, מאת Romain @.***>:

Hello @korenlev https://github.com/korenlev,

Thanks for your interest in Traefik!

It seems that the issue is related to https://github.com/traefik/mesh and the naming of shadow services.

If you encountered the issue by using Mesh, this issue belongs to the Mesh repository and we can migrate the issue on it.

Otherwise, if you are using Mesh as a feature of Traefik Enterprise Edition, could you please contact the support?

— Reply to this email directly, view it on GitHub <traefik/mesh#817>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADHJICXV4642TDVDMXAEY5TU54VUFANCNFSM5PVP2HRQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: @.***>

kevinpollet commented 2 years ago

Hello @korenlev and thanks for your interest in Traefik mesh,

The issue you are facing is a duplicate of #746 which has been addressed by #772. As this is a breaking change the fix is only available on master. In the meantime, you may want to use the ignoreNamespaces or watchNamespaces configuration options to exclude namespaces containing services which should not be meshed.

According to this, we will close this issue as a duplicate.