resource requests for all, but hassio ist der hass

This commit is contained in:
2020-10-15 20:22:34 +02:00
parent 602855c69c
commit ce9343296d
5 changed files with 116 additions and 5 deletions

View File

@@ -37,12 +37,9 @@ spec:
- containerPort: 1883
name: mqtt
protocol: TCP
#- containerPort: 9090
# name: websocket
# protocol: TCP
readinessProbe:
failureThreshold: 3
initialDelaySeconds: 3
initialDelaySeconds: 5
periodSeconds: 3
successThreshold: 1
tcpSocket:
@@ -72,6 +69,13 @@ spec:
- containerPort: 9234
name: mqtt-exporter
protocol: TCP
resources:
requests:
memory: "20Mi"
cpu: "100m"
limits:
memory: "64Mi"
cpu: "200m"
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler