summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2021-09-27[MOLECULE] Upgrade playbook tests image to Centos7.9Bartek Grzybowski6-12/+12
Change-Id: I7b2d67a25da0433f073e13616cdbb0291fc1a7b9 Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-27[BUILD] Run Centos7.9 docker image for rpm downloadBartek Grzybowski1-1/+1
Change-Id: I1e4af38d326805c865adc4d920d95628e181fa2a Issue-ID: OOM-2837 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-27[DOC] Add changelog fileBartek Grzybowski2-0/+54
This will ease the process of tracking changes and resolving particular commit to a specific feature set. Change-Id: I276d3aaea27859df01431c965b2702bbc74491d7 Issue-ID: OOM-2841 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-27[DOC] Fix docs buildBartek Grzybowski2-16/+10
Change-Id: I7b79921e5e60de4195b30584063022c252ec3378 Issue-ID: OOM-2841 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-23Merge "[ANSIBLE] Setup config file containing resources dir full path"Bartek Grzybowski3-0/+8
2021-09-17[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>
2021-09-16[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-16[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"Bartek 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-13Merge changes I3075fa18,I4fa2fcd3Bartek Grzybowski3-10/+10
* changes: [BUILD] Update docker image list for Kube Prometheus Stack 18.0.4 [BUILD] [ANSIBLE] Upgrade Kube Prometheus Stack to 18.0.4
2021-09-13Remove Lasse and Konrad from commiter list.Bartek Grzybowski1-11/+1
They are no longer in the project. Fix typo in Sylvain's email address. Change-Id: I8af3f027054d63862a6cb5318054d41bf0268f78 Issue-ID: CIMAN-134 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
2021-09-10[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-10[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-08[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-08[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-02[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-02[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-02[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-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>