apiVersion: v1 kind: Service metadata: name: homeassistant namespace: smart-home labels: app.kubernetes.io/name: homeassistant app.kubernetes.io/part-of: smart-home spec: type: ClusterIP ports: - port: 8123 targetPort: 8123 protocol: TCP name: http selector: app: homeassistant