Architecture
π§© 1. Main Components of the Clusterβ
πΉ Etcd Clusterβ
- Contains multiple replicated etcd instances.
- Ensures consistent storage of the Kubernetes cluster state (information about pods, services, configurations, etc.).
- Internal replication between
etcdnodes guarantees fault tolerance.
πΉ Control Planeβ
-
Composed of the API Server, Scheduler, and Controller Manager.
-
Responsibilities:
- Schedules workloads (pods, deployments, etc.) across available nodes.
- Interacts with etcd to read/write the cluster state.
πΉ Node Groupsβ
- Each group contains several worker nodes.
- Workloads (pods) are deployed on these nodes.
- Nodes communicate with the Control Plane to receive their tasks.
- They read and write their data into Kubernetes Persistent Volumes (PV).
πΉ Kubernetes PV Dataβ
- Represents the persistent storage used by pods.
- Workload data is written to and read from this storage.
- This layer is integrated with Hikube replication to ensure data availability.
ποΈ 2. Hikube Replication Layerβ
Hikube Replication Data Layerβ
-
Serves as an interface between Kubernetes and regional storage systems.
-
Automatically replicates PV data to multiple regions to provide:
- High availability,
- Regional fault tolerance,
- and service continuity.
Regional Storageβ
- Region 1 β Geneva Data Storage
- Region 2 β Gland Data Storage
- Region 3 β Lucerne Data Storage
Each region has its own storage backend, all synchronized through the Hikube layer.
π 3. Communication Flowβ
- Etcd nodes synchronize with one another to maintain a consistent global state.
- The Control Plane reads/writes to etcd to store cluster state.
- The Control Plane schedules workloads on the Node Groups.
- Node Groups interact with Kubernetes PVs to store or retrieve data.
- PV Data is replicated through the Hikube Replication Data Layer across the 3 regions.
βοΈ 4. Functional Summaryβ
| Layer | Main Function | Technology |
|---|---|---|
| Etcd Cluster | Cluster state storage | etcd |
| Control Plane | Workload management and scheduling | Kubernetes |
| Node Groups | Workload execution | kubelet, container runtime |
| PV Data | Persistent storage | Kubernetes Persistent Volumes |
| Hikube Data Layer | Multi-region replication and synchronization | Hikube |
| Data Storage | Physical regional storage | Geneva / Gland / Lucerne |
π 5. Overall Objectiveβ
This architecture ensures:
- High availability of the Kubernetes cluster
- Geographic resilience through inter-region replication
- Data integrity via etcd and persistent storage
- Horizontal scalability with Node Groups