Graceful Shutdown of MongoDB Replicaset in Kubernetes

I am looking to shutdown and bring back up my kubernetes cluster to save money. How do I properly shutdown MongoDB in a kubernetes environment to support this?

I would suggest a normal shutdown of the host / k8s should work in most circumstances. Most sequences would involve send a kill SIGTERM to running containers, initiating a shutdown of mongod.

With journalling any write should be persisted before being ack’d to the client.

I frequently tear down and start replicasets in docker without even considering this. They always start back up flawlessly.