From cf71aede130bcc98d95be757cd396ba7a9ba33bc Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Wed, 9 Oct 2024 10:53:29 +0000
Subject: [PATCH] Manifests:

- Activated DEBUG in relevant components
- Reduced initial resource requests
---
 manifests/analyticsservice.yaml        | 8 ++++----
 manifests/automationservice.yaml       | 4 ++--
 manifests/contextservice.yaml          | 4 ++--
 manifests/deviceservice.yaml           | 4 ++--
 manifests/kpi_managerservice.yaml      | 4 ++--
 manifests/kpi_value_apiservice.yaml    | 2 +-
 manifests/kpi_value_writerservice.yaml | 2 +-
 manifests/pathcompservice.yaml         | 2 +-
 manifests/serviceservice.yaml          | 2 +-
 manifests/telemetryservice.yaml        | 8 ++++----
 10 files changed, 20 insertions(+), 20 deletions(-)

diff --git a/manifests/analyticsservice.yaml b/manifests/analyticsservice.yaml
index 536bb1852..1c1b9f034 100644
--- a/manifests/analyticsservice.yaml
+++ b/manifests/analyticsservice.yaml
@@ -36,7 +36,7 @@ spec:
             - containerPort: 9192
           env:
             - name: LOG_LEVEL
-              value: "INFO"
+              value: "DEBUG"
             - name: CRDB_DATABASE
               value: "tfs_analytics"
             - name: METRICS_PORT
@@ -54,7 +54,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:30080"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
@@ -67,7 +67,7 @@ spec:
             - containerPort: 9193
           env:
             - name: LOG_LEVEL
-              value: "INFO"
+              value: "DEBUG"
             - name: METRICS_PORT
               value: "9193"
           envFrom:
@@ -81,7 +81,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:30090"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
diff --git a/manifests/automationservice.yaml b/manifests/automationservice.yaml
index f6c97f7fb..d2113cecf 100644
--- a/manifests/automationservice.yaml
+++ b/manifests/automationservice.yaml
@@ -39,7 +39,7 @@ spec:
             - containerPort: 9192
           env:
             - name: LOG_LEVEL
-              value: "INFO"
+              value: "DEBUG"
           startupProbe:
             exec:
               command: ["/bin/grpc_health_probe", "-addr=:30200"]
@@ -53,7 +53,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:30200"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
diff --git a/manifests/contextservice.yaml b/manifests/contextservice.yaml
index 0fc8a1c44..e687687c0 100644
--- a/manifests/contextservice.yaml
+++ b/manifests/contextservice.yaml
@@ -40,7 +40,7 @@ spec:
             - name: MB_BACKEND
               value: "nats"
             - name: LOG_LEVEL
-              value: "INFO"
+              value: "DEBUG"
             - name: ALLOW_EXPLICIT_ADD_DEVICE_TO_TOPOLOGY
               value: "FALSE"
             - name: ALLOW_EXPLICIT_ADD_LINK_TO_TOPOLOGY
@@ -60,7 +60,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:1010"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
diff --git a/manifests/deviceservice.yaml b/manifests/deviceservice.yaml
index e49ba2399..f12faed11 100644
--- a/manifests/deviceservice.yaml
+++ b/manifests/deviceservice.yaml
@@ -39,7 +39,7 @@ spec:
             - containerPort: 9192
           env:
             - name: LOG_LEVEL
-              value: "INFO"
+              value: "DEBUG"
           startupProbe:
             exec:
               command: ["/bin/grpc_health_probe", "-addr=:2020"]
@@ -53,7 +53,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:2020"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
diff --git a/manifests/kpi_managerservice.yaml b/manifests/kpi_managerservice.yaml
index f8ee8ff82..69046af89 100644
--- a/manifests/kpi_managerservice.yaml
+++ b/manifests/kpi_managerservice.yaml
@@ -38,7 +38,7 @@ spec:
             - containerPort: 9192
           env:
             - name: LOG_LEVEL
-              value: "INFO"
+              value: "DEBUG"
             - name: CRDB_DATABASE
               value: "tfs_kpi_mgmt"
           envFrom:
@@ -52,7 +52,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:30010"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
diff --git a/manifests/kpi_value_apiservice.yaml b/manifests/kpi_value_apiservice.yaml
index e4dcb0054..def3879b6 100644
--- a/manifests/kpi_value_apiservice.yaml
+++ b/manifests/kpi_value_apiservice.yaml
@@ -50,7 +50,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:30020"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
diff --git a/manifests/kpi_value_writerservice.yaml b/manifests/kpi_value_writerservice.yaml
index e21e36f48..c2b3d9507 100644
--- a/manifests/kpi_value_writerservice.yaml
+++ b/manifests/kpi_value_writerservice.yaml
@@ -50,7 +50,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:30030"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
diff --git a/manifests/pathcompservice.yaml b/manifests/pathcompservice.yaml
index 1f54c569c..690c8232c 100644
--- a/manifests/pathcompservice.yaml
+++ b/manifests/pathcompservice.yaml
@@ -47,7 +47,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:10020"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
diff --git a/manifests/serviceservice.yaml b/manifests/serviceservice.yaml
index 1dd383d61..bcd69f140 100644
--- a/manifests/serviceservice.yaml
+++ b/manifests/serviceservice.yaml
@@ -45,7 +45,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:3030"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
diff --git a/manifests/telemetryservice.yaml b/manifests/telemetryservice.yaml
index 86d864157..44ee500c2 100644
--- a/manifests/telemetryservice.yaml
+++ b/manifests/telemetryservice.yaml
@@ -36,7 +36,7 @@ spec:
             - containerPort: 9192
           env:
             - name: LOG_LEVEL
-              value: "INFO"
+              value: "DEBUG"
             - name: CRDB_DATABASE
               value: "tfs_telemetry"
             - name: METRICS_PORT
@@ -54,7 +54,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:30050"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
@@ -67,7 +67,7 @@ spec:
             - containerPort: 9193
           env:
             - name: LOG_LEVEL
-              value: "INFO"
+              value: "DEBUG"
             - name: METRICS_PORT
               value: "9193"
           envFrom:
@@ -81,7 +81,7 @@ spec:
               command: ["/bin/grpc_health_probe", "-addr=:30060"]
           resources:
             requests:
-              cpu: 250m
+              cpu: 100m
               memory: 128Mi
             limits:
               cpu: 1000m
-- 
GitLab