ElasticSearch discover all cores in a kubernetes pod instead the cores given in a statefulset #33055
Labels
:Core/Infra/Core
Core issues without another label
needs:reproduction
Team:Core/Infra
Meta label for core/infra team
Hi, we have a cluster of elasticsearch v.5.2.2. in kubernetes with 20 workers and 3 electable masters dedicated. This cluster have machines with 8 cores but in our statefullset we have set the workers with only 2 cpu core in guarantee mode. The problem comes when the workers think they have 8 cores and the bulk thread pool has a size of 8 too. Then all workers are working more than they can ingest and suddenly they one of them start to reject all petitions and the cluster stop of index more documents, this problem is solved restarting the pods, but eventually the problem comes again. We can escalate the cluster with more workers and then the problem seems is solved until the number of documents is increased.
I think that will be solved if elasticearch would discover the cores available correctly in a pod in kubernetes.
The text was updated successfully, but these errors were encountered: