-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Rework kobs architecture #346
Conversation
ricoberger
commented
Jun 12, 2022
- I added a CHANGELOG entry for this change.
- I adjusted the corresponding documentation for this change.
- I adjusted the values.yaml file and the documentation for all values.
We decided to rework the kobs architecture, by splitting it into two components. A "satellite" which can run in each Kubernetes cluster which should be manageable via kobs and a "hub" which provides access to the "satellites" and which serves the UI. This should allow us to run a single kobs instance in the future, where we do not have to expose the services behind plugins to the public.
Implement store as part of the hub
* Add watcher implementation * Connect watcher with store
* Add bolt db as store option * Rework CRDs * Adjust store interface * Add satellite to resources when it is not set * Add mode flag for hub * Adjust auth tests * Improve satellites router * Add secure options field for plugins * Use interface for all servers * Add sync for namespaces
* Improve frontend handling * Use yarn workspaces and lerna for frontend
* Add Istio plugin * Fix linter warnings
…Kubernetes resources
Codecov Report
@@ Coverage Diff @@
## main #346 +/- ##
==========================================
+ Coverage 44.89% 46.22% +1.32%
==========================================
Files 96 126 +30
Lines 8156 9054 +898
==========================================
+ Hits 3662 4185 +523
- Misses 4462 4783 +321
- Partials 32 86 +54
Continue to review full report at Codecov.
|
Rework kobs architecture, by introducing a "hub" and "satellite" component. This new architecture allows us to run the kobs "hub" component in a central cluster and access clusters / services (plugins) through the kobs "satellite" component. The following tasks are still todo: - We have to update the documentation with the new architecture. - We have to update the plugin documentation. - We have to adjust the demo.