title: Is it possible to configure a pod to prioritize using `hostNetwork` but still reference internal service endpoints?
body: <p>I have a statefulset that I need to run using the host network, purely for performance reasons. But I also want to be able to reference service-name endpoints. Is it possible to do this? <code>ClusterFirstWithHostNet</code> does not work because it doesn't prioritize using the host's network. The <code>dnsConfig</code> <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy" rel="nofollow noreferrer">configuration</a> might be promising, but I don't know how I would configure it to do what I'm asking about.</p>