Skip to content

Commit

Permalink
Add health check for WaggleDance service (#39)
Browse files Browse the repository at this point in the history
* fixes #38, Add healthchec for WaggleDance service
  • Loading branch information
pradeepbhadani authored Nov 21, 2018
1 parent 4e9817a commit 732ee02
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a

## [Unreleased]

### Added
- Add health check for WaggleDance service.

### Changed
- Fix typo `ssh_metastores`.

Expand Down
8 changes: 7 additions & 1 deletion templates/waggledance.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
"name": "BASTION_SSH_KEY_ARN",
"value": "${bastion_ssh_key_arn}"
}
]
],
"healthCheck": {
"command": ["CMD-SHELL", "curl -f http://localhost:18000/actuator/health || exit 1"],
"interval": 5,
"retries": 3,
"startPeriod": 60
}
}
]

0 comments on commit 732ee02

Please sign in to comment.