Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,293,545
Community Members
 
Community Events
165
Community Groups

Run Kubectl rollout status for a deployment to GKE

Edited

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

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

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
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,096 views 2 9
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you