P2P IMAGE DISTRIBUTION
A computer-implemented method of pulling container images, the method comprising adding, by a processor, a new node to a multi-node cluster that includes worker nodes deployed across availability zones, wherein the new node is deployed in a first availability zone; and pulling, by the processor, container images from a first subset of the worker nodes deployed in the first availability zone, and providing the pulled container images to the new node.
1 . A computer-implemented method of pulling container images, the method comprising:
adding, by a processor, a new node to a multi-node cluster that includes worker nodes deployed across availability zones, wherein the new node is deployed in a first availability zone; and
pulling, by the processor, container images from a first subset of the worker nodes deployed in the first availability zone, and providing the container images to the new node.
2 . The method of claim 1 , wherein the container images are pulled concurrently to the new node.
3 . The method of claim 1 , wherein the processor is configured to pull the container images by:
splitting each of the container images into corresponding spliced container images; and
pulling the spliced container images.
4 . The method of claim 3 , wherein the spliced container images are pulled without performing compression on the spliced container images.
5 . The method of claim 1 , further comprising:
for the worker nodes not deployed in the first availability zone, pulling, by the processor, the container images from a second subset of the worker nodes deployed in a second availability zone closest to the first availability zone, from the availability zones.
6 . The method of claim 5 , wherein the processor is configured to pull the container images by:
splitting each of the container images into corresponding spliced container images; and
pulling the spliced container images.
7 . The method of claim 6 , wherein the spliced container images are pulled without performing compression on the spliced container images.
8 . A non-transitory computer readable medium, storing instructions for pulling container images, the instructions comprising:
adding a new node to a multi-node cluster that includes worker nodes deployed across availability zones, wherein the new node is deployed in a first availability zone; and
pulling container images from a first subset of the worker nodes deployed in the first availability zone, and providing the container images to the new node.
9 . The non-transitory computer readable medium of claim 8 , wherein the container images are pulled concurrently to the new node.
10 . The non-transitory computer readable medium of claim 8 , wherein the pulling container images comprises:
splitting each of the container images into corresponding spliced container images; and
pulling the spliced container images.
11 . The non-transitory computer readable medium of claim 10 , wherein the spliced container images are pulled without performing compression on the spliced container images.
12 . The non-transitory computer readable medium of claim 8 , further comprising:
for the worker nodes not deployed in the first availability zone, pulling the container images from a second subset of the worker nodes deployed in a second availability zone closest to the first availability zone, from the availability zones.
13 . The non-transitory computer readable medium of claim 12 , wherein the pulling container images comprises:
splitting each of the container images into corresponding spliced container images; and
pulling the spliced container images.
14 . The non-transitory computer readable medium of claim 13 , wherein the spliced container images are pulled without performing compression on the spliced container images.
15 . A system for pulling container images, the system comprising:
a multi-node cluster that includes worker nodes deployed across availability zones; and
a processor, wherein the processor is configured to:
add a new node to the multi-node cluster, wherein the new node is deployed in a first availability zone; and
pull container images from a first subset of the worker nodes deployed in the first availability zone, and providing the container images to the new node.
16 . The system of claim 15 , wherein the container images are pulled concurrently to the new node.
17 . The system of claim 15 , wherein the processor is configured to pull the container images by:
splitting each of the container images into corresponding spliced container images; and
pulling the spliced container images.
18 . The system of claim 17 , wherein the spliced container images are pulled without performing compression on the spliced container images.
19 . The system of claim 15 , further comprising:
for the worker nodes not deployed in the first availability zone, pulling, by the processor, the container images from a second subset of the worker nodes deployed in a second availability zone closest to the first availability zone, from the availability zones.
20 . The system of claim 19 , wherein the processor is configured to pull the container images by:
splitting each of the container images into corresponding spliced container images; and
pulling the spliced container images.