Reputation: 21
I'm stuck trying to create a Cloud Run for Anthos service in my organization's GCP project. I'm not very experienced in GKE creation or GCP infra, but I'm noticing some peculiar things after my setup. For context, I want to use Cloud Run for Anthos with GPUs for my deep learning models. Steps followed include:
cluster-classifier-app-1
) (testing as a public cluster) with 3 e2-standard-4 nodes (8vCPUs is the minimum for the Service Mesh based on the docs) link.Cloud Run for Anthos
menu and I see a You don't have any clusters with Cloud Run for Anthos enabled.
message before I can create a service.Some screenshots:
Cluster Details as viewed in Anthos Clusters
Menu (Notice the Cloud Run for Anthos: Unable to connect to cluster
message on the top, but the Cloud Run for Anthos
item under Cluster Features
says enabled)
Services page in Cloud Run Anthos (Notice the error message Missing data from clusters
)
Create Service Page (You don't have any clusters with Cloud Run for Anthos enabled.)
Peculiarities:
Viewing the cluster details on the Kubernetes Engine Displays Cloud Run for Anthos
as disabled although it says enabled in Screenshot 2.
In the Anthos Features
tab - Cloud Run for Anthos
displays Enabled
and The API appdevelopmentexperience.googleapis.com is not enabled for project
even though it is.Screenshot
I'm new to this and I've gone over relevant docs multiple times. I'd appreciate some help and happy to provide any details if necessary.
Upvotes: 2
Views: 573
Reputation: 1
I had the same issue . This command helped. I think this enables cloud run on the cluster we created.
gcloud container hub cloudrun apply --gke-cluster=asia-southeast1/my-anthos-cluster-name
Saw it in this website.
Upvotes: 0
Reputation: 1
I had this same issue, and it was due to my cluster being autopilot. Apparently, you cannot edit Cloud Run enable/disable for these.
Upvotes: 0