claudie icon indicating copy to clipboard operation
claudie copied to clipboard

Feature: Merge Kuber and Kube-eleven

Open Despire opened this issue 1 year ago • 0 comments

Description

Kube-eleven: This service is responsible for building and destroying Kubernetes clusters. Kuber: This service performs actions immediately after a Kubernetes cluster has been built, such as patching nodes, deploying longhorn, deleting nodes.

Both of these services directly work on the k8s cluster, These two services are correlated as without a successful pass during the kube-eleven stage, kuber cannot continue. I suggest we merge these two together into a single service.

By merging these two services, we can:

  • maintain one less service overall
  • refactor the code and make it more robust
  • aiming to reduce complexity.

The end result would be to have 5 micro-services in total:

Manager: takes care of scheduling of what tasks are supposed to be done to achieve the desired state. Builder: completes task from the manager. Terraformer: builds the infra. Ansibler: connects the infra. Kuber+Kube-eleven: Uses the infra to create a working k8s cluster.

Exit criteria

  • [ ] Successful integration of Kube-eleven and Kuber.
  • [ ] Testing completed for merged functionality.
  • [ ] Documentation updated to reflect changes.

Despire avatar Nov 11 '24 09:11 Despire