Skip to content

Latest commit

 

History

History

local-deployment

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Deploy Elasticsearch + Kibana using Podman Compose

Install podman

Podman is like Docker but it doesn't require root privileges ;)

Install podman desktop: https://podman-desktop.io/

Make sure compose is setup and Docker compatibility is enabled.

Deploy Elasticsearch + Kibana

Instructions: https://www.elastic.co/guide/en/elasticsearch/reference/8.15/docker.html#docker-compose-file

Check the cluster's health from the command line

curl -k -u "elastic:${ELASTIC_PASSWORD}" https://localhost:9200/_cluster/health

-k = skip TLS validation
-u = provide username:password

Open Kibana

Open a browser and visit http://localhost:5601

Troubleshoot

Your cluster might fail to start due to failing bootstrap checks. Find the following workarounds below.

Sneaky way

Set bootstrap.memory_lock=false in your docker-compose.yml file to skip this bootstrap checks. This is of course nothing you'd do in production!

bootstrap.memory_lock=false

Set required node settings

In production you would want to run the bootstrap checks to ensure your node is configured properly. Here you find the important settings that must be set:
https://www.elastic.co/guide/en/elasticsearch/reference/current/important-settings.html