Commit 77c8b389 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Manifests:

- Corrected resource requests and limits for DLT, InterDomain, MockBlockChain, and WebUI.
- Activated MockBlockChain by default on DLT component, and commented out DLT gateway.
parent 7c815142
Loading
Loading
Loading
Loading
+33 −32
Original line number Diff line number Diff line
@@ -36,11 +36,11 @@ spec:
        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"
        ## For debug purposes. Comment out DLT_GATEWAY_HOST and DLT_GATEWAY_PORT to use the 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
      ## To use a real BlockChain 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
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@ spec:
        resources:
          requests:
            cpu: 250m
            memory: 64Mi
            memory: 128Mi
          limits:
            cpu: 1000m
            memory: 1024Mi
+3 −3
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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