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

Manifests:

- Activated DEBUG in Context, Device, DLT Connector, InterDomain, PathComp FrontEnd, Service, Slice, WebUI, and Mock BlockChain components
- Corrected resource requests and limits for InterDomain, DLT Connector, DLT Gateway, Mock BlockChain, and WebUI components
- Activated TopologyAbstractor in InterDomain component
- Activated use of Mock BlockChain in DLT Connector
- Deactivated DLT Gateway in DLT component
parent bcd778ed
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!147Resolve "Notificatoins from Context are incomplete"
......@@ -40,7 +40,7 @@ spec:
- name: MB_BACKEND
value: "nats"
- name: LOG_LEVEL
value: "INFO"
value: "DEBUG"
envFrom:
- secretRef:
name: crdb-data
......
......@@ -39,7 +39,7 @@ spec:
- containerPort: 9192
env:
- name: LOG_LEVEL
value: "INFO"
value: "DEBUG"
startupProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=:2020"]
......
......@@ -35,12 +35,12 @@ spec:
- containerPort: 9192
env:
- name: LOG_LEVEL
value: "INFO"
## for debug purposes
#- name: DLT_GATEWAY_HOST
# value: "mock-blockchain.tfs-bchain.svc.cluster.local"
#- name: DLT_GATEWAY_PORT
# value: "50051"
value: "DEBUG"
## For debug purposes. Comment out DLT_GATEWAY_HOST and DLT_GATEWAY_PORT to use normal DLT Gateway component.
- name: DLT_GATEWAY_HOST
value: "mock-blockchain.tfs-bchain.svc.cluster.local"
- name: DLT_GATEWAY_PORT
value: "50051"
readinessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=:8080"]
......@@ -49,35 +49,36 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:8080"]
resources:
requests:
cpu: 50m
memory: 64Mi
cpu: 250m
memory: 128Mi
limits:
cpu: 500m
memory: 512Mi
- name: gateway
image: labs.etsi.org:5050/tfs/controller/dlt-gateway:latest
imagePullPolicy: Always
ports:
- containerPort: 50051
#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
cpu: 1000m
memory: 1024Mi
## For normal operation, uncomment the gateway container.
#- name: gateway
# image: labs.etsi.org:5050/tfs/controller/dlt-gateway:latest
# imagePullPolicy: Always
# ports:
# - containerPort: 50051
# #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
# limits:
# cpu: 1000m
# memory: 1024Mi
---
apiVersion: v1
kind: Service
......
......@@ -35,9 +35,9 @@ spec:
- containerPort: 9192
env:
- name: LOG_LEVEL
value: "INFO"
value: "DEBUG"
- name: TOPOLOGY_ABSTRACTOR
value: "DISABLE"
value: "ENABLE"
readinessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=:10010"]
......@@ -47,7 +47,7 @@ spec:
resources:
requests:
cpu: 250m
memory: 64Mi
memory: 128Mi
limits:
cpu: 1000m
memory: 1024Mi
......
......@@ -34,7 +34,7 @@ spec:
- containerPort: 50051
env:
- name: LOG_LEVEL
value: "INFO"
value: "DEBUG"
readinessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=:50051"]
......@@ -43,10 +43,10 @@ spec:
command: ["/bin/grpc_health_probe", "-addr=:50051"]
resources:
requests:
cpu: 100m
memory: 512Mi
cpu: 250m
memory: 128Mi
limits:
cpu: 700m
cpu: 1000m
memory: 1024Mi
---
apiVersion: v1
......
......@@ -36,7 +36,7 @@ spec:
- containerPort: 9192
env:
- name: LOG_LEVEL
value: "INFO"
value: "DEBUG"
readinessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=:10020"]
......
......@@ -36,7 +36,7 @@ spec:
- containerPort: 9192
env:
- name: LOG_LEVEL
value: "INFO"
value: "DEBUG"
readinessProbe:
exec:
command: ["/bin/grpc_health_probe", "-addr=:3030"]
......
......@@ -36,7 +36,7 @@ spec:
- containerPort: 9192
env:
- name: LOG_LEVEL
value: "INFO"
value: "DEBUG"
- name: SLICE_GROUPING
value: "DISABLE"
envFrom:
......
......@@ -56,7 +56,7 @@ spec:
timeoutSeconds: 1
resources:
requests:
cpu: 50m
cpu: 250m
memory: 128Mi
limits:
cpu: 1000m
......@@ -97,7 +97,7 @@ spec:
cpu: 250m
memory: 512Mi
limits:
cpu: 500m
cpu: 1000m
memory: 1024Mi
---
apiVersion: v1
......
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