This repository includes open sources of gs-link for connection between single cluster or multiple clusters and cooperation between them in gedge-platform. The cooperation means collaboration between data points and K8S cluster including offloading and migration. Also, gs-link provides the link between K8S clusters for cooperation.
This repository includes test code for migration from opensource with some variables which are fixed format to execute with in single K8S. https://github.com/qzysw123456/kubernetes-pod-migration
Also, this repository provides the controller for migration amoong K8S clusters based on opensource. https://github.com/schrej/podmigration-operator https://github.com/SSU-DCN/podmigration-operator
This figure shows the structure of gs-linkgw
The gs-linkgw consists of three modules as follows.
- GS-Link Collaborative Management Module: Provides multi-cluster connection management, multi-cluster offloading and service movement management, multi-cluster shared storage management and multi-cluster resource management functions.
- GS-Link collaboration service linked operation module: Provides core-edge, edge-edge interworking function and shared storage operation function for data collaboration processing
- GS-Link Collaboration Support Offloading and Service Mobility Module: Provides dynamic deployment of services and service mobility to support vertical/horizontal collaboration by jointly utilizing computing resources of the core cloud and cloud edges
The module presented above is a function-oriented module and performs the following roles to provide services for actual GS-Link.
- GS-Link's collaboration management module serves as an API to support service collaboration functions and manages and monitors the system for collaboration.
- GS-Link collaboration service linkage operation module plays a role of data collaboration through connection between K8S clusters and shared storage between clusters
- GS-Link collaboration support offloading and movement module performs real-time high-speed movement and offloading between K8S clusters
kubectl migrate [PodName] [DestHost]
Server running with 15213 port