resource requests for all, but hassio ist der hass
This commit is contained in:
@@ -21,6 +21,9 @@ spec:
|
|||||||
- name: hassio
|
- name: hassio
|
||||||
image: "homeassistant/home-assistant:latest"
|
image: "homeassistant/home-assistant:latest"
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
|
volumeMounts:
|
||||||
|
- name: hassio-storage
|
||||||
|
mountPath: /.storage
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8123
|
containerPort: 8123
|
||||||
@@ -40,6 +43,24 @@ spec:
|
|||||||
# limits:
|
# limits:
|
||||||
# memory: "1000Mi"
|
# memory: "1000Mi"
|
||||||
# cpu: "500m"
|
# cpu: "500m"
|
||||||
|
volumes:
|
||||||
|
- name: hassio-storage
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: hassio-storage
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: hassio-storage
|
||||||
|
labels:
|
||||||
|
app: hassio
|
||||||
|
spec:
|
||||||
|
storageClassName: nfs-ssd
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 20Mi
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
Reference in New Issue
Block a user