homeassistant.yaml
· 519 B · YAML
Исходник
apiVersion: v1
kind: Pod
metadata:
annotations:
labels:
app: homeassistant
name: homeassistant
spec:
containers:
- env:
- name: TZ
value: Etc/UTC
image: ghcr.io/home-assistant/home-assistant:stable
name: app
resources: {}
volumeMounts:
- mountPath: /config
name: hass-data
hostNetwork: true
hostname: homeassistant.home.arpa
restartPolicy: Never
volumes:
- hostPath:
path: /path/to/homeassistant/data
type: Directory
name: hass-data
status: {}
| 1 | apiVersion: v1 |
| 2 | kind: Pod |
| 3 | metadata: |
| 4 | annotations: |
| 5 | labels: |
| 6 | app: homeassistant |
| 7 | name: homeassistant |
| 8 | spec: |
| 9 | containers: |
| 10 | - env: |
| 11 | - name: TZ |
| 12 | value: Etc/UTC |
| 13 | image: ghcr.io/home-assistant/home-assistant:stable |
| 14 | name: app |
| 15 | resources: {} |
| 16 | volumeMounts: |
| 17 | - mountPath: /config |
| 18 | name: hass-data |
| 19 | hostNetwork: true |
| 20 | hostname: homeassistant.home.arpa |
| 21 | restartPolicy: Never |
| 22 | volumes: |
| 23 | - hostPath: |
| 24 | path: /path/to/homeassistant/data |
| 25 | type: Directory |
| 26 | name: hass-data |
| 27 | status: {} |