This repository was archived by the owner on Feb 11, 2025. It is now read-only.

Description
Rarely, but GKE deployments are not happening when kubectl -f apply is executed. In this case the current gke_integration test just keeps waiting on the new version of the test app to be deployed, while the old version of the app is still running on the cluster.
1.) Before deployment we should scale down the old deployment to 0 instances, and only then run kubectl apply.
2.) A timeout policy should be implemented, in case the new deployment token has not appeared in 2 minutes, scale down and kubectl apply should be retried.