Graceful shutdown of OrientDB running as docker container #9965
-
I am running OrientDB v3.2.2-tp3 as a pod in k8s When pod is restarted, I get this WARNING How to ensure that OrientDB shutdown gracefully when a pod/container is terminated/restated.? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi, OrientDB should already handle the SIGTERM signal properly and soft terminate, I'm not sure though if docker/kubernates do send termination signal, also be aware that is suggested to use volumes in containerized environments, the container file system usually is not good for databases, that may be one of the reason why you may get a "wrong shutdown" error. |
Beta Was this translation helpful? Give feedback.
Hi,
OrientDB should already handle the SIGTERM signal properly and soft terminate, I'm not sure though if docker/kubernates do send termination signal, also be aware that is suggested to use volumes in containerized environments, the container file system usually is not good for databases, that may be one of the reason why you may get a "wrong shutdown" error.