Skip to content

Commit 260b7d9

Browse files
committed
Optimize Jaeger Cassandra stability settings
Signed-off-by: JeffMboya <[email protected]>
1 parent 05c95d9 commit 260b7d9

File tree

3 files changed

+28
-23
lines changed

3 files changed

+28
-23
lines changed

charts/supermq/Chart.lock

+6-9
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,7 @@ dependencies:
77
version: 1.2.1
88
- name: jaeger
99
repository: https://jaegertracing.github.io/helm-charts
10-
version: 3.1.1
11-
- name: cassandra
12-
repository: https://charts.bitnami.com/bitnami
13-
version: 12.1.3
14-
- name: postgresql
15-
repository: https://charts.bitnami.com/bitnami
16-
version: 15.2.10
10+
version: 3.4.0
1711
- name: postgresql
1812
repository: https://charts.bitnami.com/bitnami
1913
version: 15.2.10
@@ -53,5 +47,8 @@ dependencies:
5347
- name: prometheus
5448
repository: https://prometheus-community.github.io/helm-charts
5549
version: 27.3.0
56-
digest: sha256:e4d212053cf22053c2e17b4b279df67cce456b937bbd51c40a232ddb2acb092a
57-
generated: "2025-03-06T14:16:27.545530063+03:00"
50+
- name: fluent-bit
51+
repository: https://fluent.github.io/helm-charts
52+
version: 0.48.5
53+
digest: sha256:4a68d2f63dcda502e72d036840699995c9697ac96a661b73aa6dd56ddaa84210
54+
generated: "2025-02-19T16:16:19.604558063+03:00"

charts/supermq/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies:
2727
repository: "@nats"
2828

2929
- name: jaeger
30-
version: "3.1.1"
30+
version: "3.4.0"
3131
repository: "@jaegertracing"
3232
condition: jaeger.enabled
3333

charts/supermq/values.yaml

+21-13
Original file line numberDiff line numberDiff line change
@@ -572,19 +572,27 @@ jaeger:
572572
enabled: false
573573
storage:
574574
type: cassandra
575-
cassandra:
576-
host: "{{ .Release.Name }}-cassandra"
577-
keyspace: supermq_jaeger
578-
user: "cassandra"
579-
password: "cassandra"
580-
schema:
581-
create: true
582-
keyspace: supermq_jaeger
583-
datacenter: dc1
584-
trace_ttl: 48h
585-
dependencies_ttl: 48d
586-
compaction_window: 2h
587-
replication_factor: 1
575+
cassandra:
576+
persistence:
577+
enabled: true
578+
storageClass: "do-block-storage"
579+
accessModes:
580+
- ReadWriteOnce
581+
size: 10Gi
582+
resources:
583+
requests:
584+
memory: "4Gi"
585+
cpu: "2"
586+
limits:
587+
memory: "8Gi"
588+
cpu: "4"
589+
extraEnv:
590+
- name: MAX_HEAP_SIZE
591+
value: "4G"
592+
- name: HEAP_NEWSIZE
593+
value: "800M"
594+
- name: JVM_OPTS
595+
value: "-XX:+UseG1GC -XX:ParallelGCThreads=2 -XX:ConcGCThreads=2 -XX:InitiatingHeapOccupancyPercent=70"
588596
collector:
589597
replicaCount: 1
590598
resources:

0 commit comments

Comments
 (0)