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

GKE deployment: implement scale down and timeout for fixing hanging integration test  #138

@balopat

Description

@balopat

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions