What is the way to upate latest image in ACR

59 Views Asked by At

Several questions in this post. I'm using Azure Kubernetes service, and I have images in ACR.

When I use kubectl run my-pod --image my-acr/my-image, does it use the image with latest tag, eg, my-acr/my-image:latest.

When I push the image built locally, I do things like

  1. Build my-image:v1
  2. Tag my-image:v1 with my-acr/my-image:latest
  3. Now, should I delete my-acr/my-image:latest from ACR first, then push it. Or I can directly do the push?
0

There are 0 best solutions below