-
Story
-
Resolution: Done
-
Major
-
None
-
None
Description
As there is no way for us to use the controller-runtime to watch for Windows service changes, we must have another way to determine if the local state has changed. Periodically polling the service state and checking for changes is the way to go here. If the current state does not match the expected state, that must be corrected.
Engineering details
- An investigation is needed to ensure that there is no way to subscribe to Service events
- A mutex will be needed to prevent this polling controller and the controller-runtime controller from reading/writing to services at the same time
Acceptance Criteria
- Any changes made to a Windows service's configuration are periodically reconciled back to expected state, such as changing an argument to kubelet with sc.exe config.
- Services restart if the process is stopped, for example, if the user kills the hybrid-overlay process it will be restarted.