Age | Commit message (Collapse) | Author | Files | Lines |
|
Add new option to check, whether a service is ready to be used.
The function will find the selected pods used for the service,
then checks the status of the Deployment/STS/Daemonset, which
starts the pod.
Additionally update to the latest image and kubernetes lib
versions
Issue-ID: OOM-3280
Change-Id: Icee03934f4ba6c7f472d7994b86871769a6b1eba
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
|
|
Fixed wrong string entry for app_name checks.
Issue-ID: OOM-3278
Change-Id: Iaf3dd748cf5117699466342359dddcb35e49c107
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
|
|
Parameters --pod-name and --app-name were failing
Issue-ID: OOM-3171
Issue-ID: OOM-3236
Change-Id: I00c80a4fac0c8afafeb62d8890f9516a8c1df7ee
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
|
|
Need options to check pod status on other criterias, as
non-ONAP pods do not use container name as unique identifier.
E.g. operator based cassandra and mariadb deployments.
Additionally the wait-for-job-container correction is done.
Issue-ID: OOM-3171
Issue-ID: OOM-3236
Change-Id: If71d100a0c290ef8a3cb89ff8dc12579bfe7b99f
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
|
|
Fix condition to restrain to running pods
Issue-ID: OOM-2878
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: Ib10697793a72206cde9040661cf34030833f0a67
|
|
Changes on ready.py:
* rename wrong variable name
* stop if the container job is terminated
Issue-ID: OOM-2878
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: I5b2617ecdf39a59f7d22f3c0d4cc507801d7bc56
|
|
Issue-ID: OOM-2884
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: I69e8d661073d724b70d0292525224fb553eca270
|
|
Apply changes on ready.py file to replace some parts config parts
with a cleaner alternative. It now uses the "config" method from
python k8s package.
This is supposed to fix permission errors that arise when using a
service mesh. (suggested by Sylvain)
Issue-ID: OOM-2878
Signed-off-by: othman touijer <othman.touijer@soprasteria.com>
Change-Id: Ife2635111f3267c0920f0a2631c7102b7eedcd3a
|
|
This new function will check the status of the main container within a job, waiting for it to finish before sending a call to the quitquitquit api
Change-Id: If0f1859183ff5239b74e416b97d0464a3e88bc9d
Issue-ID: OOM-2816
Signed-off-by: rope252 <gareth.roper@est.tech>
|
|
Issue-ID: OOM-2535
Signed-off-by: Krzysztof Kuzmicki <krzysztof.kuzmicki@nokia.com>
Change-Id: I3dfd071a0a597108d61ef5c86c64fe79780e16a2
|
|
Instead of old APIs, use Apps/v1 API so readiness can be used on v1.16+
clusters.
Issue-ID: OOM-2519
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I428f32a500a6175653990c10fb8e6b6811dbc8e0
|
|
Add the script and the Dockerfile
Make the script pass pylint (one issue left)
Make Dockerfile from base ONAP image
Issue-ID: OOM-2418
Issue-ID: OOM-761
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: Ia93e3e85a16c764eca0c14af2dbe166117ea769a
|