google-cloud-platformcloudgoogle-cloud-runtrafficrevision

Cloud Run disable old revision


Is there a way to tell Cloud Run that it shouldn't use an old revision anymore?

After I deploy a new revision of my service, I'm using the update-traffic command and successfully setting 100% of the traffic to go to the new revision but the UI still shows the old version as "serving traffic"(although it's 0%) which also prevent the latest version to scale up to the max-instances option(which is the real problem).

enter image description here


Solution

  • This occurs when you have tag (Revision URL) on your revisions

    enter image description here

    Delete it and the revision icon will turn to grey again.