Skip to content

Commit

Permalink
[release-v0.35] docs: pin version to removed folders (#6098)
Browse files Browse the repository at this point in the history
* [release-v0.36] docs: pin version to removed folders (#6096)

As part of #6077, folders referenced by older versions of documentation
will no longer work when pointing to the main branch. These links are
now being pinned to the agent version that the versioned documentation
is associated with.

(cherry picked from commit 56ea457)

* Update docs/sources/_index.md

---------

Co-authored-by: Robert Fratto <[email protected]>
  • Loading branch information
grafanabot and rfratto authored Jan 10, 2024
1 parent f29a508 commit 26265b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions docs/sources/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ canonical: https://grafana.com/docs/agent/latest/
title: Grafana Agent
description: Grafana Agent is a flexible, performant, vendor-neutral, telemetry collector
weight: 350
cascade:
AGENT_RELEASE: v0.35.0
---

# Grafana Agent
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ To deploy Grafana Agent in static mode on Kubernetes, perform the following step

1. Download one of the following manifests from GitHub and save it as `manifest.yaml`:

- Metric collection (StatefulSet): [agent-bare.yaml](https://github.com/grafana/agent/blob/main/production/kubernetes/agent-bare.yaml)
- Log collection (DaemonSet): [agent-loki.yaml](https://github.com/grafana/agent/blob/main/production/kubernetes/agent-loki.yaml)
- Trace collection (Deployment): [agent-traces.yaml](https://github.com/grafana/agent/blob/main/production/kubernetes/agent-traces.yaml)
- Metric collection (StatefulSet): [agent-bare.yaml](https://github.com/grafana/agent/blob/{{< param "AGENT_RELEASE" >}}/production/kubernetes/agent-bare.yaml)
- Log collection (DaemonSet): [agent-loki.yaml](https://github.com/grafana/agent/blob/{{< param "AGENT_RELEASE" >}}/production/kubernetes/agent-loki.yaml)
- Trace collection (Deployment): [agent-traces.yaml](https://github.com/grafana/agent/blob/{{< param "AGENT_RELEASE" >}}/production/kubernetes/agent-traces.yaml)

1. Edit the downloaded `manifest.yaml` and replace the placeholders with information relevant to your Kubernetes deployment.

Expand Down

0 comments on commit 26265b7

Please sign in to comment.