fdb-kubernetes-operator
fdb-kubernetes-operator copied to clipboard
Maintenance mode checker: Use deletion or creation timestamp to check Pod uptime
What would you like to be added/changed?
We could hit some corner cases by just looking at the process uptime. To make the check more robust we should check the Pod creation timestamp. Ref: https://github.com/FoundationDB/fdb-kubernetes-operator/pull/1275/commits/66f8890f92fe572f197e823f79155d8697f2fd9a#diff-886b2206ead7e723a3aa06d4dc8c05665d1aa5b8b2d621bf42e6cc9137421cabR88