Skip to content

Add CPU resource request to elasticsearch pod#385

Open
asafyehezkel wants to merge 2 commits into
masterfrom
add-elasticsearch-cpu-request
Open

Add CPU resource request to elasticsearch pod#385
asafyehezkel wants to merge 2 commits into
masterfrom
add-elasticsearch-cpu-request

Conversation

@asafyehezkel

@asafyehezkel asafyehezkel commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

The Elasticsearch pod declared a memory request/limit but no CPU request, so the scheduler had no guaranteed CPU floor for it. Add a 1-core CPU request under resources.requests.

No CPU limit is set, to avoid throttling a latency-sensitive workload. Verified the chart still renders with helm template.

Fixes EN-2222.

Elasticsearch declared a memory request/limit but no CPU request, so the
scheduler had no guaranteed CPU floor for the ES pod. Add a 1-core CPU
request (no limit, to avoid throttling a latency-sensitive workload).

Fixes EN-2222.
A full-core request makes ES claim ~50% of a 2-vCPU node (small VMs,
Docker Desktop defaults), risking Pending pods since the k3d installer
never validates CPU capacity. 500m keeps the scheduling floor while
staying schedulable on minimum hardware; no CPU limit, so it still
bursts freely.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@roytl roytl self-requested a review June 11, 2026 10:16

@roytl roytl left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants