Skip to content

Commit

Permalink
update values-dev.yaml for deployment to dev namespace with more reso…
Browse files Browse the repository at this point in the history
…urces

Signed-off-by: Jason Sherman <[email protected]>
  • Loading branch information
usingtechnology committed Sep 23, 2024
1 parent f172fe1 commit 3dc692d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion event-stream-service/charts/event-stream-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ We will need to create different param override (values) files for each instance
You can specify the '--values'/'-f' flag multiple times. The priority will be given to the last (right-most) file specified.

```
helm upgrade --install event-stream-service ./charts/event-stream-service -f ./charts/event-stream-service/values.yaml -f ./charts/event-stream-service/values-prod.yaml
helm upgrade --install event-stream-service ./charts/event-stream-service -f ./charts/event-stream-service/values.yaml -f ./charts/event-stream-service/values-dev.yaml
```

This would apply our default values file (`values.yaml`) with any overrides found in `values-prod.yaml` taking priority.
37 changes: 37 additions & 0 deletions event-stream-service/charts/event-stream-service/values-dev.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
nats:
config:
cluster:
replicas: 3
jetstream:
fileStore:
pvc:
size: 1Gi
websocket:
enabled: true
port: 8888
container:
merge:
resources:
limits:
cpu: 1
memory: 1Gi
requests:
cpu: 500m
memory: 500Mi
configMap:
merge:
data:
params.conf: |
max_payload: 10MB
natsBox:
container:
image:
tag: nonroot
merge:
resources:
limits:
cpu: 250m
memory: 128Mi
requests:
cpu: 50m
memory: 64Mi

0 comments on commit 3dc692d

Please sign in to comment.