1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Took away cpu limits due to recommendations in the industry and moved from the beta to v1 ingress apis in K8s

This commit is contained in:
2022-04-28 00:54:03 +00:00
parent 85701e194a
commit add48b95c3
5 changed files with 7 additions and 11 deletions

View File

@@ -48,7 +48,6 @@ spec:
mountPath: /var/lib/influxdb
resources:
limits:
cpu: "0.7"
memory: "512Mi"
requests:
memory: "128Mi"

View File

@@ -1,4 +1,4 @@
apiVersion: extensions/v1beta1
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: wrestlingdev-app-ingress-external
@@ -11,9 +11,12 @@ spec:
http:
paths:
- path: /
pathType: Prefix
backend:
serviceName: wrestlingdev-app
servicePort: 80
service:
name: wrestlingdev-app
port:
number: 80
tls:
- hosts:
- wrestlingdev.com

View File

@@ -64,7 +64,6 @@ spec:
mountPath: /var/lib/mysql
resources:
limits:
cpu: "0.5"
memory: "512Mi"
requests:
memory: "256Mi"
@@ -128,7 +127,6 @@ spec:
mountPath: /var/lib/mysql
resources:
limits:
cpu: "0.2"
memory: "100Mi"
requests:
memory: "50Mi"
@@ -162,7 +160,6 @@ spec:
value: "7"
resources:
limits:
cpu: "100m"
memory: "128Mi"
requests:
memory: "32Mi"

View File

@@ -36,7 +36,6 @@ spec:
- containerPort: 11211
resources:
limits:
cpu: "0.2"
memory: "64Mi"
requests:
memory: "64Mi"

View File

@@ -100,7 +100,6 @@ spec:
key: influxdb_port
resources:
limits:
cpu: "0.5"
memory: "768Mi"
requests:
memory: "300Mi"
@@ -119,7 +118,7 @@ metadata:
name: wrestlingdev-app-deployment-autoscale
spec:
scaleTargetRef:
apiVersion: extensions/v1beta1
apiVersion: apps/v1
kind: Deployment
name: wrestlingdev-app-deployment
minReplicas: 2
@@ -223,7 +222,6 @@ spec:
args: ["exec", "bin/delayed_job", "-n", "1", "run"]
resources:
limits:
cpu: "0.5"
memory: "512Mi"
requests:
memory: "200Mi"