apiVersion: v1 kind: Service metadata: name: home-assistant spec: type: LoadBalancer selector: app: home-assistant ports: - port: 8124 targetPort: web ipFamilyPolicy: PreferDualStack ipFamilies: - IPv4 - IPv6