forked from roger/k3s-cluster
add kubernetes local host resolution to homeassistant
This commit is contained in:
@@ -120,6 +120,11 @@ spec:
|
||||
values:
|
||||
- raspberrypi
|
||||
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:
|
||||
- name: config
|
||||
persistentVolumeClaim:
|
||||
|
||||
Reference in New Issue
Block a user