Hi all,
I have a VPN kubernetes service listening to UDP port 500.
Traefik itself has Entrypoint :500/udp defined (shows up on Dashboard); named udp500.
Traefik 2.4.8 with KubernetesCRD.
My Route looks as follows:
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRouteUDP
metadata:
name: myroute
namespace: apps
spec:
entryPoints:
- udp500
routes:
- services:
- name: myservice
protocol: UDP
port: 500
Here my service:
kind: Service
apiVersion: v1
metadata:
name: myservice
namespace: apps
spec:
selector:
app: myapp
namespace: apps
ports:
- protocol: UDP
port: 500
targetPort: 500
And the application deployment itself:
apiVersion: apps/v1
kind: Deployment
metadata:
name: myapp
namespace: apps
labels:
app: myapp
spec:
selector:
matchLabels:
app: myapp
replicas: 1
template:
metadata:
labels:
app: myapp
name: myapp
spec:
containers:
- name: myapp
image: containerimage
ports:
- name: udp500
protocol: UDP
containerPort: 500
securityContext:
privileged: true
Traefik Dashboard (UDP Routers) tells me:
the udp service "apps-myroute-0@kubernetescrd" does not exist
What is the problem here?
Many Thanks, Wolfram