查看cloud run 上的service 列表:
gcloud run services list
> gcloud run services list
SERVICE REGION URL LAST DEPLOYED BY LAST DEPLOYED AT
✔ helloservice europe-west2 https://helloservice-7hq3m4pdya-nw.a.run.app terraform@jason-hsbc.iam.gserviceaccount.com 2023-12-02T18:42:14.055559Z
✔ helloservice2 europe-west2 https://helloservice2-7hq3m4pdya-nw.a.run.app jason1.pan@maplequad.com 2023-12-02T14:58:46.466365Z
✔ java-http-function europe-west2 https://java-http-function-7hq3m4pdya-nw.a.run.app service-912156613264@gcf-admin-robot.iam.gserviceaccount.com 2023-11-04T20:57:43.771263Z
获得某个service 的详细信息
gcloud run services describe 《servicename》 --region=《regionname》
gcloud run services describe helloservice --region=europe-west2
✔ Service helloservice in region europe-west2
URL: https://helloservice-7hq3m4pdya-nw.a.run.app
Ingress: all
Traffic:
100% LATEST (currently helloservice-00008-cuv

本文介绍了如何在GoogleCloudRun上管理服务,包括列出、描述、删除和部署服务,以及使用Jenkins进行自动化部署的过程。重点讲解了`gcloudrun`命令的使用和注意事项。
最低0.47元/天 解锁文章
1683

被折叠的 条评论
为什么被折叠?



