-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove support for automatic kubelet restart
Previously, if the system started without a kubernetes configuration file, kiOS would start kubelet then watch for the configuration file to appear. Once it did, it would auto restart the kubelet. While this was a nice "magic" feature, it had a couple of drawbacks: - It required bootstrap containers to be aware that they need to write the config file last - this is not always clear - It was relatively black and white - auto restarting only works when the system has no configuration at all. Partial configuration could not use this method. - Restarting the container runtime could not be done using this method - The implementation was poor For the moment, therefore, this functionality is removed - instead bootstrap containers should explicitly restart the kubelet by requesting it via the system socket.
- Loading branch information
1 parent
3a5d045
commit 3b5d290
Showing
2 changed files
with
19 additions
and
26 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