diff --git a/deploy/tfs.sh b/deploy/tfs.sh index 261996acb3a11cc582a6c3a6bb3a2253e20fdd5c..95d882c8ba06d53c724559800440a788b7496555 100755 --- a/deploy/tfs.sh +++ b/deploy/tfs.sh @@ -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 diff --git a/manifests/deviceservice.yaml b/manifests/deviceservice.yaml index a99e3e5884745aa1971e5ad7f914901e38f75d47..77e421f297fefc8979b9cd6e3415c58be611a53a 100644 --- a/manifests/deviceservice.yaml +++ b/manifests/deviceservice.yaml @@ -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"] diff --git a/manifests/webuiservice.yaml b/manifests/webuiservice.yaml index ba408bb40d4af74e6be53300395735786b9c843d..43caa9f04b56d6477d82c5a5bb22cb292eec8a90 100644 --- a/manifests/webuiservice.yaml +++ b/manifests/webuiservice.yaml @@ -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