armada/armada
Iago Estrela ddbdd7256c Tolerate 404 Response for non existing resource
Armada raises an exception for the 404 response from the Kubernetes
API if the resource was not found. However, some resources, like
jobs, are "volatile" they may disappear after some minutes. The
armada may send a DELETE request to the Kubernetes API after the job
finished its lifecycle. In this situation the job will not be found
in the cluster and the armada will break some application reapply due
to this behavior. Therefore, a possible solution may be check, at
least for the job resource type, whether the response returned from
the Kubernetes API is 404, if it is then just log the API response
error reason and continue trying to delete the remaining jobs in the
list, otherwise we raise the exception.

Partial-Bug: 1948850

Signed-off-by: Iago Estrela <IagoFilipe.EstrelaBarros@windriver.com>
Change-Id: I12ee8cef869e4443920d7f2e1899556e8940a977
2021-10-26 18:04:57 -03:00
..
api Changes for new version of falcon 2021-06-24 15:02:42 +00:00
cli Add documentation to docs.airshipit.org 2020-08-03 10:33:13 +00:00
common Address PEP8 Failures in Armada 2020-05-29 18:02:11 -05:00
conf Standardize Armada code with YAPF 2019-07-31 10:16:15 -05:00
exceptions Changes for new version of falcon 2021-06-24 15:02:42 +00:00
handlers Tolerate 404 Response for non existing resource 2021-10-26 18:04:57 -03:00
schemas Support builtin chart dependencies 2019-08-22 08:13:03 -05:00
tests Fixing Armada waits for Evicted pods undefinetly 2021-03-22 16:45:08 -03:00
utils Add documentation to docs.airshipit.org 2020-08-03 10:33:13 +00:00
__init__.py Accelerate YAML operations with LibYAML 2020-09-25 14:29:41 +00:00
const.py Introduce v2 docs 2019-04-16 10:15:21 -05:00
shell.py Airship 2 support features 2020-03-25 13:56:32 -05:00
version.py Fix(linting): Make Armada pep8 compliant 2017-09-29 11:46:58 -04:00