Delete a pod with a Couchbase Server container in Kubernetes

If a pod with a Couchbase Server container is deleted from Kubernetes, would the underlying Couchbase Server be shut down gracefully and automatically?

Do I have to explicitly set up a “preStop” hook in the PodSpec of the Couchbase Server container ? E.g

```

preStop:
exec:
command: ["/bin/sh","-c",“systemctl stop Couchbase-server”]