armada/armada/handlers
Sean Eagan a9d55ab052 Clean up and refactor wait logic
This patchset changes the wait logic as follows:

- Move wait logic to own module
- Add framework for waiting on arbitrary resource types
- Unify pod and job wait logic using above framework
- Pass resource_version to k8s watch API for cleaner event tracking
- Only sleep for `k8s_wait_attempt_sleep` when successes not met
- Update to use k8s apps_v1 API where applicable
- Allow passing kwargs to k8s APIs
- Logging cleanups

This is in preparation for adding wait logic for other types of resources
and new wait configurations.

Change-Id: I92e12fe5e0dc8e79c5dd5379799623cf3f471082
2018-09-25 12:48:25 -05:00
..
__init__.py feat(api): policy enforcement and api standard 2017-09-20 21:54:39 +00:00
armada.py Clean up and refactor wait logic 2018-09-25 12:48:25 -05:00
chartbuilder.py Fix for yapf v0.24.0 2018-09-11 20:39:25 +00:00
document.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00
k8s.py Clean up and refactor wait logic 2018-09-25 12:48:25 -05:00
manifest.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05: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 Change chart `test` key to object and support cleanup flag 2018-06-27 10:47:02 -05:00
tiller.py Clean up and refactor wait logic 2018-09-25 12:48:25 -05:00
wait.py Clean up and refactor wait logic 2018-09-25 12:48:25 -05:00