To expose UDP service via NGINX, you need four things:
- Add port definition to DaemonSet (by default it only exposes
TCP/80
andTCP/443
) - Run your app
- Create a service exposing your app
- Add service definition to ConfigMap
udp-services
in theingress-nginx
namespace.
See https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/exposing-tcp-udp-services.md