From 788bb1257745908c04d01b4d47414dfcbc596d6b Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Fri, 2 Dec 2022 17:10:16 +0000
Subject: [PATCH] Manifests:

- updated replicas of service and pathcomp to 5
- temporarily disabled WebUI Grafana
---
 manifests/pathcompservice.yaml |  1 +
 manifests/serviceservice.yaml  |  2 +-
 manifests/webuiservice.yaml    | 80 +++++++++++++++++-----------------
 3 files changed, 42 insertions(+), 41 deletions(-)

diff --git a/manifests/pathcompservice.yaml b/manifests/pathcompservice.yaml
index 92e24ac42..51c83a0f3 100644
--- a/manifests/pathcompservice.yaml
+++ b/manifests/pathcompservice.yaml
@@ -20,6 +20,7 @@ spec:
   selector:
     matchLabels:
       app: pathcompservice
+  replicas: 5
   template:
     metadata:
       labels:
diff --git a/manifests/serviceservice.yaml b/manifests/serviceservice.yaml
index d9ecc998e..089be20f9 100644
--- a/manifests/serviceservice.yaml
+++ b/manifests/serviceservice.yaml
@@ -20,7 +20,7 @@ spec:
   selector:
     matchLabels:
       app: serviceservice
-  replicas: 1
+  replicas: 5
   template:
     metadata:
       labels:
diff --git a/manifests/webuiservice.yaml b/manifests/webuiservice.yaml
index 7f70e837c..be400c691 100644
--- a/manifests/webuiservice.yaml
+++ b/manifests/webuiservice.yaml
@@ -60,43 +60,43 @@ spec:
           limits:
             cpu: 700m
             memory: 1024Mi
-      - name: grafana
-        image: grafana/grafana:8.5.11
-        imagePullPolicy: IfNotPresent
-        ports:
-          - containerPort: 3000
-            name: http-grafana
-            protocol: TCP
-        env:
-        - name: GF_SERVER_ROOT_URL
-          value: "http://0.0.0.0:3000/grafana/"
-        - name: GF_SERVER_SERVE_FROM_SUB_PATH
-          value: "true"
-        readinessProbe:
-          failureThreshold: 3
-          httpGet:
-            path: /robots.txt
-            port: 3000
-            scheme: HTTP
-          initialDelaySeconds: 10
-          periodSeconds: 30
-          successThreshold: 1
-          timeoutSeconds: 2
-        livenessProbe:
-          failureThreshold: 3
-          initialDelaySeconds: 30
-          periodSeconds: 10
-          successThreshold: 1
-          tcpSocket:
-            port: 3000
-          timeoutSeconds: 1
-        resources:
-          requests:
-            cpu: 250m
-            memory: 750Mi
-          limits:
-            cpu: 700m
-            memory: 1024Mi
+#      - name: grafana
+#        image: grafana/grafana:8.5.11
+#        imagePullPolicy: IfNotPresent
+#        ports:
+#          - containerPort: 3000
+#            name: http-grafana
+#            protocol: TCP
+#        env:
+#        - name: GF_SERVER_ROOT_URL
+#          value: "http://0.0.0.0:3000/grafana/"
+#        - name: GF_SERVER_SERVE_FROM_SUB_PATH
+#          value: "true"
+#        readinessProbe:
+#          failureThreshold: 3
+#          httpGet:
+#            path: /robots.txt
+#            port: 3000
+#            scheme: HTTP
+#          initialDelaySeconds: 10
+#          periodSeconds: 30
+#          successThreshold: 1
+#          timeoutSeconds: 2
+#        livenessProbe:
+#          failureThreshold: 3
+#          initialDelaySeconds: 30
+#          periodSeconds: 10
+#          successThreshold: 1
+#          tcpSocket:
+#            port: 3000
+#          timeoutSeconds: 1
+#        resources:
+#          requests:
+#            cpu: 250m
+#            memory: 750Mi
+#          limits:
+#            cpu: 700m
+#            memory: 1024Mi
 ---
 apiVersion: v1
 kind: Service
@@ -110,6 +110,6 @@ spec:
   - name: webui
     port: 8004
     targetPort: 8004
-  - name: grafana
-    port: 3000
-    targetPort: 3000
+#  - name: grafana
+#    port: 3000
+#    targetPort: 3000
-- 
GitLab