-
Notifications
You must be signed in to change notification settings - Fork 185
Add Linux, Windows, DEB, and RPM standalone agent upgrade commands #4187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: bmorelli25 <5618806+bmorelli25@users.noreply.github.com>
🔍 Preview links for changed docs |
Removed unnecessary 'cd' commands for upgrade instructions.
| To upgrade a standalone agent running on an edge node: | ||
|
|
||
| 1. Make sure the `elastic-agent` service is running. | ||
| 2. From the directory where {{agent}} is installed, run the `upgrade` command to upgrade to a new version. Not sure where the agent is installed? Refer to [Installation layout](/reference/fleet/installation-layout.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vishaangelova you're right that this step already tells folks to move to the right directory. I've simplified the instructions below. Thanks!
vishaangelova
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!:)
|
@copilot, update the PR description with the current PR changes. |
vishaangelova
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
|
Woah! |
Summary
The standalone agent upgrade documentation only showed macOS commands. Added tabbed interface with simplified upgrade commands for all supported platforms:
sudo elastic-agent upgrade 9.1.1sudo elastic-agent upgrade 9.1.1.\elastic-agent.exe upgrade 9.1.1(as Administrator)sudo elastic-agent upgrade 9.1.1sudo elastic-agent upgrade 9.1.1The instructions leverage the fact that step 2 already directs users to navigate to the installation directory, so the code blocks only show the upgrade command itself. For DEB/RPM installations, the elastic-agent binary is already in PATH via systemd install.
Uses same tab-set syntax as
install-standalone-elastic-agent.md.Generative AI disclosure
Tool(s) and model(s) used: GitHub Copilot (Claude)
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.