Datalore
 
Get a demo

Server lifecycle events

Last modified: 21 August 2024

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 datalore
  • Delete the pod manually:

    $
    kubectl delete pod/datalore-0 kubectl wait pod/datalore-0 --for=delete --timeout=600s

tip

When using the second approach, the pod will be automatically redeployed by Kubernetes, as the StatefulSet replicas condition will not be met once the original pod is deallocated.