https://www.kubeflow.org/docs/gke/deploy/project-setup/
7 Initialize your project to ready it for Anthos Service Mesh installation.
curl --request POST \
--header "Authorization: Bearer $(gcloud auth print-access-token)" \
--data '' \
https://meshconfig.googleapis.com/v1alpha1/projects/${PROJECT_ID}:initialize
Refer to Anthos Service Mesh documentation for details.
You do not need a running GKE cluster. The deployment process creates a cluster for you.
Executing this step generates the following error:
{
"error": {
"code": 400,
"message": "Workload Identity Pool does not exist (project-xxx.svc.id.goog).",
"status": "INVALID_ARGUMENT"
}
}
I've verified that the project exists and the meshconfig api is enabled for it.
Issue-Label Bot is automatically applying the labels:
| Label | Probability |
| ------------- | ------------- |
| kind/bug | 0.90 |
| area/docs | 0.92 |
| platform/gcp | 0.77 |
Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
Creating a temporary cluster seems to make the error go away.
gcloud beta container clusters create tmp-cluster \
--release-channel regular \
--workload-pool=${PROJECT_ID}.svc.id.goog
gcloud beta container clusters delete tmp-cluster
I'm just dipping my toes into the anthos water here so I'm not entirely sure if this expected 馃し
Cheers@mcantrell!Do you think we can improve the steps (maybe add a "Note" pointing to your workaround)?
Btw, @Bobgy is with GCP.
/assign @Bobgy @8bitmp3
Thank you for sharing @mcantrell
I need a little bit modified like this.
gcloud beta container clusters create tmp-cluster \
--release-channel regular \
--workload-pool=${PROJECT_ID}.svc.id.goog \
--zone=asia-northeast1-a
I add zone.
After run the code, I was able to finish the step 7"Initialize your project to ready it for Anthos Service Mesh installation."
I'll try to follow up on the issue
Thank you for sharing @mcantrell
I need a little bit modified like this.gcloud beta container clusters create tmp-cluster \ --release-channel regular \ --workload-pool=${PROJECT_ID}.svc.id.goog \ --zone=asia-northeast1-aI add zone.
After run the code, I was able to finish the step 7"Initialize your project to ready it for Anthos Service Mesh installation."
somehow, I successfully created a cluster per your code; I am still not able to finish the step 7; it gave me an error, like this:
404. That鈥檚 an error.
The requested URL /v1alpha1/projects/:initialize was not found on this server. That鈥檚 all we know.
/assign @jlewi
Can you take a look at the above comment?
I remember you found some change in the setup process.
The requested URL
/v1alpha1/projects/:initializewas not found on this server. That鈥檚 all we know.
@closerforever seems like your $PROJECT_ID is empty, the address should be /v1alpha1/projects/yourproject_12345938593845.svc.id.goog:initialize, so make sure you have that variable configured using:
export PROJECT_ID=yourproject_12345938593845
Most helpful comment
Creating a temporary cluster seems to make the error go away.
I'm just dipping my toes into the anthos water here so I'm not entirely sure if this expected 馃し