I'm fairly new to Kubeflow and am having difficulty following the instructions for deploying it on GCP. After getting through the first two sections of the deployment process, I get stuck at "Management Cluster Setup" when asked to use the Makefile to download the Kubeflow Management Cluster Blueprint from GitHub.
From within the management directory (specified as the env var $MGMT_DIR as per instructions), I run the make get-pkg
command to run the appropriate Makefile instructions. On execution, I receive these error messages:
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'openAPI.definitions."io.k8s.cli.setters.name".x-k8s-cli.setter.value': [Errno 2] No such file or directory: 'openAPI.defin
itions."io.k8s.cli.setters.name".x-k8s-cli.setter.value'
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'openAPI.definitions."io.k8s.cli.setters.location".x-k8s-cli.setter.value': [Errno 2] No such file or directory: 'openAPI.d
efinitions."io.k8s.cli.setters.location".x-k8s-cli.setter.value'
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'openAPI.definitions."io.k8s.cli.setters.gcloud.core.project".x-k8s-cli.setter.value': [Errno 2] No such file or directory:
'openAPI.definitions."io.k8s.cli.setters.gcloud.core.project".x-k8s-cli.setter.value'
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'openAPI.definitions."io.k8s.cli.setters.name".x-k8s-cli.setter.value': [Errno 2] No such file or directory: 'openAPI.defin
itions."io.k8s.cli.setters.name".x-k8s-cli.setter.value'
mkdir -p ./upstream
usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
[--indentless-lists] [--in-place] [--version]
[jq_filter] [files [files ...]]
yq: error: argument files: can't open 'openAPI.definitions."io.k8s.cli.setters.name".x-k8s-cli.setter.value': [Errno 2] No such file or directory: 'openAPI.defin
itions."io.k8s.cli.setters.name".x-k8s-cli.setter.value'
kpt pkg get https://github.com/kubeflow/gcp-blueprints.git/packages/[email protected] ./upstream/management
fetching package /packages/management from https://github.com/kubeflow/gcp-blueprints to upstream/management
It looks like each message is referencing a different ".setters.
" API which seems to reference the environmental variables I created earlier. I looked at the GitHub repo for "kubeflow/gcp-blueprints/management" and while I'm not sure it makes a difference, the instructions on the GitHub page aren't the same exactly as the Kubeflow installation guide. Mostly this section:
Kubeflow Instructions:
kpt cfg set -R . name "${MGMT_NAME}"
kpt cfg set -R . gcloud.core.project "${MGMT_PROJECT}"
kpt cfg set -R . location "${LOCATION}"
GitHub Instructions:
kpt cfg set -R . name ${NAME}
kpt cfg set -R . gcloud.core.project ${PROJECT}
kpt cfg set -R . location ${LOCATION}
Is there something in the Makefile that is incorrect or depreciated from a previous Kubeflow version?
question from:
https://stackoverflow.com/questions/65603110/yq-error-when-attempting-to-download-kubeflow-management-cluster-blueprint-on-gc 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…