add kubernetes local host resolution to homeassistant

This commit is contained in:
Roger Oriol
2026-07-29 00:29:20 +02:00
parent 90a04b96a3
commit fba742b34f

View File

@@ -120,6 +120,11 @@ spec:
values: values:
- raspberrypi - raspberrypi
hostNetwork: true hostNetwork: true
# Required for hostNetwork pods to resolve cluster DNS
# (*.svc.cluster.local) via kube-dns instead of the host's resolver.
# Without this, resolv.conf points at the host (1.1.1.1) and in-cluster
# services like wyoming-whisper.llamacpp.svc.cluster.local won't resolve.
dnsPolicy: ClusterFirstWithHostNet
volumes: volumes:
- name: config - name: config
persistentVolumeClaim: persistentVolumeClaim: