armada/armada/handlers
Sean Eagan 2310ddbc2c Remediate releases stuck in non-DEPLOYED statuses
Armada remediates releases stuck in FAILED status, if not protected,
by purging and re-installing them. This implements the same for other
non-DEPLOYED statuses. For these statuses it guards this with a best
effort determination of whether a previous deployment of the release,
either through armada or the helm CLI, is likely still pending based
on whether it was last deployed within the chart's wait timeout. If
it is deemed likely pending an error is raised, however this
condition will eventually expire on future runs allowing for
eventual remediation.

Reasons why a release may get stuck in statuses other than DEPLOYED
or FAILED include:

1. tiller crashed mid-deployment
2. tiller could not reach kubernetes to update the release state
3. running `helm delete <rel>` (without --purge) (DELETED status)

Change-Id: Ia89cd59f056103dde47980a149c07a2984c4bbb4
2019-01-18 23:06:01 +00:00
..
__init__.py feat(api): policy enforcement and api standard 2017-09-20 21:54:39 +00:00
armada.py Merge "test: Refactor test handler" 2018-12-04 20:40:54 +00:00
chart_deploy.py Remediate releases stuck in non-DEPLOYED statuses 2019-01-18 23:06:01 +00:00
chartbuilder.py Fix for yapf v0.24.0 2018-09-11 20:39:25 +00:00
document.py Fix noqa 2018-10-28 15:10:48 +01:00
k8s.py Workaround kubernetes python client deadlock issue 2018-11-26 15:58:39 -06:00
manifest.py Fix for get manifest 2018-09-14 15:27:03 +00:00
override.py Fix to override '=' string 2018-08-21 22:21:41 -07:00
release_diff.py Release diffing: split out, add unit tests, include name 2018-08-22 11:29:03 -05:00
test.py test: Refactor test handler 2018-11-29 17:30:57 +00:00
tiller.py Move to tiller 2.12.1 2019-01-11 10:52:17 -06:00
wait.py wait: Remove test pods from wait 2018-11-06 21:58:54 +00:00