From 7fa4fa212a333239202cecb1ffd4bd61c4454a56 Mon Sep 17 00:00:00 2001
From: Lluis Gifre Renom <lluis.gifre@cttc.es>
Date: Sun, 18 Jun 2023 19:32:27 +0000
Subject: [PATCH] Device component manifest:

- Update limits and startup probe in deviceservice.yaml
---
 manifests/deviceservice.yaml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/manifests/deviceservice.yaml b/manifests/deviceservice.yaml
index 9dbd69553..21efae309 100644
--- a/manifests/deviceservice.yaml
+++ b/manifests/deviceservice.yaml
@@ -41,6 +41,11 @@ spec:
         env:
         - name: LOG_LEVEL
           value: "DEBUG"
+        startupProbe:
+          exec:
+            command: ["/bin/grpc_health_probe", "-addr=:2020"]
+          failureThreshold: 30
+          periodSeconds: 10
         readinessProbe:
           exec:
             command: ["/bin/grpc_health_probe", "-addr=:2020"]
@@ -49,11 +54,11 @@ spec:
             command: ["/bin/grpc_health_probe", "-addr=:2020"]
         resources:
           requests:
-            cpu: 150m
-            memory: 128Mi
-          limits:
             cpu: 500m
             memory: 512Mi
+          limits:
+            cpu: 1000m
+            memory: 1024Mi
 ---
 apiVersion: v1
 kind: Service
-- 
GitLab