Pod state 0/1 Running after set up elasticseatch on k8s cluster using helm chart

Hey!
As I already mentioned here: Database file changed error - #7 by cezzarez
I have a problem with elasticsearch on my k8s cluster. Looks like everything works as expected, but my pods are stucks with state 0/1. In my organization it is not acceptable, but I do not have idea how to solve this problem.
Last logs are:

{"type": "server", "timestamp": "2021-09-03T09:48:59,006Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "updating geoip databases"}
{"type": "server", "timestamp": "2021-09-03T09:48:59,007Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "fetching geoip databases overview from [https://geoip.elastic.co/v1/database?elastic_geoip_service_tos=agree]"  }
{"type": "server", "timestamp": "2021-09-03T09:49:00,106Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "geoip database [GeoLite2-ASN.mmdb] is up to date, updated timestamp"  }
{"type": "server", "timestamp": "2021-09-03T09:49:00,500Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "geoip database [GeoLite2-City.mmdb] is up to date, updated timestamp"  }
{"type": "server", "timestamp": "2021-09-03T09:49:00,999Z", "level": "INFO", "component": "o.e.i.g.GeoIpDownloader", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "geoip database [GeoLite2-Country.mmdb] is up to date, updated timestamp" }
{"type": "server", "timestamp": "2021-09-03T09:49:01,002Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "Cluster health status changed from [RED] to [YELLOW] (reason: [shards started [[.geoip_databases][0]]])." }
{"type": "server", "timestamp": "2021-09-03T09:49:01,356Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "downloading geoip database [GeoLite2-Country.mmdb] to [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-Country.mmdb.tmp.gz]" }
{"type": "server", "timestamp": "2021-09-03T09:49:01,357Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "downloading geoip database [GeoLite2-ASN.mmdb] to [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-ASN.mmdb.tmp.gz]"  }
{"type": "server", "timestamp": "2021-09-03T09:49:01,358Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "downloading geoip database [GeoLite2-City.mmdb] to [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-City.mmdb.tmp.gz]" }
{"type": "server", "timestamp": "2021-09-03T09:49:04,203Z", "level": "INFO", "component": "o.e.c.r.a.AllocationService", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.geoip_databases][0]]])."  }
{"type": "server", "timestamp": "2021-09-03T09:49:05,125Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "database file changed [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-ASN.mmdb], reload database..." }
{"type": "server", "timestamp": "2021-09-03T09:49:05,508Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "database file changed [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-Country.mmdb], reload database..." }
{"type": "server", "timestamp": "2021-09-03T09:49:09,311Z", "level": "INFO", "component": "o.e.i.g.DatabaseRegistry", "cluster.name": "elasticsearch", "node.name": "elasticsearch-master-0", "message": "database file changed [/tmp/elasticsearch-14340479604074439324/geoip-databases/YibBtYa-R5e4OSZd5QII5g/GeoLite2-City.mmdb], reload database..." }

Do you have any idea how to solve this problem?

Regards,
Bartek

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.