Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make AWX Pod variable to be calculated respecting
creationTimestamp
…
… and `deletionTimestamp` Do not consider Pods marked for deletion when calculating tower_pod to address replicas scale down case - where normally Pods spawned recently are being taken for removal. As well as the case when operator kicked off but some old replicas are still terminating. Respect `creationTimestamp` so to make sure that the newest Pod is taken after Deployment application, in which case multiple RS Pods (from old RS and new RS) could be running simultaneously while the rollout is happening.
- Loading branch information