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
no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1" #1818
Comments
|
does this mean the CRD type available ? |
@shimron v1 CRDs were introduced in kuberentes v1.16 (see https://www.openshift.com/blog/a-look-into-the-technical-details-of-kubernetes-1-16) for more info. OLM uses v1 CRDs exclusively. Installing v1 CRDs on a 1.14 cluster won't work because that group/version is not available (only We are tracking support for v1beta1 CRDs again in #1726 but my recommendation would be to upgrade the cluster, if possible |
Got it, thx. BTW, is it possible to deploy operator without OLM ? We're using k8s v1.14, upgrading the cluster would be a big step for us. |
@shimron If you want to use a version of OLM that is compatible with your older version of Kubernetes, you can just install an older version of OLM. It looks like the latest version of OLM that still used v1beta1 crds is 0.14.1: https://github.com/operator-framework/operator-lifecycle-manager/tree/master/deploy/upstream/manifests/0.14.1 You cannot deploy any OLM packaged operator without OLM, because their packaging format relies on OLM APIs installed on your cluster that can reconcile the ClusterServiceVersion type. There are some operators on operatorhub.io that are packaged as helm charts, but the majority there opt into the reconciliation and lifecycle features that OLM provides and require it as a result. |
@kevinrizza Thx,I’ll try. |
Bug Report
What did you do?
trying to install olm
What did you expect to see?
olm installed
What did you see instead? Under which circumstances?
[root@test-tke-node-6 operator-lifecycle-manager]# ./install.sh 0.16.1 unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1" unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1" unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1" unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1" unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1" unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"
`[root@test-tke-node-6 operator-lifecycle-manager]# kubectl apply -f https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml
unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"
unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"
unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"
unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"
unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"
unable to recognize "https://github.com/operator-framework/operator-lifecycle-manager/releases/download/0.16.1/crds.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1"`
Environment
operator-lifecycle-manager version:
0.16.1
Kubernetes version information:
Client Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.3-tke.6.rc2", GitCommit:"c6a529c390bc93cc394c12ec38f22b5fcfb460fd", GitTreeState:"clean", BuildDate:"2019-11-14T12:19:15Z", GoVersion:"go1.12.13", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.3-tke.6.rc2", GitCommit:"c6a529c390bc93cc394c12ec38f22b5fcfb460fd", GitTreeState:"clean", BuildDate:"2019-11-14T12:19:25Z", GoVersion:"go1.12.13", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered: