elastic / elastic/elastic-agent

[Helm] Support outputs.default.hosts (list) for standalone using Helm

Open
#10,669 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Team:Elastic-Agent-Control-Plane
Dominant language
Go
Stars
276
Forks
266
Avg merge
1d 23h
Merged PRs (30d)
312

Description

Describe the enhancement:
Expose a hosts list for the Elasticsearch output in Helm values (standalone Agent), not just a single url string. The chart should render outputs.default.hosts: [...] into agent.yml (backward-compatible with today’s url).

Describe a specific use case for the enhancement or feature:
On-prem clusters without a load balancer need multiple ES HTTP endpoints for failover/HA. With only a single url, one node outage breaks ingest.

What is the definition of done?
values.yaml supports:

outputs:
  default:
    hosts:
      - https://es01:9200
      - https://es02:9200
      - https://es03:9200
  • Chart renders agent.yml with outputs.default.hosts (if hosts set), and continues to support url (mutually exclusive; emit a clear validation error if both are set).
  • README documents the new option with examples.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the chart's values.yaml and the templates that render agent.yml, then check the README examples. Verify how the existing default url is rendered and how values are validated. Done means hosts renders when set, url remains supported, both together produce a clear validation error, and the README documents the new list option.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, helm
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.