Skip to content

Commit

Permalink
Merge pull request #4196 from gouthamve/merge-release-1.9-to-master
Browse files Browse the repository at this point in the history
Merge release 1.9 to master
  • Loading branch information
gouthamve committed May 18, 2021
2 parents 1b1e965 + 7bc5315 commit 18ad13f
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 17 deletions.
11 changes: 5 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@

* [ENHANCEMENT] Scanner: add support for DynamoDB (v9 schema only). #3828

## 1.9.0 / 2021-05-14

## 1.9.0 in progress

* [CHANGE] Fix for CVE-2021-31232: Local file disclosure vulnerability when `-experimental.alertmanager.enable-api` is used. The HTTP basic auth `password_file` can be used as an attack vector to send any file content via a webhook. The alertmanager templates can be used as an attack vector to send any file content because the alertmanager can load any text file specified in the templates list. #4129
* [CHANGE] Alertmanager now removes local files after Alertmanager is no longer running for removed or resharded user. #3910
* [CHANGE] Alertmanager now stores local files in per-tenant folders. Files stored by Alertmanager previously are migrated to new hierarchy. Support for this migration will be removed in Cortex 1.11. #3910
* [CHANGE] Ruler: deprecated `-ruler.storage.*` CLI flags (and their respective YAML config options) in favour of `-ruler-storage.*`. The deprecated config will be removed in Cortex 1.11. #3945
* [CHANGE] Alertmanager: deprecated `-alertmanager.storage.*` CLI flags (and their respective YAML config options) in favour of `-alertmanager-storage.*`. The deprecated config will be removed in Cortex 1.11. #4002
* [CHANGE] Alertmanager: deprecated `-alertmanager.storage.*` CLI flags (and their respective YAML config options) in favour of `-alertmanager-storage.*`. This change doesn't apply to `alertmanager.storage.path` and `alertmanager.storage.retention`. The deprecated config will be removed in Cortex 1.11. #4002
* [CHANGE] Alertmanager: removed `-cluster.` CLI flags deprecated in Cortex 1.7. The new config options to use are: #3946
* `-alertmanager.cluster.listen-address` instead of `-cluster.listen-address`
* `-alertmanager.cluster.advertise-address` instead of `-cluster.advertise-address`
Expand All @@ -42,6 +40,7 @@
* [CHANGE] Querier: removed the config option `-store.max-look-back-period`, which was deprecated in Cortex 1.6 and was used only by the chunks storage. You should use `-querier.max-query-lookback` instead. #4101
* [CHANGE] Query Frontend: removed the config option `-querier.compress-http-responses`, which was deprecated in Cortex 1.6. You should use`-api.response-compression-enabled` instead. #4101
* [CHANGE] Runtime-config / overrides: removed the config options `-limits.per-user-override-config` (use `-runtime-config.file`) and `-limits.per-user-override-period` (use `-runtime-config.reload-period`), both deprecated since Cortex 0.6.0. #4112
* [CHANGE] Cortex now fails fast on startup if unable to connect to the ring backend. #4068
* [FEATURE] The following features have been marked as stable: #4101
- Shuffle-sharding
- Querier support for querying chunks and blocks store at the same time
Expand All @@ -56,7 +55,6 @@
* `-memberlist.tls-ca-path`
* `-memberlist.tls-server-name`
* `-memberlist.tls-insecure-skip-verify`
* [CHANGE] Cortex now fast fails on startup if unable to connect to the ring backend. #4068
* [FEATURE] Ruler: added `local` backend support to the ruler storage configuration under the `-ruler-storage.` flag prefix. #3932
* [ENHANCEMENT] Upgraded Docker base images to `alpine:3.13`. #4042
* [ENHANCEMENT] Blocks storage: reduce ingester memory by eliminating series reference cache. #3951
Expand Down Expand Up @@ -96,11 +94,12 @@
* [BUGFIX] Query-frontend: Fix issue where cached entry size keeps increasing when making tiny query repeatedly. #3968
* [BUGFIX] Compactor: `-compactor.blocks-retention-period` now supports weeks (`w`) and years (`y`). #4027
* [BUGFIX] Querier: returning 422 (instead of 500) when query hits `max_chunks_per_query` limit with block storage, when the limit is hit in the store-gateway. #3937
* [BUGFIX] Ruler: Rule group limit enforcement should now allow the same number of rules in a group as the limit. #3615
* [BUGFIX] Ruler: Rule group limit enforcement should now allow the same number of rules in a group as the limit. #3616
* [BUGFIX] Frontend, Query-scheduler: allow querier to notify about shutdown without providing any authentication. #4066
* [BUGFIX] Querier: fixed race condition causing queries to fail right after querier startup with the "empty ring" error. #4068
* [BUGFIX] Compactor: Increment `cortex_compactor_runs_failed_total` if compactor failed compact a single tenant. #4094
* [BUGFIX] Tracing: hot fix to avoid the Jaeger tracing client to indefinitely block the Cortex process shutdown in case the HTTP connection to the tracing backend is blocked. #4134
* [BUGFIX] Forward proper EndsAt from ruler to Alertmanager inline with Prometheus behaviour. #4017

## Blocksconvert

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.8.1
1.9.0
4 changes: 2 additions & 2 deletions docs/chunks-storage/running-chunks-storage-with-cassandra.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.1`).
to find the latest stable version tag and use it in the command below (currently it is `v1.9.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.8.1 -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.9.0 -config.file=/etc/single-process-config.yaml
```
In case you prefer to run the master version, please follow this [documentation](./chunks-storage-getting-started.md) on how to build Cortex from source.

Expand Down
2 changes: 1 addition & 1 deletion k8s/alertmanager-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: alertmanager
image: quay.io/cortexproject/cortex:v1.8.1
image: quay.io/cortexproject/cortex:v1.9.0
imagePullPolicy: IfNotPresent
args:
- -target=alertmanager
Expand Down
2 changes: 1 addition & 1 deletion k8s/configs-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: configs
image: quay.io/cortexproject/cortex:v1.8.1
image: quay.io/cortexproject/cortex:v1.9.0
imagePullPolicy: IfNotPresent
args:
- -target=configs
Expand Down
2 changes: 1 addition & 1 deletion k8s/distributor-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: distributor
image: quay.io/cortexproject/cortex:v1.8.1
image: quay.io/cortexproject/cortex:v1.9.0
imagePullPolicy: IfNotPresent
args:
- -target=distributor
Expand Down
2 changes: 1 addition & 1 deletion k8s/ingester-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ spec:

containers:
- name: ingester
image: quay.io/cortexproject/cortex:v1.8.1
image: quay.io/cortexproject/cortex:v1.9.0
imagePullPolicy: IfNotPresent
args:
- -target=ingester
Expand Down
2 changes: 1 addition & 1 deletion k8s/querier-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: querier
image: quay.io/cortexproject/cortex:v1.8.1
image: quay.io/cortexproject/cortex:v1.9.0
imagePullPolicy: IfNotPresent
args:
- -target=querier
Expand Down
2 changes: 1 addition & 1 deletion k8s/query-frontend-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: query-frontend
image: quay.io/cortexproject/cortex:v1.8.1
image: quay.io/cortexproject/cortex:v1.9.0
imagePullPolicy: IfNotPresent
args:
- -target=query-frontend
Expand Down
2 changes: 1 addition & 1 deletion k8s/ruler-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: ruler
image: quay.io/cortexproject/cortex:v1.8.1
image: quay.io/cortexproject/cortex:v1.9.0
imagePullPolicy: IfNotPresent
args:
- -target=ruler
Expand Down
2 changes: 1 addition & 1 deletion k8s/table-manager-dep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: table-manager
image: quay.io/cortexproject/cortex:v1.8.1
image: quay.io/cortexproject/cortex:v1.9.0
imagePullPolicy: IfNotPresent
args:
- -target=table-manager
Expand Down

0 comments on commit 18ad13f

Please sign in to comment.