<@U06RKAMK0UC> what values can be changed to impro...
# ask-ai
a
@ancient-wolf-19325 what values can be changed to improve container startup time? Does the container have a built in readiness probe or initial delay than can be changed?
j
To improve container startup time, you can adjust the readiness and liveness probes. According to the flyte_helm_generated.yaml, the
initialDelaySeconds
and
periodSeconds
for the liveness probe can be modified. Increasing
initialDelaySeconds
gives the container more time to start before the probe begins, which can help if the container is slow to start.
Copy code
livenessProbe:
  exec:
    command: [ "sh", "-c", "reply=$(curl -s -o /dev/null -w %{http_code} http://127.0.0.1:8088/healthcheck); if [ \"$reply\" -lt 200 -o \"$reply\" -ge 400 ]; then exit 1; fi;"]
  initialDelaySeconds: 30
  periodSeconds: 10
Would you like more details on how to implement these changes or further suggestions? Sources: - https://github.com/flyteorg/flyte/issues/5539 - https://github.com/flyteorg/flyte/blob/master/charts/flyte-binary/values.yaml 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.