aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/mysql/templates/nfs-provisoner.yaml
AgeCommit message (Collapse)AuthorFilesLines
2019-12-05[Common] Use global storage templates for PVCSylvain Desbureaux1-78/+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>
2018-05-07Fix persistent volume to be mapped to Release.NameBorislavG1-1/+1
Change-Id: I98754174e50537df2e82a9d9b40f471edff19e69 Issue-ID: OOM-907 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-24Make all services independent of helm Release.NameBorislavG1-2/+2
Issue-ID: OOM-906 Change-Id: Ic65127d3981cb0a696c784392cab59fbf06b1e66 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-04-19fix nfs-provisioner for appc and sdncJerome Doucerain1-2/+2
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-1/+17
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-3/+3
Change-Id: I453a75ba1a8604d06d95c0accde2a77b3f791ae3 Signed-off-by: jmac <james.macnider@amdocs.com> Issue-ID: OOM-878
2018-03-26Add fix for build dependeciesMike Elliott1-0/+62
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>