GoogleCloudPlatform / kubeflow-distribution

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

ApiVerisonv 2beta1 #428

Open uhatikus opened 1 year ago

uhatikus commented 1 year ago

Is it possible to migrate kubeflow from ApiVersion v1beta1 to v2beta1? How?

The following procedure:

export PIPELINE_VERSION="2.0.0-alpha.4"
kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=$PIPELINE_VERSION"
kubectl wait --for condition=established --timeout=60s crd/applications.app.k8s.io
kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/env/dev?ref=$PIPELINE_VERSION"

gives the error:


{"metadata":{"annotations":{"internal.kpt.dev/upstream-identifier":null,"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"apps/v1\"...```

Thank you for your answer!
chensun commented 10 months ago

@uhatikus The commands you pasted is for Kubeflow Pipelines standalone deployment (there's no other Kubeflow components). If that's what you intended, you can simply point PIPELINE_VERSION=2.0.2, which would support v2beta1 API.

If you do want full Kubeflow, the upcoming Kubeflow 1.8 release would also upgrade KFP API to v2beta1.