Skip to Content
Hands-On Azure for Developers
book

Hands-On Azure for Developers

by Kamil Mrzygłód
November 2018
Intermediate to advanced
606 pages
15h 7m
English
Packt Publishing
Content preview from Hands-On Azure for Developers

Updating an application

Updating an application in AKS requires two things:

  • Publishing a new image to Azure Container Registry
  • Setting a new image as the actual one in AKS

When you make changes in your application, you need two commands to update it in a registry. First, change its version to a new one:

docker tag handsonazurehello {ACR_LOGIN_SERVER}/handsonazurehello:v2

Now what you need is to push this version to make it available in the cloud:

docker push{ACR_LOGIN_SERVER}/handsonazurehello:v2

The final step to tell Kubernetes to update an image:

kubectl set image deployment handsonazurehello handsonazurehello={ACR_LOGIN_SERVER}/handsonazurehello:v2
To ensure that your application is fully functional while updating, you have to scale ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Implementing Azure: Putting Modern DevOps to Use

Implementing Azure: Putting Modern DevOps to Use

Florian Klaffenbach, Oliver Michalski, Markus Klein, Mohamed Wali

Publisher Resources

ISBN: 9781789340624Supplemental Content