2017-03-18 41 views
0
failed. 
[INFO] ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: The following quotas were exceeded: BACKEND_SERVICES (quota: 5, used: 5 + needed: 1). 
[ERROR] Error: gcloud app command with exit code : 1 
[INFO] -- 

我不斷收到上述錯誤,當我嘗試deploy..I不能刪除我的backend_services? 我假設它的gcloud app instances list
並簡單地刪除實例,但是當我刪除它們只是保持重新初始化。我如何使用gcloud或控制檯釋放5個實例。不能免費使用qutoa和gcloud谷歌競爭的發動機

我試過去:https://console.cloud.google.com/compute/instances?project=playchat-98e58,但它沒有顯示任何實例?

$ gcloud.cmd app instances list 
SERVICE VERSION   ID        VM_STATUS DEBUG_MODE 
default 20170317t203143 aef-default-20170317t203143-4ctc RUNNING 
default 20170317t203143 aef-default-20170317t203143-b4wr RUNNING 
default 20170317t203143 aef-default-20170317t203143-tpnt RUNNING 
default 20170317t205434 aef-default-20170317t205434-5fm7 RUNNING 
default 20170317t205434 aef-default-20170317t205434-6rkt RUNNING 
default 20170317t205434 aef-default-20170317t205434-9nkq RUNNING 
default 20170317t212530 aef-default-20170317t212530-f869 RUNNING 
default 20170317t212530 aef-default-20170317t212530-k6cn RUNNING 
default 20170317t212530 aef-default-20170317t212530-lszv RUNNING 
default 20170317t213906 aef-default-20170317t213906-5x7c RUNNING 
default 20170317t213906 aef-default-20170317t213906-8qg1 RUNNING 
default 20170317t213906 aef-default-20170317t213906-qglb RUNNING 
default 20170318t002735 aef-default-20170318t002735-b60s RUNNING 
default 20170318t002735 aef-default-20170318t002735-hr4c RUNNING 
default 20170318t002735 aef-default-20170318t002735-wh80 RUNNING 

[email protected] MINGW64 ~/AppData/Local/Google/Cloud SDK/google-cloud-sdk/bin 
$ gcloud.cmd compute backend-services list 
Listed 0 items. 
+1

嘗試刪除已部署的版本/服務或調整縮放設置 - 如果您刪除了實例,App Engine將自動縮放到您以前的數量。 –

+0

嗨,謝謝,你可以讓你的'評論'的答案...我不能通過命令行來做到這一點'它應該'工作,我相信...但是'版本',並刪除'應用程序引擎版本'解決了我的配額問題:我去https://console.cloud.google.com/appengine/versions?project=foo-98e58&serviceId=default&versionId=20170317t213906 –

回答

0

Backend services是可以從已部署的應用程序獨立存在的資源。您可以嘗試列出並刪除它們:

gcloud compute backend-services list 
gcloud compute backend-services delete $BACKEND_SERVICE_NAME 
+0

更新了我的問題與你的建議....那給了我0 :/ –