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