How to deploy a single node elasticsearch cluster in Google Kubernetes engine?

12/30/2018

I have configured a small instance of google kubernetes cluster with one node. I want to deploy elasticsearch service in this cluster. How do I set up that? I need the necessary steps.

-- Harshdeep Kanhai
elasticsearch
google-cloud-platform
google-kubernetes-engine

2 Answers

12/31/2018

You can use the elasticsearch helm chart and manually tune it's resources limits and requests to fit into one node.

-- Luiz Ferraz
Source: StackOverflow

12/31/2018

In Google Cloud Marketplacep there are different categorie of elasticsearch if you want container images:

enter image description here

You need just to use the gcloud pull command

Elasticsearch 5:

gcloud auth configure-docker && docker pull marketplace.gcr.io/google/elasticsearch5:latest

Elasticsearch 6:

gcloud auth configure-docker && docker pull marketplace.gcr.io/google/elasticsearch6:latest

For kubernetes app (like depluing directly to your cluster)

enter image description hereenter image description here

As well you can deply using HELM as suggested by @Luiz

-- Alioua
Source: StackOverflow