The source code and default configuration of the Building Block is available in our code.sysEleven.de. Infos on release notes and new features please follow Release notes elasticsearch
With Elastic-Search we provide a searchengine which persists documents into its NoSQL database. You can integrate this building block to provide search engine capabilities to your application.
This building block will deploy a three node Elasticsearch cluster using the OSS variant.
These three nodes are eligible to act as master and serve as data and ingest node.
Proceed with the following prerequisite description to use the Building Block out of the box.
A recommended resource overview is listed in the table below.
CPU / vCPU | Memory |
---|---|
1.0 | 6GiB |
No further activities need to be carried out in advance.
Add the directory syseleven-elasticsearch
to your control repository. Add a .gitlab-ci.yml
to the directory with the following content:
include:
- project: syseleven/building-blocks/helmfiles/elasticsearch
file: JobDevelopment.yaml
ref: 2.45.0
- project: syseleven/building-blocks/helmfiles/elasticsearch
file: JobStaging.yaml
ref: 2.45.0
- project: syseleven/building-blocks/helmfiles/elasticsearch
file: JobProduction.yaml
ref: 2.45.0
Remove environments you are not using by removing their include.
No configuration is required.
To select a different Elasticsearch version the following parameters have to be adjusted to the corresponding major version and to the specific release.
esMajorVersion: "6"
imageTag: '6.8.14'
Note: The building block only supports Elasticsearch OSS up to latest 7.10 release.
For a production-grade setup, it is highly recommended to define a JVM heapsize for Elasticsearch which is half of the configured memory limit of the pod.
esJavaOpts: "-Xmx2g -Xms2g"
resources:
requests:
memory: "4Gi"
limits:
memory: "4Gi"
You can scale your Elastic-Search Building Block with the usual scaling techniques like increasing replicas etc.
Please find more infos on release notes and new features Release notes Elastic Search