question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[elasticsearch] HPA for the clients node group

See original GitHub issue

Describe the feature: Allow to specify an HPA for the client node group of the elasticsearch chart.

Describe a specific use case for the feature:

This would allow a simple auto-scaling for the client nodes based on a given metric (usually cpu utilization). We are aware that it would not be a good idea to have metrics based scaling on the data / master nodes and that the clients also maintain some state, but in our experiments an (externally defined) HPA for clients seems to work fine.

Maybe we are missing some cases or scenarios where this could break?

I already created a prototype: https://github.com/elastic/helm-charts/compare/master...adrobisch:es-client-hpa

PS: we know about the k8s operator, but don’t want to switch right now.

I tried to get feedback in https://discuss.elastic.co/t/hpa-for-clients-in-helm-chart/266694 already.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jmlrtcommented, Apr 12, 2021

Hi @adrobisch, thanks for opening this PR, I never investigated into HPA for StatefulSets and don’t know if this is something we could/would want to do for Elasticsearch chart.

Leaving this ticket for future exploration.

0reactions
botelastic[bot]commented, Feb 15, 2022

This issue has been automatically closed because it has not had recent activity since being marked as stale.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HPA for clients in helm chart - Elastic Discuss
Hi, we are running the official k8s helm chart are wondering why there is no HPA support for the client node group?
Read more >
Elasticsearch autoscaling | Elastic Cloud on Kubernetes [2.5]
Each autoscaling policy applies to one or more NodeSets which share the same set of roles specified in the node.roles setting in the...
Read more >
Advanced Elasticsearch node scheduling | Elastic Cloud on ...
Elastic Cloud on Kubernetes (ECK) offers full control over Elasticsearch cluster nodes scheduling by combining Elasticsearch configuration with Kubernetes ...
Read more >
Updating custom templates to support node_roles ... - Elastic
This field, along with the node_roles , identifies an Elasticsearch topology element. node_roles: The list of node roles. Allowable roles are: master ,...
Read more >
How to autoscale elastic search in kubernates based on load?
For Elasticsearch you need to scale in one node at a time, monitor the state of the cluster before you can proceed, and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found