Skip to content

Commit

Permalink
[demo] add replicas support (#934)
Browse files Browse the repository at this point in the history
* add replicas support

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

* note about replicas setting for postgres, kafka, and redis

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>

---------

Signed-off-by: Pierre Tessier <pierre@pierretessier.com>
  • Loading branch information
puckpuck authored Nov 3, 2023
1 parent 6b932a8 commit f19641d
Show file tree
Hide file tree
Showing 19 changed files with 319 additions and 192 deletions.
2 changes: 1 addition & 1 deletion charts/opentelemetry-demo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
type: application
name: opentelemetry-demo
version: 0.25.8
version: 0.25.9
description: opentelemetry demo helm chart
home: https://opentelemetry.io/
sources:
Expand Down
2 changes: 2 additions & 0 deletions charts/opentelemetry-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ the demo
| `default.image.tag` | Demo components image tag (leave blank to use app version) | `nil` |
| `default.image.pullPolicy` | Demo components image pull policy | `IfNotPresent` |
| `default.image.pullSecrets` | Demo components image pull secrets | `[]` |
| `default.replicas` | Number of replicas for each component | `1` |
| `default.schedulingRules.nodeSelector` | Node labels for pod assignment | `{}` |
| `default.schedulingRules.affinity` | Man of node/pod affinities | `{}` |
| `default.schedulingRules.tolerations` | Tolerations for pod assignment | `[]` |
Expand Down Expand Up @@ -117,6 +118,7 @@ component.
| `ports` | Array of ports to open for deployment and service of this component | `[]` |
| `env` | Array of environment variables added to this component | Each component will have its own set of environment variables |
| `envOverrides` | Used to override individual environment variables without re-specifying the entire array | `[]` |
| `replicas` | Number of replicas for this component | `1` for ffsPostgres, kafka, and redis ; `nil` otherwise |
| `resources` | CPU/Memory resource requests/limits | Each component will have a default memory limit set |
| `schedulingRules.nodeSelector` | Node labels for pod assignment | `{}` |
| `schedulingRules.affinity` | Man of node/pod affinities | `{}` |
Expand Down
Loading

0 comments on commit f19641d

Please sign in to comment.