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

Manifests:

- tweaked resources and containers to accelerate tests
parent 740dbcf7
No related branches found
No related tags found
2 merge requests!54Release 2.0.0,!24Integrate NFV-SDN'22 demo
...@@ -34,7 +34,7 @@ spec: ...@@ -34,7 +34,7 @@ spec:
- containerPort: 6379 - containerPort: 6379
resources: resources:
requests: requests:
cpu: 250m cpu: 200m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
...@@ -64,7 +64,7 @@ spec: ...@@ -64,7 +64,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:1010"] command: ["/bin/grpc_health_probe", "-addr=:1010"]
resources: resources:
requests: requests:
cpu: 250m cpu: 200m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
......
...@@ -43,7 +43,7 @@ spec: ...@@ -43,7 +43,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:2020"] command: ["/bin/grpc_health_probe", "-addr=:2020"]
resources: resources:
requests: requests:
cpu: 250m cpu: 200m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
......
...@@ -34,7 +34,12 @@ spec: ...@@ -34,7 +34,12 @@ spec:
- containerPort: 8080 - containerPort: 8080
env: env:
- name: LOG_LEVEL - name: LOG_LEVEL
value: "INFO" value: "DEBUG"
# for debug purposes
- name: DLT_GATEWAY_HOST
value: "mock-blockchain.tfs-bchain.svc.cluster.local"
- name: DLT_GATEWAY_PORT
value: "50051"
readinessProbe: readinessProbe:
exec: exec:
command: ["/bin/grpc_health_probe", "-addr=:8080"] command: ["/bin/grpc_health_probe", "-addr=:8080"]
...@@ -43,33 +48,33 @@ spec: ...@@ -43,33 +48,33 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:8080"] command: ["/bin/grpc_health_probe", "-addr=:8080"]
resources: resources:
requests: requests:
cpu: 250m cpu: 200m
memory: 512Mi
limits:
cpu: 700m
memory: 1024Mi
- name: gateway
image: registry.gitlab.com/teraflow-h2020/controller/dlt-gateway:latest
imagePullPolicy: Always
#readinessProbe:
# httpGet:
# path: /health
# port: 8081
# initialDelaySeconds: 5
# timeoutSeconds: 5
#livenessProbe:
# httpGet:
# path: /health
# port: 8081
# initialDelaySeconds: 5
# timeoutSeconds: 5
resources:
requests:
cpu: 250m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
memory: 1024Mi memory: 1024Mi
# - name: gateway
# image: registry.gitlab.com/teraflow-h2020/controller/dlt-gateway:latest
# imagePullPolicy: Always
# #readinessProbe:
# # httpGet:
# # path: /health
# # port: 8081
# # initialDelaySeconds: 5
# # timeoutSeconds: 5
# #livenessProbe:
# # httpGet:
# # path: /health
# # port: 8081
# # initialDelaySeconds: 5
# # timeoutSeconds: 5
# resources:
# requests:
# cpu: 200m
# memory: 512Mi
# limits:
# cpu: 700m
# memory: 1024Mi
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
......
...@@ -43,7 +43,7 @@ spec: ...@@ -43,7 +43,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:10010"] command: ["/bin/grpc_health_probe", "-addr=:10010"]
resources: resources:
requests: requests:
cpu: 250m cpu: 100m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
......
...@@ -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: 250m cpu: 150m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
......
...@@ -43,7 +43,7 @@ spec: ...@@ -43,7 +43,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:10020"] command: ["/bin/grpc_health_probe", "-addr=:10020"]
resources: resources:
requests: requests:
cpu: 250m cpu: 100m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
...@@ -65,7 +65,7 @@ spec: ...@@ -65,7 +65,7 @@ spec:
# timeoutSeconds: 5 # timeoutSeconds: 5
resources: resources:
requests: requests:
cpu: 250m cpu: 200m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
......
...@@ -43,7 +43,7 @@ spec: ...@@ -43,7 +43,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:3030"] command: ["/bin/grpc_health_probe", "-addr=:3030"]
resources: resources:
requests: requests:
cpu: 250m cpu: 100m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
......
...@@ -43,7 +43,7 @@ spec: ...@@ -43,7 +43,7 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:4040"] command: ["/bin/grpc_health_probe", "-addr=:4040"]
resources: resources:
requests: requests:
cpu: 250m cpu: 100m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
......
...@@ -55,7 +55,7 @@ spec: ...@@ -55,7 +55,7 @@ spec:
timeoutSeconds: 1 timeoutSeconds: 1
resources: resources:
requests: requests:
cpu: 250m cpu: 100m
memory: 512Mi memory: 512Mi
limits: limits:
cpu: 700m cpu: 700m
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment