Skip to content

A Promise available in the Marketplace (kratix.io/marketplace) to provide distributed, open search and analytics engine for all types of data

Notifications You must be signed in to change notification settings

syntasso/promise-elasticcloud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elastic Cloud on Kubernetes

syntasso

This Promise deploys an Elasticsearch and a Kibana instance, using Elastic Cloud on Kubernetes (ECK). The promise has a single field:

  • spec.env

Check the CRD documentation for more information.

To install, run the following command while targeting your Platform cluster:

kubectl create -f https://raw.githubusercontent.com/syntasso/promise-elasticcloud/main/promise.yaml

This will start the Elastic Operator on Worker Cluster. To verify the installation, run the following command while targeting the Worker cluster (it may take a couple of minutes):

$ kubectl get all --namespace elastic-system
NAME                     READY   STATUS    RESTARTS   AGE
pod/elastic-operator-0   1/1     Running   0          49s

NAME                             TYPE        CLUSTER-IP    EXTERNAL-IP   PORT(S)   AGE
service/elastic-webhook-server   ClusterIP   10.96.99.51   <none>        443/TCP   49s

NAME                                READY   AGE
statefulset.apps/elastic-operator   1/1     49s

To create an instance of Elastic Search with Kibana, run the following command while targeting the Platform cluster:

kubectl apply -f https://raw.githubusercontent.com/syntasso/promise-elasticcloud/main/resource-request.yaml

To verify that the Elastic Stack is created, run the following command while targeting the Worker cluster:

$ kubectl get elasticsearches.elasticsearch.k8s.elastic.co
NAME      HEALTH   NODES   VERSION   PHASE   AGE
example   yellow   1       8.5.3     Ready   4m15s

Accessing Kibana

A ClusterIP Service is automatically created for Kibana:

kubectl get service example-kb-http

Use kubectl port-forward to access Kibana from your local workstation:

kubectl port-forward service/example-kb-http 5601

Open https://localhost:5601 in your browser. Login as the elastic user. The password can be obtained with the following command:

kubectl get secret quickstart-es-elastic-user -o=jsonpath='{.data.elastic}' | base64 --decode

Development

For development see README.md

Questions? Feedback?

We are always looking for ways to improve Kratix and the Marketplace. If you run into issues or have ideas for us, please let us know. Feel free to open an issue or put time on our calendar. We'd love to hear from you.

About

A Promise available in the Marketplace (kratix.io/marketplace) to provide distributed, open search and analytics engine for all types of data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •