From f6771e212617c7c76873d363cce408bed148e24e Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Fri, 15 Sep 2023 09:35:48 +0000
Subject: [PATCH] Recovered Manifest files

---
 manifests/dltservice.yaml         | 61 +++++++++++++++----------------
 manifests/interdomainservice.yaml |  2 +-
 manifests/mock_blockchain.yaml    |  6 +--
 manifests/webuiservice.yaml       |  4 +-
 4 files changed, 36 insertions(+), 37 deletions(-)

diff --git a/manifests/dltservice.yaml b/manifests/dltservice.yaml
index 5ec2376e1..6b0139302 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 146cedb0d..a23583402 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 14cff5e71..1093610f8 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 61bb93312..761c4d944 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
-- 
GitLab