Skip to content

Proposal: Simplify All-in-one Implementation with kine(sqlite) + k8s-apiserver #2004

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

Open
zhixiongdu027 opened this issue Apr 2, 2025 · 6 comments
Labels
help wanted Extra attention is needed level/challenge

Comments

@zhixiongdu027
Copy link

zhixiongdu027 commented Apr 2, 2025

Background:
Based on the design principles of the All-in-one architecture (abstracting Kubernetes concepts while maintaining Kubernetes API compatibility), we propose re-evaluating the implementation approach described in the current design documentation.

Key Observations:

​User Perspective: All-in-one users expect a Kubernetes-transparent experience without interacting with low-level k8s components.

​Design Principle: The system should maximally reuse Kubernetes native concepts and APIs to ensure compatibility.

​Implementation Suggestion: Using kine (with SQLite) + kube-apiserver might provide a cleaner implementation
compared to the current documented approach, as:

Kine already implements the Kubernetes storage interface (etcd v3 API)
SQLite embedded database aligns with All-in-one's single-node deployment scenario
Reduced maintenance cost through reuse of upstream Kubernetes components
@johnlanni johnlanni added the help wanted Extra attention is needed label Apr 2, 2025
@github-project-automation github-project-automation bot moved this to Todo in Higress Apr 2, 2025
@johnlanni
Copy link
Collaborator

Perhaps it's a good idea to migrate the apiserver component in standalone to kine, but we need to check if the kine deployment is lightweight enough.

I'd like to hear your opinion @CH3CHO

@CH3CHO
Copy link
Collaborator

CH3CHO commented Apr 2, 2025

Perhaps it's a good idea to migrate the apiserver component in standalone to kine, but we need to check if the kine deployment is lightweight enough.

I'd like to hear your opinion @CH3CHO

I think it's a good idea. We can dig into it.

@CH3CHO
Copy link
Collaborator

CH3CHO commented Apr 3, 2025

It looks like kine and k3s only support Linux. So we will still need to rely on a docker container environment to do the visualization for us.

@zhixiongdu027
Copy link
Author

maybe we no need k3s but noly need kine here

@CH3CHO
Copy link
Collaborator

CH3CHO commented Apr 3, 2025

maybe we no need k3s but noly need kine here

However, if we use k3s to simulate a K8s environment, there will be much easier.

@zhixiongdu027
Copy link
Author

easier

yes, but if use k3s here,we also need docker in docker ,that's not easy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed level/challenge
Projects
Status: Todo
Development

No branches or pull requests

3 participants