Problems deploying ECK on k8 v1.23.10

Hi.

I am new to ECK, and would like to install it on our development cluster. But I have problems just installing the CRDs.

From the quickstart I've tried to install the CRDs:

kubectl apply -f https://download.elastic.co/downloads/eck/1.2.2/all-in-one.yaml

It seems the operator and so forth are created but the CRDs fails:

namespace/elastic-system created
serviceaccount/elastic-operator created
secret/elastic-webhook-server-cert created
clusterrole.rbac.authorization.k8s.io/elastic-operator unchanged
clusterrole.rbac.authorization.k8s.io/elastic-operator-view unchanged
clusterrole.rbac.authorization.k8s.io/elastic-operator-edit unchanged
clusterrolebinding.rbac.authorization.k8s.io/elastic-operator unchanged
rolebinding.rbac.authorization.k8s.io/elastic-operator created
service/elastic-webhook-server created
statefulset.apps/elastic-operator created
resource mapping not found for name: "apmservers.apm.k8s.elastic.co" namespace: "" from "https://download.elastic.co/downloads/eck/1.2.2/all-in-one.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "beats.beat.k8s.elastic.co" namespace: "" from "https://download.elastic.co/downloads/eck/1.2.2/all-in-one.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "elasticsearches.elasticsearch.k8s.elastic.co" namespace: "" from "https://download.elastic.co/downloads/eck/1.2.2/all-in-one.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "enterprisesearches.enterprisesearch.k8s.elastic.co" namespace: "" from "https://download.elastic.co/downloads/eck/1.2.2/all-in-one.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "kibanas.kibana.k8s.elastic.co" namespace: "" from "https://download.elastic.co/downloads/eck/1.2.2/all-in-one.yaml": no matches for kind "CustomResourceDefinition" in version "apiextensions.k8s.io/v1beta1"
ensure CRDs are installed first
resource mapping not found for name: "elastic-webhook.k8s.elastic.co" namespace: "" from "https://download.elastic.co/downloads/eck/1.2.2/all-in-one.yaml": no matches for kind "ValidatingWebhookConfiguration" in version "admissionregistration.k8s.io/v1beta1"
ensure CRDs are installed first

Any help getting going is much appreciated :slight_smile:

You're trying to install an old version of the operator. The lastest is 2.5. just install the CRDs first then the operator.

Thanks! I had touched the drop down, and followed a wrong guide.