Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
149 views
in Technique[技术] by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...