forked from gcgarner/IOTstack
-
Notifications
You must be signed in to change notification settings - Fork 307
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
20211002 MariaDB health check - experimental branch - PR 3 of 3 #418
Merged
Slyke
merged 2 commits into
SensorsIot:experimental
from
Paraphraser:20211002-mariadb-healthcheck-experimental
Oct 17, 2021
Merged
20211002 MariaDB health check - experimental branch - PR 3 of 3 #418
Slyke
merged 2 commits into
SensorsIot:experimental
from
Paraphraser:20211002-mariadb-healthcheck-experimental
Oct 17, 2021
Conversation
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
Follows on from suggestion in [Issue 415](SensorsIot#415) to add health-check to more containers. See also [PR 406](SensorsIot@dbb6217). Changes: * Adds `iotstack_healthcheck.sh` script to template. * Moves Dockerfile into `buildFiles` directory, and adds commands to copy the health-check script into the local image and activate health-checking on launch. Does not change any documentation on experimental branch.
Slyke
reviewed
Oct 17, 2021
.internal/templates/services/mariadb/buildFiles/iotstack_healthcheck.sh
Outdated
Show resolved
Hide resolved
Paraphraser
added a commit
to Paraphraser/IOTstack
that referenced
this pull request
Dec 14, 2021
Pull Requests [PR387](SensorsIot#387), [PR388](SensorsIot#388), [PR389](SensorsIot#389) added a port mapping of `9322:3306` to facilitate backup and restores - so the routines could determine when the MariaDB service was ready for business. The need for this was superseded by PRs [416](SensorsIot#416), [417](SensorsIot#417) and [418](SensorsIot#418). It is sufficient for backup and restore routines to run the health check and rely on the return status. This PR removes the `9322:3306` as no longer needed. It will also avoid the need to protect the port with an iptables rule in situations where the host is exposed to the network. Documentation also updated. Signed-off-by: Phill Kelley <[email protected]>
Paraphraser
added a commit
to Paraphraser/IOTstack
that referenced
this pull request
Dec 14, 2021
Pull Requests [PR387](SensorsIot#387), [PR388](SensorsIot#388), [PR389](SensorsIot#389) added a port mapping of `9322:3306` to facilitate backup and restores - so the routines could determine when the MariaDB service was ready for business. The need for this was superseded by PRs [416](SensorsIot#416), [417](SensorsIot#417) and [418](SensorsIot#418). It is sufficient for backup and restore routines to run the health check and rely on the return status. This PR removes the `9322:3306` as no longer needed. It will also avoid the need to protect the port with an iptables rule in situations where the host is exposed to the network. Signed-off-by: Phill Kelley <[email protected]>
Paraphraser
added a commit
to Paraphraser/IOTstack
that referenced
this pull request
Dec 14, 2021
Pull Requests [PR387](SensorsIot#387), [PR388](SensorsIot#388), [PR389](SensorsIot#389) added a port mapping of `9322:3306` to facilitate backup and restores - so the routines could determine when the MariaDB service was ready for business. The need for this was superseded by PRs [416](SensorsIot#416), [417](SensorsIot#417) and [418](SensorsIot#418). It is sufficient for backup and restore routines to run the health check and rely on the return status. This PR removes the `9322:3306` as no longer needed. It will also avoid the need to protect the port with an iptables rule in situations where the host is exposed to the network. Signed-off-by: Phill Kelley <[email protected]>
ukkopahis
pushed a commit
to ukkopahis/IOTstack
that referenced
this pull request
Dec 18, 2021
Pull Requests [PR387](SensorsIot#387), [PR388](SensorsIot#388), [PR389](SensorsIot#389) added a port mapping of `9322:3306` to facilitate backup and restores - so the routines could determine when the MariaDB service was ready for business. The need for this was superseded by PRs [416](SensorsIot#416), [417](SensorsIot#417) and [418](SensorsIot#418). It is sufficient for backup and restore routines to run the health check and rely on the return status. This PR removes the `9322:3306` as no longer needed. It will also avoid the need to protect the port with an iptables rule in situations where the host is exposed to the network. Documentation also updated. Signed-off-by: Phill Kelley <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Follows on from suggestion in Issue 415
to add health-check to more containers. See also
PR 406.
Changes:
iotstack_healthcheck.sh
script to template.buildFiles
directory, and adds commands tocopy the health-check script into the local image and activate
health-checking on launch.
Does not change any documentation on experimental branch.