GoogleCloudPlatform / kubeflow-distribution

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

Error with kubeflow deploy #443

Open aaronwjha opened 11 months ago

aaronwjha commented 11 months ago

I am getting an error when deploying Kubeflow to my GKE cluster:

asmcli: Downloading ASM kpt package...
asmcli: Running: 'kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.16.2-asm.2+config1 asm'
asmcli: -------------
asmcli: Running: 'kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.16.2-asm.2+config1 asm'
asmcli: -------------
asmcli: Running: 'kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.16.2-asm.2+config1 asm'
asmcli: -------------
asmcli: Running: 'kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.16.2-asm.2+config1 asm'
asmcli: -------------
asmcli: Running: 'kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.16.2-asm.2+config1 asm'
asmcli: -------------
asmcli: Running: 'kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.16.2-asm.2+config1 asm'
asmcli: -------------
asmcli: Running: 'kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.16.2-asm.2+config1 asm'
asmcli: -------------
asmcli: Running: 'kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.16.2-asm.2+config1 asm'
asmcli: -------------

Running this command outside of the make script, I get:

kpt pkg get --auto-set=false https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.16.2-asm.2+config1 asm
error: unknown flag: --auto-set

I have tried installing kpt version 1.0.0-beta.6 as the documentation suggests as well as the latest version 1.0.0-beta.46. Both produce the same results.

Any help is appreciated.

zijianjoy commented 10 months ago

Hello @aaronwjha , what is the Google Cloud distribution you are testing with, and what is the ASM version?

Reference: https://github.com/GoogleCloudPlatform/kubeflow-distribution/tree/master/kubeflow/asm#upgrade-steps

According to ASM version, the kpt tool used for the installation might be different. https://cloud.google.com/service-mesh/docs/unified-install/install-dependent-tools#install_required_tools

cc @chensun @gkcalat