traefik-udp-cross-namespace

Configure Traefik v3 Helm deployments to expose UDP entrypoints and allow cross-namespace IngressRouteUDP references.

5|Updated Feb 7, 2021
One-click install
npx skills add https://github.com/ViktorBarzin/infra --skill traefik-udp-cross-namespace
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: traefik-udp-cross-namespace
Source: https://github.com/ViktorBarzin/infra/tree/main/.claude/skills/traefik-udp-cross-namespace
Command: npx skills add https://github.com/ViktorBarzin/infra --skill traefik-udp-cross-namespace

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

UDP entrypoints in Traefik v3 sometimes fail to route across namespaces when IngressRouteUDP references services in a different namespace. This skill ensures UDP ports are exposed on the LoadBalancer service and cross-namespace CRD references are allowed so cross-namespace routing works reliably.

Core Features & Use Cases

  • Exposes custom UDP entrypoints on the Traefik LoadBalancer service so that UDP traffic can reach Traefik.
  • Enables cross-namespace IngressRouteUDP and IngressRoute references to services in other namespaces.
  • Use case: you need DNS or other UDP services behind Traefik to be reachable from clients when the service and the Traefik instance reside in different namespaces.

Quick Start

Configure Traefik to expose the UDP port and enable cross-namespace CRD references to allow IngressRouteUDP to route across namespaces.

Frequently Asked Questions about traefik-udp-cross-namespace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why does my Traefik IngressRouteUDP fail to route traffic to a service in a different namespace?

Cross-namespace UDP routing requires exposing custom UDP entrypoints on the Traefik LoadBalancer service and enabling allowCrossNamespace in the kubernetesCRD provider to permit IngressRouteUDP references to external namespace services.

How do I expose a custom UDP port on a Traefik Helm deployment?

To expose a custom UDP port on a Traefik Helm deployment, you must configure the Helm values to publish the specific UDP entrypoint on the Traefik LoadBalancer service so UDP traffic can successfully reach the router.

How do I configure Traefik to allow cross-namespace IngressRoute references?

You configure Traefik to allow cross-namespace IngressRoute references by setting allowCrossNamespace to true in the kubernetesCRD provider configuration within your Traefik Helm deployment values.

Can I route DNS UDP traffic through Traefik to a different namespace?

Yes, you can route DNS or other UDP services through Traefik across namespaces by exposing the UDP entrypoints on the LoadBalancer service and enabling cross-namespace CRD references in the provider configuration.

Do I need to enable allowCrossNamespace in Traefik v3 for IngressRouteUDP scenarios?

Yes, enabling allowCrossNamespace in the Traefik v3 kubernetesCRD provider is required for IngressRouteUDP scenarios where the referenced service resides in a different namespace than the Traefik instance.