automatically run `gcloud services enable container.googleapis.com`
See original GitHub issueWhen I executed tools/start.sh
, the error below occurred.
That’s because I haven’t enabled container.googleapis.com.
How about running gcloud services enable container.googleapis.com
in the script?
Do you think it’s better to leave it to users?
$ ./tools/start.sh
(snip)
ERROR: (gcloud.beta.container.clusters.create) ResponseError: code=403, message=Kubernetes Engine API is not enabled for this project. Please ensure it is enabled in Google Cloud Console and try again: visit https://console.cloud.google.com/apis/api/container.googleapis.com/overview?project=kubernetes-native-testbed to do so.
Fetching cluster endpoint and auth data.
ERROR: (gcloud.container.clusters.get-credentials) ResponseError: code=404, message=Not found: projects/kubernetes-native-testbed/locations/asia-northeast1/clusters/testbed.
No cluster named 'testbed' in kubernetes-native-testbed.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
gcloud services enable | Google Cloud CLI Documentation
API-first integration to connect existing data and applications. ... Solution to bridge existing care systems and apps on Google Cloud. ... No-code development ......
Read more >How Can One Use gcloud To Enable APIs - Stack Overflow
Use gcloud service-management list to list available services so you can find the name of the service you want to enable.
Read more >How to deploy on Google Cloud Run? - NuxtJS
Google Cloud Run is a fully managed compute platform for deploying and scaling containerized applications quickly and securely.
Read more >datashare-toolkit/PREREQUISITES.md at master - GitHub
Google Cloud Platform Marketplace solution prerequisites. Summary ... gcloud services enable container.googleapis.com ... Execute the following commands.
Read more >Deploying to Google Cloud Platform - JHipster
You can deploy JHipster applications to Google Cloud Platform and run on: ... Enable API: gcloud services enable container.googleapis.com ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks. I’ll try it.
@oke-py I think we need to run “service enable” at once, so
init.sh
is good location. But if “services enable” command will be finished rapidly, it is ok to locate command instart.sh
.In addition, we need to consider about enable other services,