Skip to content

Commit b8e97f7

Browse files
authored
0.2.0 release (#62)
* updating default cortex version in chart to 1.4.0 Signed-off-by: Ken Haines <[email protected]> * Add CHANGELOG updates from previous major refactor. Signed-off-by: Ken Haines <[email protected]> * Add chart repo artifacts to enable github pages to act as cortex chart repo. Signed-off-by: Ken Haines <[email protected]> * Updating README.md with new install instructions for pulling pre-built chart from repo vs from source. Signed-off-by: Ken Haines <[email protected]> * updating helm ignore file to avoid including the chart repo path in output Signed-off-by: Ken Haines <[email protected]>
1 parent 96e5c5e commit b8e97f7

File tree

8 files changed

+85
-22
lines changed

8 files changed

+85
-22
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
charts
2-
*.tgz
2+
./*.tgz
33
cortex

.helmignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
.git
22
cortex
3+
docs
4+
tools

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Changelog
2+
3+
## 0.2.0 / 2020-10-25
4+
5+
* [FEATURE] Add support for Blocks storage backend of Cortex. #52
6+
* [ENHANCEMENT] Adding dnsResolver option to nginx.config. #28
7+
* [ENHANCEMENT] Supporting externally managed Cortex Config. #31
8+
* [ENHANCEMENT] Enabling NGINX deployment to be optional. #32
9+
* [ENHANCEMENT] Adding option to deploy ingester as StatefulSet. #46
10+
* [ENHANCEMENT] Adding ability to run alertmanager as StatefulSet. #54
11+
* [ENHANCEMENT] Updating README.MD with values.yaml defaults, adding alertmanager paths to nginx. #57
12+
* [BUGFIX] Updating query frontend headless service to publish its address when not ready, to fix issue with queriers not becoming ready due to not finding any frontend addresses. #34
13+
* [BUGFIX] Fixed invalid config template. #40
14+
* [BUGFIX] Correct & add consistent target labels on components. #48
15+
* [BUGFIX] Fix values file duplicate config.storage section of Cortex config. #51
16+
* [BUGFIX] Add GRPC ports to store gateway pods and service. #52
17+
* [BUGFIX] Fix service ports, fix ruler endpoint for configs and alertmanager. #55

Chart.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
apiVersion: v2
2-
version: 0.1.2
3-
appVersion: v1.1.0
2+
version: 0.2.0
3+
appVersion: v1.4.0
44
description: 'Cortex'
55
engine: gotpl
66
home: https://cortexmetrics.io/
77
icon: https://avatars2.githubusercontent.com/u/43045022?s=200&v=4
88
kubeVersion: ^1.10.0-0
99
maintainers:
10-
11-
name: Cortex Maintainers
10+
11+
name: Cortex Maintainers
1212
name: cortex
1313
sources:
14-
- https://github.com/cortexproject/cortex-helm-chart
14+
- https://github.com/cortexproject/cortex-helm-chart
1515
dependencies:
1616
- name: memcached
1717
alias: memcached

README.md

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,40 +19,51 @@ See [cortex documentation](https://cortexmetrics.io/docs/) for details on storag
1919

2020
## Installation
2121

22-
Cortex can be installed in your Kubernetes cluster using the following command:
22+
[Helm](https://helm.sh) must be installed to use the charts.
23+
Please refer to Helm's [documentation](https://helm.sh/docs/) to get started.
24+
25+
Once Helm is set up properly, add the repo as follows:
26+
27+
```bash
28+
helm repo add cortex-helm https://cortexproject.github.io/cortex-helm-chart
29+
```
30+
31+
Cortex can now be installed with the following command:
32+
33+
```bash
34+
helm install cortex --name cortex --namespace cortex cortex-helm/cortex
35+
```
36+
37+
If you have custom options or values you want to override:
2338

2439
```bash
25-
helm install cortex --name cortex --namespace cortex <path-to-cortex-helm-chart>
40+
helm install cortex --name cortex --namespace cortex -f my-cortex-values.yaml cortex-helm/cortex
2641
```
2742

28-
or if you have custom options or values you want to override:
43+
Specific versions of the chart can be installed using the `--version` option, with the default being the latest release.
44+
What versions are available for installation can be listed with the following command:
2945

3046
```bash
31-
helm install cortex --name cortex --namespace cortex -f my-cortex-values.yaml <path-to-cortex-helm-chart>
47+
helm search repo cortex-helm
3248
```
3349

3450
As part of this chart many different pods and services are installed which all
3551
have varying resource requirements. Please make sure that you have sufficient
3652
resources (CPU/memory) available in your cluster before installing Cortex Helm
3753
chart.
3854

39-
Additionally, the default chart installation expects Cortex pods to be deployed
40-
on nodes with taints "dedicated=cortex" and memcached pods on nodes with taints
41-
"dedicated=cortex-memcached". Additonally, Cortex pods have node affinity for
42-
nodes which match the expression "dedicated=cortex" and mamcached pods have
43-
affinity for "dedicated=cortex-memcached" nodes.
4455

4556
## Upgrades
4657

4758
To upgrade Cortex use the following command:
4859

4960
```bash
50-
helm upgrade cortex -f my-cortex-values.yaml <path-to-cortex-helm-chart>
61+
helm upgrade cortex -f my-cortex-values.yaml cortex-helm/cortex
5162
```
5263

5364
Source code can be found [here](https://cortexmetrics.io/)
5465

55-
## Chart Requirements
66+
## Chart Dependencies
5667

5768
| Repository | Name | Version |
5869
|------------|------|---------|

docs/cortex-0.2.0.tgz

76 KB
Binary file not shown.

docs/index.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
apiVersion: v1
2+
entries:
3+
cortex:
4+
- apiVersion: v2
5+
appVersion: v1.4.0
6+
created: "2020-10-25T13:07:33.02569-07:00"
7+
dependencies:
8+
- alias: memcached
9+
condition: memcached.enabled
10+
name: memcached
11+
repository: https://kubernetes-charts.storage.googleapis.com/
12+
version: 3.2.3
13+
- alias: memcached-index-read
14+
condition: memcached-index-read.enabled
15+
name: memcached
16+
repository: https://kubernetes-charts.storage.googleapis.com/
17+
version: 3.2.3
18+
- alias: memcached-index-write
19+
condition: memcached-index-write.enabled
20+
name: memcached
21+
repository: https://kubernetes-charts.storage.googleapis.com/
22+
version: 3.2.3
23+
description: Cortex
24+
digest: f3c06fb19af521cd0daf02e5aaf8236d622df3f372fb8d3237a1103ecc0b810e
25+
home: https://cortexmetrics.io/
26+
icon: https://avatars2.githubusercontent.com/u/43045022?s=200&v=4
27+
kubeVersion: ^1.10.0-0
28+
maintainers:
29+
30+
name: Cortex Maintainers
31+
name: cortex
32+
sources:
33+
- https://github.com/cortexproject/cortex-helm-chart
34+
urls:
35+
- https://cortexproject.github.io/cortex-helm-chart/cortex-0.2.0.tgz
36+
version: 0.2.0
37+
generated: "2020-10-25T13:07:33.011547-07:00"

values.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33

44
image:
55
repository: quay.io/cortexproject/cortex
6-
tag: v1.1.0
6+
tag: v1.4.0
77
pullPolicy: IfNotPresent
88

9-
109
## Optionally specify an array of imagePullSecrets.
1110
## Secrets must be manually created in the namespace.
1211
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
@@ -470,7 +469,6 @@ ingester:
470469
##
471470
subPath: ''
472471

473-
474472
## Ingester data Persistent Volume Storage Class
475473
## If defined, storageClassName: <storageClass>
476474
## If set to "-", storageClassName: "", which disables dynamic provisioning
@@ -1003,7 +1001,6 @@ store_gateway:
10031001
##
10041002
subPath: ''
10051003

1006-
10071004
## Store-gateway data Persistent Volume Storage Class
10081005
## If defined, storageClassName: <storageClass>
10091006
## If set to "-", storageClassName: "", which disables dynamic provisioning
@@ -1116,7 +1113,6 @@ compactor:
11161113
##
11171114
subPath: ''
11181115

1119-
11201116
## compactor data Persistent Volume Storage Class
11211117
## If defined, storageClassName: <storageClass>
11221118
## If set to "-", storageClassName: "", which disables dynamic provisioning

0 commit comments

Comments
 (0)