Could you elaborate what happens under the hood when k8s issues SIGTERM?
When you call shutdown on a primary, doesn’t it start primary reelection process? If so, it is a vicious circle, because potential candidates (secondaries) are also being shut down after k8s SIGTERM.