Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lab to demonstrate how container healthchecks improve reliability of deployments. #21

Open
MitchyBAwesome opened this issue May 12, 2018 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MitchyBAwesome
Copy link
Contributor

After the deployment pipeline has been configured, a health check should be added to the task definition for the dogs application. The health check should test for the presence of particular file (for example, 1.jpg).

From the IDE, the Dockerfile is intentionally modified to ensure the dog memes don't get pulled in to the image at build time.

The changes are then committed and the pipeline will build the new image and attempt to deploy. Based on the roll out configuration of the dogs service. The new version of dogs, with the missing images, should not make it in to production, the deployment should fail, but their should be at least 50% of the current dogs containers still running, ensuring that there is no loss of service.

@MitchyBAwesome MitchyBAwesome added the enhancement New feature or request label May 12, 2018
@MitchyBAwesome MitchyBAwesome self-assigned this May 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant