<p>I am using jmdns to broadcast a service over mdns which is then running as a docker image inside a kubernetes pod. The pod yaml looks something like this:</p>

<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: mdns-broadcaster
spec:
  hostNetwork: true
  containers:
    - name: mdns-broadcasting-pod
      image: ...
</code></pre>

<p>The application will start up and broadcast some service type <code>_example._tcp</code>. However, running avahi-browse from the single node hosting this pod, I cannot see such a service being broadcast.</p>

<p>Any help would be appreciated, thanks</p>

<p>In case anybody cares, I resolved this by moving from mDNS for the kubernetes implementation to avahi. This allows you to then share the dbus directory on the host file system with the pod in order to perform mDNS announcements.</p>
