Lower Resource Requirements
This commit is contained in:
@@ -109,7 +109,7 @@ function main() {
|
|||||||
minikube kubectl -- $@
|
minikube kubectl -- $@
|
||||||
}
|
}
|
||||||
|
|
||||||
minikube start --driver kvm2 --cpus 4 --memory 4Gib
|
minikube start --driver kvm2 --cpus 2 --memory 4Gib
|
||||||
minikube addons enable ingress-dns
|
minikube addons enable ingress-dns
|
||||||
minikube addons enable ingress
|
minikube addons enable ingress
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
cpu: "250m"
|
cpu: "250m"
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "256Mi"
|
||||||
cpu: "500m"
|
cpu: "250m"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8070
|
- containerPort: 8070
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
|||||||
@@ -21,11 +21,11 @@ spec:
|
|||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "75m"
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "75m"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 5000
|
- containerPort: 5000
|
||||||
env:
|
env:
|
||||||
|
|||||||
@@ -20,11 +20,11 @@ spec:
|
|||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "75m"
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "75m"
|
||||||
env:
|
env:
|
||||||
- name: ALLOWED_ORIGINS
|
- name: ALLOWED_ORIGINS
|
||||||
valueFrom:
|
valueFrom:
|
||||||
|
|||||||
@@ -19,11 +19,11 @@ spec:
|
|||||||
imagePullPolicy: "Always"
|
imagePullPolicy: "Always"
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "100m"
|
||||||
limits:
|
limits:
|
||||||
memory: "256Mi"
|
memory: "128Mi"
|
||||||
cpu: "250m"
|
cpu: "100m"
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8000
|
- containerPort: 8000
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
|
|||||||
Reference in New Issue
Block a user