summaryrefslogtreecommitdiffstats
path: root/kubernetes/readiness
AgeCommit message (Collapse)AuthorFilesLines
2020-05-26Fix readiness-check ready.py script for stateful setSebastien Premont-Tendland1-3/+1
Only check the status field readyReplicas instead of currentReplicas and updatedReplicas. The value of currentReplicas relates to the number of pods created with the first revision of the stateful set. If a change is made to the stateful set and pods are restarted then currentReplicas is no longer returned in the status. Check JIRA for more information. Issue-ID: OOM-2418 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: If5dbc892b6d807e6ca681457f9874613fce7db04
2020-01-16OOM-2261 readiness-check does not track DaemonSetdfx19711-1/+17
Issue-ID: OOM-2261 Signed-off-by: Avi Ziv<avi.ziv@amdocs.com> Change-Id: I7f220f8b6b64165c33ed8d707834091240136199 Signed-off-by: Avi Ziv<avi.ziv@amdocs.com> Change-Id: I7f220f8b6b64165c33ed8d707834091240136199
2019-10-15Mavenized image creation for readiness-checkDmitry Puzikov5-6/+127
Issue-ID: INT-1045 Change-Id: I9c7b7fd26c8f376600aa7efc9c1d9e2eee001cde Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-10-03Make readiness-check work when updatedReplicas is NoneAkansha Dua1-1/+1
Issue-ID: OOM-2057 Signed-off-by: Akansha Dua <akansha.dua@amdocs.com> Change-Id: I8deb64ee5c5e9667f63a61a7204a83b095a2fc34
2019-05-15PEP8 for ready.py and job_complete.py scriptk.kedron2-23/+58
Refactor code to adapt the PEP8 rules: - line width - empty line after method - checking None in the condition Change-Id: I6c60959ce77618ebf7f3cab103ba9644af51a92f Issue-ID: OOM-1854 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com>
2019-05-10Add deviation in readiness check sleep timeDmitry Puzikov2-2/+6
Added some random delay avoiding massive parallel call of k8s API by multiple readiness-check containers Change-Id: Ia5e6e49b91db9f0339ab828734eedb94eb3029cb Issue-ID: INT-1045 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-05-10Minimize container imageDmitry Puzikov3-9/+5
Rebase image on alpine Change-Id: I923c0792783b551bf623f754a2aed4bf1a765f45 Issue-ID: INT-1045 Signed-off-by: Dmitry Puzikov <dmitry.puzikov@tieto.com>
2019-03-01Readiness check for the deployment/statefulsetsMahendra Raghuwanshi1-17/+67
Change-Id: I8b9d2bd2720060cab215107bc0031c243155e9f6 Issue-ID: OOM-1611 Signed-off-by: Mahendra Raghuwanshi <mahendra.raghuwanshi@amdocs.com>
2018-07-31Add readiness support for StatefulSet resourceDavid, Dana (dd775k)1-1/+10
Change-Id: Ia2d68adfc871041e7ff5a5b27685b0b5f3acadcd Issue-ID: VID-236 Signed-off-by: David, Dana (dd775k) <dd775k@intl.att.com>
2018-04-16Update readiness-check versionBorislavG1-1/+1
Readiness check version is not sinchronized in many pods This causing deployment failures. Issue-ID: OOM-936 Change-Id: Ieef91df17836adcdf24db536440d0a1624a50591 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-03-27adding K8s job completion utilityMandeep Khinda2-0/+101
Integrating the Work that was originally done by SDC team: https://gerrit.onap.org/r/gitweb?p=sdc.git;a=tree;\ f=sdc-os-chef/kubernetes/sdc/templates/configmaps;hb=HEAD into the readiness image Issue-ID: OOM-832 Change-Id: Icb22a8d0a67495860008dc6d6960e043d982c668 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com> Signed-off-by: Areli Fuss <af732p@intl.att.com>
2018-03-22License addition in all yamlsvaibhav_16dec1-0/+14
Issue-ID: OOM-821 Change-Id: I627ac962afe8cd6bf2859a30a0e88f6c9ac89d34 Signed-off-by: vaibhav_16dec <vaibhav.chopra@amdocs.com>
2018-03-01Run all components in one namespaceBorislavG1-1/+1
Change-Id: I5fcd4d577c1fda4de27842807c7cf7a5d372756e Issue-ID: OOM-722 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2018-02-15Readiness check add configurable timeoutBorislavG1-30/+53
Add timeout parameter to readiness-check Fix readiness-check to work with kubernetes5 python lib Issue-ID: OOM-695 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com> Change-Id: If5c2a220e187d48e1ab224119a91be4774dba80e
2018-02-14Fix readiness-check exceptionBorislavG1-0/+3
The problem is that the script tried to iterate on statuses of pod containers. when some pod is in state "pending" or some other case when there is no status, the statuses is None. Therefore python throws exception when trying to iterate None, which is non-iterable. Issue-ID: OOM-514 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com> Change-Id: If57b8a632a83489fddb12373e4047396f5fa08a3
2017-06-27[OOM-2] Replaced static proxy with envbarak1-2/+2
Change-Id: Id2b640f9cfa58337e94d26b4f0939a33db45a137 Signed-off-by: barak <barak.dabush@amdocs.com>
2017-06-24onap on kubernetes source filesMandeep Khinda3-0/+129
Change-Id: I4de34baf90979651223a28323010deb7aef21946 Signed-off-by: Mandeep Khinda <Mandeep.Khinda@amdocs.com>