Skip to content
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

Add CRDs installation prerequisites to the “Elastic Stack Helm Chart” article #8052

Open
NeroBlackstone opened this issue Sep 14, 2024 · 1 comment
Labels
>docs Documentation

Comments

@NeroBlackstone
Copy link

NeroBlackstone commented Sep 14, 2024

I'm new to cloud-on-k8s, and I want to Installing Logstash along with Elasticsearch, Kibana and Beats using the eck-stack Helm Chart , I follow instructions from this page and I got a error:

helm install eck-stack-with-logstash elastic/eck-stack \
    --values https://raw.githubusercontent.com/elastic/cloud-on-k8s/2.14/deploy/eck-stack/examples/logstash/basic-eck.yaml -n elastic-stack
#Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [resource mapping not found for name: "eck-stack-with-logstash-eck-beats" namespace: "" from "": no matches for kind "Beat" in version "beat.k8s.elastic.co/v1beta1"
#ensure CRDs are installed first, resource mapping not found for name: "elasticsearch" namespace: "" from "": no matches for kind "Elasticsearch" in version "elasticsearch.k8s.elastic.co/v1"
#ensure CRDs are installed first, resource mapping not found for name: "eck-stack-with-logstash-eck-kibana" namespace: "" from "": no matches for kind "Kibana" in version "kibana.k8s.elastic.co/v1"
#ensure CRDs are installed first, resource mapping not found for name: "logstash-ls-beats" namespace: "" from "": no matches for kind "Logstash" in version "logstash.k8s.elastic.co/v1alpha1"
#ensure CRDs are installed first]

Then I install custom resource definitions:

kubectl create -f https://download.elastic.co/downloads/eck/2.14.0/crds.yaml

and Install the operator with its RBAC rules:

kubectl apply -f https://download.elastic.co/downloads/eck/2.14.0/operator.yaml

then every thing worked.

So, I think this “Elastic Stack Helm Chart” article miss section about how to install custom resource definitions and operator.

If this is necessary, I am willing to open a PR to add this part, thank you

@botelastic botelastic bot added the triage label Sep 14, 2024
@barkbay barkbay added the >docs Documentation label Sep 16, 2024
@botelastic botelastic bot removed the triage label Sep 16, 2024
@barkbay
Copy link
Contributor

barkbay commented Sep 16, 2024

Yes, this section assumes that the operator has been already installed: https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-installing-eck.html

Maybe we can add a note to make this more explicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>docs Documentation
Projects
None yet
Development

No branches or pull requests

2 participants