home assistant manual deployment

This commit is contained in:
2023-11-29 10:32:22 +01:00
parent d67f84813c
commit 0826a942d3
6 changed files with 59 additions and 10 deletions

View File

@@ -0,0 +1,37 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: homeassistant
spec:
replicas: 1
selector:
matchLabels:
app: homeassistant
template:
metadata:
labels:
app: homeassistant
spec:
containers:
- name: homeassistant
image: homeassistant/home-assistant:2023.11
ports:
- containerPort: 8123
env:
- name: TZ
value: Europe/Berlin
volumeMounts:
- name: config
mountPath: /config
resources:
requests:
cpu: "100m"
memory: "200Mi"
limits:
cpu: "2"
memory: "1Gi"
volumes:
- name: config
persistentVolumeClaim:
claimName: homeassistant-nfs