But any of them goes to ready state. In logs it's just stuck after
"message":"successfully loaded geoip database file [GeoLite2-City.mmdb]"
Everything looks ok, so I went inside the pod and curl'ed to check the health endpoint: curl -u elastic:$ELASTIC_PASSWORD -X GET https://localhost:9200/_cluster/health?wait_for_status=green
It hangs (not always, dont know why) and after a return keypress: curl: (35) error:1408F10B:SSL routines:ssl3_get_record:wrong version number
So, I haven't mounted the elastic-stack-ca.p12 in the pods. In documentation I've understood that it was not needed.
You are enabled transport SSL which is for SSL communication between nodes, if you want to verify if it is working, you should curl the transport port, which by default should be 9300.
Please notice you have to curl it with CA cert, Private Cert and Private key, then it would return:
This is not HTTP port
If you want to connect ES API (9200) with HTTPS, you should enable and config
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.