Init:0/3: only 2 init containers are created by default: elastic-internal-init-filesystem and elastic-internal-suspend. Could you check why is there a third one and check if there're any logs from it?
Good morning Michel, first of all thank you for the answer. I have three pods deployed from quickstart, so it looks like one on each worker, doing a describe on each shows the following: Normal Scheduled 8s default-scheduler Successfully assigned monitoring/quickstart-es-default-2 to worker3 Normal Scheduled 32s default-scheduler Successfully assigned monitoring/quickstart-es-default-0 to worker1Normal Scheduled 7s default-scheduler Successfully assigned monitoring/quickstart-es-default-1 to worker2
This is the result @michael.morello
["bash","-c","/mnt/elastic-internal/scripts/prepare-fs.sh"] ["bash","-c","/mnt/elastic-internal/scripts/suspend.sh"] ["sh","-c","sysctl -w vm.max_map_count=262144"]
Phase is still Pending, also the Pod does not seem to have a podIP, this may prevent the operator from generating the certificates, and consequently also prevent the Pod from starting.
Could you double check the podIP by running kubectl get pod/quickstart-es-default-0 -o wide
Could you also:
Get the containers logs (if any): kubectl logs --all-containers pod/quickstart-es-default-0
kubectl logs --all-containers pod/quickstart-es-default-0 -n monitoring
Error from server (BadRequest): container "sysctl" in pod "quickstart-es-default-0" is waiting to start: PodInitializing
"log.level":"info","@timestamp":"2022-07-07T11:16:43.080Z","log.logger":"transport","message":"Skipping pod because it has no IP yet","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","namespace":"monitoring","pod_name":"quickstart-es-default-2"}
{"log.level":"info","@timestamp":"2022-07-07T11:16:43.084Z","log.logger":"generic-reconciler","message":"Updating resource","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","kind":"Service","namespace":"monitoring","name":"quickstart-es-default"}
{"log.level":"info","@timestamp":"2022-07-07T11:16:43.096Z","log.logger":"driver","message":"Elasticsearch cannot be reached yet, re-queuing","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","namespace":"monitoring","es_name":"quickstart"}
{"log.level":"info","@timestamp":"2022-07-07T11:16:43.096Z","log.logger":"elasticsearch-controller","message":"Ending reconciliation run","service.version":"2.2.0+02f250eb","service.type":"eck","ecs.version":"1.4.0","iteration":191787,"namespace":"monitoring","es_name":"quickstart","took":0.316895309}
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.