higress-group/higress

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

Offen

#2.004 geöffnet am 02.04.2025

 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Go (1.219 Forks)github user discovery
help wantedlevel/challenge

Repository-Metriken

Stars
 (9.036 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 7T 9h) (18 gemergte PRs in 30 T)

Beschreibung

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

Contributor Guide