-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update chart version and configuration of nats
- Loading branch information
1 parent
da43620
commit 8ebf6e1
Showing
3 changed files
with
48 additions
and
68 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 |
---|---|---|
@@ -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" |
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 |
---|---|---|
@@ -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 |