# US 2020/0403872 A1 · Pod migration across nodes of a cluster

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0403872 A1
- Document ID: US20200403872A1
- Status: Published application
- Kind: A1
- Application number: 16/446,341
- Filed: 2019-06-19
- Published: 2020-12-24
- Earliest claimed: 2019-06-19
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Lokesh Shivashankara; Chinglenkhomba Lamabam; Selvaraj Katturaja
- Web page: https://patentgrep.com/patent/US20200403872A1

## CPC

- H04L 41/0813: characterised by the conditions triggering a change of settings
- H04L 12/4633: {Interconnection of networks using encapsulation techniques, e.g. tunneling}
- H04L 12/4641: {Virtual LANs, VLANs, e.g. virtual private networks [VPN] (LAN interconnection over a bridge based backbone H04L12/462; encapsulation techniques H04L12/4633; routing of packets H04L45/00; packet switches H04L49/00; virtual private networks for security H04L63/0272)}
- H04L 41/0897: by horizontal or vertical scaling of resources, or by migrating entities, e.g. virtual resources or entities
- H04L 67/10: in which an application is distributed across nodes in the network (software deployment G06F8/60; multiprogramming arrangements G06F9/46)
- H04L 67/1095: Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- G06F 9/4856: {resumption being on a different machine, e.g. task migration, virtual machine migration (G06F9/5088 takes precedence)}
- G06F 11/2023: {Failover techniques}
- G06F 11/2028: {eliminating a faulty processor or activating a spare}
- H04L 41/5054: Automatic deployment of services triggered by the service manager, e.g. service implementation by automatic configuration of network components
- H04L 67/148: Migration or transfer of sessions
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Example techniques for pod migration across nodes of a cluster are described. In an example, in response to receiving a request to migrate a pod from a first region of a cloud computing platform to a second region of the cloud computing platform, the pod may be migrated from a first node in the first region to a second node in the second region. The first node and the second node may each be a part of a cluster of nodes.

## Claims

### Claim 1

A computing device comprising:
a processor; and
a memory comprising instructions executable by the processor to:
receive a first request to migrate a pod deployed in a first region of a cloud computing platform to a second region of the cloud computing platform, wherein the computing device is in the first region, wherein the pod is hosted in a first node in the first region, and wherein the first node is a part of a cluster of nodes; and
instruct a cluster manager of the cluster of nodes to migrate the pod to a second node in the second region, the second node being a part of the cluster of nodes, wherein the computing device is to provision the second node in the second region in response to one of: the first request and a second request, wherein the second request is a request to provision a node as a part of the cluster of nodes in the second region.

### Claim 2 (depends on 1)

The computing device of claim 1, wherein subsequent to provisioning the second node in response to receiving the second request, in response to receiving the first request, the instructions are executable to:
determine if the second node is present in the second region as a part of the cluster of nodes; and
in response to determination that the second node is present as a part of the cluster of nodes, select the second node for hosting the pod.

### Claim 3 (depends on 2)

The computing device of claim 2, wherein to determine if the second node is present in the second region as a part of the cluster of nodes, the instructions are executable to:
determine whether a node label list corresponding to the cluster of nodes specifies a node in the second region as a part of the cluster of nodes, wherein the node label list specifies a node label for each node of the cluster of nodes and region in which each node of the cluster of nodes is deployed.

### Claim 4 (depends on 2)

The computing device of claim 2, wherein the first request is a change in a node label in a configuration file for the pod from a first node label to a second node label, the first node label corresponding to the first node and the second node label corresponding to the second node, and wherein to determine if the second node is present in the second region as a part of the cluster of nodes, the instructions are executable to:
ascertain, based on presence of the second node label in a node label list corresponding to the cluster of nodes, that the second node is present in the second region and is a part of the cluster of nodes, wherein the node label list specifies a node label for each node of the cluster of nodes and region in which each node of the cluster of nodes is deployed.

### Claim 5 (depends on 2)

The computing device of claim 2, wherein the instructions are executable to select the second node for hosting the pod based on the second node having resources for hosting the pod.

### Claim 6 (depends on 1)

The computing device of claim 1, wherein, to instruct the cluster manager to migrate the pod from the first node to the second node, the instructions are executable to change a node label in a configuration file for the pod from a first node label to a second node label, the first node label corresponding to the first node and the second node label corresponding to the second node.

### Claim 7 (depends on 1)

The computing device of claim 1, wherein the first request is a request to migrate a service comprising the pod from the first region to the second region.

### Claim 8 (depends on 1)

The computing device of claim 1, comprising the cluster manager to:
migrate the pod to the second node.

### Claim 9 (depends on 1)

The computing device of claim 1, wherein, to migrate the pod from the first node to the second node, the cluster manager is to:
delete an instance of the pod in the first node; and
create a new instance the pod in the second node.

### Claim 10 (depends on 1)

The computing device of claim 1, wherein, the computing device is to establish a virtual private network (VPN) tunnel for communication with the second node.

### Claim 11

A method comprising:
receiving, by a master node in a first region of a cloud computing platform, a request to migrate a pod deployed in the first region to a second region of the cloud computing platform, wherein the pod is deployed in a first node in the first region and the first node is a part of a cluster of nodes;
provisioning, by the master node, in response to the request, a second node as a part of the cluster of nodes in the second region; and
migrating, by the master node, the pod to the second node.

### Claim 12 (depends on 11)

The method of claim 11, wherein migrating the pod to the second node comprises:
configuring a second node label for the second node; and
changing a node label in a configuration file for the pod from a first node label to the second node label, wherein the first node label corresponds to the first node and wherein the node label is indicative of the node that is to host the pod.

### Claim 13 (depends on 11)

The method of claim 11, wherein migrating the pod from the first node to the second node comprises:
deleting an instance of the pod in the first node; and
creating a new instance of the pod in the second node.

### Claim 14 (depends on 11)

The method of claim 11, wherein the request is a request to migrate a service comprising the pod from the first region to the second region.

### Claim 15

A non-transitory computer-readable medium comprising instructions, the instructions being executable by a processing resource of a computing device in a first region of a cloud computing platform to:
receive a request to migrate a first pod deployed in the first region to a second region of the cloud computing platform, wherein the first pod is deployed in a first node in the first region and the first node is a part of a cluster of nodes;
determine if a second node is present in the second region as a part of the cluster of nodes;
in response to presence of the second node in the second region as a part of the cluster of nodes, instruct a cluster manager of the cluster of nodes to migrate the first pod to the second node; and
in response to absence of the second node in the second region as a part of the cluster of nodes:
provision the second node in the second region as a part of the cluster of nodes; and
instruct the cluster manager to migrate the first pod to the second node.

### Claim 16 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein, to instruct the cluster manager to migrate the first pod to the second node, the instructions are executable to:
change a node label in a configuration file for the first pod from a first node label to a second node label, the first node label corresponding to the first node and the second node label corresponding to the second node.

### Claim 17 (depends on 16)

The non-transitory computer-readable medium of claim 16, wherein, prior to changing the node label, the instructions are executable to:
configure the first node label to the first node subsequent to provisioning of the first node; and
configure the second node label to the second node subsequent to provisioning of the second node.

### Claim 18 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein, subsequent to provisioning the second node as a part of the cluster of nodes in the second region, the instructions are executable to:
receive a request to migrate a second pod deployed in the first region to the second region; and
instruct the cluster manager to migrate the second pod to the second node.

### Claim 19 (depends on 15)

The non-transitory computer-readable medium of claim 15, comprising a second set of instructions executable to implement the cluster manager to:
migrate the first pod to the second node.

### Claim 20 (depends on 15)

The non-transitory computer-readable medium of claim 15, wherein to determine if the second node is present in the second region as part of the cluster of nodes, the instructions are executable to:
determine whether a node label list corresponding to the cluster of nodes specifies a node in the second region as part of the cluster of nodes, wherein the node label list specifies a node label for each node of the cluster of nodes and region in which each node of the cluster of nodes is deployed.
