GoogleCloudPlatform / kubeflow-distribution

Blueprints for Deploying Kubeflow on Google Cloud Platform and Anthos
Apache License 2.0
78 stars 63 forks source link

kubeflow deployment fails with asm error #419

Closed yecohn closed 1 year ago

yecohn commented 1 year ago

Hi, I am trying to deploy kubeflow 1.6

I am getting this issue: asmcli: Downloading ASM kpt package... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.14.1-asm.3+config6 asm' asmcli: ------------- fetching package "/asm" from "https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages" to "asm/asm" asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/samples@1.14.1-asm.3+config6 samples' asmcli: ------------- fetching package "/samples" from "https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages" to "samples/samples" asmcli: Verifying cluster registration. asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow get memberships.hub.gke.io membership -o=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow get memberships.hub.gke.io membership -o=jsonpath={.spec.identity_provider}' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container hub memberships list --project project-ai-381709 --format=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud projects describe project-ai-381709 --format value(projectNumber)' asmcli: ------------- asmcli: Verified cluster is registered to project-ai-381709 asmcli: Enabling required APIs... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud services enable --project=project-ai-381709 mesh.googleapis.com' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container clusters describe --project=project-ai-381709 --region us-central1-c kubeflow --format=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container clusters describe --project=project-ai-381709 --region us-central1-c kubeflow --format=json' asmcli: ------------- asmcli: Verifying cluster registration. asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container hub memberships list --project project-ai-381709 --format=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud projects describe project-ai-381709 --format value(projectNumber)' asmcli: ------------- asmcli: Verified cluster is registered to project-ai-381709 asmcli: Verifying cluster registration. asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container hub memberships list --project project-ai-381709 --format=json' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud projects describe project-ai-381709 --format value(projectNumber)' asmcli: ------------- asmcli: Verified cluster is registered to project-ai-381709 asmcli: Checking for project project-ai-381709... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud projects describe project-ai-381709 --format=value(projectNumber)' asmcli: ------------- asmcli: Reading labels for us-central1-c/kubeflow... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud container clusters describe kubeflow --zone=us-central1-c --project=project-ai-381709 --format=value(resourceLabels)[delimiter=","]' asmcli: ------------- asmcli: Querying for core/account... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/gcloud config get-value core/account' asmcli: ------------- asmcli: Binding yehoshua.cohen.91@gmail.com to cluster admin role... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow create clusterrolebinding yehoshua.cohen.91-cluster-admin-binding --clusterrole=cluster-admin --user=yehoshua.cohen.91@gmail.com --dry-run=client -o yaml' asmcli: ------------- asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow apply -f -' asmcli: ------------- clusterrolebinding.rbac.authorization.k8s.io/yehoshua.cohen.91-cluster-admin-binding configured asmcli: Creating istio-system namespace... asmcli: Running: '/Users/yosh/google-cloud-sdk/bin/kubectl --kubeconfig /Users/yosh/kubeflow-distribution/kubeflow/asm/package/asm_kubeconfig --context gke_project-ai-381709_us-central1-c_kubeflow get ns' asmcli: ------------- asmcli: [ERROR]: Autopilot clusters are only supported with managed control plane. make[1]: *** [install-asm] Error 2 make: *** [apply] Error 1 It seems to be an issue with asm version.

gkcalat commented 1 year ago

Hi @yecohn!

This is a duplicate of #413. Try using pre-release v1.7.0-rc.0 instead of v1.6.1.

Important: you will need to migrate or redeploy v1.7.0 once it's released (ETA: 1-2 weeks).

yecohn commented 1 year ago

indeed, it is working now !

gkcalat commented 1 year ago

Kubeflow on Google Cloud v1.7.0 has been released. Please, upgrade your deployment.