Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!143Resolve "Tune Grafana deployment and configuration"
......@@ -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
......
......@@ -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"]
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment