Exposing TCP and UDP services with ingress-nginx

Created: — modified: — tags: k8s

is easier than you might think

Official documentation is rather wordy, and suggests you to create a ConfigMap and pass it as an argument to ingress controller. If you ask AI for help - it will rely on documentation and help you create the ConfigMap.

But reality is much simpler: you just need to pass required port mappings as tcp: or udp: parameter in values.yaml, and the chart will do the rest for you!