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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

rollout deployment in bitbucket pipeline

I was using bitbucket pipeline to deploy the docker image to AKS cluster.

at 1st time of creation of pods i used this command 

kubectl apply -f deployment.yaml

but for every commit the docker images are being updated and pushed to ACR but the deployment was unchanged.

who can i rollout this deployment for every commit.

please anyone can suggest any solution.

thanks in advance

1 answer

1 accepted

0 votes
Answer accepted

You need to:

  • build new docker image and tag it as new version
  • update the deployment.yaml with new image:tag
  • apply

So you are missing the second step.
If you are using the same tag, e.g. image:latest (which is a bad practice), then you'll need to set imagePullPolicy to always. See here for similar question.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket Pipelines

What We Learned When We Researched Open Source Vulnerabilities in 7 Popular Coding Languages

...hey are a part of us, shaping how we interact with the world around us. The same holds true for programming languages when we think about how different kinds of vulnerabilities raise their heads in t...

1,320 views 0 3
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