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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ spec:
        - name: MB_BACKEND
          value: "nats"
        - name: LOG_LEVEL
          value: "INFO"
          value: "DEBUG"
        envFrom:
        - secretRef:
            name: crdb-data
+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ spec:
        - containerPort: 9192
        env:
        - name: LOG_LEVEL
          value: "INFO"
          value: "DEBUG"
        startupProbe:
          exec:
            command: ["/bin/grpc_health_probe", "-addr=:2020"]
+34 −33
Original line number Diff line number Diff line
@@ -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
+3 −3
Original line number Diff line number Diff line
@@ -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
+4 −4
Original line number Diff line number Diff line
@@ -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
Loading