elastic / elastic/elastic-package

Make it easier to run custom agent builds with elastic-package

Open
#548 2 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
72
Forks
141
Avg merge
19h 42m
Merged PRs (30d)
55

Description

So, unless I'm completely skipping over something, it's not particularly easy to connect an `elastic-package` stack to an instance of elastic-agent you built yourself. If you run the agent independently of docker, you have to tinker with the global agent settings so the agent has a viable elasticsearch/fleet endpoint, which breaks agents running inside docker.

There also doesn't seem to be a particularly elegant way to connect the docker stack to a custom-built elastic-agent image.

Ideally, there should be some kind of flag that does most of this work:
`elastic-package stack up --build-agent`

Something like this shouldn't be _too_ complicated, as it just needs to:
- Build a new copy of the `elastic-agent` docker container
- spin up an elastic stack orchestrated with that container

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.