Patent ID: 11954525
Assignee: ZHEJIANG LAB
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 0:
1. A method of executing a collaborative job faced to multiple clusters, applied to a collaboration center, comprising:
step S101: specifying, based on status information of a job submitted by a user, a master cluster and a slave cluster;
step S102: sending a job description file to the master cluster to enable the master cluster to create a single driver Pod; and sending the job description file to the slave cluster to enable the slave cluster to create a group of executor Pods of the slave cluster;
step S103: sending registration information for the driver Pod to the master cluster to complete a registration of the driver Pod in the collaboration center; enabling the slave cluster to send registration information for the group of executor Pods of the slave cluster to the driver Pod to complete a registration of the group of executor Pods of the slave cluster in the driver Pod, such that the group of executor Pods of the slave cluster executes the job sent by the master cluster;
wherein the collaboration center further sends a reverse proxy start request to the master cluster while the collaboration center sends the registration information for the driver Pod to the master cluster, and based on feedback information established by the group of executor Pods of the slave cluster, the collaboration center enables the driver Pod to determine establishment information of the group of executor Pods of the slave cluster to enable a reverse proxy unit, such that the slave cluster sends address information and credentials information of the group of executor Pods of the slave cluster to connect with the reverse proxy unit of the master cluster; and in response to determining that the slave cluster connects successfully with the reverse proxy unit of the master cluster, the slave cluster sends the registration information for the group of executor Pods of the slave cluster to the driver Pod to complete the registration of the group of executor Pods of the slave cluster in the driver Pod; and
step S104: after an execution of the job is completed, releasing resources occupied by executing the job.