Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions deploy/k8s/chart/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
description: A Helm Chart for cortex-tenant
name: cortex-tenant
version: 0.1.0 # This is the chart version
appVersion: 1.10.1 # version number of the application being deployed.
version: 0.2.0 # This is the chart version
appVersion: 1.11.0 # version number of the application being deployed.
type: application
3 changes: 2 additions & 1 deletion deploy/k8s/chart/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# cortex-tenant

![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.10.1](https://img.shields.io/badge/AppVersion-1.10.1-informational?style=flat-square)
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.11.0](https://img.shields.io/badge/AppVersion-1.11.0-informational?style=flat-square)

A Helm Chart for cortex-tenant

Expand All @@ -9,6 +9,7 @@ A Helm Chart for cortex-tenant
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | |
| autoscaling.enabled | bool | `true` | |
| autoscaling.maxReplica | int | `3` | |
| autoscaling.minReplica | int | `1` | |
| autoscaling.targetCPUUtilizationPercentage | int | `50` | |
Expand Down
2 changes: 2 additions & 0 deletions deploy/k8s/chart/templates/autoscaling.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{{- if .Values.autoscaling.enabled -}}
apiVersion: autoscaling/v2beta2
kind: HorizontalPodAutoscaler
metadata:
Expand Down Expand Up @@ -28,3 +29,4 @@ spec:
type: Utilization
averageUtilization: {{ . }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions deploy/k8s/chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ service:
targetPort: 8080

autoscaling:
enabled: true # If HorizontalPodAutoscaler must be enabled
minReplica: 1 # Min number of pod replica autoscaled
maxReplica: 3 # Max number of pod replica autoscaled
targetMemoryAverageValue: 100Mi
Expand Down
5 changes: 5 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Building

From this directory, run the following commands:
- `helm package ../deploy/k8s/chart`
- `helm repo index .`
Binary file added docs/cortex-tenant-0.2.0.tgz
Binary file not shown.
14 changes: 12 additions & 2 deletions docs/index.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
apiVersion: v1
entries:
cortex-tenant:
- apiVersion: v2
appVersion: 1.11.0
created: "2023-07-03T12:50:35.512296578+02:00"
description: A Helm Chart for cortex-tenant
digest: 8b9caea0e1774a6c8f3e627a63386f532498ca5f410927c702380692e5d20b61
name: cortex-tenant
type: application
urls:
- cortex-tenant-0.2.0.tgz
version: 0.2.0
- apiVersion: v2
appVersion: 1.10.1
created: "2023-05-30T12:27:42.204467668+02:00"
created: "2023-07-03T12:50:35.511825114+02:00"
description: A Helm Chart for cortex-tenant
digest: eabef3ad16e555543e32d9308994f76679e5fa54371cccd3957112f33a28a59e
name: cortex-tenant
type: application
urls:
- cortex-tenant-0.1.0.tgz
version: 0.1.0
generated: "2023-05-30T12:27:42.203546177+02:00"
generated: "2023-07-03T12:50:35.511245964+02:00"