Skip to content

instructions to get kubeflow blueprints via kpt don't work management  #10

@vsoch

Description

@vsoch

The instructions here:

Alternatively, you can get the package by using `kpt`:
```bash
# Check out the latest Kubeflow
kpt pkg get https://github.com/googlecloudplatform/kubeflow-distribution.git@master kubeflow-distribution
cd kubeflow-distribution

Result in an error:

$ kpt pkg get https://github.com/googlecloudplatform/kubeflow-distribution.git@master kubeflow-distribution 
Error: Repository "https://github.com/googlecloudplatform/kubeflow-distribution.git@master" not found.

Details:
remote: Repository not found.
fatal: repository 'https://github.com/googlecloudplatform/kubeflow-distribution.git@master/' not found

It seems to work if you remove the AT branch:

$ kpt pkg get https://github.com/googlecloudplatform/kubeflow-distribution.git kubeflow-distribution 
Package "kubeflow-distribution":
Fetching https://github.com/googlecloudplatform/kubeflow-distribution@master
From https://github.com/googlecloudplatform/kubeflow-distribution
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
Adding package "".
Error: Kptfile at "/tmp/kpt-get-2328470898/tests/management/resources" has an old version ("v1alpha1") of the Kptfile schema.
Please update the package to the latest format by following https://kpt.dev/installation/migration.

I'm new to kpt so I can't give a suggestion, but using a version (e.g., a la the docs that are live https://googlecloudplatform.github.io/kubeflow-gke-docs/docs/deploy/management-setup/) doesn't seem to work either. From the help it seems like it expects a package path?

kpt pkg get REPO_URI[.git]/PKG_PATH[@VERSION] [LOCAL_DEST_DIRECTORY] [flags]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions