Skip to content

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

@simanadler

Description

@simanadler

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

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