1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-04-06 14:36:59 +00:00

Fixed resources for Kubernetes and Dockerfile

This commit is contained in:
2019-12-05 14:57:29 -05:00
parent 661c56d04e
commit b1bd5f5430
2 changed files with 8 additions and 6 deletions

View File

@@ -73,8 +73,8 @@ spec:
cpu: "0.5"
memory: "768Mi"
requests:
memory: "512Mi"
cpu: "0.5"
memory: "300Mi"
cpu: "0.3"
livenessProbe:
httpGet:
path: /
@@ -93,12 +93,12 @@ spec:
kind: Deployment
name: wrestlingdev-app-deployment
minReplicas: 2
maxReplicas: 4
maxReplicas: 5
metrics:
- type: Resource
resource:
name: cpu
targetAverageUtilization: 300
targetAverageUtilization: 75
# - type: Resource
# resource:
# name: memory
@@ -163,6 +163,6 @@ spec:
cpu: "0.5"
memory: "512Mi"
requests:
memory: "512Mi"
memory: "200Mi"
cpu: "0.2"