summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/cassandra
AgeCommit message (Collapse)AuthorFilesLines
2020-02-04[COMMON] Create templates for services and PVSylvain Desbureaux5-102/+25
Proposition of common templates to make service declaration and PV declaration consistent accross OOM. Propositions of templates for sub parties of resource definitions such as metadatas, selector and containerPorts. I've also made an example with cassandra. Change-Id: I8b8aa8eb61dafba75e89add1979114a0eefce243 Issue-ID: OOM-1971 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2020-02-03Revert "Make cassandra service mesh compliant"Sylvain Desbureaux1-8/+0
This reverts commit 239bb3e18494584587ee1a6eb482f022b9e32d44. Reason for revert: mandatory template functions not merged yet Issue-ID: OOM-2252 Change-Id: I80444a7103e12aea4568f03ded08e348bba927fb Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2020-02-02[COMMON] Make cassandra service mesh compliantSylvain Desbureaux1-0/+8
When service mesh is enabled, cassandra needs to listen to `127.0.0.1` instead of POD_IP but must broadcast using POD_IP. Change-Id: If96acd56a092a893f524a69ee83406c9cb70b3e7 Issue-ID: OOM-2252 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak7-14/+14
ONAP is too big to be deployed using helm install so we need to use a custom helm plugin helm deploy. This script deloys onap component by component instead of deploying evrything at once. Unfortunately this script also modifies the helm release by appending component name to it. As a result of this behavior our objects are called for example: onap-mariadb-galera-mariadb-galera-0 instead of just being called onap-mariadb-galera-0. This patch simplifies this naming convention by replacing all direct usages of .Release.Name with common.release macro which strips the component specific part from the release name. Issue-ID: OOM-2275 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ia8cead50d305adb00eef666d0a1ace74479b5183
2019-12-05[Common] Use global storage templates for PVCSylvain Desbureaux6-103/+59
OOM has now templates in order to create the needed PVC, using: * a PV with a specific class when using a common nfs mount path between nodes (sames as today use) --> is the default behavior today * or a storage class if we want to use dynamic PV. On this case, we use (in order of priority): - persistence.storageClassOverride if set on the chart - global.persistence.storageClass if set globally - persistence.storageClass if set on the chart I've also aligned the PV creation of the different charts. I've also aligned the PVC creation of the different charts. I've removed unused mysql chart and (badly) used nfs-provisioner chart. I've also make cassandra backup work with dynamic PV (but RWX only for now). Change-Id: I0ea3f8c7514ca648d94b6c682684c06b822bbe0a Issue-ID: OOM-2229 Issue-ID: OOM-2228 Issue-ID: OOM-2227 Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-10-04Increasing Max Heap size to 2GBAkansha Dua1-1/+1
Issue-ID: OOM-2059 Signed-off-by: Akansha Dua <akansha.dua@amdocs.com> Change-Id: I9b8db6ff689c0928ac497b523290e586c0f6f1f8
2019-09-04backup charts for cassandraAkansha Dua7-1/+668
Issue-ID: OOM-2089 Signed-off-by: Akansha Dua <akansha.dua@amdocs.com> Change-Id: Ia1086deda37ba6e613afcc6bd064e7bf4ee692b9
2019-07-11Moving Helm Chart version for El AltoMike Elliott2-2/+2
Updating all helm chart versions to 5.0.0 for the El Alto release. Merge will be co-ordinated with the merge of a separate aai/oom patch. Please do not merge until this coordination has completed. Issue-ID: OOM-1980 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Change-Id: I31daaebeacea33565f13affd2fa28fb15fe948ba
2019-06-11cassandra livenessProbe chart errorJoey Sullivan1-1/+1
Disabling cassandra livenessProbe causes the charts generated yaml to append readinessProbe after containerPort because of go ‘-‘ command. Issue-ID: OOM-1922 Signed-off-by: Joey Sullivan <joey.sullivan@amdocs.com> Change-Id: If19c8639d1a5c0968b7156e39945a3ca15dd18b5
2019-05-30Readiness time increased due to errorsTomasz Golabek1-1/+1
Increased readiness time for common cassandra and sdc-cassandra due to installation failures Change-Id: I4c7f6f5db5ddeebb1d3bde50a24e848be75ba867 Issue-ID: SDC-2319 Signed-off-by: Tomasz Golabek <tomasz.golabek@nokia.com>
2019-05-08Merge "Common Cassandra doesn't support user authentication"Mike Elliott3-1/+114
2019-05-03Common Cassandra doesn't support user authenticationmahendrr3-1/+114
Change-Id: I337aaf258b1a3716d97e31ea3f53014738f3db55 Issue-ID: OOM-1835 Signed-off-by: mahendrr <mahendra.raghuwanshi@amdocs.com>
2019-05-02Bumped version of Casssandra 2.1.7 to 2.2.14Oleg Mitsura1-1/+1
Issue-ID: OOM-1834 this image has newer JDK version, which is not affected by JDK7 issue resolving long hostnames. Change-Id: Ibc94a7b88a24c2e83721e4ee1bab03550b65ffde Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2019-04-30Downgrade Common Cassandra version to 2.1.17 for Dublinmahendrr1-1/+1
Change-Id: I0ae425343937389ff2f9bfd41701402398a63a82 Issue-ID: OOM-1832 Signed-off-by: mahendrr <mahendra.raghuwanshi@amdocs.com>
2019-03-19Shared cassandra cluster snitch changeMahendra Raghuwanshi1-1/+1
Change-Id: Ib7b0e3c0a6a2c81906e3e44e648926e9379da232 Issue-ID: OOM-1733 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2019-02-20Instantiate common cassandra clusterMahendra Raghuwanshi5-93/+111
Issue-ID: OOM-1198 Change-Id: Ie49a34cfbe5bdb2620312e8780dccbc0b86a0d6e Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2019-02-10Update Chart version for Dublin ReleaseMike Elliott2-2/+2
All charts are being bumped from 3.0.0 to 4.0.0 for the Dublin release. In addition the requirement.yaml files have been updated to allow for chart versions that include timestamp suffix. A following on patch will take care of changes to the OOM Makefiles to support injection of the timestamp versions. Change-Id: Ie03d86fad2027e975e8b9106e3a828e4335037cb Issue-ID: OOM-1642 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2018-10-30Add missing selectors on PVCAlexis de Talhouët1-0/+3
Change-Id: If156e738a26c7c19043657c97ac327125c5162db Issue-ID: OOM-1486 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2018-10-17Cassandra common chartingprpatel6-0/+424
Change-Id: I9899178bde859ee00fd62c700e8a2a5dd3dd8ac8 Issue-ID: OOM-1177 Signed-off-by: prpatel <pradeep.patel2@amdocs.com>