Skip to content

Commit

Permalink
feat: update chart version and configuration of nats
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Nov 19, 2023
1 parent da43620 commit 8ebf6e1
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 68 deletions.
6 changes: 3 additions & 3 deletions deployments/k8s/Chart.lock
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
dependencies:
- name: nats
repository: https://nats-io.github.io/k8s/helm/charts
version: 0.19.12
digest: sha256:a6bd36e3139e8d21e3dbfafc07952bce0ec9edd8edcf592415e1a07505c03791
generated: "2023-03-26T16:27:21.125041734+03:30"
version: 1.1.4
digest: sha256:531c244a7c6812d94c5f5288a30375f8ddfdee1221401959065e5e84252f1923
generated: "2023-11-19T07:40:10.535366032+03:30"
2 changes: 1 addition & 1 deletion deployments/k8s/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ type: application
version: 0.0.0
dependencies:
- name: nats
version: 0.19.12
version: 1.1.4
repository: https://nats-io.github.io/k8s/helm/charts
108 changes: 44 additions & 64 deletions deployments/k8s/values.yaml
Original file line number Diff line number Diff line change
@@ -1,77 +1,57 @@
---
nats:
cluster:
noAdvertise: true
enabled: true
replicas: 3
name: nats-testing

commonLabels:
app: jetstream

securityContext:
sysctls:
- name: net.core.somaxconn
value: "16384"

natsbox:
global:
labels:
app: jetstream
team: 1995parham

podTemplate:
patch:
- op: add
path: /spec/securityContext
value:
sysctls:
- name: net.core.somaxconn
value: "16384"

natsBox:
enabled: false

gateway:
enabled: false
config:
cluster:
noAdvertise: true
enabled: true
replicas: 3

nats:
serverNamePrefix: ts-2-
gateway:
enabled: false

jetstream:
enabled: true
memStorage:
memoryStore:
enabled: true
maxSize: 1Gi
fileStore:
enabled: true
size: 1Gi
fileStorage:
enabled: false
storageDirectory: /data

# Set for use with existing PVC
# existingClaim: jetstream-pvc
# claimStorageSize: 1Gi

# Use below block to create new persistent volume
# only used if existingClaim is not specified
size: 12Gi
# storageClassName: ""
accessModes:
- ReadWriteOnce
annotations:
# key: "value"

resources:
requests:
cpu: 500m
memory: 1500Mi
ephemeral-storage: 1Gi
limits:
cpu: 500m
memory: 1500Mi
ephemeral-storage: 1Gi

auth:
pvc:
enabled: true
size: 2Gi

container:
merge:
resources:
requests:
cpu: 1
memory: 2Gi
ephemeral-storage: 1Gi
limits:
cpu: 1
memory: 2Gi
ephemeral-storage: 1Gi

promExporter:
enabled: true
systemAccount: admin
basic:
accounts:
admin:
users:
- user: parham
password: parham

exporter:
serviceMonitor:
podMonitor:
enabled: true

# Define a Pod Disruption Budget for the stateful set
# ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
podDisruptionBudget:
enabled: false
maxUnavailable: 1
# minAvailable: 1

0 comments on commit 8ebf6e1

Please sign in to comment.