Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Support lifecycle for Mesos/Aurora #3581

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion heron/config/src/yaml/conf/aurora/heron.aurora
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions heron/shell/src/python/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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),
]

Expand Down