add kubernetes local host resolution to homeassistant
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user