machine-learning-exchange / mlx

Machine Learning eXchange (MLX). Data and AI Assets Catalog and Execution Engine
https://ml-exchange.org/
Apache License 2.0
201 stars 52 forks source link

KIND installation doesn't work on k8s 1.22+ #358

Open simanadler opened 1 year ago

simanadler commented 1 year ago

Describe the bug

When following the instructions here the kubeflow pipeline installation fails if k8s 1.22 or newer is installed.

To Reproduce

Steps to reproduce the behavior:

  1. Create a kind cluster based on k8s 1.22 or newer
  2. Follow kind install instructions here for installing kfp
  3. An error occurs "Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "applications.app.k8s.io" not found"

Expected behavior

Documentation should indicate which version of kubeflow pipelines works with which version of k8s.

Screenshots

export PIPELINE_VERSION=1.7.1 kubectl apply -k "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=$PIPELINE_VERSION" namespace/kubeflow created customresourcedefinition.apiextensions.k8s.io/clusterworkflowtemplates.argoproj.io created customresourcedefinition.apiextensions.k8s.io/cronworkflows.argoproj.io created customresourcedefinition.apiextensions.k8s.io/workfloweventbindings.argoproj.io created customresourcedefinition.apiextensions.k8s.io/workflows.argoproj.io created customresourcedefinition.apiextensions.k8s.io/workflowtemplates.argoproj.io created serviceaccount/kubeflow-pipelines-cache-deployer-sa created clusterrole.rbac.authorization.k8s.io/kubeflow-pipelines-cache-deployer-clusterrole created clusterrolebinding.rbac.authorization.k8s.io/kubeflow-pipelines-cache-deployer-clusterrolebinding created resource mapping not found for name: "applications.app.k8s.io" namespace: "" from "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=1.7.1": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" ensure CRDs are installed first resource mapping not found for name: "scheduledworkflows.kubeflow.org" namespace: "" from "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=1.7.1": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" ensure CRDs are installed first resource mapping not found for name: "viewers.kubeflow.org" namespace: "" from "github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref=1.7.1": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1" ensure CRDs are installed first

Environment

Additional context

ckadner commented 1 year ago

Hi Sima, I need to update these instructions for Kubernetes 1.22. I will create a PR shortly.