Problem Postgres restarting suddenly

Hello,
The postgres was restarted suddenly, and databases are deleted, so what could be the possible cause

Logs:
mozipadmin@nginx02:~/mosip-infra/deployment/v3/external$ kubectl logs pod/postgres-postgresql-0 -n postgres
postgresql 08:35:34.44
postgresql 08:35:34.52 Welcome to the Bitnami postgresql container
postgresql 08:35:34.52 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-postgresql
postgresql 08:35:34.52 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-postgresql/issues
postgresql 08:35:34.52
postgresql 08:35:34.67 INFO ==> ** Starting PostgreSQL setup **
postgresql 08:35:34.70 INFO ==> Validating settings in POSTGRESQL_* env vars…
postgresql 08:35:34.71 INFO ==> Loading custom pre-init scripts…
postgresql 08:35:34.75 INFO ==> Initializing PostgreSQL database…
postgresql 08:35:34.88 INFO ==> pg_hba.conf file not detected. Generating it…
postgresql 08:35:34.88 INFO ==> Generating local authentication configuration
postgresql 08:35:47.45 INFO ==> Starting PostgreSQL in background…
postgresql 08:35:47.70 INFO ==> Changing password of postgres
postgresql 08:35:47.85 INFO ==> Configuring replication parameters
postgresql 08:35:47.89 INFO ==> Configuring synchronous_replication
postgresql 08:35:47.89 INFO ==> Configuring fsync
postgresql 08:35:47.95 INFO ==> Loading custom scripts…
postgresql 08:35:47.95 INFO ==> Enabling remote connections
postgresql 08:35:47.98 INFO ==> Stopping PostgreSQL…
waiting for server to shut down… done
server stopped
postgresql 08:35:48.21 INFO ==> ** PostgreSQL setup finished! **

postgresql 08:35:48.25 INFO ==> ** Starting PostgreSQL **
2023-04-18 08:35:48.311 GMT [1] LOG: pgaudit extension initialized
2023-04-18 08:35:48.312 GMT [1] LOG: listening on IPv4 address “0.0.0.0”, port 5432
2023-04-18 08:35:48.312 GMT [1] LOG: listening on IPv6 address “::”, port 5432
2023-04-18 08:35:48.323 GMT [1] LOG: listening on Unix socket “/tmp/.s.PGSQL.5432”
2023-04-18 08:35:48.387 GMT [137] LOG: database system was shut down at 2023-04-18 08:35:48 GMT
2023-04-18 08:35:48.435 GMT [1] LOG: database system is ready to accept connections
2023-04-18 08:35:55.170 GMT [152] FATAL: database “mosip_pms” does not exist
2023-04-18 08:35:55.213 GMT [153] FATAL: database “mosip_prereg” does not exist
2023-04-18 08:35:55.752 GMT [154] FATAL: database “mosip_regprc” does not exist
2023-04-18 08:35:56.228 GMT [155] FATAL: database “mosip_audit” does not exist

@slimab there seems to be something wrong with your storage or underlying virtual machine.

We have not seen this issue but there is always a chance of this happening.