-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix CKAN container healthcheck in prod/staging (#96)
use locally running server for healthcheck test instead of the domain add missing env var and use CKAN_PORT variable instead of hardcoded port in healthchecks The previous healthchecks were made against the domain, this is not desirable for two reasons: - Performed in this way the healthcheck will always succeed given that the domain is configured correctly and at least one target is healthy which should almost always be the case. Thus, it does not actually healthcheck the container itself. - This can result in an inconsistent state if the new deployment has an issue. The healthcheck could initially succeed resulting in ECS deployment controller replacing the old deployment completely (completing the rolling update), then it would fail once the whole deployment is complete because there would no longer be any actually healthy containers.
- Loading branch information
Showing
4 changed files
with
23 additions
and
4 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
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