# US 2021/0232344 A1 · Global cache for container images in a clustered container host system

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

- Number: US 2021/0232344 A1
- Document ID: US20210232344A1
- Status: Published application
- Kind: A1
- Application number: 16/751,529
- Filed: 2020-01-24
- Published: 2021-07-29
- Earliest claimed: 2020-01-24
- Assignees: VMware, Inc.
- Applicants: VMware, Inc.
- Inventors: Benjamin J. CORRIE
- Web page: https://patentgrep.com/patent/US20210232344A1

## CPC

- G06F 3/0664: {at device level, e.g. emulation of a storage device or system}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0644: {Management of space entities, e.g. partitions, extents, pools}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 8/63: {Image based installation; Cloning; Build to order}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 11/301: {where the computing system is a virtual computing platform, e.g. logically partitioned systems (virtual machines G06F9/45533; logical partitioning of resources G06F9/5077)}
- G06F 11/3006: {where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems (multiprogramming arrangements G06F9/46; allocation of resources G06F9/50)}
- G06F 2009/45562: {Creating, deleting, cloning virtual machine instances}
- G06F 2009/45595: {Network integration; Enabling network access in virtual machine instances}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Container images are managed in a clustered container host system with a shared storage device. Hosts of the system each include a virtualization software layer that supports execution of virtual machines (VMs), one or more of which are pod VMs that have implemented therein a container engine that supports execution of containers within the respective pod VM. A method of deploying containers includes determining, from pod objects published by a master device of the system and accessible by all hosts of the system, that a new pod VM is to be created, creating the new pod VM, and spinning up one or more containers in the new pod VM using images of containers previously spun up in another pod VM, wherein the images of the containers previously spun up in the other pod VM are stored in the storage device.

## Claims

### Claim 1

A method of deploying containers in a clustered container host system comprising a plurality of hosts that share a storage device, wherein the hosts each include a virtualization software layer that supports execution of virtual machines (VMs) in the hosts, and one or more VMs are pod VMs that have implemented therein a container engine that supports execution of containers within the respective pod VM, said method comprising:
determining, from pod objects published by a master device of the clustered container host system and accessible by all hosts of the clustered container host system, that a new pod VM is to be created;
creating the new pod VM; and
spinning up one or more containers in the new pod VM using images of containers previously spun up in another pod VM, wherein the images of the containers previously spun up in said another pod VM are stored in the storage device.

### Claim 2 (depends on 1)

The method of claim 1, wherein the new pod VM is running in a first host in the plurality of hosts and said another pod VM is running in a second host in the plurality of hosts.

### Claim 3 (depends on 2)

The method of claim 2, wherein the plurality of hosts is managed as a Kubernetes cluster.

### Claim 4 (depends on 3)

The method of claim 3, wherein the plurality of hosts is managed as a cluster by a virtual machine management server that manages all VMs in the hosts and provisions the virtual disks for the VMs in the storage device.

### Claim 5 (depends on 1)

The method of claim 1, wherein the images of the containers previously spun up in said another pod VM are stored in the storage device in separate virtual disks.

### Claim 6 (depends on 1)

The method of claim 1, wherein the new pod VM is in a first namespace associated with a first user and said another pod VM is in a second namespace associated with a second user.

### Claim 7 (depends on 6)

The method of claim 6, wherein the images of containers previously spun up in said another pod VM are running in said another pod VM.

### Claim 8 (depends on 7)

The method of claim 7, wherein access to the stored images of the containers running in said another pod VM by the new pod VM and said another pod VM is managed using image disk objects that each point to one of the stored images of the containers running in said another pod VM, first image objects associated with the first namespace that each point to one of the image disk objects, and second image objects associated with the second namespace that each point to one of the image disk objects.

### Claim 9 (depends on 6)

The method of claim 6, wherein the images of containers previously spun up in said another pod VM are no longer running in said another pod VM.

### Claim 10 (depends on 9)

The method of claim 9, wherein access to the stored images of the containers running in said another pod VM by the new pod VM and said another pod VM is managed using image disk objects that each point to one of the stored images of the containers running in said another pod VM, first image objects associated with the first namespace that each point to one of the image disk objects, and second image objects associated with the second namespace that each previously pointed to one of the image disk objects and now point to none of the image disk objects.

### Claim 11

A non-transitory computer readable medium comprising instructions to be executed in a computing device to cause the computing device to carry out a method of deploying containers in a clustered container host system with a shared storage device, wherein hosts of the clustered container host system each include a virtualization software layer that supports execution of virtual machines (VMs) in the hosts, and one or more VMs are pod VMs that have implemented therein a container engine that supports execution of containers within the respective pod VM, said method comprising:
determining, from pod objects published by a master device of the clustered container host system and accessible by all hosts of the clustered container host system, that a new pod VM is to be created;
creating the new pod VM; and
spinning up one or more containers in the new pod VM using images of containers previously spun up in another pod VM, wherein the images of the containers previously spun up in said another pod VM are stored in the shared storage device.

### Claim 12 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein the new pod VM is running in a first host in the plurality of hosts and said another pod VM is running in a second host in the plurality of hosts.

### Claim 13 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein the images of the containers previously spun up in said another pod VM are stored in the shared storage device in separate virtual disks.

### Claim 14 (depends on 11)

The non-transitory computer readable medium of claim 11, wherein the new pod VM is in a first namespace associated with a first user and said another pod VM is in a second namespace associated with a second user.

### Claim 15 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the images of containers previously spun up in said another pod VM are running in said another pod VM.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein access to the stored images of the containers running in said another pod VM by the new pod VM and said another pod VM is managed using image disk objects that each point to one of the stored images of the containers running in said another pod VM, first image objects associated with the first namespace that each point to one of the image disk objects, and second image objects associated with the second namespace that each point to one of the image disk objects.

### Claim 17 (depends on 14)

The non-transitory computer readable medium of claim 14, wherein the images of containers previously spun up in said another pod VM are no longer running in said another pod VM.

### Claim 18 (depends on 17)

The non-transitory computer readable medium of claim 17, wherein access to the stored images of the containers running in said another pod VM by the new pod VM and said another pod VM is managed using image disk objects that each point to one of the stored images of the containers running in said another pod VM, first image objects associated with the first namespace that each point to one of the image disk objects, and second image objects associated with the second namespace that each previously pointed to one of the image disk objects and now point to none of the image disk objects.

### Claim 19

A clustered container host system comprising:
a storage device; and
a plurality of hosts that share the storage device, wherein the hosts each include a virtualization software layer that supports execution of virtual machines (VMs) therein, and one or more VMs are pod VMs that have implemented therein a container engine that supports execution of containers within the respective pod VM, wherein
at least one of the hosts is programmed to execute a method of deploying containers, said method comprising:
determining, from pod objects published by a master device of the clustered container host system and accessible by all hosts of the clustered container host system, that a new pod VM is to be created;
creating the new pod VM; and
spinning up one or more containers in the new pod VM using images of containers previously spun up in another pod VM, wherein the images of the containers previously spun up in said another pod VM are stored in the storage device.

### Claim 20 (depends on 19)

The clustered container host system of claim 19, wherein the plurality of hosts is managed as a Kubernetes cluster and as a VM host cluster by a virtual machine management server that manages all VMs in the hosts and provisions the virtual disks for the VMs in the storage device.
