Skip to content

Commit 69b258f

Browse files
authored
Update running-on-kubernetes-managed-by-fleet.md deploy command (#2403)
This PR fixes an incorrect URL and adds an example using the latest version (using {{version.stack}}), so it can be easily used with copying and pasting.
1 parent 2d6427e commit 69b258f

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

reference/fleet/running-on-kubernetes-managed-by-fleet.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,13 @@ You can find {{agent}} Docker images [here](https://www.docker.elastic.co/r/elas
5757
Download the manifest file, substituting `{agent_version}` with the version number:
5858

5959
```sh
60-
curl -L -O https://github.com/elastic/elastic-agent/blob/v{agent_version}/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
60+
curl -L -O https://raw.githubusercontent.com/elastic/elastic-agent/refs/tags/v{agent_version}/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
61+
```
62+
63+
For example, to download the manifest of the latest {{version.stack}} release:
64+
65+
```sh subs=true
66+
curl -L -O https://raw.githubusercontent.com/elastic/elastic-agent/refs/tags/v{{version.stack}}/deploy/kubernetes/elastic-agent-managed-kubernetes.yaml
6167
```
6268

6369
::::{note}

0 commit comments

Comments
 (0)