This commit is contained in:
2020-11-09 19:33:15 +01:00
parent 5efad7226b
commit e8c1fa3cef

View File

@@ -18,25 +18,28 @@ spec:
release: latest
spec:
containers:
- name: hassio
image: "homeassistant/home-assistant:latest"
imagePullPolicy: Always
volumeMounts:
- name: hassio-storage
mountPath: /.storage
ports:
- name: http
containerPort: 8123
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
readinessProbe:
httpGet:
path: /
port: http
- name: hassio
image: "homeassistant/home-assistant:latest"
imagePullPolicy: Always
env:
- name: TZ
value: Europe/Berlin
volumeMounts:
- name: hassio-storage
mountPath: /config
ports:
- name: http
containerPort: 8123
protocol: TCP
livenessProbe:
httpGet:
path: /
port: http
# resources:
readinessProbe:
httpGet:
path: /
port: http
# requests:
# memory: "256Mi"
# cpu: "250m"
@@ -71,23 +74,23 @@ metadata:
release: latest
spec:
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
- port: 80
targetPort: http
protocol: TCP
name: http
selector:
app: hassio
release: latest
app: hassio
release: latest
---
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: hassio
name: hassio
spec:
rules:
- host: hassio.lan
http:
paths:
- backend:
serviceName: hassio
servicePort: http
rules:
- host: hassio.lan
http:
paths:
- backend:
serviceName: hassio
servicePort: http