diff --git a/manifests/dltservice.yaml b/manifests/dltservice.yaml index 5ec2376e1fb9a52b6d46cd2918c6a5a0eeb35509..6b0139302bd36c8a55f475258b26c0eb93ccd5ca 100644 --- a/manifests/dltservice.yaml +++ b/manifests/dltservice.yaml @@ -36,49 +36,48 @@ spec: env: - name: LOG_LEVEL value: "INFO" - ## 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" + ## 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"] livenessProbe: exec: command: ["/bin/grpc_health_probe", "-addr=:8080"] + resources: + requests: + cpu: 50m + memory: 64Mi + 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: 250m - memory: 128Mi + memory: 512Mi limits: 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 diff --git a/manifests/interdomainservice.yaml b/manifests/interdomainservice.yaml index 146cedb0d76606b3e7471112b9f7f6453f3a68e2..a235834025724cb11e6b26364f25ae9feb28fe8c 100644 --- a/manifests/interdomainservice.yaml +++ b/manifests/interdomainservice.yaml @@ -47,7 +47,7 @@ spec: resources: requests: cpu: 250m - memory: 128Mi + memory: 64Mi limits: cpu: 1000m memory: 1024Mi diff --git a/manifests/mock_blockchain.yaml b/manifests/mock_blockchain.yaml index 14cff5e71b4ed6358c6529fc25ca17ca0e5a81ac..1093610f8a0cf4d735e16e99df56cb78fd6481fc 100644 --- a/manifests/mock_blockchain.yaml +++ b/manifests/mock_blockchain.yaml @@ -43,10 +43,10 @@ spec: command: ["/bin/grpc_health_probe", "-addr=:50051"] resources: requests: - cpu: 250m - memory: 128Mi + cpu: 100m + memory: 512Mi limits: - cpu: 1000m + cpu: 700m memory: 1024Mi --- apiVersion: v1 diff --git a/manifests/webuiservice.yaml b/manifests/webuiservice.yaml index 61bb933127b7300c43f809c11ca6426dc740fb87..761c4d944cb55f0f39888d640c027ca975361f87 100644 --- a/manifests/webuiservice.yaml +++ b/manifests/webuiservice.yaml @@ -56,10 +56,10 @@ spec: timeoutSeconds: 1 resources: requests: - cpu: 250m + cpu: 50m memory: 128Mi limits: - cpu: 1000m + cpu: 500m memory: 1024Mi - name: grafana image: grafana/grafana:8.5.22