From 56ea4576cc19ae1ded84850fe3c9be41c46d13a5 Mon Sep 17 00:00:00 2001 From: Robert Fratto Date: Wed, 10 Jan 2024 14:44:59 -0500 Subject: [PATCH] [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. --- docs/sources/_index.md | 2 ++ .../static/set-up/install/install-agent-kubernetes.md | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/sources/_index.md b/docs/sources/_index.md index 810f2d5648f8..aee56aceb825 100644 --- a/docs/sources/_index.md +++ b/docs/sources/_index.md @@ -7,6 +7,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.36.0 --- # Grafana Agent diff --git a/docs/sources/static/set-up/install/install-agent-kubernetes.md b/docs/sources/static/set-up/install/install-agent-kubernetes.md index f4b2d615a685..bb7ee52638a8 100644 --- a/docs/sources/static/set-up/install/install-agent-kubernetes.md +++ b/docs/sources/static/set-up/install/install-agent-kubernetes.md @@ -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.