Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Run Kubectl rollout status for a deployment to GKE

Eleazar Nwachukwu May 25, 2022

I have a pipeline that deploys applications to GKE using 

atlassian/google-gke-kubectl-run:1.3.1.
I would like to watch the status of my deployment using Kubectl rollout status. If the deployment completes successfully, the pipeline should be complete. 
If the deployment fails the pipeline should fail.
How can I achieve this with Kubectl rollout status?
For instance:
- pipe: atlassian/google-gke-kubectl-run:1.3.1
  variables:
    KEY_FILE: '<string>'
    PROJECT: '<string>'
    COMPUTE_ZONE: '<string>'
    CLUSTER_NAME: '<string>'
    KUBECTL_COMMAND: 'apply'
RESOURCE_PATH: '<string>'
KUBECTL_COMMAND: 'rollout status deployment/'

1 answer

0 votes
o_kyrdan May 27, 2022

Hi @Eleazar Nwachukwu 

Thank you for your question!

This pipe doesn't support wait for deployment finish.

We'll investigate your feature request and notify you.

 

Best regards,
Oleksandr Kyrdan

Eleazar Nwachukwu May 30, 2022

I am looking forward to read from you. 

 

If you know any other pipe that can support waiting for deployment finish (Kubectl rollout status), please do recommend it.

Thank you.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events