How to resolve "unable to recognize "bootstrapper.yaml": no matches for kind "StatefulSet" in version "apps/v1beta2"" this error?

5/2/2021

The documentation provided on kubeflow.org for installing kubeflow on minikube on local device has now been removed: https://www.kubeflow.org/docs/distributions/kfctl/minikube/

I tried running the following commands :

(referred the following site for the installation: https://v0-2.kubeflow.org/docs/started/getting-started-minikube/ )

curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.28.0/minikube-darwin-amd64

chmod +x minikube
sudo mv minikube /usr/local/bin/

curl -O https://raw.githubusercontent.com/kubeflow/kubeflow/v0.2-branch/bootstrap/bootstrapper.yaml

kubectl create -f bootstrapper.yaml

but got the following warning and error:

namespace/kubeflow-admin created

Warning: rbac.authorization.k8s.io/v1beta1 ClusterRoleBinding is deprecated in v1.17+, unavailable in v1.22+; use rbac.authorization.k8s.io/v1 ClusterRoleBinding clusterrolebinding.rbac.authorization.k8s.io/kubeflow-cluster-admin created persistentvolumeclaim/kubeflow-ksonnet-pvc created

error: unable to recognize "bootstrapper.yaml": no matches for kind "StatefulSet" in version "apps/v1beta2"

-- Amruta
bootstrapper
kubectl
kubeflow
kubernetes
minikube

0 Answers