使用gcloud SDK 管理和部署 Cloud run service

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

查看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
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

nvd11

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值