五家渠市网站建设_网站建设公司_JavaScript_seo优化
2026/3/2 19:29:06 网站建设 项目流程

Simonyeung2020@gmail.com (user command "gcloud init" if you want to switch to annother account)

https://console.cloud.google.com/home/dashboard?authuser=1&project=exalted-stage-303908

 

 

 

 

 Leverge CLOUD SHELL to access GKE

 Create Deployment:

kubectl create deployment hello-world-rest-api --image=in28min/hello-world-rest-api:0.0.1.RELEASE

Expose endpoints

kubectl expose deployment hello-world-rest-api --type=LoadBalancer --port=8080

 

  

 

 

 

 Scale up replicaset in deployment

 Install GCloud  https://cloud.google.com/sdk/docs/install

Power Shell 

(New-Object Net.WebClient).DownloadFile("https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe", "$env:Temp\GoogleCloudSDKInstaller.exe")

& $env:Temp\GoogleCloudSDKInstaller.exe
     

 

 Use gcloud to connect to cluster

 

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询