Commit ae916d20 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Manifests:

- tweaked resources and containers to accelerate tests
parent 740dbcf7
Loading
Loading
Loading
Loading
+2 −2
Changes for manifests/contextservice.yaml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -34,7 +34,7 @@ spec:
        - containerPort: 6379
        resources:
          requests:
            cpu: 250m
            cpu: 200m
            memory: 512Mi
          limits:
            cpu: 700m
@@ -64,7 +64,7 @@ spec:
            command: ["/bin/grpc_health_probe", "-addr=:1010"]
        resources:
          requests:
            cpu: 250m
            cpu: 200m
            memory: 512Mi
          limits:
            cpu: 700m
+1 −1
Changes for manifests/deviceservice.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ spec:
            command: ["/bin/grpc_health_probe", "-addr=:2020"]
        resources:
          requests:
            cpu: 250m
            cpu: 200m
            memory: 512Mi
          limits:
            cpu: 700m
+29 −24
Changes for manifests/dltservice.yaml: 29 added lines, 24 removed lines.
Original line number Diff line number Diff line
@@ -34,7 +34,12 @@ spec:
        - containerPort: 8080
        env:
        - 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:
          exec:
            command: ["/bin/grpc_health_probe", "-addr=:8080"]
@@ -43,33 +48,33 @@ spec:
            command: ["/bin/grpc_health_probe", "-addr=:8080"]
        resources:
          requests:
            cpu: 250m
            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
            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: 200m
#            memory: 512Mi
#          limits:
#            cpu: 700m
#            memory: 1024Mi
---
apiVersion: v1
kind: Service
+1 −1
Changes for manifests/interdomainservice.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ spec:
            command: ["/bin/grpc_health_probe", "-addr=:10010"]
        resources:
          requests:
            cpu: 250m
            cpu: 100m
            memory: 512Mi
          limits:
            cpu: 700m
+1 −1
Changes for manifests/mock_blockchain.yaml: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -43,7 +43,7 @@ spec:
            command: ["/bin/grpc_health_probe", "-addr=:50051"]
        resources:
          requests:
            cpu: 250m
            cpu: 150m
            memory: 512Mi
          limits:
            cpu: 700m
Loading