mDNS / Avahi on K8s

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: 1.18
Cloud being used: bare-metal
Installation method: kubeadm
Host OS: ubuntu 18.04
CNI and version: calico

How to get mDNS/Avahi working for pods without exposing it on host network

It doesn’t look like a good idea.

Could you please explain why is it not a good idea.

If you need an autodiscovery tere is already one built in
For mDNS/avahi you need also root privileges and that is one of antipatterns for cloud architecture.

Explain why do you want mdns fok kubernetes.

This is my home cluster, lot of home automation stuff depends on discovery/mDNS.

You should make pods,services,ingresses and then announce ingresses as mdns services