Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sock-shop.yaml to use less resources #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 24 additions & 32 deletions sock-shop/sock-shop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ spec:
value: -Xms64m -Xmx128m -XX:+UseG1GC -Djava.security.egd=file:/dev/urandom -Dspring.zipkin.enabled=false
resources:
limits:
cpu: 300m
memory: 500Mi
memory: 512Mi
requests:
cpu: 100m
memory: 200Mi
cpu: 30m
memory: 256Mi
ports:
- containerPort: 80
securityContext:
Expand Down Expand Up @@ -158,11 +157,10 @@ spec:
- -port=80
resources:
limits:
cpu: 200m
memory: 200Mi
memory: 80Mi
requests:
cpu: 100m
memory: 100Mi
cpu: 20m
memory: 80Mi
ports:
- containerPort: 80
securityContext:
Expand Down Expand Up @@ -274,11 +272,10 @@ spec:
image: weaveworksdemos/front-end:0.3.12
resources:
limits:
cpu: 300m
memory: 1000Mi
memory: 100Mi
requests:
cpu: 100m
memory: 300Mi
cpu: 10m
memory: 100Mi
ports:
- containerPort: 8079
env:
Expand Down Expand Up @@ -351,11 +348,10 @@ spec:
value: -Xms64m -Xmx128m -XX:+UseG1GC -Djava.security.egd=file:/dev/urandom -Dspring.zipkin.enabled=false
resources:
limits:
cpu: 500m
memory: 500Mi
memory: 512Mi
requests:
cpu: 100m
memory: 300Mi
cpu: 10m
memory: 256Mi
ports:
- containerPort: 80
securityContext:
Expand Down Expand Up @@ -473,11 +469,10 @@ spec:
image: weaveworksdemos/payment:0.4.3
resources:
limits:
cpu: 200m
memory: 200Mi
memory: 80Mi
requests:
cpu: 99m
memory: 100Mi
cpu: 20m
memory: 80Mi
ports:
- containerPort: 80
securityContext:
Expand Down Expand Up @@ -548,11 +543,10 @@ spec:
value: -Xms64m -Xmx128m -XX:+UseG1GC -Djava.security.egd=file:/dev/urandom -Dspring.zipkin.enabled=false
resources:
limits:
cpu: 300m
memory: 500Mi
memory: 512Mi
requests:
cpu: 100m
memory: 300Mi
cpu: 10m
memory: 256Mi
ports:
- containerPort: 80
nodeSelector:
Expand Down Expand Up @@ -725,11 +719,10 @@ spec:
value: -Xms64m -Xmx128m -XX:+UseG1GC -Djava.security.egd=file:/dev/urandom -Dspring.zipkin.enabled=false
resources:
limits:
cpu: 300m
memory: 500Mi
memory: 512Mi
requests:
cpu: 100m
memory: 300Mi
cpu: 10m
memory: 256Mi
ports:
- containerPort: 80
securityContext:
Expand Down Expand Up @@ -791,11 +784,10 @@ spec:
image: weaveworksdemos/user:0.4.7
resources:
limits:
cpu: 300m
memory: 200Mi
memory: 80Mi
requests:
cpu: 100m
memory: 100Mi
cpu: 10m
memory: 80Mi
ports:
- containerPort: 80
env:
Expand Down