tableau-server-in-kubernetes
tableau-server-in-kubernetes copied to clipboard
insufficient timeout for readiness probe
default timeout for readiness probe is 1 second [ref] https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
script on my deployment takes just over 5s to finish running.
[tableau@bi-test docker]$ time ./server-ready-check
node1: localhost
Status: RUNNING
'Tableau Server Gateway 0' is running.
'Tableau Server Application Server 0' is running.
'Tableau Server Interactive Microservice Container 0' is running.
'MessageBus Microservice 0' is running.
'Relationship Query Microservice 0' is running.
'Credentials Service 0' is running.
'Tableau Server VizQL Server 0' is running.
'Tableau Server VizQL Server 1' is running.
'Tableau Server Cache Server 0' is running.
'Tableau Server Cache Server 1' is running.
'Tableau Server Coordination Service 0' is running.
'Tableau Server Cluster Controller 0' is running.
'Tableau Server Search And Browse 0' is running.
'Tableau Server Backgrounder 0' is running.
'Tableau Server Backgrounder 1' is running.
'Tableau Server Non-Interactive Microservice Container 0' is running.
'Tableau Server Data Server 0' is running.
'Tableau Server Data Server 1' is running.
'Tableau Server Data Engine 0' is running.
'Tableau Server File Store 0' is running.
'Tableau Server Repository 0' is running (Active Repository).
'Tableau Server Tableau Prep Conductor 0' is running.
'Tableau Server Tableau Prep Flow Authoring 0' is running.
'Tableau Server Tableau Prep Minerva Service 0' is running.
'Tableau Server Index And Search Server 0' is running.
'Tableau Server Ask Data 0' is running.
'Tableau Server Administration Agent 0' is running.
'Tableau Server Administration Controller 0' is running.
'Tableau Server License Manager 0' is running.
'Tableau Server Activation Service 0' is running.
'Tableau Server Client File Service 0' is running.
'Tableau Server Database Maintenance 0' is stopped.
'Tableau Server Backup/Restore 0' is stopped.
'Tableau Server Site Import/Export 0' is stopped.
'Tableau Server Collections Service 0' is running.
'Tableau Server Content Exploration Service 0' is running.
'Tableau Server Webhooks 0' is running.
'Tableau Server Authentication 0' is running.
'Tableau Server API Gateway 0' is running.
'Tableau Server Analytics Extensions Microservice 0' is running.
'Tableau Server Messaging Service 0' is running.
'Tableau Server Data Source Properties Service 0' is running.
'Tableau Server Internal Data Source Properties Service 0' is running.
'Tableau Server Metrics Service 0' is running.
'Tableau Server Resource Limits Manager 0' is running.
'Tableau Server Statistical Service 0' is running.
'Tableau Server NonRelational Storage Service 0' is running.
'Tableau Server Data Stories Service 0' is running.
real 0m5.019s
suggestion:
add timeoutSeconds: 10
to both probes.
readinessProbe:
exec:
command:
- /bin/sh
- -c
- /docker/server-ready-check
initialDelaySeconds: 360
periodSeconds: 30
timeoutSeconds: 10
livenessProbe:
exec:
command:
- /bin/sh
- -c
- /docker/alive-check
initialDelaySeconds: 600
periodSeconds: 60
timeoutSeconds: 10