aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/sdc
diff options
context:
space:
mode:
authormarine <marine.de.dorlodot@intl.att.com>2021-07-22 16:18:54 +0200
committerSylvain Desbureaux <sylvain.desbureaux@orange.com>2021-10-15 13:14:06 +0000
commit495c8e960fa922eb70a83e617ab9769ed13caedd (patch)
tree7c571a86f411d3e0a80e504f4c6c483d9f63d5a8 /kubernetes/sdc
parenta697f8ab8f2b47100cb73a7f5812f70e242b75a6 (diff)
[SDC] Exposing new parameters in chef config
New parameters for Cassandra in chef config adding 3 new parameters in Auto.JSON. Issue-ID: SDC-3633 Signed-off-by: marine <marine.de.dorlodot@intl.att.com> Change-Id: Ic2e8345ed40c41ccf5c14236f9135f2602aea313 Signed-off-by: marine <marine.de.dorlodot@intl.att.com>
Diffstat (limited to 'kubernetes/sdc')
-rwxr-xr-xkubernetes/sdc/resources/config/environments/AUTO.json5
-rw-r--r--kubernetes/sdc/values.yaml3
2 files changed, 7 insertions, 1 deletions
diff --git a/kubernetes/sdc/resources/config/environments/AUTO.json b/kubernetes/sdc/resources/config/environments/AUTO.json
index d01f8557f3..bd76b97b98 100755
--- a/kubernetes/sdc/resources/config/environments/AUTO.json
+++ b/kubernetes/sdc/resources/config/environments/AUTO.json
@@ -89,7 +89,10 @@
"socket_read_timeout": "20000",
"socket_connect_timeout": "20000",
"janusgraph_connection_timeout": "10000",
- "replication_factor": "{{.Values.global.cassandra.replicaCount}}"
+ "replication_factor": "{{.Values.global.cassandra.replicaCount}}",
+ "db_cache": "{{.Values.global.cassandra.dbCache}}",
+ "read_consistency_level": "{{.Values.global.cassandra.readConsistencyLevel}}",
+ "write_consistency_level":"{{.Values.global.cassandra.writeConsistencyLevel}}"
},
"DMAAP": {
"consumer": {
diff --git a/kubernetes/sdc/values.yaml b/kubernetes/sdc/values.yaml
index cd3dc1e5fd..18483e7f1e 100644
--- a/kubernetes/sdc/values.yaml
+++ b/kubernetes/sdc/values.yaml
@@ -34,6 +34,9 @@ global:
#Shared cassandra cluster replicaCount, should be changed if localCluster is enabled
#to match with its own cluster replica
replicaCount: 3
+ dbCache: true
+ readConsistencyLevel: ONE
+ writeConsistencyLevel: ALL
clusterName: cassandra
dataCenter: Pod
security: