concept critical shut - down procedure in category kubernetes

appears as: critical shut-down procedures, critical shut-down procedure
Kubernetes in Action

This is an excerpt from Manning's book Kubernetes in Action.

Replacing critical shut-down procedures with dedicated shut-down procedure pods

How do you ensure that a critical shut-down procedure that absolutely must run to completion does run to completion (for example, to ensure that a pod’s data is migrated to other pods)?