From 3c5a4d72030368a8b3dbe5e23d949ad1e107acf0 Mon Sep 17 00:00:00 2001 From: gifrerenom <lluis.gifre@cttc.es> Date: Fri, 4 Nov 2022 17:00:28 +0000 Subject: [PATCH] Common: - updated component manifests to reduce CPU and Memory requests and limits --- manifests/contextservice.yaml | 14 +++++++------- manifests/deviceservice.yaml | 8 ++++---- manifests/dltservice.yaml | 8 ++++---- manifests/interdomainservice.yaml | 8 ++++---- manifests/mock_blockchain.yaml | 2 +- manifests/pathcompservice.yaml | 12 ++++++------ manifests/serviceservice.yaml | 8 ++++---- manifests/sliceservice.yaml | 8 ++++---- 8 files changed, 34 insertions(+), 34 deletions(-) diff --git a/manifests/contextservice.yaml b/manifests/contextservice.yaml index 41a55e468..5c07971a3 100644 --- a/manifests/contextservice.yaml +++ b/manifests/contextservice.yaml @@ -34,10 +34,10 @@ spec: - containerPort: 6379 resources: requests: - cpu: 200m - memory: 512Mi + cpu: 100m + memory: 128Mi limits: - cpu: 700m + cpu: 500m memory: 1024Mi - name: server image: registry.gitlab.com/teraflow-h2020/controller/context:latest @@ -64,11 +64,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:1010"] resources: requests: - cpu: 200m - memory: 512Mi + cpu: 50m + memory: 64Mi limits: - cpu: 700m - memory: 1024Mi + cpu: 500m + memory: 512Mi --- apiVersion: v1 kind: Service diff --git a/manifests/deviceservice.yaml b/manifests/deviceservice.yaml index 2c450c619..f2fab6597 100644 --- a/manifests/deviceservice.yaml +++ b/manifests/deviceservice.yaml @@ -43,11 +43,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:2020"] resources: requests: - cpu: 200m - memory: 512Mi + cpu: 50m + memory: 64Mi limits: - cpu: 700m - memory: 1024Mi + cpu: 500m + memory: 512Mi --- apiVersion: v1 kind: Service diff --git a/manifests/dltservice.yaml b/manifests/dltservice.yaml index ad0a981c8..2062d8577 100644 --- a/manifests/dltservice.yaml +++ b/manifests/dltservice.yaml @@ -48,11 +48,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:8080"] resources: requests: - cpu: 200m - memory: 512Mi + cpu: 50m + memory: 64Mi limits: - cpu: 700m - memory: 1024Mi + cpu: 500m + memory: 512Mi # - name: gateway # image: registry.gitlab.com/teraflow-h2020/controller/dlt-gateway:latest # imagePullPolicy: Always diff --git a/manifests/interdomainservice.yaml b/manifests/interdomainservice.yaml index 8073ff76f..b4ac956f2 100644 --- a/manifests/interdomainservice.yaml +++ b/manifests/interdomainservice.yaml @@ -43,11 +43,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:10010"] resources: requests: - cpu: 100m - memory: 512Mi + cpu: 50m + memory: 64Mi limits: - cpu: 700m - memory: 1024Mi + cpu: 500m + memory: 512Mi --- apiVersion: v1 kind: Service diff --git a/manifests/mock_blockchain.yaml b/manifests/mock_blockchain.yaml index 1e1a1a4c6..ab65a6e55 100644 --- a/manifests/mock_blockchain.yaml +++ b/manifests/mock_blockchain.yaml @@ -43,7 +43,7 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:50051"] resources: requests: - cpu: 150m + cpu: 100m memory: 512Mi limits: cpu: 700m diff --git a/manifests/pathcompservice.yaml b/manifests/pathcompservice.yaml index c0f018beb..92e24ac42 100644 --- a/manifests/pathcompservice.yaml +++ b/manifests/pathcompservice.yaml @@ -43,11 +43,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:10020"] resources: requests: - cpu: 100m - memory: 512Mi + cpu: 50m + memory: 64Mi limits: - cpu: 700m - memory: 1024Mi + cpu: 500m + memory: 512Mi - name: backend image: registry.gitlab.com/teraflow-h2020/controller/pathcomp-backend:latest imagePullPolicy: Always @@ -65,8 +65,8 @@ spec: # timeoutSeconds: 5 resources: requests: - cpu: 200m - memory: 512Mi + cpu: 100m + memory: 256Mi limits: cpu: 700m memory: 1024Mi diff --git a/manifests/serviceservice.yaml b/manifests/serviceservice.yaml index 729aeb5c0..cf044f1ad 100644 --- a/manifests/serviceservice.yaml +++ b/manifests/serviceservice.yaml @@ -43,11 +43,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:3030"] resources: requests: - cpu: 100m - memory: 512Mi + cpu: 50m + memory: 64Mi limits: - cpu: 700m - memory: 1024Mi + cpu: 500m + memory: 512Mi --- apiVersion: v1 kind: Service diff --git a/manifests/sliceservice.yaml b/manifests/sliceservice.yaml index 67af029b6..94317cfd7 100644 --- a/manifests/sliceservice.yaml +++ b/manifests/sliceservice.yaml @@ -43,11 +43,11 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:4040"] resources: requests: - cpu: 100m - memory: 512Mi + cpu: 50m + memory: 64Mi limits: - cpu: 700m - memory: 1024Mi + cpu: 500m + memory: 512Mi --- apiVersion: v1 kind: Service -- GitLab