Is there no risk of DB corruption even if the nexus repository oss version, which uses the H2 database as the embedded database, is used in a kubernetes environment?

With EC2 you’d want to make sure the services shuts down rather than is killed. Probably if you’re using a service this will happen.

You should also ensure that you create a task to backup the database, unlike OrientDB both SQL databases can produce a consistent backup while the system is running.