Correct configure of timezone in PSM?

and how to mount local /etc/localtime into the PSM container by using hostPath? Since I have already using a hostPath volume to provide data folder.

i.e. how to configure 2 hostPath volumes correctly?

1 Like

It is not possible to configure two hostPath through the Operator.
What is your use case with the localtime file? What are you trying to achieve?

1 Like

hi @spronin

I just want to keep the same timezone / time between mongodb pod and host OS.

So if I use the PV / PVC to mount data directory, and use hostPath to mount /etc/localtime , will it be possible?

Thanks!

1 Like