summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-09-23[ANSIBLE] Setup config file containing resources dir full pathBartek Grzybowski3-0/+8
Such config might be handy in scenarios where user defined scripts populated with offline-platform require to leverage the full path to resources directory on infra node. Change-Id: I5b4468ef7b396d2583ad64255679a29f3ff675b4 Issue-ID: OOM-2835 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com> (cherry picked from commit 38f3b8f533159118bf393232cb341a9f8a353e82)
2021-09-17[ANSIBLE] Provision custom Grafana Home dashboardBartek Grzybowski2-3/+9
Change-Id: I85e096cbecf24c2b6914b60ec97a4f056d18bd1e Issue-ID: OOM-2833 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-17[ANSIBLE] Add custom Grafana Home dashboard JSON modelBartek Grzybowski1-0/+126
Change-Id: I19acd32cacd0248b72b2887850ca9f082b8933d5 Issue-ID: OOM-2833 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-16Merge changes from topic "kubernetes-dashboard-2.3.1" into honoluluBartek Grzybowski2-2/+2
* changes: [BUILD] Update image data list for Kubernetes Dashboard v2.3.1 [ANSIBLE] Upgrade Kubernetes Dashboard to v2.3.1
2021-09-15[ANSIBLE] Change Grafana's default passwordBartek Grzybowski1-1/+1
Changing default password to avoid password change prompt on each login. Change-Id: I2fda07bd768f5a408ddd2ead6ed80e183a52a25c Issue-ID: INT-1926 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-14[BUILD] Update image data list for Kubernetes Dashboard v2.3.1Bartek Grzybowski1-1/+1
Change-Id: I6745436a217e538d55942b7898d9910758007c61 Issue-ID: OOM-2829 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-14[ANSIBLE] Upgrade Kubernetes Dashboard to v2.3.1Bartek Grzybowski1-1/+1
Change-Id: Idbffeba25547f3e1a83d83c86b65ea52cecbc8c5 Issue-ID: OOM-2829 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-13[BUILD] Update docker image list for Kube Prometheus Stack 18.0.4Bartek Grzybowski1-8/+8
Change-Id: I3075fa187928995685a5758d50b409d8af2a15f8 Issue-ID: OOM-2826 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-13[BUILD] [ANSIBLE] Upgrade Kube Prometheus Stack to 18.0.4Bartek Grzybowski2-2/+2
Change-Id: I4fa2fcd3456232e3f03a66154a43e23ce92aae11 Issue-ID: OOM-2826 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-09[MOLECULE] Upgrade Helm release to 3.5.2Bartek Grzybowski2-2/+2
Change-Id: Ifcaa7d64094b2f29ac73907e2164ac61def1033b Issue-ID: OOM-2825 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-09[BUILD] Add Helm 3.5.2 to data listBartek Grzybowski1-0/+1
Change-Id: Ibe3e173858252e9ff401f95c795b83cdcbda1ff2 Issue-ID: OOM-2825 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-03[MOLECULE] Upgrade RKE and kubectl versions in Molecule setupBartek Grzybowski2-2/+2
RKE upgrades to 1.3.0 kubectl upgrades to 1.19.14 Change-Id: I2fb9acae6bdc8d9bb39d0b9996f2a561fb8d2d73 Issue-ID: OOM-2818 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-03[BUILD] Update image data list for RKE 1.3.0Bartek Grzybowski1-13/+13
Change-Id: I6449b4afbd8cdced887849087f559b8bb848e1f8 Issue-ID: OOM-2818 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-03[ANSIBLE] Upgrade Kubernetes version deployed by RKE to v1.19.14Bartek Grzybowski1-1/+1
Change-Id: Id625510579585f3cfde598ffe6b52c44cba51678 Issue-ID: OOM-2818 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-03[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-26[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 (cherry picked from commit 1a7f62f10daa34d2967ad15bd40162feeb58e4c7)
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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-29[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-14[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-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 (cherry picked from commit 9463da9d40b54904ecc3d81d7392211b249b8fb3)
2021-04-22[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-22[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-22[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>