Try It Out
In this example we will deploy the Elastic Stack on a Kubernetes cluster using the Minimus ECK Stack Helm chart. You will get a running Elasticsearch cluster and Kibana instance out of the box.
Step 1: Start Cluster
If you have a cluster to work with, skip this step. Otherwise, start a Minikube cluster. Deployment instructions
Step 2: Create Namespace
Create a namespace:
kubectl create ns eck-stack
Step 3: Deploy the Helm Chart
Deploy the Minimus Helm chart:
helm install my-eck-stack oci://helm.mini.dev/eck-stack \
--version 0.19.1 \
-n eck-stack \
--wait
If you want to override the chart's defaults, go to the Values tab, save a copy locally with your changes. Deploy the chart with your overrides using -f values.yaml:
helm install my-eck-stack oci://helm.mini.dev/eck-stack \
--version 0.19.1 \
-f values.yaml \
-n eck-stack \
--wait
Step 4: Verify ECK Stack is Running
Check the status of the Elasticsearch and Kibana resources:
kubectl get elasticsearch,kibana -n eck-stack
Expected output:
NAME HEALTH NODES VERSION PHASE AGE
elasticsearch.elasticsearch.k8s.elastic.co/elasticsearch green 1 9.x.x Ready 2m
NAME HEALTH NODES VERSION AGE
kibana.kibana.k8s.elastic.co/eck-stack-eck-kibana green 1 9.x.x 2m
Run the following and wait for the pods to show that their status is Running:
kubectl get pods -n eck-stack -w
Step 5: Test Elasticsearch Health
Retrieve the default elastic user password:
kubectl get secret elasticsearch-es-elastic-user -n eck-stack \
-o go-template='{{.data.elastic | base64decode}}'
Port-forward to the Elasticsearch service:
kubectl port-forward svc/elasticsearch-es-http 9200 -n eck-stack
In a separate terminal, verify the cluster health:
curl -sSf -k -u "elastic:<password>" "https://localhost:9200/_cluster/health?pretty"
You should see "status" : "green" in the output.
Step 6: Access Kibana
Port-forward to the Kibana service:
kubectl port-forward svc/eck-stack-eck-kibana-kb-http 5601 -n eck-stack
Open https://localhost:5601 in your browser and log in with:
- Username:
elastic
- Password: (from the previous step)
Step 7: Clean Up
Uninstall the chart and delete the namespace to remove all resources:
helm uninstall my-eck-stack -n eck-stack
kubectl delete namespace eck-stack
Terms & Info
Trademark
This catalog is published by Minimus. All product names, logos, and marks, other than those belonging to Minimus, shown are owned by their respective rights holders and appear here only to identify the open source software each image contains. Minimus claims no ownership of those marks and implies no affiliation with, endorsement by, certification by, or sponsorship by any rights holder.
Disclaimer
Images are provided "as-is" without warranty of any kind. "Hardened" refers to the security configuration applied at the time of build and does not constitute a guarantee of ongoing security or absence of vulnerabilities. The free tier is provided without support, SLA, or guaranteed patching timelines. Security updates may be applied to paid subscriptions before or instead of free tier images. By pulling or using any image you agree to our Terms of Use.