summaryrefslogtreecommitdiffstats
path: root/kubernetes/readiness/docker/init/ready.py
AgeCommit message (Collapse)AuthorFilesLines
2019-05-15PEP8 for ready.py and job_complete.py scriptk.kedron1-16/+42
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 Puzikov1-1/+3
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 Puzikov1-1/+1
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-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-24onap on kubernetes source filesMandeep Khinda1-0/+76
Change-Id: I4de34baf90979651223a28323010deb7aef21946 Signed-off-by: Mandeep Khinda <Mandeep.Khinda@amdocs.com>