summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/music/charts/music-cassandra/templates
AgeCommit message (Collapse)AuthorFilesLines
2020-07-07Make COMMON/MUSIC compatible with Kubernetes v1.17milaszki1-1/+4
Issue-ID: OOM-2484 Signed-off-by: Daniel Milaszkiewicz <daniel.milaszkiewicz@nokia.com> Change-Id: I8b89986cb73f9d7dedadacf88243623e7e91041f
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak3-7/+7
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 Desbureaux3-79/+66
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-29[Music] Adjust Pods Requests/LimitsSylvain Desbureaux1-1/+1
I've adjusted the Requests / Limits of portal pods according to real usage of "Orange Openlab" and "Onap daily master". Calculation is the following: per deployment: * CPU/Mem requests is max of average from the two deployments * CPU/Mem limits is (max of max from the two deployments) * 1.2 Change-Id: I3fce54e6be495a7014bf346d66721976fa2dab8b Issue-ID: MUSIC-533 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-04-12Set aai&music Cassandra readiness periodSecondsYang Xu1-1/+1
Change-Id: I585e126601dc423caba3fa2af9ca4c80de0bf699 Issue-ID: OOM-1795 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2019-02-20Merge "Fix music-cassandra statefulset failing"Mike Elliott1-0/+2
2019-01-18Use explicit PVC selectors for CassandraPawel Wieczorek1-0/+1
Using release label only can result in claiming Persistent Volume with mismatched Cassandra version (2.1.20 vs. 3.11.3 as of writing this patch). Issue-ID: OOM-1592 Change-Id: I9f534982f6ae91347b17676b1223d397ac28953d Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
2018-12-20Fix music-cassandra statefulset failingSylvain Desbureaux1-0/+2
imagePullSecrets was not present and thus preventing connecting to registry where creds are mandatory Change-Id: I766c0a1884cefa7fd643286dc899bf29d5946847 Issue-ID: OOM-1561 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.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-30Fix Volumeclaim clash between MUSIC and AAIThomas Nelson Jr arthuerdent31-3/+3
Update to fix name of volume to reduce the amount of cassandra mentioned. Change-Id: I20909b304a8bde517c71b479daac6dd0dbf43ca4 Issue-ID: MUSIC-156 Signed-off-by: Thomas Nelson Jr arthuerdent3 <nelson24@att.com>
2018-10-26Adding MUSIC Common chartsNelson,Thomas(tn1381)(arthurdent3)3-0/+241
Includes: Cassandra 3.11 - Current Common cassandra is lacking security. Tomcat 8.5 - Docker Hub Zookeeper 3.4 - Chart from Incubator/Zookeeper - https://github.com/helm/charts/tree/master/incubator/zookeeper Fixed Issue with Zookeeper not starting. Was unable to write to pvc location. add copyright header to the files where it's missing remove all the trailing whitespaces bump charts version to 3.0.0 and also requirement chart to 3.0.0 Adding resource limits Update Music Chart.yaml to 3.0.0 Make recomended fixes due to resources bug. Updated port to 76 Update cassandra values. Add nodePortPrefixExt Fix Tomcat sevice Name. Update Names Add Readiness Image Update Service names Fix cassandra service Update tomcat chart Update job chart to incluede timeout. Update job chart to include delay for run Remove some unneded files and update tomcat helm readiness Replace removed files that were braking the jenkins build Made suggested changes Update Replication factor from 1 to 3,3 is default, 1 was set for testing. Move tag:version into image: Remove commented out values and aafAdminUrl Change-Id: I47eafae052cbe7355468655e5f8fcda8402bafd6 Issue-ID: MUSIC-99 Signed-off-by: Nelson,Thomas(tn1381)(arthurdent3) <tn1381@att.com> Signed-off-by: Thomas Nelson Jr arthuerdent3 <nelson24@att.com>