summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mysql/templates/statefulset.yaml
AgeCommit message (Collapse)AuthorFilesLines
2019-12-05[Common] Use global storage templates for PVCSylvain Desbureaux1-263/+0
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-02-22OOM-1373 Add missing label release to componentssushil masal1-0/+6
Issue-ID: OOM-1373 Change-Id: Ifc6593a7e8f8622bfec29b942c5c75cdb59c997d Signed-off-by: sushil masal <sushil.masal@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-09-25Updating charts to use common resource templateMandeep Khinda1-1/+1
Issue-ID: OOM-1145 Change-Id: I1510339a820802554b6e8b9a201619ef66be17a0 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2018-05-08Add separate PV for each SDN-C MYSQL podMohammadreza Pasandideh1-16/+25
Change-Id: I5238ee63c2e7adadaaf9a25cf2c72dab03ed1af8 Signed-off-by: Mohammadreza Pasandideh <mohammadreza.pasandideh@amdocs.com> Issue-ID: SDNC-299
2018-04-19fix nfs-provisioner for appc and sdncJerome Doucerain1-12/+1
change in common/mysql/templates/pvc.yaml to allow pvc use when persistence is required change in common/mysql/templates/storageclass.yaml to be led by the disableNfsprovisioner variable change in appc/values to default the disableNfsprovisioner to false as it is in sdnc changing the default disableNfsprovisioner to true for both appc and sdnc changing the stateful set avoid volumeclaimtemplates. When used in helm, the volumeclaimtemplates is causing pvc to be left after the helm delete --purge. I guess this is due to the fact the pvc are not directly created by the helm install by indirectly by kubernetes Now the tests are working in both cases (nfsprovisioner disabled or not) The only piece remaining after a helm delete is pv in released state in case we are using nfsprovisioner. That makes sense again because this are objects created by the provisioner and not by helm. removed some leftover Issue-ID: OOM-787 Change-Id: Ieb1f1c482217aeb1b89be39a437bb891a299db71 Signed-off-by: Jerome Doucerain <jerome.doucerain@bell.ca>
2018-04-10Restore pv and pvc in mysql chartjmac1-7/+5
This change restores the pv.yaml and pvc.yaml that were previously removed. These are required for the case when the NFS provisioner is disabled. I've added a condition to these files such that they should be disabled if the NFS provisioner is enabled. The two ways of managing entities need to be mutually exclusive. Borislav: Solution for directory creation problem upon first deployment with persistence enabled Borislav: Fixed licenses for mysql Change-Id: I9879b3b6574f8026a28793b9d86d6ef3ec9ce2e9 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-889
2018-04-05Fix for MySQL local redundancyjmac1-8/+26
Change-Id: I453a75ba1a8604d06d95c0accde2a77b3f791ae3 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-878
2018-04-03Multi-site High-availability Manual Failover (PoC)Neha Jain1-2/+4
Change-Id: Ib11a01170962a932466bcfb1b12e6e0563476e73 Signed-off-by: Neha Jain <neha.jain3@amdocs.com> Issue-ID: SDNC-214
2018-03-26Add fix for build dependeciesMike Elliott1-0/+238
Moved mysql and dgbuilder under common (built first) to ensure they are built before appc and sdnc charts that depend on them. Change-Id: I2fc28f0537b2639bd2b761c6f115544965a228b1 Issue-ID: OOM-830 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>