elastic / ingest-docs

Elastic Ingest Documentation
Other
6 stars 63 forks source link

[Request] Improve upgrade docs for Elastic Agent #122

Open dedemorton opened 3 years ago

dedemorton commented 3 years ago

Description

We don't provide enough detail in the docs about upgrading Elastic Agent through Fleet. Specifically users have been asking questions like:

What's the upgrade process when the user selects to upgrade the agent via Fleet? Where does the binary come from? Does the host need internet access? What ports are required to be open? What privileges are required?

Collaboration

Suggested Target Release

7.16.0

dedemorton commented 3 years ago

@EricDavisX responded to these questions with: "it reaches out to an Elastic artifactory for the same version as whatever Kibana is. it therefore needs internet. I don’t think ports come into play at that stage, until it tries to connect to Fleet Server (over default of 8220). I don’t know about privileges, if you mean the host. Kibana Fleet still requires superuser perhaps, last I recall"

bobbysuber commented 3 years ago

@dedemorton The docs currently describe the steps that a user would go through to update the agent via Fleet which are great at illustrating the steps. The customer wants to know what actually happens when this occurs. They are looking for a technical description that explains the process as they want to ensure that the entire process is secured and that they understand the requirements. I haven't seen anything in our docs that describes how the end host reaches out to an Elastic artifactory as example.

EricDavisX commented 3 years ago

@bobbysuber hi - you're absolutely right that we need deeper technical docs. Our product group just kicked off a full scale Technical Enablement discussion, most or much of which will end up in externally available Documentation, here. About this one ticket, we could try to prioritize it if helpful. I'll ping @nimarezainia for that, but I can't promise when we'll have more.

For now, I can provide this slightly longer but still maybe not technical enough short story about Agent upgrade:

That's what I know, and I think it's accurate, but the timing of the steps and the details may be different based on the current state of code as we find and fix bugs and improve the stability, generally

dedemorton commented 3 years ago

One thing to keep in mind is that we should avoid documenting internal implementation details that are likely to change over time. Docs that expose product internals are difficult to maintain over time and set expectations about how the product behaves (users might build dependencies on these behaviors).

We should definitely expose details when users need to take specific actions (like opening ports, granting privileges, and so on).

Just something to keep in mind as we gather requirements here....