-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs(cosmos-db scaler): Introduce helm-docs for documentation (#448)
- Loading branch information
1 parent
502980f
commit 84b6cfb
Showing
4 changed files
with
60 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,5 @@ | |
.project | ||
.idea/ | ||
*.tmproj | ||
.vscode/ | ||
.vscode/ | ||
*.gotmpl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# KEDA External Scaler for Azure Cosmos DB | ||
|
||
Chart for installing KEDA external scaler for Azure Cosmos DB. | ||
|
||
- [Documentation](https://github.com/kedacore/external-scaler-azure-cosmos-db#readme) | ||
- [Release Notes](https://github.com/kedacore/external-scaler-azure-cosmos-db/releases/tag/v0.1.0) | ||
- [Example Usage](https://github.com/kedacore/external-scaler-azure-cosmos-db/tree/main/src/Scaler.Demo) | ||
|
||
## Installation | ||
|
||
1. Add and update Helm chart repo. | ||
|
||
```shell | ||
helm repo add kedacore https://kedacore.github.io/charts | ||
helm repo update | ||
``` | ||
|
||
1. Install KEDA Helm chart (*or follow one of the other installation methods on [KEDA documentation](https://keda.sh/docs/deploy)*). | ||
|
||
```shell | ||
helm install keda kedacore/keda --namespace keda --create-namespace | ||
``` | ||
|
||
1. Install Azure Cosmos DB external scaler Helm chart. | ||
|
||
```shell | ||
helm install external-scaler-azure-cosmos-db kedacore/external-scaler-azure-cosmos-db --namespace keda --create-namespace | ||
``` | ||
|
||
## Values | ||
|
||
| Parameter | Type | Default | Description | | ||
|-----------|------|---------|-------------| | ||
{{- range .Values }} | ||
| `{{ .Key }}` | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} | | ||
{{- end }} | ||
|
||
---------------------------------------------- | ||
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,26 @@ | ||
# Additional labels that should be applied to all resources. | ||
# -- Additional labels that should be applied to all resources | ||
additionalLabels: {} | ||
# name: <value> | ||
|
||
# Docker image configuration. | ||
image: | ||
# -- The Docker image repository to use for Azure Cosmos DB external scaler | ||
repository: ghcr.io/kedacore/external-scaler-azure-cosmos-db | ||
# -- The Docker image tag to use for Azure Cosmos DB external scaler | ||
tag: 0.1.0 | ||
# -- The image pull policy for Azure Cosmos DB external scaler | ||
pullPolicy: Always | ||
|
||
# Service incoming port. | ||
# -- The incoming port for 'Azure Cosmos DB external scaler' service | ||
port: 4050 | ||
|
||
# Container resource requests and limits. | ||
resources: | ||
# -- The CPU/memory resource request for the 'Azure Cosmos DB external scaler' pod | ||
requests: | ||
cpu: 10m | ||
memory: 128Mi | ||
# -- The CPU/memory resource limit for the 'Azure Cosmos DB external scaler' pod | ||
limits: | ||
cpu: 100m | ||
memory: 512Mi |