Ultimate access to all questions.
Upgrade Now 🚀
Sign in to unlock AI tutor
How can you modify your application to ensure a graceful shutdown during a deployment update in Google Kubernetes Engine, particularly to properly close database connections before termination?
A
Update your code to process a received SIGTERM signal to gracefully disconnect from the database.
B
Configure a PodDisruptionBudget to prevent the Pod from being forcefully shut down.
C
Increase the terminationGracePeriodSeconds for your application.
D
Configure a PreStop hook to shut down your application.