Commit 103822cc authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Merge branch 'fix/48-tune-grafana-deployment-and-configuration' into 'develop'

Resolve "Tune Grafana deployment and configuration"

See merge request !143
parents 8cd8e0d9 5b1c6b0d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -348,7 +348,7 @@ for COMPONENT in $TFS_COMPONENTS; do
    printf "\n"
done

if [[ "$TFS_COMPONENTS" == *"webui"* ]]; then
if [[ "$TFS_COMPONENTS" == *"monitoring"* ]] && [[ "$TFS_COMPONENTS" == *"webui"* ]]; then
    echo "Configuring WebUI DataStores and Dashboards..."
    sleep 5

+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ spec:
          exec:
            command: ["/bin/grpc_health_probe", "-addr=:2020"]
          failureThreshold: 30
          periodSeconds: 10
          periodSeconds: 1
        readinessProbe:
          exec:
            command: ["/bin/grpc_health_probe", "-addr=:2020"]
+9 −8
Original line number Diff line number Diff line
@@ -74,26 +74,27 @@ spec:
        - name: GF_SERVER_SERVE_FROM_SUB_PATH
          value: "true"
        readinessProbe:
          failureThreshold: 3
          failureThreshold: 60
          httpGet:
            path: /robots.txt
            #path: /robots.txt
            path: /login
            port: 3000
            scheme: HTTP
          initialDelaySeconds: 10
          periodSeconds: 30
          initialDelaySeconds: 1
          periodSeconds: 1
          successThreshold: 1
          timeoutSeconds: 2
        livenessProbe:
          failureThreshold: 3
          initialDelaySeconds: 30
          periodSeconds: 10
          failureThreshold: 60
          initialDelaySeconds: 1
          periodSeconds: 1
          successThreshold: 1
          tcpSocket:
            port: 3000
          timeoutSeconds: 1
        resources:
          requests:
            cpu: 150m
            cpu: 250m
            memory: 512Mi
          limits:
            cpu: 500m