Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Deploy Kubeflow Cluster #330

Open
akhilvinvent opened this issue Oct 17, 2021 · 6 comments
Open

Issue with Deploy Kubeflow Cluster #330

akhilvinvent opened this issue Oct 17, 2021 · 6 comments

Comments

@akhilvinvent
Copy link

Hi,

I am facing issue with "Deploy Kubeflow Cluster" steps mentioned at below link.

Below upstream directory was not created after running "bash ./pull-upstream.sh" mentioned in document.

gcp-blueprints/kubeflow/apps/pipelines/upstream

https://www.kubeflow.org/docs/distributions/gke/deploy/deploy-cli/

Error: ./gcp-blueprints/kubeflow/apps/pipelines/upstream/third-party/argo/upstream/manifests/namespace-install/overlays/argo-server-deployment.yaml: wrong Node Kind for expected: MappingNode was SequenceNode: value: {- op: add
path: /spec/template/spec/containers/0/args/-
value: --namespaced}

@bwassie
Copy link

bwassie commented Oct 18, 2021

I've had this issue before. I believe upgrading to kpt-1.0.0-beta.6 fixed my problem. More info here.

@edi-bice-by
Copy link
Contributor

kubeflow apply fails at the install_asm step for me

install_asm: Downloading kpt..
...
install_asm: Downloading ASM..
...
install_asm: Downloading ASM kpt package...
install_asm: [WARNING]: Failed, retrying...(1 of 3)
install_asm: [WARNING]: Failed, retrying...(2 of 3)
install_asm: [WARNING]: Failed, retrying...(3 of 3)
make: *** [install-asm] Error 1

Stepping through and trying to do manually using latest kpt

bash-5.1$ kpt pkg get https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages.git/asm@1.10.4-asm.6+config2 asm
Package "asm":
Fetching https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages@1.10.4-asm.6+config2
From https://github.com/GoogleCloudPlatform/anthos-service-mesh-packages

  • tag 1.10.4-asm.6+config2 -> FETCH_HEAD
    Error: Kptfile at "https:/github.com/GoogleCloudPlatform/anthos-service-mesh-packages/asm@1.10.4-asm.6+config2" has an old version ("v1alpha1") of the Kptfile schema.
    Please update the package to the latest format by following https://kpt.dev/installation/migration.
    bash-5.1$ kpt version
    1.0.0-beta.7

@edi-bice-by
Copy link
Contributor

Not sure if it matters for kpt but Darwin was set to arm64 in the following code

`download_kpt() {
local OS

case "$(uname)" in
Linux ) OS="linux_amd64";;
Darwin) OS="darwin_amd64";;
* ) fatal "$(uname) is not a supported OS.";;
esac

local KPT_TGZ
KPT_TGZ="https://github.com/GoogleContainerTools/kpt/releases/download/v0.39.3/kpt_${OS}-0.39.3.tar.gz"

info "Downloading kpt.."
curl -L "${KPT_TGZ}" | tar xz
AKPT="$(apath -f kpt)"
}`

@edi-bice-by
Copy link
Contributor

edi-bice-by commented Nov 1, 2021

Going through script step-by-step it was picking up the 1.0.0 kpt I installed as described in the docs. Seems for this particular step the 0.39 is needed so I changed to find it via relative path and used install_asm manually which worked

retry 3 ./kpt pkg get --auto-set=false "${KPT_URL}" asm

@bwassie
Copy link

bwassie commented Nov 3, 2021

Are you running this on MacOS by any chance? I had the same issue when using MacOS and I switched to linux and it worked fine.

@edi-bice-by
Copy link
Contributor

Yes, I am though I upgraded to bash 5.1 and have been managing so far except for a few things here and there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants