diff options
author | Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com> | 2019-03-15 12:02:42 +0000 |
---|---|---|
committer | mahendrr <mahendra.raghuwanshi@amdocs.com> | 2019-04-17 03:59:20 +0000 |
commit | bd10dfccb96a009d8a34339b570cc44cf3e4149e (patch) | |
tree | 011c33995db0bcf7316b833fad6eb9df26a1cb50 /values.yaml | |
parent | 715a2a894e076b1529bdd1740c7ffaf46f62e219 (diff) |
Upgrade AAI to use common shared Cassandra
Change-Id: I0186b09697f32115595383c4e409e608e2cf767f
Issue-ID: OOM-1652
Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
Diffstat (limited to 'values.yaml')
-rw-r--r-- | values.yaml | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/values.yaml b/values.yaml index 1d3a3a5..1b359fc 100644 --- a/values.yaml +++ b/values.yaml @@ -56,7 +56,15 @@ global: # global defaults serverPort: 30247 cassandra: - serviceName: aai-cassandra + #This will instantiate AAI cassandra cluster, default:shared cassandra. + localCluster: false + + #Service Name of the cassandra cluster to connect to. + #Override it to aai-cassandra if localCluster is enabled. + serviceName: cassandra + + #This should be same as shared cassandra instance or if localCluster is enabled + #then it should be same as aai-cassandra replicaCount replicas: 3 aai: @@ -252,6 +260,20 @@ liveness: # in debugger so K8s doesn't restart unresponsive container enabled: true +#This section is used when localCluster is enabled. AAI will create its own cassandra cluster for its specific use. +#Below command will instantiate the aai cassandra instances: +#helm deploy demo local/onap --version=4.0.0 --namespace onap --set aai.enabled=true \ +# --set aai.global.cassandra.localCluster=true \ +# --set aai.global.cassandra.serviceName=aai-cassandra +cassandra: + nameOverride: aai-cassandra + replicaCount: 3 + service: + name: aai-cassandra + persistence: + mountSubPath: aai/cassandra + enabled: true + readiness: initialDelaySeconds: 10 periodSeconds: 10 |