-
Notifications
You must be signed in to change notification settings - Fork 382
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start konnectivity BEFORE api-server
In kube 1.28, api-server is more stringent in checking the konnectivity socket reachability. So upgrading from 1.28 make the startup quite slow. Eventually api-server does get ready and thus allows k0s to start konnectivity. To mitigate this, this PR changes the order to start konnectivity first. This requires to break down the components a bit, into three different components: * `Konnectivity`: konnectivity-server logic * `KonnectivityAgent`: Only responsible for managing the konnectivity-agent deployment into workers * `K0sControllersLeaseCounter`: Enhanced now to support pub-sub like functionality to subscribe to controll count events. ` Signed-off-by: Jussi Nummelin <[email protected]>
- Loading branch information
Showing
5 changed files
with
457 additions
and
313 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
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.