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

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

Open
simanadler opened this issue Sep 13, 2022 · 1 comment
Open

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

simanadler opened this issue Sep 13, 2022 · 1 comment

Comments

@simanadler
Copy link

simanadler commented Sep 13, 2022

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

  • OS: MacOS 12.5.1
  • k8s: KIND

Additional context

@ckadner
Copy link
Member

ckadner commented Sep 14, 2022

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

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

2 participants