diff --git a/evaluation/kubernetes/apps/prose-system/prose/app/presidio-deployment.yaml b/evaluation/kubernetes/apps/prose-system/prose/app/presidio-deployment.yaml index 1d653bc8..28d21c3e 100644 --- a/evaluation/kubernetes/apps/prose-system/prose/app/presidio-deployment.yaml +++ b/evaluation/kubernetes/apps/prose-system/prose/app/presidio-deployment.yaml @@ -15,9 +15,11 @@ spec: - name: presidio image: ghcr.io/dettanym/prose-presidio:main resources: + requests: + cpu: 10m + memory: 500Mi limits: - memory: "1Gi" - cpu: "500m" + memory: 3Gi ports: - name: http containerPort: 3000 diff --git a/evaluation/kubernetes/apps/prose-system/prose/app/prose-deployment.yaml b/evaluation/kubernetes/apps/prose-system/prose/app/prose-deployment.yaml index 4087eb66..61c3062d 100644 --- a/evaluation/kubernetes/apps/prose-system/prose/app/prose-deployment.yaml +++ b/evaluation/kubernetes/apps/prose-system/prose/app/prose-deployment.yaml @@ -33,9 +33,11 @@ spec: path: /health port: http resources: + requests: + cpu: 10m + memory: 500Mi limits: - memory: 1Gi - cpu: "500m" + memory: 3Gi volumes: - name: compiled-bundle emptyDir: diff --git a/evaluation/kubernetes/apps/samples/bookinfo/_template/kustomization.yaml b/evaluation/kubernetes/apps/samples/bookinfo/_template/kustomization.yaml index 1d5f5e3d..68bdccc5 100644 --- a/evaluation/kubernetes/apps/samples/bookinfo/_template/kustomization.yaml +++ b/evaluation/kubernetes/apps/samples/bookinfo/_template/kustomization.yaml @@ -5,3 +5,107 @@ resources: - https://raw.githubusercontent.com/istio/istio/1.20.3/samples/bookinfo/platform/kube/bookinfo.yaml - ./ingress.yaml # - https://raw.githubusercontent.com/istio/istio/1.20.3/samples/bookinfo/networking/bookinfo-gateway.yaml + +patches: + - patch: |- + apiVersion: apps/v1 + kind: Deployment + metadata: + name: details-v1 + spec: + template: + spec: + containers: + - name: details + resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: "1" + memory: 2Gi + - patch: |- + apiVersion: apps/v1 + kind: Deployment + metadata: + name: ratings-v1 + spec: + template: + spec: + containers: + - name: ratings + resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: "1" + memory: 2Gi + - patch: |- + apiVersion: apps/v1 + kind: Deployment + metadata: + name: reviews-v1 + spec: + template: + spec: + containers: + - name: reviews + resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: "1" + memory: 2Gi + - patch: |- + apiVersion: apps/v1 + kind: Deployment + metadata: + name: reviews-v2 + spec: + template: + spec: + containers: + - name: reviews + resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: "1" + memory: 2Gi + - patch: |- + apiVersion: apps/v1 + kind: Deployment + metadata: + name: reviews-v3 + spec: + template: + spec: + containers: + - name: reviews + resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: "1" + memory: 2Gi + - patch: |- + apiVersion: apps/v1 + kind: Deployment + metadata: + name: productpage-v1 + spec: + template: + spec: + containers: + - name: productpage + resources: + requests: + cpu: 100m + memory: 100Mi + limits: + cpu: "1" + memory: 2Gi