Skip to content
Permalink
Browse files
Support lifecycle for aurora (#3581)
Co-authored-by: thinker0 <thinker0@linecorp.com>
  • Loading branch information
thinker0 and thinker0 committed Jul 26, 2020
1 parent f35ba15 commit 8f78034f4b7b117323e287e231cdb84ec1f18cf2
Showing 2 changed files with 3 additions and 1 deletion.
@@ -79,7 +79,7 @@ jobs = [
service = True,
task = heron_task,
instances = '{{NUM_CONTAINERS}}',
announce = Announcer(primary_port = 'http', portmap = {'health': 'http'}),
announce = Announcer(primary_port = 'http', portmap = {'admin': 'http', 'health': 'http'}),
health_check_config = HealthCheckConfig(
health_checker = HealthCheckerConfig(
http = HttpHealthChecker(endpoint='/health', expected_response='ok', expected_response_code=200)
@@ -41,6 +41,8 @@
(r"^/filestats/(.*)", handlers.FileStatsHandler),
(r"^/download/(.*)", handlers.DownloadHandler),
(r"^/killexecutor", handlers.KillExecutorHandler),
(r"^/quitquitquit", handlers.KillExecutorHandler),
(r"^/abortabortabort", handlers.KillExecutorHandler),
(r"^/health", handlers.HealthHandler),
]

0 comments on commit 8f78034

Please sign in to comment.