forked from Azure/iotedge
-
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.
Merged PR 859652: Edgelet watchdog iteration 1
This PR includes changes to current watchdog functionality to do the following - - Check if the edgeAgent container exists. If not, then it checks if the identity has SAS auth, and if not, it updates the identity. Then it creates the edgeAgent container - Added a watchdog that runs periodically and checks the status of the edgeAgent. If it is not Running, then it starts the container. - Added support for graceful shutdown of the watchdog. Items remaining (in follow up PRs) - - Backoff when restarting edgeAgent - Handling the case if the edgeAgent container is completely removed (docker rm -f edgeAgent). - Tests
- Loading branch information
1 parent
be6ef01
commit c7834cf
Showing
6 changed files
with
197 additions
and
89 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.