-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding signal processing to the task monitor condition (#137)
*Description of changes:* The task monitor needs to process the following 4 MWAA signals for the graceful update project: 1. Termination signal: Graceful termination of the workers when the environment is going through a graceful update 2. Resume signal: Reverting the state of graceful termination and resume work when the environment is going through a rollback after attempting a graceful update 3. Kill signal: Shutting down the worker without waiting for the current Airflow tasks to finish when the environment is going through a forced update 4. Activation signal: Starting consumption of work from the queue after termination protection has enabled on the corresponding Fargate task The processing is gated behind certain environment variables which are either absent or marked as false for an environment which does not have graceful updates enabled. By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice. --------- Signed-off-by: ashishgo-aws <[email protected]>
- Loading branch information
1 parent
b4af67c
commit 155f0e0
Showing
6 changed files
with
271 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.