英文:
gcloud add tag to specific Cloud Run revision
问题
I'm wondering how to add a tag to a specific, already existing Cloud Run revision which already has a tag.
For example:
- I have a running revision tagged with the word "green".
- I have another running revision with no tag, that is the latest revision.
- I switch the tag of the "green" build to "blue".
Is the flow above possible with the gcloud run services update
command? Or some other command? It seems like gcloud run services update
only affects the latest revision.
英文:
I'm wondering how to add a tag to a specific, already existing Cloud Run revision which already has a tag.
For example:
- I have a running revision tagged with the word "green".
- I have another running revision with no tag, that is the latest revision.
- I switch the tag of the "green" build to "blue".
Is the flow above possible with the gcloud run services update
command? Or some other command? It seems like gcloud run services update
only affects the latest revision.
答案1
得分: 1
gcloud run services update-traffic
命令有用于更新流量标签的标志。
英文:
gcloud run services update-traffic
has flags for updating traffic tags.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论