Server lifecycle events
This topic describes Datalore server lifecycle events, such as restart or shutdown.
As Datalore's pod is controlled by a StatefulSet, there are two ways to restart Datalore:
Do a rollout restart:
kubectl rollout restart sts dataloreDelete the pod manually:
kubectl delete pod/datalore-0 kubectl wait pod/datalore-0 --for=delete --timeout=600s
As the Datalore deployment is controlled by Docker Compose, use the native Compose mechanism for the lifecycle events.
# start server
docker compose up
# gracefully stop and start back
docker compose restart
# gracefully stop
docker compose stop
Last modified: 21 August 2024