Create Elastic Datastore
This guide shows how to create an Elastic Datastore component as part of your Kubernetes cluster.
SDK Availability
Elastic Datastore is currently supported in the Java SDK only. Support for the TypeScript SDK and Terraform Provider is planned.
Cloud provider guides
| Provider | Kubernetes Service | Guide |
|---|---|---|
| Microsoft Azure | AKS (Azure Kubernetes Service) | Elastic Datastore in AKS |
| Google Cloud Platform | GKE (Google Kubernetes Engine) | Elastic Datastore in GKE |
Prerequisites
The ECK operator requires the following images:
- docker.elastic.co/eck/eck-operator:2.5.0
- docker.elastic.co/elasticsearch/elasticsearch:8.5.0
- docker.elastic.co/kibana/kibana:8.5.0
- docker.elastic.co/apm/apm-server:8.5.0
If they are missing in the Fractal container registry, they must be pushed to your cluster's container registry. A script similar to the following might help:
containerRegistry="<your container registry prefix>"
docker pull docker.elastic.co/eck/eck-operator:2.5.0
docker tag docker.elastic.co/eck/eck-operator:2.5.0 ${containerRegistry}/eck/eck-operator:2.5.0
docker push ${containerRegistry}/eck/eck-operator:2.5.0
docker pull docker.elastic.co/elasticsearch/elasticsearch:8.5.0
docker tag docker.elastic.co/elasticsearch/elasticsearch:8.5.0 ${containerRegistry}/elasticsearch/elasticsearch:8.5.0
docker push ${containerRegistry}/elasticsearch/elasticsearch:8.5.0
docker pull docker.elastic.co/kibana/kibana:8.5.0
docker tag docker.elastic.co/kibana/kibana:8.5.0 ${containerRegistry}/kibana/kibana:8.5.0
docker push ${containerRegistry}/kibana/kibana:8.5.0
docker pull docker.elastic.co/apm/apm-server:8.5.0
docker tag docker.elastic.co/apm/apm-server:8.5.0 ${containerRegistry}/apm/apm-server:8.5.0
docker push ${containerRegistry}/apm/apm-server:8.5.0