This example deploy a 3 nodes Elasticsearch 8.5.1 cluster on MicroK8S using custom values.
Note that this configuration should be used for test only and isn't recommended for production.
The following MicroK8S addons need to be enabled:
dns
helm
storage
-
Deploy Elasticsearch chart with the default values:
make install
-
You can now setup a port forward to query Elasticsearch API:
kubectl port-forward svc/elasticsearch-master 9200 curl localhost:9200/_cat/indices