⚠️ This patch release fixes a security vulnerability in Grafana Agent ⚠️
This is release v0.21.2
of the Grafana Agent.
Notable changes:
This patch release contains a fix for CVE-2021-41090. Please read the advisory in detail. We recommend patching your agents as soon as possible.
Once patched, the impacted /-/config
and /agent/api/v1/configs/{name}
endpoints will now be disabled by default. Pass the --config.enable-read-api
flag at the command line to opt in to these endpoints.
Installation:
Grafana Agent is currently distributed in plain binary form, Docker container images, a Windows installer, and a Kubernetes install script. Choose whichever fits your use-case best.
Kubernetes
Install directions here.
Docker container:
docker pull "grafana/agent:v0.21.2"
Windows installer
The Windows installer is provided as a release asset for x64 machines.
Binary
We provide precompiled binary executables for the most common operating systems. Choose from the assets below for your matching operating system. Example for the linux
operating system on amd64
:
# download the binary
curl -O -L "https://github.com/grafana/agent/releases/download/v0.21.2/agent-linux-amd64.zip"
# extract the binary
unzip "agent-linux-amd64.zip"
# make sure it is executable
chmod a+x "agent-linux-amd64"
agentctl
agentctl
, a tool for helping you interact with the Agent, is available as a Docker image:
docker pull "grafana/agentctl:v0.21.2"
Or as a binary. Like before, choose the assets below that matches your operating system. For example, with linux
on amd64
:
# download the binary
curl -O -L "https://github.com/grafana/agent/releases/download/v0.21.2/agentctl-linux-amd64.zip"
# extract the binary
unzip "agentctl-linux-amd64.zip"
# make sure it is executable
chmod a+x "agentctl-linux-amd64"
agent-operator
agent-operator
, a Kubernetes Operator for the Grafana Agent, is available only as a Docker image:
docker pull "grafana/agent-operator:v0.21.2"