summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-09-02[BUILD] Upgrade RKE and kubectl binaries version in data listBartek Grzybowski1-2/+2
RKE upgrades to 1.3.0 kubectl upgrades to 1.19.14 Change-Id: I1e31e91b84a2b233aa7729671ba18da12b75898c Issue-ID: OOM-2818 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-08-17[ANSIBLE][TOOLS] Fix hardcoded app_data_pathMarcin Wilk2-1/+2
Issue-ID: OOM-2798 Signed-off-by: Marcin Wilk <m.wilk@samsung.com> Change-Id: Ia3733154b9ee016b390a4810ab0918b3528ed662
2021-07-01[TOOLS] Add option to turn on Helm verbose outputBartek Grzybowski1-3/+10
Change-Id: I00723c19f1390fb0d701c5ea0705209b054b818f Issue-ID: OOM-2770 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-07-01[TOOLS] Use release's chart manifest to collect kubernetes objectBartek Grzybowski1-34/+5
Since Helm v3 is no longer showing kubernetes objects associated with a release, charts manifest is used to get those. Ref.: https://github.com/helm/helm/issues/5952 Change-Id: Idf16124663186b8d5b8ce2b408bdf7d399b12b48 Issue-ID: OOM-2770 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-07-01[TOOLS] Append namespace argument for helm commandBartek Grzybowski1-4/+4
Change-Id: Icbe1de3b1649b557dbe216d774174121edec8106 Issue-ID: OOM-2770 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-07-01[TOOLS] Drop Helm v2 specific codeBartek Grzybowski1-19/+3
Change-Id: I7ca2889bf3a7296b4c88786cd6f304a86ca007a5 Issue-ID: OOM-2770 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-29Merge changes from topic "kube-prometheus-stack"Bartek Grzybowski31-21/+1044
* changes: [ANSIBLE] Increase Helm install timeout for kube-prometheus application [ANSIBLE] Create a NodePort type service for Grafana dashboard [DOC] Add documentation for kube-prometheus stack [BUILD] Add Kube Prometheus Stack docker image list to default image list [BUILD] Add 'busybox' image to kube-prometheus data list [ANSIBLE] Update custom Grafana dashboard [ANSIBLE] Configure custom Grafana dashboard [ANSIBLE] Setup persistent volume for Grafana dashboards [TOOLS] Fix helm-healer.sh usage description [ANSIBLE] Add 'nfs' playbook [ANSIBLE] Generate helm values file for kube-prometheus stack [ANSIBLE] Create host paths for PVs and set their permissions [BUILD] Add the 'python2-openshift' package [ANSIBLE] Play the 'k8s-persistent-volume' role in 'kube_prometheus' playbook [ANSIBLE] Add 'k8s-persistent-volume' role [MOLECULE] Add setup for new 'k8s-persistent-volume' role [ANSIBLE] Setup kube-prometheus-stack role [MOLECULE] Setup Molecule for kube-prometheus-stack role [MOLECULE] Add prepare-kube-prometheus-stack role [ANSIBLE] Set default kube-prometheus-stack version [ANSIBLE] Add kube_prometheus playbook [ANSIBLE] Add 'kube-prometheus-stack' role skeleton [BUILD] Symlink kube-prometheus-stack tgz file while creating offline package [BUILD] Add kube-prometheus-stack helm chart package http resource url [BUILD] Add datalist file for kube-prometheus-stack
2021-06-24[ANSIBLE] Increase Helm install timeout for kube-prometheus applicationBartek Grzybowski1-1/+1
Change-Id: Iae212643dae864360d69197e6530d6463af33ffe Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-24[ANSIBLE] Create a NodePort type service for Grafana dashboardBartek Grzybowski2-0/+15
This will allow accessing Grafana UI on controlplane public port. Change-Id: Ic3c2f22f36616fe636c966d962b9e503ef56c735 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-21[DOC] Add documentation for kube-prometheus stackBartek Grzybowski4-2/+74
Change-Id: I8439792c2901171d4063a564b44db0717ed7e8e0 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-21[BUILD] Add Kube Prometheus Stack docker image list to default image listBartek Grzybowski1-1/+2
Change-Id: I121c1df6d71640554cefea43141d5c3399c4b9df Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-18[BUILD] Add 'busybox' image to kube-prometheus data listBartek Grzybowski1-0/+1
Required by Grafana init container Change-Id: Ib4097d24cef273bebf3b2683c57a4fcb8905713f Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-17[ANSIBLE] Update custom Grafana dashboardBartek Grzybowski1-167/+503
Panels added: - Node readiness status - Pod status in Onap namespace - Open file descriptors Change-Id: I5728efcbfd5008d382dc1a788e579daf225362be Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-17[ANSIBLE] Configure custom Grafana dashboardBartek Grzybowski4-1/+346
A new dashboard provider is set up in Grafana which reads the dash json definition from the file uploaded to Grafana PV Change-Id: I2704fe85e838e9aba2a846172334af467b9f2045 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-15[ANSIBLE] Setup persistent volume for Grafana dashboardsBartek Grzybowski2-3/+13
Change-Id: Ifb45abae0c8a7716addbd62d340423f1c1e44c03 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-14[TOOLS] Fix helm-healer.sh usage descriptionBartek Grzybowski1-4/+4
"-s" option should be set to Onap's PVs location only. "/dockerdata-nfs" can contain other apps PVs (e.g. kube-prometheus) Change-Id: I868f8feac7f5602e04e7c7b7be3af3257822a264 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-14Merge "[MOLECULE] Pin ansible-base and Jinja pip packages versions"Bartek Grzybowski1-1/+1
2021-06-14Fix helm-healer.sh scriptk.kedron1-2/+13
Fix creating namespace during redeployment of helm 3 base ONAP Issue-ID: OOM-2768 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I7cb2d13bc51fbf8f2e0e90ec10eb347d9ea7e32c
2021-06-11[ANSIBLE] Add 'nfs' playbookBartek Grzybowski3-13/+13
NFS server and mount is extracted into its own playbook. It has to be provisioned before kube-prometheus stack. Change-Id: I98942db4bcd7b16565d27f13d9a034b987467a61 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-10[ANSIBLE] Generate helm values file for kube-prometheus stackBartek Grzybowski2-0/+23
Default values file is provided and any of it's contents can be overriden by setting relevant keys in 'kube_prometheus_helm_values' dict on provisioner run time. Change-Id: I1655d64704e1ad6e9cd9650622ae1a92de902a8f Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-10[ANSIBLE] Create host paths for PVs and set their permissionsBartek Grzybowski2-0/+10
Access mode for hostPath type kubernetes PVs has to be set explicitly as setting it with pod's securityContext is not supported. Change-Id: I60ed71001fc7859440510f17c1989b35d28c37b5 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-08[BUILD] Add the 'python2-openshift' packageBartek Grzybowski1-0/+1
It's required by the community.kubernetes.k8s ansible module Change-Id: I1efb961122a99c3d82f1c17e7015ec4c5484b2dd Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-08[ANSIBLE] Play the 'k8s-persistent-volume' role in 'kube_prometheus' playbookBartek Grzybowski1-0/+4
Change-Id: I754e2f29a9e721feefcb063be3575c3ef9d1599f Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-08[ANSIBLE] Add 'k8s-persistent-volume' roleBartek Grzybowski3-0/+31
This role will setup predefined k8s persistent volumes. It leverages the community.kubernetes.k8s ansible module. Change-Id: If71481b6b0da60872498063ff29c8da5a3830fc5 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-08[MOLECULE] Add setup for new 'k8s-persistent-volume' roleBartek Grzybowski4-0/+49
Change-Id: If7eb6c058746a98566f41d8354159624293ba58d Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-08[ANSIBLE] Setup kube-prometheus-stack roleBartek Grzybowski4-6/+19
Change-Id: I687fa1743cd2b778a0b07ed9e51a4a2e2d142934 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-02[MOLECULE] Setup Molecule for kube-prometheus-stack roleBartek Grzybowski3-0/+18
Change-Id: Id1c40e6a7da0ad0c42b162835f09630630569dd2 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-02[MOLECULE] Add prepare-kube-prometheus-stack roleBartek Grzybowski1-0/+11
Change-Id: I03d96d7ee3a36883deb9939c2dcfec9d8bdf6db3 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-02[ANSIBLE] Set default kube-prometheus-stack versionBartek Grzybowski1-0/+1
Change-Id: Ic28550df35a8a58dfbcc6302adbdbf2679c392da Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[ANSIBLE] Add kube_prometheus playbookBartek Grzybowski3-0/+8
Change-Id: I65a7560423554d375b825fe0de04e6dd558e9371 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[ANSIBLE] Add 'kube-prometheus-stack' role skeletonBartek Grzybowski8-0/+63
Change-Id: I413186d6dc78baea4d1f22e4ed2f419f6e49bd25 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[BUILD] Symlink kube-prometheus-stack tgz file while creating offline packageBartek Grzybowski1-1/+2
Change-Id: Ib04d2ac27ed5bdb2e7896501378007610f7eefd0 Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[BUILD] Add kube-prometheus-stack helm chart package http resource urlBartek Grzybowski1-0/+1
Change-Id: I50aa6dc4e7b0662ad6bc0819286b117d703f517d Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[BUILD] Add datalist file for kube-prometheus-stackBartek Grzybowski1-0/+9
Change-Id: Ie2dc5f9e22ad6fef13f0863853d1bd5706ea61bb Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-06-01[MOLECULE] Pin ansible-base and Jinja pip packages versionsBartek Grzybowski1-1/+1
Issue-ID: OOM-2722 Change-Id: I75ce885df78ef953ab8a214c7ddd483bf4393823 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-05-27Add Krystian and Konrad as commitersBartek Grzybowski1-0/+10
Change-Id: If06ee5957ca639d0b0c10a8f19c491b1dac969df Issue-ID: CIMAN-134 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-20[MOLECULE 3.3.0] Fix verifier tests for several rolesBartek Grzybowski9-13/+11
Change-Id: I54f618fbb3d1bfefca329e647f78ba9b93f8a283 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-20[MOLECULE] Fix 'application' role runBartek Grzybowski2-3/+3
Add ansible-lint ignore rule to skip warning about unnamed task Fix verifier test Change-Id: Ie75c379b1678a594ad9a3e95442d04fc58939e6e Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-19[MOLECULE] Drop 'destroy' playbook for rke roleBartek Grzybowski2-35/+0
No longer required since change Ia221da6666d558e086cd24155f5bd81237d82388 Change-Id: I7ec15d63daaa3e3cdb6dbed2a4e2643bfcb99370 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-19[MOLECULE 3.3.0] Update dependencies for Molecule environmentBartek Grzybowski2-2/+2
Change-Id: Iad65f9dbd057544b77c419c9eb947142bcc062d2 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-15[MOLECULE] Enable idempotency test in play-infrastructureBartek Grzybowski1-19/+0
All roles that play-infrastructure encompasses have been fixed for idempotency. Change-Id: I6dd6655a6a79ed667699287d089cd9829ca2eed9 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-15[ANSIBLE][MOLECULE] Skip checking packager cache cleaning idempotencyBartek Grzybowski4-38/+7
Change-Id: I621bd2ed4452c10a6747392a709d1c17282a11ef Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-15[ANSIBLE 3.2.0] Upgrade 'chartmuseum' role's tasks to ansible 3.2.0Bartek Grzybowski3-0/+3
Change-Id: I96504d94eb4322857979a6ec37b2d63d4fe074df Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-15[ANSIBLE 3.2.0] Fix regex pattern in 'certificates' roleBartek Grzybowski2-1/+20
[MOLECULE] Add verifier test for SubjectAlternativeName validation Issue-ID: OOM-2722 Change-Id: I8ff9fb88d5166f3d5eba5f364f9110b3b12cd47e Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-15[ANSIBLE 3.2.0] Update Ansible chroot dockerfileBartek Grzybowski1-4/+2
Install ansible 3.2.0 and leverage newest alpine base layer Change-Id: Id30a7d2f31109ac61022d7f85861546417d1f38c Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-15[ANSIBLE 3.2.0] Upgrade 'nexus' role's tasks to ansible 3.2.0Bartek Grzybowski3-0/+5
Change-Id: Ibeaea4b3b627c356521b4c847d56eeb922a8cca1 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-13[ANSIBLE 3.2.0] Use 'listen' directive for docker handlerBartek Grzybowski2-20/+20
Using 'import_tasks' for multiple step handler is no longer supported, while 'include_tasks' has some side effects. Change-Id: I61c14c937f80dfcd1780cdc2885ac781be613978 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-13[ANSIBLE 3.2.0] Upgrade 'vncserver' role's tasks to ansible 3.2.0Bartek Grzybowski2-0/+3
Change-Id: Ie721fac402c3cd5725c770313194a9ad98a07f2d Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-13[ANSIBLE 3.2.0] Upgrade 'nginx' role's tasks to ansible 3.2.0Bartek Grzybowski2-1/+7
Change-Id: Ieba3f13a29240e0f8ed8ff6acb5472559a9134a5 Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-04-13[ANSIBLE 3.2.0] Upgrade 'dns' role's tasks to ansible 3.2.0Bartek Grzybowski4-1/+4
Change-Id: I6984396d15d0592313978c751fd109ee06d8febf Issue-ID: OOM-2722 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>