summaryrefslogtreecommitdiffstats
path: root/kubernetes/dmaap
AgeCommit message (Collapse)AuthorFilesLines
2021-12-06[DMAAP][MR] Use startup probesSylvain Desbureaux2-3/+27
Instead of using long intial delay for readiness and liveness probes, use startup Probes with aggressive checks in order to detect start as fast as possible AND handles slow start cases. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Icb19ef62a4a8c52ac8800aa1dd4b71e350a6eeca
2021-11-08[DMAAP] Use log templateMaciej Wereski7-74/+16
Ability to turn off filebeat is needed as it is being deprecated. To achieve that existing log helper template is used. Also unecessary filebeat config map was removed. Issue-ID: OOM-1 Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com> Change-Id: I3dc384b0e2e857637897ac56a172a605de7eb67e
2021-10-21Merge "[COMMON] Fix trailing blanks found by pre-commit"Sylvain Desbureaux1-1/+1
2021-10-20Merge "[DMAAP] Bump image versions"Sylvain Desbureaux8-15/+33
2021-10-20[COMMON] Fix trailing blanks found by pre-commitguillaume.lambert1-1/+1
pre-commit is now enforced by the CI chain. Meanwhile, trailing blanks were introduced in the code base and must be fixed so that gate pass. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: I54daa27a1fdf019a6777e9b90274d0ef4f1ba08e
2021-10-15[COMMON] Bump ONAP versionSylvain Desbureaux14-42/+55
Use version 9.0.0 for Istanbul Also update the doc. Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I03e11799bf487226784c98b04116f005c89d1e70
2021-10-13[DMAAP] Bump image versionsefiacor8-15/+33
Bump DMaaP. kafka and zookeeper versions for I release Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Ie8b11626b868c2e74dc2a2c29de635d46b2f7d6c Issue-ID: OOM-2795
2021-10-11Merge "[DMAAP] Use the common mariadb-galera instance"Krzysztof Opasiak4-27/+34
2021-10-06[DMAAP] Use the common mariadb-galera instanceMahmoud Abdelhamid4-27/+34
Have following updates for DMAAP-DR-PROV: - Add section under .Values.global for shared mariadb instance default info with a condition to instantiate local instance - Add section under .Values for mariadb-init and mariadb-galera projects - Add condition under requirments.yaml to install local mariadb instance - Update deployment with DB host parameter and reflect it into resource file (using the templates defined under templates/_mariadb.tpl) Issue-ID: OOM-2774 Signed-off-by: Mahmoud Abdelhamid <mahmoud.abdelhamid@orange.com> Change-Id: I8a8e2c179710680282f4ad686dc44e75356a1b81
2021-09-26[COMMON] Add and run pre-commit linters via toxguillaume.lambert1-1/+1
- create a .pre-commit-config.yaml configuration file with * gitlint * trailing blanks linter * tabs removal linter - exclude .git folder from it - exclude Makefiles since tabs are mandatory by default in them - create a tox pre-commit profile to run it from tox note gitlint is not runnable at this pre-commit stage - create pre-commit-install and pre-commit-uninstall tox profiles to (un)install hooks locally and (un)perform tests at each "git commit" call (i.e. without calling manually the pre-commit tox profile) - precise pre-commit stages/types in the pre-commit configuration file so that hooks are installed correctly. This avoids messages about skipped tests when they are run at a wrong stage. Issue-ID: OOM-2643 Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com> Change-Id: Ie95bb4f6f90be80b05a1398973caffeff7936881
2021-08-09[DMAAP] Replace aafConfig with certInitializerKrzysztof Opasiak4-30/+28
Use cert initializer instead of aafConfig to keep dmaap-dr-node aligned with the rest of ONAP Issue-ID: OOM-1 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I2b73e87bb8ae011416555216605ade9a6316261e
2021-07-23[DMAAP] Update chart with service accountfarida azmy20-0/+69
Add service account to requirements.yaml, values.yaml and deployment/statefulset Issue-ID: OOM-2702 Signed-off-by: farida azmy <farida.azmy.ext@orange.com> Co-authored-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Id63ae33ce92a5192d43ff0f782487b3974fc5f41
2021-07-20Merge "[DMAAP][MR] Fix not starting on service mesh"Krzysztof Opasiak1-0/+2
2021-07-07[DMAAP][MR] Fix not starting on service meshSylvain Desbureaux1-0/+2
With automatic certificate commit, service mesh compatibility has been lost. This commit reenables it. Issue-ID: OOM-2233 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ice397cb2d17f1010c180b6dcb4a24892a3141702
2021-06-28[DMAAP][MR] Remove call to suppressed config mapSylvain Desbureaux1-5/+0
When moving to automatic cert retrieval, a config map was suppressed. But it's call in the statefulset was not. This commit removes it also. Issue-ID: OOM-2765 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I0e9dbc1a440a80eb182e8a52a7a7c1e59fcca72b
2021-06-23[DMAAP][DR] Set replica of Mariadb to 1Sylvain Desbureaux1-1/+1
As decided by TSC, all local databases (not the shared one) should use a replica of 1 per default. Issue-ID: OOM-2779 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I664213c1a9c5551e5ad4d7ab5d8ae861244ada08
2021-06-10[DMAAP-BC] Update incorrect topic valuesefiacor4-4/+4
Update BC image version Update cm-container version to 4.6.0 Update k8s-bootstrap-container version to 3.2.0 Update dmaap plugin version to >=1.5.1,<2.0.0 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: I8d6062d794b9d270cce781ed67421d25d1783530 Issue-ID: DMAAP-1544
2021-04-15[DMAAP-MR] Bump MR image versionefiacor2-2/+2
Update MR image version for H. Orig commit was lost due to AAF cert problems https://gerrit.onap.org/r/c/oom/+/118602 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Change-Id: Id1742c665a90535fbc9a5d45e060e5d79e7b3f47 Issue-ID: DMAAP-1542
2021-04-01Merge "[DMAAP] Fix scaling logic for message router kafka and zookeeper"Sylvain Desbureaux6-12/+13
2021-03-31[DMAAP] Fix scaling logic for message router kafka and zookeeperMarat Salakhutdinov6-12/+13
Currently if we want to scale message router kafka and zookeeper we need to do manual changes in charts to make it work. With this patch all can be done with override files. Issue-ID: OOM-2613 Signed-off-by: Marat Salakhutdinov <marat.salakhutdinov@bell.ca> Change-Id: I1782dca26f964f33c250520ee2e187619cee0e5e
2021-03-27[DMAAP] Bump image versionsSylvain Desbureaux3-3/+3
Update DMaaP images for Bus Controller and Data Router. Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1542 [split commit in two] Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ib227ace915ae1a39c87b5e10e0d0db3c1cdba46d
2021-03-26[DMAAP][MR] Retrieve certs automaticallySylvain Desbureaux14-79/+573
Instead of hardcoding certificates inside the container, use cert initializer in order to retrieve them automatically at start. Issue-ID: DMAAP-1547 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I7fcb8831539d8d9d5d25bcaae44a3c66672f7b1a
2021-03-24[DOC][COMMON] Prepare Honolulu releaseSylvain Desbureaux14-34/+30
Updating the documentation and bumping version to 8.0.0 Issue-ID: OOM-1 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6f942f1466fed64264c44fb8fc0e1ffc93a98f18
2021-02-04[DMAAP][DR] Fix bad templatingSylvain Desbureaux2-2/+2
In DR deployments, use of `{{- end -}}` at the of affinity makes the next line to "glue" to resources information. And it seems that in recent kubernetes, it makes it break. Issue-ID: OOM-2671 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ief6fcdf18b9bea1bff728924d7c9a25465ac8a47
2021-01-21[DMAAP][MR] Service Mesh compatibilitySylvain Desbureaux4-5/+7
In order to make DMaaP Message Router to work, a change in Zookeeper has to be done so it's listening on all Interfaces. Also, rename service port names in order to follow istio best practices. Issue-ID: OOM-2233 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I4ed3426c57439d40ff48c7fbbc6d2e970924b7f2
2020-12-14[COMMON][MARIADB] Upgrade Mariadb DB galera versionSylvain Desbureaux2-11/+12
Mariadb DB Galera containers version is outdated and unmaintained. We need them to move to a new image provider. As new image provider is not compatible with our old templates, we also update the templates (by reworking bitnami mariadb-galera chart). An update of global mariadb image is also done in order to match mariadb galera version. Issue-ID: OOM-1720 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ib9976227759e90022183d4f37fc655143be4d6ac
2020-11-30[COMMON][DOC] Bump version GuilinSylvain Desbureaux14-30/+30
Update charts and requirements to 7.0.0. Create release notes for Guilin Update documentation Issue-ID: OOM-2638 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I965ed6b6ebb7d74bfddaff73edd3dd55a657841c
2020-11-24[DMAAP] Uses new tpls for repos / imagesSylvain Desbureaux45-74/+281
This commit makes DMaaP chart to use the new generator for repositories and images. As new templates doesn't work well with "sub charts", we move also subcharts to components folder. Issue-ID: OOM-2364 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Ide110555b22d35ba43a5a5ed780aa8dfc89a9edf
2020-11-20[GENERIC] move from registry.hub.docker.com to docker.ioSylvain Desbureaux2-2/+2
`registry.hub.docker.com` needs authentication now, in contrary to previous behavior. As OOM deployments is unauthenticated when using docker hib repository, all OOM deployments is broken. `docker.io` seems to be still OK with unauthenticated requests so let's move to this endpoint. Issue-ID: OOM-2636 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: Iea81b882d347124af22b0a9c408081706b1c6c6d
2020-10-23Merge "[DMAAP] change comment style"Krzysztof Opasiak37-6/+80
2020-10-21[DMAAP] change comment styleJakub Latusek37-6/+80
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: I1f0fa48fe6dbca7fa319d5b60ac7d1ffb8def194 Issue-ID: OOM-2562
2020-10-21[Tree-wide] Add helmignore to ignore componentsKrzysztof Opasiak1-0/+1
components directory takes up a lot of space and is included during helm package Lets remove it using .helmignore This is just a copy of idea showed in: "[OOF] Add helmignore to ignore components" by krishnaa96 <krishna.moorthy6@wipro.com> Issue-ID: OOM-2534 Suggested-by: krishnaa96 <krishna.moorthy6@wipro.com> Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I25c82e79ba2c472b7761a63365573188ab8db56b
2020-10-16Update makefiles to use specific helm versionJakub Latusek1-4/+5
Helm is now called by HELM_BIN variable which by default is set to helm and makefiles use helm from path. HELM_BIN can be overwritten so user can have two version of helm in system and choose which one to use. Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: I0917796aafe234e87afa0ac3c4c15720296276d5
2020-10-07Merge "[DMAAP] remove field undefined in in statefulset specification"Sylvain Desbureaux2-38/+4
2020-10-01[DMAAP] remove field undefined in in statefulset specificationJakub Latusek2-38/+4
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: Ibefaa1d43ebed333b71797d807e9f4f038b1cd12
2020-09-28[DMAAP-DR] Bump DR image versions to 2.1.7efiacor2-2/+2
Change-Id: Ibf553a60b9d80eaa6ecc7d3d74a7626182ea3a7e Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1492
2020-09-25Merge "[DMAAP] Use common.resources in statefulset template"Sylvain Desbureaux1-1/+1
2020-09-24[DMAAP] Use common.resources in statefulset templateJakub Latusek1-1/+1
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: If9c9b4e326ea7837621f2ec4e2b1eb12d64934fe
2020-09-24[DMAAP] Set default service nameJakub Latusek1-1/+1
Helm3 require proper service name during linting Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: I3aa76fa228d79798a09cf13c328d19b549d7b11d
2020-09-08Merge "[DMAAP] Add logs to STDOUT"Krzysztof Opasiak3-5/+2
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux11-22/+17
Readiness container v3.x and up are now present in ONAP main repository. They're also not using root user anymore and then script path has changed. Finally, "job_complete" script has been integrated in main "ready" script. As those changes are significant, we must upgrade all the components at once. Depends-On: I5afa83892043f4844afe12e61724a8d368a9f2e0 Issue-ID: OOM-2545 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I0b4eb5dd86390273532d67d0a9696e1cfcadf110
2020-09-03[DMAAP] Add logs to STDOUTDominik Mizyn3-5/+2
This commit add STDOUT appender to root level logging. Issue-ID: OOM-2514 Change-Id: I03465e1e1446ff7c1c80838788d2b3accc3526b1 Signed-off-by: Dominik Mizyn <d.mizyn@partner.samsung.com>
2020-08-12[DMAAP] Increase backoffLimit for DMAAP provisioning jobefiacor1-1/+1
Change-Id: Iaf21a2e18f1102ec23c4d8e264b15f0df5f6e1de Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1475
2020-07-23[DMAAP] Make DMAAP compatible with Kubernetes v1.17Grzegorz-Lis3-3/+12
Issue-ID: OOM-2455 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I63d3942ea869b87f39d3173e54ebe999bfbdbd45
2020-06-17[DMAAP] Fix provisioning job for topic creationefiacor1-2/+2
Change-Id: Ifa779a2bf97c4b8c06bc7cdd9e67a66200cb8afe Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DMAAP-1444
2020-05-26[DMAAP] Use common aaf template in dmaap-dr-provKrzysztof Opasiak5-164/+22
Instead of copy-pasting code around aaf_agent usage let's use a common template that automates this. Issue-ID: AAF-1134 Change-Id: I266017e4acbcdac89a31dfba775380fd5cd9acfe Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-05-14[DMAAP] Moving DMaaP post-install jobs to 1 BC jobefiacor17-258/+97
Change-Id: I11fe412600d1061e5667a5531d36cecbecdd34e3 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: OOM-2369
2020-05-14[DMAAP] Use common aaf template in dmaap-bcKrzysztof Opasiak6-109/+18
Instead of copy-pasting code around aaf_agent usage let's use a common template that automates this. Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I42bb5a8840701dfd99488df9913a5ffd01b17f64
2020-05-12Merge "[DMAAP] Use common secret template for postgres creds"Sylvain Desbureaux4-6/+45
2020-05-11[DMAAP-DR] Bug fix DCAEGEN2-2217 for Frankfurt releaseefiacor1-0/+1
Change-Id: I8b370e77407a3497d2fe46b207668dd234a24a80 Signed-off-by: efiacor <fiachra.corcoran@est.tech> Issue-ID: DCAEGEN2-2217