From 51662ea3e57cb2639cc057f5b647e8bc671ff282 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20=C5=A0tibran=C3=BD?= Date: Thu, 25 Mar 2021 10:48:49 +0100 Subject: [PATCH] Prepare Cortex 1.8.0 (final) release. (#4003) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Peter Štibraný --- CHANGELOG.md | 7 +------ RELEASE.md | 14 +++++++------- VERSION | 2 +- .../running-chunks-storage-with-cassandra.md | 4 ++-- k8s/alertmanager-dep.yaml | 2 +- k8s/configs-dep.yaml | 2 +- k8s/distributor-dep.yaml | 2 +- k8s/ingester-dep.yaml | 2 +- k8s/querier-dep.yaml | 2 +- k8s/query-frontend-dep.yaml | 2 +- k8s/ruler-dep.yaml | 2 +- k8s/table-manager-dep.yaml | 2 +- 12 files changed, 19 insertions(+), 24 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d963dd84b..a5d56d5913 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,10 +1,6 @@ # Changelog -## 1.8.0-rc.1 / 2021-03-15 - -* [BUGFIX] Distributor: reverted changes done to rate limiting in #3825. #3948 - -## 1.8.0-rc.0 / 2021-03-08 +## 1.8.0 / 2021-03-24 * [CHANGE] Alertmanager: Don't expose cluster information to tenants via the `/alertmanager/api/v1/status` API endpoint when operating with clustering enabled. #3903 * [CHANGE] Ingester: don't update internal "last updated" timestamp of TSDB if tenant only sends invalid samples. This affects how "idle" time is computed. #3727 @@ -78,7 +74,6 @@ * `cortex_ha_tracker_replicas_cleanup_delete_failed_total` * [ENHANCEMENT] Ruler now has new API endpoint `/ruler/delete_tenant_config` that can be used to delete all ruler groups for tenant. It is intended to be used by administrators who wish to clean up state after removed user. Note that this endpoint is enabled regardless of `-experimental.ruler.enable-api`. #3750 #3899 * [ENHANCEMENT] Query-frontend, query-scheduler: cleanup metrics for inactive tenants. #3826 -* [ENHANCEMENT] Distributor: Prevent failed ingestion from affecting rate limiting. #3825 * [ENHANCEMENT] Blocks storage: added `-blocks-storage.s3.region` support to S3 client configuration. #3811 * [ENHANCEMENT] Distributor: Remove cached subrings for inactive users when using shuffle sharding. #3849 * [ENHANCEMENT] Store-gateway: Reduced memory used to fetch chunks at query time. #3855 diff --git a/RELEASE.md b/RELEASE.md index a5767c3e2b..d06e4084fd 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -85,8 +85,8 @@ Once your PR with release prepartion is approved, merge it to "release-X.Y" bran To publish a release candidate: 1. Do not change the release branch directly; make a PR to the release-X.Y branch with VERSION and any CHANGELOG changes. -1. Ensure the `VERSION` file has the `-rc.X` suffix (`X` starting from `0`) -1. `git tag` the new release (see [How to tag a release](#how-to-tag-a-release)) + 1. Ensure the `VERSION` file has the `-rc.X` suffix (`X` starting from `0`) +1. After merging your PR to release branch, `git tag` the new release (see [How to tag a release](#how-to-tag-a-release)) from release branch. 1. Wait until CI pipeline succeeded (once a tag is created, the release process through GitHub actions will be triggered for this tag) 1. Create a pre-release in GitHub - Write the release notes (including a copy-paste of the changelog) @@ -98,11 +98,11 @@ To publish a release candidate: To publish a stable release: 1. Do not change the release branch directly; make a PR to the release-X.Y branch with VERSION and any CHANGELOG changes. -1. Ensure the `VERSION` file has **no** `-rc.X` suffix -1. Update the Cortex version in the following locations: - - Kubernetes manifests located at `k8s/` - - Documentation located at `docs/` -1. `git tag` the new release (see [How to tag a release](#how-to-tag-a-release)) + 1. Ensure the `VERSION` file has **no** `-rc.X` suffix + 1. Update the Cortex version in the following locations: + - Kubernetes manifests located at `k8s/` + - Documentation located at `docs/` +1. After merging your PR to release branch, `git tag` the new release (see [How to tag a release](#how-to-tag-a-release)) from release branch. 1. Wait until CI pipeline succeeded (once a tag is created, the release process through GitHub actions will be triggered for this tag) 1. Create a release in GitHub - Write the release notes (including a copy-paste of the changelog) diff --git a/VERSION b/VERSION index 7a2b22a60e..afa2b3515e 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.8.0-rc.1 \ No newline at end of file +1.8.0 \ No newline at end of file diff --git a/docs/guides/running-chunks-storage-with-cassandra.md b/docs/guides/running-chunks-storage-with-cassandra.md index dd2ba00c77..481c03de1e 100644 --- a/docs/guides/running-chunks-storage-with-cassandra.md +++ b/docs/guides/running-chunks-storage-with-cassandra.md @@ -109,12 +109,12 @@ storage: ``` The latest tag is not published for the Cortex docker image. Visit quay.io/repository/cortexproject/cortex -to find the latest stable version tag and use it in the command below (currently it is `v1.7.0`). +to find the latest stable version tag and use it in the command below (currently it is `v1.8.0`). Run Cortex using the latest stable version: ``` -docker run -d --name=cortex -v $(pwd)/single-process-config.yaml:/etc/single-process-config.yaml -p 9009:9009 quay.io/cortexproject/cortex:v1.7.0 -config.file=/etc/single-process-config.yaml +docker run -d --name=cortex -v $(pwd)/single-process-config.yaml:/etc/single-process-config.yaml -p 9009:9009 quay.io/cortexproject/cortex:v1.8.0 -config.file=/etc/single-process-config.yaml ``` In case you prefer to run the master version, please follow this [documentation](../getting-started/getting-started-chunks.md) on how to build Cortex from source. diff --git a/k8s/alertmanager-dep.yaml b/k8s/alertmanager-dep.yaml index 87b2491f56..c63781d68e 100644 --- a/k8s/alertmanager-dep.yaml +++ b/k8s/alertmanager-dep.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: alertmanager - image: quay.io/cortexproject/cortex:v1.7.0 + image: quay.io/cortexproject/cortex:v1.8.0 imagePullPolicy: IfNotPresent args: - -target=alertmanager diff --git a/k8s/configs-dep.yaml b/k8s/configs-dep.yaml index c9a4250e5c..f109335690 100644 --- a/k8s/configs-dep.yaml +++ b/k8s/configs-dep.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: configs - image: quay.io/cortexproject/cortex:v1.7.0 + image: quay.io/cortexproject/cortex:v1.8.0 imagePullPolicy: IfNotPresent args: - -target=configs diff --git a/k8s/distributor-dep.yaml b/k8s/distributor-dep.yaml index 8da60de003..c7a6cdc602 100644 --- a/k8s/distributor-dep.yaml +++ b/k8s/distributor-dep.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: distributor - image: quay.io/cortexproject/cortex:v1.7.0 + image: quay.io/cortexproject/cortex:v1.8.0 imagePullPolicy: IfNotPresent args: - -target=distributor diff --git a/k8s/ingester-dep.yaml b/k8s/ingester-dep.yaml index 81410675b1..c1e00ab0da 100644 --- a/k8s/ingester-dep.yaml +++ b/k8s/ingester-dep.yaml @@ -37,7 +37,7 @@ spec: containers: - name: ingester - image: quay.io/cortexproject/cortex:v1.7.0 + image: quay.io/cortexproject/cortex:v1.8.0 imagePullPolicy: IfNotPresent args: - -target=ingester diff --git a/k8s/querier-dep.yaml b/k8s/querier-dep.yaml index 7bca6e558b..a8cc48bb99 100644 --- a/k8s/querier-dep.yaml +++ b/k8s/querier-dep.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: querier - image: quay.io/cortexproject/cortex:v1.7.0 + image: quay.io/cortexproject/cortex:v1.8.0 imagePullPolicy: IfNotPresent args: - -target=querier diff --git a/k8s/query-frontend-dep.yaml b/k8s/query-frontend-dep.yaml index ab9bbf61f8..68796769fa 100644 --- a/k8s/query-frontend-dep.yaml +++ b/k8s/query-frontend-dep.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: query-frontend - image: quay.io/cortexproject/cortex:v1.7.0 + image: quay.io/cortexproject/cortex:v1.8.0 imagePullPolicy: IfNotPresent args: - -target=query-frontend diff --git a/k8s/ruler-dep.yaml b/k8s/ruler-dep.yaml index 36eb75dcd6..aba08ce36d 100644 --- a/k8s/ruler-dep.yaml +++ b/k8s/ruler-dep.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: ruler - image: quay.io/cortexproject/cortex:v1.7.0 + image: quay.io/cortexproject/cortex:v1.8.0 imagePullPolicy: IfNotPresent args: - -target=ruler diff --git a/k8s/table-manager-dep.yaml b/k8s/table-manager-dep.yaml index 7098f6d7cc..1777c62d89 100644 --- a/k8s/table-manager-dep.yaml +++ b/k8s/table-manager-dep.yaml @@ -15,7 +15,7 @@ spec: spec: containers: - name: table-manager - image: quay.io/cortexproject/cortex:v1.7.0 + image: quay.io/cortexproject/cortex:v1.8.0 imagePullPolicy: IfNotPresent args: - -target=table-manager