Search

KR-20260062228-A - METHOD, DEVICE, AND PROGRAM FOR PERFORMING SERVICE MIGRATION THROUGH POD REPLICATION IN A CLOUD ENVIRONMENT

KR20260062228AKR 20260062228 AKR20260062228 AKR 20260062228AKR-20260062228-A

Abstract

According to one embodiment of the present disclosure, a computer program stored on a computer-readable storage medium is disclosed. The computer program performs the following methods for performing service migration through pod replication in a cloud environment, wherein the methods may include: obtaining migration request information; generating migration cluster information based on the migration request information; generating migration plan information based on the migration request information and the migration cluster information; and performing migration based on the migration plan information.

Inventors

  • 김영준
  • 정성훈

Assignees

  • (주) 케이티클라우드

Dates

Publication Date
20260507
Application Date
20241028

Claims (15)

  1. A computer program stored on a computer-readable storage medium, wherein the computer program performs the following methods for performing service migration through pod replication in a cloud environment, and the method comprises: Step to obtain migration request information; A step of generating migration cluster information based on the above migration request information; A step of generating migration plan information based on the migration request information and the migration cluster information; and A step of performing migration based on the above migration plan information; including, A computer program stored on a computer-readable storage medium.
  2. In Article 1, The step of obtaining the above migration request information is, A step of receiving the migration request information from a client terminal; and A step of generating the migration request information based on the migration goal information; It includes at least one of the steps, The above migration request information is, It includes at least one of cluster selection information, pod selection information, migration method configuration information, security configuration information, and network configuration information, and The above migration goal information is, Information configured based on at least one of service availability, performance optimization, cost reduction, cluster load balancing, or data compliance, A computer program stored on a computer-readable storage medium.
  3. In Article 1, The above migration cluster information includes information regarding the source cluster and target cluster for migration, and A step of generating migration cluster information based on the above migration request information; A step of selecting one or more candidate clusters based on resource availability status information for each of a plurality of clusters; and A step of determining one of the one or more candidate clusters as the target cluster based on network analysis information between the plurality of clusters; including, A computer program stored on a computer-readable storage medium.
  4. In Article 1, The step of generating the above migration plan information is, A step of determining backup storage based on the migration request information above; A step of determining the volume snapshot storage space based on the migration request information above; A step of setting up migration storage based on the above migration request information; and A step of generating migration plan information based on the backup storage, the volume snapshot storage space, and the migration storage; Includes, The above backup storage includes object storage capable of storing data backed up during migration, and The above volume snapshot storage space is a space that replicates and stores the data volume of the state-saving application during the migration at a specific point in time. The above migration storage is storage related to a temporary data storage for data transfer during the migration, A computer program stored on a computer-readable storage medium.
  5. In Article 4, The step of determining backup storage based on the above migration request information is, A step of analyzing the size and type of backup data from the migration request information above; A step of generating object evaluation information related to the capacity and performance requirements of object storage based on the above-described backup data; and A step of determining the optimal object storage location as the backup storage based on the object evaluation information above; including, A computer program stored on a computer-readable storage medium.
  6. In Article 4, The step of determining the volume snapshot storage space based on the above migration request information is, A step of analyzing the volume size and data recovery requirements of the stateful application from the migration request information above; A step of evaluating the recovery speed and data consistency maintenance capabilities of the snapshot storage based on the analyzed volume size and recovery requirements above; and A step of determining the volume snapshot storage space based on the above-evaluated recovery speed and data consistency requirements; including, A computer program stored on a computer-readable storage medium.
  7. In Article 4, The step of setting up migration storage based on the above migration request information is, A step of analyzing the size and transmission speed requirements of the data to be transmitted during migration from the above migration request information; A step of evaluating resource availability of temporary storage space and network bandwidth based on the analyzed data size and transmission speed; and A step of determining the migration storage based on the evaluated resource availability and network bandwidth; including, A computer program stored on a computer-readable storage medium.
  8. In Article 1, The step of performing the above migration is, A step of detecting abnormal conditions by monitoring events and logs occurring during the migration process; and A step of performing a recovery process for automatic recovery or rollback when the above abnormal state is detected; Includes more, The above recovery process is, A first recovery process based on snapshot data and a second recovery process based on backup data, A computer program stored on a computer-readable storage medium.
  9. In Article 8, The step of performing the above recovery process is, A step of generating cause information corresponding to the above abnormal state; A step of determining at least one of the first recovery process and the second recovery process based on the above cause information; and A step of performing automatic recovery or rollback using the recovery process determined above; including, A computer program stored on a computer-readable storage medium.
  10. In Article 9, The step of generating cause information corresponding to the above abnormal state is, A step of identifying at least one of network failures, storage access errors, and data consistency issues based on event logs, system status information, and migration data transfer status; and A step of generating the cause information according to the identified abnormal state; Includes, The above cause information includes information regarding the type of abnormal state, the time of occurrence, affected system resources, and recovery priority. A computer program stored on a computer-readable storage medium.
  11. In Article 9, The step of determining at least one of the first recovery process and the second recovery process based on the above cause information is, If the above cause information relates to a network connection error, a step of determining the first recovery process; If the above cause information relates to a storage access error, a step of determining the second recovery process; and If the above cause information relates to a data consistency error, a step of simultaneously determining the first recovery process and the second recovery process; including, A computer program stored on a computer-readable storage medium.
  12. In Article 1, The step of performing the above migration is, A step of performing synchronization based on the changed data when detecting real-time data changes occurring during migration; If a data conflict occurs during the above synchronization process, a step of setting priorities between the conflicted data; and A step of maintaining data consistency by synchronizing selected data to a target cluster based on the priority set above; Includes, The step of setting priorities between the aforementioned conflicted data is, A step of prioritizing the most recently modified data based on the data modification time; and A step of prioritizing important data according to a predefined priority rule based on the importance of the data; comprising at least one of the following steps, A computer program stored on a computer-readable storage medium.
  13. In Article 1, The step of performing the above migration is, Step to define the migration policy; A step for monitoring network status, system resources, and data transfer status during the migration process; and A step of dynamically applying the migration policy based on the above monitoring results; Includes, The above migration policy is, The scope of application may be configured differently for the entire cluster, a specific network segment, or a specific data type, and includes dynamic adjustments related to at least one of transmission speed control, resource reallocation, adjustment of data encryption levels, and enhancement of security measures. A computer program stored on a computer-readable storage medium.
  14. As a computer device, One or more processors; Memory for storing instructions executable on one or more processors; and A network unit capable of communicating with at least one of an external server or a client terminal; Includes, The above one or more processors, Obtaining migration request information, Based on the above migration request information, migration cluster information is generated, and Based on the above migration request information and the above migration cluster information, migration plan information is generated, and Performing migration based on the above migration plan information, Computer device.
  15. As a method for performing service migration through Pod replication in a cloud environment, Step to obtain migration request information; A step of generating migration cluster information based on the above migration request information; A step of generating migration plan information based on the migration request information and the migration cluster information; and A step of performing migration based on the above migration plan information; including, method.

Description

Method, Device, and Program for Performing Service Migration Through Pod Replication in a Cloud Environment The present disclosure relates to service migration technology in a cloud environment, and more specifically, to a method, apparatus, and program for migrating services without interruption by replicating pods between multiple clusters. With the recent rapid advancement of cloud computing, container-based environments are establishing themselves as the standard technology for the deployment and management of various applications and services. Container technology enables applications to run in isolated environments through lightweight virtualization, and is being adopted by an increasing number of enterprises and service providers due to its characteristics that provide efficient resource management, rapid deployment, and portability. In particular, Pods, the units that run containers, play an essential role in cloud environments, enabling applications to operate consistently across various infrastructures. Container orchestration tools like Kubernetes systematically manage these Pods and provide automated deployment, scalability support, and resilience. Kubernetes can increase service availability and minimize downtime by moving or replicating Pods between multiple clusters as needed. However, there are several significant challenges in performing service migrations in existing cloud environments. Service interruptions or data consistency issues that may occur during cross-cluster migration can severely impact service quality and become critical problems, particularly for services requiring high availability. Traditional migration methods rely primarily on manual configuration and involve resetting clusters or suspending services during operation to move data. This process is complex and time-consuming, and can lead to issues such as degraded network performance and resource imbalances. These situations are highly likely to ultimately result in a decline in service quality. In particular, for stateful applications, it is difficult to maintain data consistency by simply cloning or moving pods or containers. This is because applications require real-time data processing or a tight connection with data repositories. Such applications are at high risk of data loss or consistency issues during migration, and special recovery procedures and sophisticated management mechanisms are required to prevent this. Korean Patent Publication No. 10-2020-0077391 discloses a method for performing migration for virtual machines within a cloud environment. FIG. 1 illustrates a schematic diagram showing a system that provides a method for performing service migration through pod replication in a cloud environment according to one embodiment of the present disclosure. FIG. 2 illustrates an exemplary flowchart for performing a method of performing service migration through pod replication in a cloud environment related to one embodiment of the present disclosure. FIGS. 3 through 6 illustrate exemplary flowcharts for explaining the process of generating migration plan information related to one embodiment of the present disclosure. FIGS. 7 and 8 illustrate exemplary flowcharts for explaining the process of performing a recovery process related to one embodiment of the present disclosure. FIG. 9 illustrates an exemplary flowchart for explaining the process of maintaining data consistency through synchronization during a migration process related to one embodiment of the present disclosure. FIG. 10 illustrates an exemplary flowchart for explaining the process of dynamically applying a migration policy related to one embodiment of the present disclosure. FIG. 11 illustrates a brief and general schematic diagram of an exemplary computing environment in which embodiments of the present disclosure may be implemented. Various embodiments are now described with reference to the drawings. In this specification, various descriptions are provided to provide an understanding of the present disclosure. However, it is evident that these embodiments can be practiced without such specific descriptions. As used herein, terms such as “component,” “module,” “system,” etc. refer to computer-related entities, hardware, firmware, software, combinations of software and hardware, or executions of software. For example, a component may be, but is not limited to, a procedure executed on a processor, a processor, an object, an execution thread, a program, and/or a computer. For example, both an application executed on a computer device and the computer device itself may be a component. One or more components may reside within a processor and/or an execution thread. A component may be localized within a single computer. A component may be distributed among two or more computers. Additionally, these components may be executed from various computer-readable media having various data structures stored therein. Components may communicate through local and/