diff --git a/CHANGELOG.md b/CHANGELOG.md index 2cb3da817c5b..e40aa390bb55 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,10 +7,7 @@ This document contains a historical list of changes between releases. Only changes that impact end-user behavior are listed; changes to documentation or internal API changes are not present. -Main (unreleased) ------------------ - -v0.31.0-rc.0 (2023-01-26) +v0.31.0 (2023-01-31) -------------------- > **BREAKING CHANGES**: This release has breaking changes. Please read entries diff --git a/docs/sources/configuration/integrations/node-exporter-config.md b/docs/sources/configuration/integrations/node-exporter-config.md index 885013a77e39..3ef5857b9069 100644 --- a/docs/sources/configuration/integrations/node-exporter-config.md +++ b/docs/sources/configuration/integrations/node-exporter-config.md @@ -28,7 +28,7 @@ docker run \ -v "/proc:/host/proc:ro,rslave" \ -v /tmp/agent:/etc/agent \ -v /path/to/config.yaml:/etc/agent-config/agent.yaml \ - grafana/agent:v0.31.0-rc.0 \ + grafana/agent:v0.31.0 \ --config.file=/etc/agent-config/agent.yaml ``` @@ -67,7 +67,7 @@ metadata: name: agent spec: containers: - - image: grafana/agent:v0.31.0-rc.0 + - image: grafana/agent:v0.31.0 name: agent args: - --config.file=/etc/agent-config/agent.yaml diff --git a/docs/sources/configuration/integrations/process-exporter-config.md b/docs/sources/configuration/integrations/process-exporter-config.md index b38c5b367197..aceaf0ac89ff 100644 --- a/docs/sources/configuration/integrations/process-exporter-config.md +++ b/docs/sources/configuration/integrations/process-exporter-config.md @@ -20,7 +20,7 @@ docker run \ -v "/proc:/proc:ro" \ -v /tmp/agent:/etc/agent \ -v /path/to/config.yaml:/etc/agent-config/agent.yaml \ - grafana/agent:v0.31.0-rc.0 \ + grafana/agent:v0.31.0 \ --config.file=/etc/agent-config/agent.yaml ``` @@ -37,7 +37,7 @@ metadata: name: agent spec: containers: - - image: grafana/agent:v0.31.0-rc.0 + - image: grafana/agent:v0.31.0 name: agent args: - --config.file=/etc/agent-config/agent.yaml diff --git a/docs/sources/operator/deploy-agent-operator-resources.md b/docs/sources/operator/deploy-agent-operator-resources.md index 0bc7310b08c2..f7f4cf78689d 100644 --- a/docs/sources/operator/deploy-agent-operator-resources.md +++ b/docs/sources/operator/deploy-agent-operator-resources.md @@ -54,7 +54,7 @@ To deploy the `GrafanaAgent` resource: labels: app: grafana-agent spec: - image: grafana/agent:v0.31.0-rc.0 + image: grafana/agent:v0.31.0 logLevel: info serviceAccountName: grafana-agent metrics: diff --git a/docs/sources/operator/getting-started.md b/docs/sources/operator/getting-started.md index fd868c5ae9d3..29885a6a0cfb 100644 --- a/docs/sources/operator/getting-started.md +++ b/docs/sources/operator/getting-started.md @@ -75,7 +75,7 @@ To install Agent Operator: serviceAccountName: grafana-agent-operator containers: - name: operator - image: grafana/agent-operator:v0.31.0-rc.0 + image: grafana/agent-operator:v0.31.0 args: - --kubelet-service=default/kubelet --- diff --git a/docs/sources/set-up/install-agent-docker.md b/docs/sources/set-up/install-agent-docker.md index d1adc8ff6954..17be60ae6319 100644 --- a/docs/sources/set-up/install-agent-docker.md +++ b/docs/sources/set-up/install-agent-docker.md @@ -21,7 +21,7 @@ Install Grafana Agent and get it up and running on Docker. docker run \ -v /tmp/agent:/etc/agent/data \ -v /path/to/config.yaml:/etc/agent/agent.yaml \ - grafana/agent:v0.31.0-rc.0 + grafana/agent:v0.31.0 ``` 2. Replace `/tmp/agent` with the folder you want to store WAL data in. @@ -40,7 +40,7 @@ container through a bind mount for the flags to work properly. docker run ^ -v c:\grafana-agent-data:c:\etc\grafana-agent\data ^ -v c:\workspace\config\grafana-agent:c:\etc\grafana-agent ^ - grafana/agent:v0.31.0-rc.0-windows + grafana/agent:v0.31.0-windows ``` 2. Replace `c:\grafana-agent-data` with the folder you want to store WAL data in. diff --git a/pkg/operator/defaults.go b/pkg/operator/defaults.go index 2a72125d5155..2f4940ff97b4 100644 --- a/pkg/operator/defaults.go +++ b/pkg/operator/defaults.go @@ -36,7 +36,7 @@ var ( "v0.30.0", "v0.30.1", "v0.30.2", - "v0.31.0-rc.0", + "v0.31.0", // NOTE(rfratto): when performing an upgrade, add the newest version above instead of changing the existing reference. } diff --git a/production/grafanacloud-install.sh b/production/grafanacloud-install.sh index 27c4501c57f2..4f035ba0c78e 100755 --- a/production/grafanacloud-install.sh +++ b/production/grafanacloud-install.sh @@ -50,7 +50,7 @@ PACKAGE_SYSTEM=${PACKAGE_SYSTEM:=} # # Global constants. # -RELEASE_VERSION="v0.31.0-rc.0" +RELEASE_VERSION="v0.31.0" # The DEB and RPM urls don't include the `v` version prefix in the file names, # so we trim it out using ${RELEASE_VERSION#v} below. diff --git a/production/kubernetes/agent-bare.yaml b/production/kubernetes/agent-bare.yaml index feb014c8335c..9e0323e5ea01 100644 --- a/production/kubernetes/agent-bare.yaml +++ b/production/kubernetes/agent-bare.yaml @@ -83,7 +83,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.31.0-rc.0 + image: grafana/agent:v0.31.0 imagePullPolicy: IfNotPresent name: grafana-agent ports: diff --git a/production/kubernetes/agent-loki.yaml b/production/kubernetes/agent-loki.yaml index 0d5e5cba0802..3af27141c7ed 100644 --- a/production/kubernetes/agent-loki.yaml +++ b/production/kubernetes/agent-loki.yaml @@ -65,7 +65,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.31.0-rc.0 + image: grafana/agent:v0.31.0 imagePullPolicy: IfNotPresent name: grafana-agent-logs ports: diff --git a/production/kubernetes/agent-traces.yaml b/production/kubernetes/agent-traces.yaml index 8f11fcdc0aa5..ff56997aca51 100644 --- a/production/kubernetes/agent-traces.yaml +++ b/production/kubernetes/agent-traces.yaml @@ -114,7 +114,7 @@ spec: valueFrom: fieldRef: fieldPath: spec.nodeName - image: grafana/agent:v0.31.0-rc.0 + image: grafana/agent:v0.31.0 imagePullPolicy: IfNotPresent name: grafana-agent-traces ports: diff --git a/production/kubernetes/build/lib/version.libsonnet b/production/kubernetes/build/lib/version.libsonnet index be28e960e0f0..d3dcb59f1dcc 100644 --- a/production/kubernetes/build/lib/version.libsonnet +++ b/production/kubernetes/build/lib/version.libsonnet @@ -1 +1 @@ -'grafana/agent:v0.31.0-rc.0' +'grafana/agent:v0.31.0' diff --git a/production/kubernetes/build/templates/operator/main.jsonnet b/production/kubernetes/build/templates/operator/main.jsonnet index 11c3265eb25d..8c621380f947 100644 --- a/production/kubernetes/build/templates/operator/main.jsonnet +++ b/production/kubernetes/build/templates/operator/main.jsonnet @@ -23,8 +23,8 @@ local ksm = import 'kube-state-metrics/kube-state-metrics.libsonnet'; local this = self, _images:: { - agent: 'grafana/agent:v0.31.0-rc.0', - agent_operator: 'grafana/agent-operator:v0.31.0-rc.0', + agent: 'grafana/agent:v0.31.0', + agent_operator: 'grafana/agent-operator:v0.31.0', ksm: 'registry.k8s.io/kube-state-metrics/kube-state-metrics:v2.5.0', }, diff --git a/production/kubernetes/install-bare.sh b/production/kubernetes/install-bare.sh index 3e56bbed0862..057a9c535334 100644 --- a/production/kubernetes/install-bare.sh +++ b/production/kubernetes/install-bare.sh @@ -25,7 +25,7 @@ check_installed() { check_installed curl check_installed envsubst -MANIFEST_BRANCH=v0.31.0-rc.0 +MANIFEST_BRANCH=v0.31.0 MANIFEST_URL=${MANIFEST_URL:-https://raw.githubusercontent.com/grafana/agent/${MANIFEST_BRANCH}/production/kubernetes/agent-bare.yaml} NAMESPACE=${NAMESPACE:-default} diff --git a/production/operator/templates/agent-operator.yaml b/production/operator/templates/agent-operator.yaml index d980278dee8a..b0f8ec407d83 100644 --- a/production/operator/templates/agent-operator.yaml +++ b/production/operator/templates/agent-operator.yaml @@ -372,7 +372,7 @@ spec: containers: - args: - --kubelet-service=default/kubelet - image: grafana/agent-operator:v0.31.0-rc.0 + image: grafana/agent-operator:v0.31.0 imagePullPolicy: IfNotPresent name: grafana-agent-operator serviceAccount: grafana-agent-operator @@ -436,7 +436,7 @@ metadata: name: grafana-agent namespace: ${NAMESPACE} spec: - image: grafana/agent:v0.31.0-rc.0 + image: grafana/agent:v0.31.0 integrations: selector: matchLabels: diff --git a/production/tanka/grafana-agent/v1/main.libsonnet b/production/tanka/grafana-agent/v1/main.libsonnet index 8f567d2d3811..f0e937ba6edb 100644 --- a/production/tanka/grafana-agent/v1/main.libsonnet +++ b/production/tanka/grafana-agent/v1/main.libsonnet @@ -15,8 +15,8 @@ local service = k.core.v1.service; (import './lib/traces.libsonnet') + { _images:: { - agent: 'grafana/agent:v0.31.0-rc.0', - agentctl: 'grafana/agentctl:v0.31.0-rc.0', + agent: 'grafana/agent:v0.31.0', + agentctl: 'grafana/agentctl:v0.31.0', }, // new creates a new DaemonSet deployment of the grafana-agent. By default, diff --git a/production/tanka/grafana-agent/v2/internal/base.libsonnet b/production/tanka/grafana-agent/v2/internal/base.libsonnet index bf5064b3ea72..260eb4bbb1c8 100644 --- a/production/tanka/grafana-agent/v2/internal/base.libsonnet +++ b/production/tanka/grafana-agent/v2/internal/base.libsonnet @@ -11,8 +11,8 @@ function(name='grafana-agent', namespace='') { local this = self, _images:: { - agent: 'grafana/agent:v0.31.0-rc.0', - agentctl: 'grafana/agentctl:v0.31.0-rc.0', + agent: 'grafana/agent:v0.31.0', + agentctl: 'grafana/agentctl:v0.31.0', }, _config:: { name: name, diff --git a/production/tanka/grafana-agent/v2/internal/syncer.libsonnet b/production/tanka/grafana-agent/v2/internal/syncer.libsonnet index 4088c9974803..09cc2438ae46 100644 --- a/production/tanka/grafana-agent/v2/internal/syncer.libsonnet +++ b/production/tanka/grafana-agent/v2/internal/syncer.libsonnet @@ -14,7 +14,7 @@ function( ) { local _config = { api: error 'api must be set', - image: 'grafana/agentctl:v0.31.0-rc.0', + image: 'grafana/agentctl:v0.31.0', schedule: '*/5 * * * *', configs: [], } + config,