Handling an Ungraceful Service in Kubernetes by Bash

Handling an Ungraceful Service in Kubernetes by Bash

Kubernetes has several mechanisms to check if you app is able to handle connections and in return if Kubernetes wants to kill you app (scale down, or end of life for your preemptible/spot-instance node,…) it will signal you app to wrap up and shutdown.