What are you trying to accomplish with this PR?
When deploying a StatefulSet, deploys could sporadically be marked failed due to Krane monitoring the health of the current revision's pods, not the updated revision. This PR updates the logic to monitor the updated revision.
How is this accomplished?StatefulSet#parent_of_pod? is the method that filters pods. I've updated it to select pods matching .status.updateRevision.
What are you trying to accomplish with this PR? When deploying a StatefulSet, deploys could sporadically be marked failed due to Krane monitoring the health of the current revision's pods, not the updated revision. This PR updates the logic to monitor the updated revision.
How is this accomplished?
StatefulSet#parent_of_pod?
is the method that filters pods. I've updated it to select pods matching.status.updateRevision
.What could go wrong? ...