setup elasticsearch cluster on aks azure using terraform

10/13/2020

I am looking for guidance on setting up Elasticsearch 1 master & 1 data nodes on Azure Kubernetes Service using terraform I have setup a cluster and want to do automatically deploy Elasticsearch 6 during AKS Cluster creation is there possible way out ? I did some google but couldn't get it.

Thanks,

-- Muhammad Zaman
azure
elasticsearch
kubernetes
terraform
terraform-provider-azure

1 Answer

10/23/2020

You can install the Elasticsearch in AKS through the Helm. Follow the steps here to create the AKS via Terraform. And use the Helm via the Terraform. Here is an example that installs the Helm chart in AKS via Terraform. Here is also an example that installs Elasticsearch in AKS via Helm.

-- Charles Xu
Source: StackOverflow