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

ECK Enterprise Search Helm Chart. #7744

Merged
merged 7 commits into from
Apr 25, 2024
Merged

Conversation

naemono
Copy link
Contributor

@naemono naemono commented Apr 24, 2024

What is this change?

This adds an ECK EnterpriseSearch Helm Chart for deploying Enterprise Search instances using the ECK Operator.

Testing

Installing with stack version 8.13.2 seems to work without issues (snapshot versions aren't quite working)

❯ helm upgrade -i eck-stack . -n elastic --create-namespace -f examples/enterprise-search/with-custom-configuration.yaml --set=eck-elasticsearch.version=8.13.2 --set=eck-kibana.version=8.13.2 --set=eck-enterprise-search.version=8.13.2
false
Release "eck-stack" has been upgraded. Happy Helming!
NAME: eck-stack
LAST DEPLOYED: Wed Apr 24 13:55:06 2024
NAMESPACE: elastic
STATUS: deployed
REVISION: 4
TEST SUITE: None
NOTES:
Elasticsearch ECK-Stack 0.11.0-SNAPSHOT has been deployed successfully!

To see status of all resources, run

kubectl get elastic -n elastic -l "app.kubernetes.io/instance"=eck-stack

More information on the Elastic ECK Operator, and its Helm chart can be found
within our documentation.

https://www.elastic.co/guide/en/cloud-on-k8s/current/index.html

Everything becomes healthy:

❯ kgp -n elastic
NAME                                    READY   STATUS    RESTARTS   AGE
elasticsearch-es-default-0              1/1     Running   0          3h40m
elasticsearch-es-default-1              1/1     Running   0          3h40m
elasticsearch-es-default-2              1/1     Running   0          3h40m
enterprise-search-ent-fc96ddf54-6dbks   1/1     Running   0          3h30m
kibana-kb-854b7dc9b4-fvlzb              1/1     Running   0          81s

All components green

❯ kubectl get elastic -n elastic -l "app.kubernetes.io/instance"=eck-stack
NAME                                                       HEALTH   NODES   VERSION   PHASE   AGE
elasticsearch.elasticsearch.k8s.elastic.co/elasticsearch   green    3       8.13.2    Ready   3h40m

NAME                                                                 HEALTH   NODES   VERSION   AGE
enterprisesearch.enterprisesearch.k8s.elastic.co/enterprise-search   green    1       8.13.2    3h40m

NAME                                  HEALTH   NODES   VERSION   AGE
kibana.kibana.k8s.elastic.co/kibana   green    1       8.13.2    3h40m

Required elasticsearchRef or configRef works: (i tried all variations of this from values commented out, to just being empty for one/both)

❯ helm template ent-search . -s templates/enterprisesearch.yaml
Error: execution error at (eck-enterprise-search/templates/enterprisesearch.yaml:22:5): At least one of configRef or elasticsearchRef is required

Enterprise Search integration with Kibana seems to work:
image

TODO:

  • additional verification/testing.
  • Documentation

Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
Rename file.

Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
@botelastic botelastic bot added the triage label Apr 24, 2024
@pebrc pebrc added the >enhancement Enhancement of existing functionality label Apr 24, 2024
@botelastic botelastic bot removed the triage label Apr 24, 2024
@pebrc pebrc added >feature Adds or discusses adding a feature to the product triage labels Apr 24, 2024
@botelastic botelastic bot removed the triage label Apr 24, 2024
@pebrc pebrc added triage and removed >enhancement Enhancement of existing functionality labels Apr 24, 2024
@botelastic botelastic bot removed the triage label Apr 24, 2024
@pebrc pebrc added the v2.13.0 label Apr 24, 2024
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
Add basic install manifest

Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
@naemono naemono changed the title WIP: ECK Enterprise Search Helm Chart. ECK Enterprise Search Helm Chart. Apr 24, 2024
@naemono naemono marked this pull request as ready for review April 24, 2024 19:08
Copy link
Collaborator

@pebrc pebrc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
Signed-off-by: Michael Montgomery <mmontg1@gmail.com>
@naemono naemono merged commit da474f8 into elastic:main Apr 25, 2024
5 checks passed
@naemono naemono deleted the ent-search-helm-chart branch April 25, 2024 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>feature Adds or discusses adding a feature to the product :helm-charts v2.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants