Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gke-deploy timeout change from default 5mins #1031

Open
brijin-urolime opened this issue Jan 29, 2025 · 0 comments
Open

gke-deploy timeout change from default 5mins #1031

brijin-urolime opened this issue Jan 29, 2025 · 0 comments

Comments

@brijin-urolime
Copy link

brijin-urolime commented Jan 29, 2025

I used to deploy the new deployments to the cluster using cloudbuild with gke-deploy.

Below is the deploy stage.


  - id: 'Deploy'
    name: 'gcr.io/cloud-builders/gke-deploy:stable'
    args:
      - 'run'
      - '--filename=$_K8S_YAML_PATH'
      - '--image=gcr.io/$PROJECT_ID/$_IMAGE_NAME:$SHORT_SHA'
      - '--label=$_K8S_LABELS,gcb-build-id=$BUILD_ID'
      - '--cluster=$_GKE_CLUSTER'
      - '--location=$_GKE_LOCATION'

It was working fine.

However, recently had to add some sidecars and dependencies to a particular microservice pod. As there are 4 pods of this microservice deployment running, for each new deployment, its causing the deploy time error. That deployment to the cluster works fine in the background, but to get acknowledgment once all pods are up is more than the gke-deploy timeout (5mins), it returns status as failed.

I added timeout parameter in Deploy stage, Its not reflecting and still defaults to 5mins.

    name: 'gcr.io/cloud-builders/gke-deploy:stable'
    timeout 600s
    args:

Anyways to increase this?
Or I can build a custom image with this repo, but I couldn't find where exactly is the timeout configured.
I expected the timeout to be specified with "rollout status" but couldn't find it.

Any help would be really great at this moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant