You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2023. It is now read-only.
In k8s v1.16.6,running : "helm install yurtcluster-operator . -n kube-system" will get an Error:
INSTALLATION FAILED: failed to install CRD crds/apps.openyurt.io_nodepools.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
The text was updated successfully, but these errors were encountered:
In k8s v1.16.6,running : "helm install yurtcluster-operator . -n kube-system" will get an Error: INSTALLATION FAILED: failed to install CRD crds/apps.openyurt.io_nodepools.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
@OyamingO In your k8s env, please exec command kubectl api-resources and upload the output here.
so we can check kind CustomResourceDefinition is supported in your cluster or not.
I solved the problem by running the following code:
kind create cluster --config /home/cloud/tools/kind-cluster.yaml --image=kindest/node:v1.21.1
The reason of this problem is the k8s version >1.23. In the official code provided before, the k8s version is automatically specified by kind. So we can use the parameter --image to specify a k8s version < 1.23.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
In k8s v1.16.6,running : "helm install yurtcluster-operator . -n kube-system" will get an Error:
INSTALLATION FAILED: failed to install CRD crds/apps.openyurt.io_nodepools.yaml: unable to recognize "": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
The text was updated successfully, but these errors were encountered: