Skip to content
Snippets Groups Projects
Commit 3c5a4d72 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Common:

- updated component manifests to reduce CPU and Memory requests and limits
parent 8af8f707
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!24Integrate NFV-SDN'22 demo
...@@ -34,10 +34,10 @@ spec: ...@@ -34,10 +34,10 @@ spec:
- containerPort: 6379 - containerPort: 6379
resources: resources:
requests: requests:
cpu: 200m cpu: 100m
memory: 512Mi memory: 128Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 1024Mi
- name: server - name: server
image: registry.gitlab.com/teraflow-h2020/controller/context:latest image: registry.gitlab.com/teraflow-h2020/controller/context:latest
...@@ -64,11 +64,11 @@ spec: ...@@ -64,11 +64,11 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:1010"] command: ["/bin/grpc_health_probe", "-addr=:1010"]
resources: resources:
requests: requests:
cpu: 200m cpu: 50m
memory: 512Mi memory: 64Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 512Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
......
...@@ -43,11 +43,11 @@ spec: ...@@ -43,11 +43,11 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:2020"] command: ["/bin/grpc_health_probe", "-addr=:2020"]
resources: resources:
requests: requests:
cpu: 200m cpu: 50m
memory: 512Mi memory: 64Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 512Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
......
...@@ -48,11 +48,11 @@ spec: ...@@ -48,11 +48,11 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:8080"] command: ["/bin/grpc_health_probe", "-addr=:8080"]
resources: resources:
requests: requests:
cpu: 200m cpu: 50m
memory: 512Mi memory: 64Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 512Mi
# - name: gateway # - name: gateway
# image: registry.gitlab.com/teraflow-h2020/controller/dlt-gateway:latest # image: registry.gitlab.com/teraflow-h2020/controller/dlt-gateway:latest
# imagePullPolicy: Always # imagePullPolicy: Always
......
...@@ -43,11 +43,11 @@ spec: ...@@ -43,11 +43,11 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:10010"] command: ["/bin/grpc_health_probe", "-addr=:10010"]
resources: resources:
requests: requests:
cpu: 100m cpu: 50m
memory: 512Mi memory: 64Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 512Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
......
...@@ -43,7 +43,7 @@ spec: ...@@ -43,7 +43,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:50051"] command: ["/bin/grpc_health_probe", "-addr=:50051"]
resources: resources:
requests: requests:
cpu: 150m cpu: 100m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
......
...@@ -43,11 +43,11 @@ spec: ...@@ -43,11 +43,11 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:10020"] command: ["/bin/grpc_health_probe", "-addr=:10020"]
resources: resources:
requests: requests:
cpu: 100m cpu: 50m
memory: 512Mi memory: 64Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 512Mi
- name: backend - name: backend
image: registry.gitlab.com/teraflow-h2020/controller/pathcomp-backend:latest image: registry.gitlab.com/teraflow-h2020/controller/pathcomp-backend:latest
imagePullPolicy: Always imagePullPolicy: Always
...@@ -65,8 +65,8 @@ spec: ...@@ -65,8 +65,8 @@ spec:
# timeoutSeconds: 5 # timeoutSeconds: 5
resources: resources:
requests: requests:
cpu: 200m cpu: 100m
memory: 512Mi memory: 256Mi
limits: limits:
cpu: 700m cpu: 700m
memory: 1024Mi memory: 1024Mi
......
...@@ -43,11 +43,11 @@ spec: ...@@ -43,11 +43,11 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:3030"] command: ["/bin/grpc_health_probe", "-addr=:3030"]
resources: resources:
requests: requests:
cpu: 100m cpu: 50m
memory: 512Mi memory: 64Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 512Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
......
...@@ -43,11 +43,11 @@ spec: ...@@ -43,11 +43,11 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:4040"] command: ["/bin/grpc_health_probe", "-addr=:4040"]
resources: resources:
requests: requests:
cpu: 100m cpu: 50m
memory: 512Mi memory: 64Mi
limits: limits:
cpu: 700m cpu: 500m
memory: 1024Mi memory: 512Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment