PreStop hook in the container spec is a lifecycle hook that allows you to execute a command in a container right before it is terminated. This can be useful for performing cleanup or graceful shutdown tasks before a pod is taken down.
What do you think, would not be a good setting in the container in preStop hook to stop the vertica node gracefully?
Actually, we cannot set such kind of thing, because it cannot be configured in the operator configuration.
Kubernetes start pod termination in several cases (for example: in case of pod eviction because of resources, or kubernetes node drain) and in these cases the operator does not notice to stop the kubernetes on that pod gracefully.
PreStop hook in the container spec is a lifecycle hook that allows you to execute a command in a container right before it is terminated. This can be useful for performing cleanup or graceful shutdown tasks before a pod is taken down.
What do you think, would not be a good setting in the container in preStop hook to stop the vertica node gracefully?
Actually, we cannot set such kind of thing, because it cannot be configured in the operator configuration.
Kubernetes start pod termination in several cases (for example: in case of pod eviction because of resources, or kubernetes node drain) and in these cases the operator does not notice to stop the kubernetes on that pod gracefully.