terminationGracePeriodSeconds is set to 10 seconds on this page:
It seems this was explicitly added to be 10 seconds based on some decision in NEXUS-28882. By default it is 30 seconds if not set.
By having a low value for the grace period, what are the benefits? I can't think of any.
However there is a clear disadvantage - if the NXRM process is not allowed enough time to cleanly shut down before pod termination, then a forceful termination of repository process may result in unclean shutdown of repository files and leaving application housekeeping not complete. Abrupt shutdowns can commonly corrupt index or database files ( think H2 )
Increase the terminationGracePeriodSeconds value to 120 seconds which seems to be a much safer default than a low value and is more inline with advice typically given to customers for pod deployments.