summaryrefslogtreecommitdiffstats
path: root/kubernetes/common
AgeCommit message (Collapse)AuthorFilesLines
2019-11-20Create templates for global storage useSylvain Desbureaux9-25/+181
Two helper functions are defined: - common.storageClass: will print the right storage class according to properties set or not: * if no storage class set --> use previous behavior (storage class named `common.fullname-data`. * if a "persistence.storageClassOverride" is set for this specific chart, we use it (if it's "-", we set to default one) * if a "global.persistence.storageClass" has been set (and no storageClassOverride for this chart), we use it (same specificity than storageClassOverride) * if a "persistence.storageClass) has been set (and no storageClassOverride nor global one), we use it (same specificity than storageClassOverride) - common.needPV: will print "True" if we need a PV (no storageClass and storageClassOverride being set). an implementation example with mariadb-galera is provided. Issue-ID: OOM-1500 Change-Id: I20a667e17b00c255c4b828e3c66f9c0df7c8755c Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-10-29[Music] Adjust Pods Requests/LimitsSylvain Desbureaux5-25/+48
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-10-29Merge "Remove unused PVC from mariadb-galera chart"Borislav Glozman1-48/+0
2019-10-29Fixing missing apiVersion in etcd chartTomáš Levora1-1/+2
Missing apiVersion causes linting failure and therefore make common fails Issue-ID: OOM-2156 Signed-off-by: Tomáš Levora <t.levora@partner.samsung.com> Change-Id: Idb0aeb998fc99cc8e409247c6b5e20d140297a3e
2019-10-28Remove unused PVC from mariadb-galera chartSylvain Desbureaux1-48/+0
Used PVC(s) are actually created in the statefulset Change-Id: I24f2c3ff0934178c9af06bfee60b4b6e35cfe953 Issue-ID: OOM-2155 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-27Update dgbuilder for httpsTimoney, Dan (dt5972)3-2/+14
Update dgbuilder to use latest release (0.6.3) with https support and update configuration to enable https Change-Id: Ia04a3cde6b0f18655301e25dcf125ffcdf1ec120 Issue-ID: OJSI-100 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-23Update CCSDK/SDNC versions for RC0Timoney, Dan (dt5972)1-1/+1
Update CCSDK version to RCO (0.6.3) and update SDNC version to RC0 (1.7.3) Change-Id: I4af5684ecacd2cf8134a4db51684fb95b488d536 Issue-ID: SDNC-917 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-13Update SDNC/CCSDK versions to 1.7.2/0.6.2Timoney, Dan (dt5972)1-1/+1
Update versions of CCSDK and SDNC dockers to 0.6.2 / 1.7.2 Change-Id: Ib8294b292122c924fcbe29a02806dffd5ce935ec Issue-ID: SDNC-905 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-06Merge "backup charts for cassandra"Mike Elliott7-1/+668
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-09-04Backup Charts for mariadb clusterAkansha Dua4-1/+334
Issue-ID: OOM-2088 Signed-off-by: Akansha Dua <akansha.dua@amdocs.com> Change-Id: Ie7f25c812984abc8631a86b2385dd14a365a8ea5
2019-09-02Merge "Move Storage access to RWO"Alexis de Talhouët1-1/+1
2019-09-02Merge "Fix syntax and indentation in ingress common template."Alexis de Talhouët1-6/+6
2019-09-02Merge "Move Storage access to RWO"Alexis de Talhouët1-1/+1
2019-08-31Update SDNC helm charts to use Neon versionTimoney, Dan (dt5972)1-1/+1
Update SDNC helm charts to use Neon-based El Alto images Change-Id: If91320bc663992355f665b3f57f77214e96985cd Issue-ID: SDNC-874 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-29Move Storage access to RWOSylvain Desbureaux1-1/+1
Mariadb PVC are created in 1 to 1 mapping with galera replicas thus we don't need RWX. Change-Id: I438855b2d4b2f90932387e056c168b0a995975a5 Issue-ID: OOM-2081 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-08-29Move Storage access to RWOSylvain Desbureaux1-1/+1
Today when deploying NBI with OOM, the PersistentVolumeClaim needs the "ReadWriteMany" (or "RWX") capability. According to Kubernetes Documentation (https://kubernetes.io/docs/concepts/storage/persistent-volumes/#access-modes), ReadWriteMany stands for "the volume can be mounted as read-write by many nodes". That means that a particular PVC needs to be read and written from many pods. That also means that your code takes that into account and do the work to avoid write at the same place at the same time. An issue on RWX mode is that most "official" storage driver from Kubernetes doesn't support it (13 over the 19 drivers doesn't support it, espacially OpenStack, Amazon and Google storage classes). MongoDb PVC is used only for one Mongo instance and it's the same for maria. Thus we don't need RWX Change-Id: I4d54cd7853778d8ba6c83551a211abe34d383382 Issue-ID: EXTAPI-305 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-08-29Fix syntax and indentation in ingress common template.Ondřej Šmalec1-6/+6
Issue-ID: OOM-2050 Signed-off-by: Ondřej Šmalec <o.smalec@partner.samsung.com> Change-Id: I7d54c4c8adc192d0c27249dde2fad4af2ed0a52a
2019-08-14Merge "Fix identation in the ingress common template"Borislav Glozman1-2/+2
2019-08-13Merge "Update SDNC/CDS image versions for El Alto early drop"Alexis de Talhouët1-1/+1
2019-08-13Fix identation in the ingress common templateLucjan Bryndza1-2/+2
Fix inproper backend section identation in the common ingress config template Change-Id: I04c4eebc408a04aba0679ff5123e1a8503ffd912 Issue-ID: OOM-1508 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-08-13Add ingress nginx common templateLucjan Bryndza1-0/+55
Add ingress common template, template can be included in a components ingress configuration. Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com> Change-Id: Ic18626ca679c8cbc6ce7aee95ac4b9c40dc5bcfe Issue-ID: OOM-1508
2019-08-08Update SDNC/CDS image versions for El Alto early dropTimoney, Dan (dt5972)1-1/+1
Update SDNC image versions for El Alto early drop (1.6.1 for SDNC, 0.5.1 for CCSDK) Change-Id: I48bb223116b4064b7f90847d90bd0453d311b09c Issue-ID: SDNC-827 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-11Moving Helm Chart version for El AltoMike Elliott28-29/+29
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-06-06Update sdnc/ccsdk versions to 1.5.3/0.4.4Timoney, Dan (dt5972)2-2/+2
Update SDNC and CCSDK versions to reflect latest CCSDK/SDNC docker versions Change-Id: I325a999a77e8e4e9ff7ba3ddbd99b5dc91c46695 Issue-ID: SDNC-793 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-06-04Fix issue with etcd pod startupKiran Kamineni2-20/+10
Etcd pod fails to start with file not found error. The error is being caused because the pod is stuck in an infinite loop as the readiness probe is not true. Since, we are anyway checking the pod status, we removed the readiness probe as it is not needed. Bumped up version of etcd to 3.2.24 This fixes a known issue: https://github.com/etcd-io/etcd/pull/4861 Issue-ID: MULTICLOUD-660 Change-Id: I815766b4a8f187d88bb2fcdb71e9d6e24b277d25 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-05-30Add timeout to readiness checkNelson, Thomas (tn1381)2-1/+5
Add quotes around value. Seems that its expecting a string input. Issue-ID: MUSIC-403 Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com> Change-Id: I45d318072f76066bf995f1d973cbbdba5fe53f7e Signed-off-by: Nelson, Thomas (tn1381) <tn1381@att.com>
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-29Update to latest SDNC and CCSDK containersTimoney, Dan (dt5972)2-2/+2
Update to use latest CCSDK and SDNC releases (0.4.3 and 1.5.2, respectively). Change-Id: I1412f5b3744a37db87b498650d06889fb90e2d0f Issue-ID: CCSDK-1362 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-22add timeout for mariadb readinessyangyan2-0/+2
Issue-ID: VFC-1392 Change-Id: I8b4a97dbac6245c7747a31fdc557ffd8d9a974d5 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
2019-05-20Change chart to fullname instead of servicenameKiran Kamineni3-33/+30
The chart uses servicename in statefulset.yaml. This should be fullname instead. Issue-ID: MULTICLOUD-636 Change-Id: I0e523a5c0e2e2c432f3a159fcb8c9ddcd2240e68 Signed-off-by: Kiran Kamineni <kiran.k.kamineni@intel.com>
2019-05-11Adding helm Chart for etcdRitu Sood7-0/+469
Based on the helm chart in github helm repo https://github.com/helm/charts/tree/master/incubator/etcd etcd required as datastore by k8s Plugin in multi-cloud project. Change-Id: Ie6c7d9fc394f2a08cd9d34dda6261da13ef005f3 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Issue-ID: OOM-1828
2019-05-08Merge "Common Cassandra doesn't support user authentication"Mike Elliott3-1/+114
2019-05-08Merge "Bumped version of Casssandra 2.1.7 to 2.2.14"Mike Elliott1-1/+1
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-02Update to use released SDNC/CDS artifactsTimoney, Dan (dt5972)2-2/+2
Update helm charts to use released version of CDS and SDNC artifacts. Change-Id: If7c537bb1ce8d991244bd2cfa536a95f8c377107 Issue-ID: SDNC-740 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.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-04-24Remove DCAE image from updateYang Xu1-1/+1
Change-Id: Ifa98f8610b0a96a28f3a3ded7cb65663e9455158 Issue-ID: INT-1042 Signed-off-by: Yang Xu <yang.xu3@huawei.com>
2019-04-17Merge "mariadb-galera initContainer not honour pullPolicy"Alexis de Talhouët1-0/+1
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-04-12mariadb-galera initContainer not honour pullPolicymahendrr1-0/+1
Change-Id: Ie1f76bd81c001b688aaf2a34b04b3399520a6999 Issue-ID: OOM-1794 Signed-off-by: mahendrr <mahendra.raghuwanshi@amdocs.com>
2019-04-11Update dgbuilder versionTimoney, Dan (dt5972)1-1/+1
Update dgbuilder version to Dublin version 0.4.2-STAGING-latest Change-Id: Ia2b123f666f04bc7796258b1ef1506d6ab8eafbb Issue-ID: CCSDK-1152 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-11Merge "Bump version of Mongo and Mariadb for NBI"James MacNider1-1/+1
2019-04-11Bump version of Mongo and Mariadb for NBISylvain Desbureaux1-1/+1
Change-Id: Ib6042ee657415ec94d5c8acdd23a2ef1b5438a93 Issue-ID: EXTAPI-213 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-04-10default storageclass and nfs provisionersushil masal5-0/+203
Issue-ID: OOM-1500 Change-Id: I15dd98ea8042914220f1b6025e93f65224bb9adb Signed-off-by: sushil masal <sushil.masal@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-03-04Add CDS as new chartSylvain Desbureaux19-950/+0
CDS (Common Design Studio) was put in common but with the arrival of a chart that hosts the UI, it seems better to have it into its own "root" chart. For now, CDS chart is being installed if it's set as enabled in SDNC. Change-Id: I73bdcfaeb29b796793374513e152244a41e82d52 Issue-ID: CCSDK-1015 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>