Using Remote Pods in Kubernetes
Remote pods in Kubernetes address performance issues by deploying pod virtual machines outside worker nodes, using overlay networks and proxy networks, enhancing CPU, memory, and disk performance while improving scalability.
Patent Information
- Application Number
- JP2024515135
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-09-07
- Filing Date
- 2022-08-05
- Publication Date
- 2024-10-02
- Estimated Expiration
- 2042-08-05
AI Technical Summary
Existing Kubernetes systems face performance issues with nested virtual machines, particularly in Kata containers, leading to reduced CPU, memory, and I/O efficiency, which limits scalability and resource utilization.
Implementing remote pods in Kubernetes by creating pod virtual machines outside worker node virtual machines, using overlay networks for communication, and establishing proxy networks to mimic local operation, allowing better isolation and performance.
Enhances CPU, memory, and disk performance, improves scalability by decoupling remote pod virtual machines from worker node resources, and enables deployment on any host machine without direct access.
Smart Images

Figure 2024535764000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates generally to computer systems, and more particularly to computer-implemented methods, computer systems, and computer program products configured and arranged for using remote pods in Kubernetes. [Background technology]
[0002] Kubernetes, commonly referred to as K8s, is an open source container orchestration system for automating the deployment, scaling, and management of computer applications. In particular, it aims to provide a platform for automating the deployment, scaling, and operation of application containers across a cluster of hosts. Kubernetes works with various container tools and runs containers in a cluster using images often built using Docker. Docker is a set of Platform-as-a-Service (PaaS) products that use operating system (OS) level virtualization to deliver software in packages called containers. Containers are isolated from each other and bundle their own software, libraries, and configuration files. Containers can communicate with each other through well-defined channels. All containers can share the services of a single operating system kernel. The basic scheduling unit of Kubernetes is the pod. A pod is a group of containerized constructs. A pod contains one or more containers that are guaranteed to coexist on the same node. Many cloud services offer a Kubernetes-based platform or infrastructure as a service on which Kubernetes can be deployed as a platform-providing service. The scheduler is a pluggable component that selects which node a non-scheduled pod (i.e., the basic entity managed by the scheduler) will run on based on resource availability. The scheduler tracks the resource usage of each node and ensures that workloads that exceed the available resources are not scheduled. While existing technology for pods having containers configured to start and run software applications on nodes in the cloud is suitable for its intended purpose, a system having certain features of an embodiment of the present invention is needed. Summary of the Invention
[0003] An embodiment of the present invention is directed to a computer-implemented method for using remote pods in Kubernetes. A non-limiting exemplary computer-implemented method includes instantiating intermediate software within a worker node virtual machine, creating a pod virtual machine using the intermediate software, where the pod virtual machine is remote from the worker node virtual machine, and establishing an overlay network between the intermediate software in the worker node virtual machine and a pod space in the pod virtual machine. The computer-implemented method includes creating a container in the pod virtual machine using the overlay network, where the worker node virtual machine is configured to manage communication (e.g., data, traffic, etc.) with the pod virtual machine using the overlay network.
[0004] This can provide an improvement over known methods of pod deployment, which are based at least in part on placing pod VMs remotely from worker node VMs and communicating remotely using an overlay network.
[0005] In addition to or as an alternative to one or more of the features described above or below, in a further embodiment of the invention, the intermediary software is configured to create a proxy network space within an isolated computing environment on the worker node virtual machine, thus advantageously providing a remedy in which remote pod virtual machines are proxies for sending traffic to and from the worker node virtual machine.
[0006] In addition to or as an alternative to one or more of the features described above or below, in a further embodiment of the invention, the intermediary software is configured to connect a logical network between a proxy network space on the worker node VM and a pod space on the pod VM, thus advantageously providing an improvement to allow a worker node VM to behave (and interface) as if a remote pod VM were present on / within the worker node VM.
[0007] In addition to or as an alternative to one or more of the features described above or below, in a further embodiment of the invention, an Internet Protocol (IP) address is assigned to a proxy network space of the worker node virtual machine, and the intermediary software is configured to reassign the IP address to the pod space. Thus, an improvement is advantageously provided that allows a remote pod virtual machine to operate as if it were on the worker node virtual machine.
[0008] In addition to or in place of one or more of the features described above or below, in a further embodiment of the invention, in response to receiving a container for an isolated computing environment on a worker node virtual machine, the container is forwarded to a pod virtual machine and associated with the pod space, and the intermediate software is configured to cause a software application in the container to be instantiated on the pod virtual machine. Thus, an improvement is advantageously provided that enables a remote pod virtual machine to run on a separate host machine from the worker node virtual machine while being in the same logical network.
[0009] Other embodiments of the present invention implement features of the above described methods in computer systems and computer program products.
[0010] Additional technical features and advantages are realized through the techniques of the present invention. Embodiments and aspects of the present invention are described in detail herein and are considered a part of the claimed subject matter. For a more complete understanding, reference should be made to the detailed description and drawings.
[0011] The claims at the conclusion of this specification particularly point out and distinctly claim the exclusive rights set forth herein. The foregoing and other features and advantages of embodiments of the present invention will become apparent from the following detailed description taken in conjunction with the accompanying drawings. [Brief description of the drawings]
[0012] [Figure 1] FIG. 1 is a block diagram of an exemplary computer system for use in conjunction with one or more embodiments of the present invention. [Diagram 2] FIG. 1 is a block diagram of a system for providing and using remote pods in Kubernetes in accordance with one or more embodiments of the present invention. [Diagram 3] FIG. 1 is a block diagram of a node and pod hierarchy in a system for providing and using remote pods as virtual machines in Kubernetes in accordance with one or more embodiments of the present invention. [Figure 4] FIG. 1 is a block diagram of an example architecture for a system for providing and using remote pods as virtual machines in Kubernetes, in accordance with one or more embodiments of the present invention. [Diagram 5] 1 is a flow diagram of a computer-implemented process for provisioning and using a remote pod as a Kubernetes virtual machine, in accordance with one or more embodiments. [Figure 6] FIG. 1 illustrates an exemplary network architecture for a system for providing and using remote pods as virtual machines in Kubernetes, in accordance with one or more embodiments of the present invention. [Figure 7]1 is a flow diagram of a computer-implemented process for provisioning and using remote pods as virtual machines in Kubernetes in accordance with one or more embodiments of the present invention. [Figure 8] FIG. 1 illustrates a cloud computing environment in accordance with one or more embodiments of the present invention. [Figure 9] FIG. 2 illustrates an abstraction model layer in accordance with one or more embodiments of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] One or more embodiments of the present invention provide a computer-implemented method, computer system, and computer program product arranged and configured to use remote pods in Kubernetes. One or more embodiments of the present invention introduce a new worker and pod hierarchy in which a pod virtual machine logically belongs to a worker node virtual machine, but the pod virtual machine physically runs in a virtual machine that is remote from the worker virtual machine. Thus, the pod virtual machine has both better isolation and better performance by being in its own virtual machine.
[0014] In a typical Kubernetes cluster, workloads (e.g., software applications) run in pods as containers, which are processes on worker nodes. Kata Containers, which is open source and Open Container Initiative (OCI) compliant, deploys virtual machines as pods so that workloads run in guest virtual machines in / on worker nodes for cloud-native applications. However, Kata pods running as guest virtual machines on worker node virtual machines cause performance issues. Specifically, second-level or nested virtual machines typically experience a 5-10% degradation in central processing unit (CPU) and memory usage / efficiency, and even worse in input / output (I / O) such as input / output operations per second (IOPS). In the worst case, I / O downgrades by around 30%.
[0015] One or more embodiments provide a novel system that allows pod virtual machines to run (physically) as peer virtual machines while still being logically attached to a worker node virtual machine. In this way, the system aligns with Kubernetes functionality and avoids nested virtual machine performance loss / issues in Kata. Technical benefits and advantages, according to one or more embodiments, provide better isolation between worker node virtual machines and remote pod virtual machines since worker nodes do not have direct access to managed remote pod virtual machines. Technical benefits and advantages include better performance of remote pod virtual machines in terms of CPU, memory, and disk usage / performance. Additionally, one or more embodiments prove better scalability since remote pod virtual machines are not limited by the resources of the worker node virtual machines and can be deployed on any host machine.
[0016] Referring now to FIG. 1, a computer system 100 according to one or more embodiments of the present invention is generally illustrated. Computer system 100 may be an electronic computer framework that comprises and / or uses any number and combination of computing devices and networks utilizing various communication technologies as described herein. Computer system 100 may be easily scalable, extensible, and modular with the ability to change to different services or reconfigure some functions independently of other functions. Computer system 100 may be, for example, a server, a desktop computer, a laptop computer, a tablet computer, or a smartphone. In some examples, computer system 100 may be a cloud computing node. Computer system 100 may be described in the general context of computer system executable instructions, such as program modules, executed by a computer system. Generally, program modules include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. Computer system 100 may be executed within a distributed cloud computing environment where tasks are performed by remote processing devices linked through a communication network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
[0017] As shown in FIG. 1, computer system 100 has one or more central processing units (CPUs) 101a, 101b, 101c, etc. (generally collectively referred to as processor 101). Processor 101 may be a single-core processor, a multi-core processor, a computing cluster, or any number of other configurations. Processor 101, also referred to as a processing circuit, is coupled to system memory 103 and various other components via system bus 102. System memory 103 may include read-only memory (ROM) 104 and random access memory (RAM) 105. ROM 104 may include a basic input / output system (BIOS) or its successors such as a unified extensible firmware interface (UEFI) that is coupled to system bus 102 and controls certain basic functions of computer system 100. RAM is a read-write memory coupled to system bus 102 that is used by processor 101. System memory 103 provides temporary memory space for the operation of said instructions during operation. The system memory 103 may include random access memory (RAM), read-only memory, flash memory, or any other suitable memory system.
[0018] Computer system 100 includes an input / output (I / O) adapter 106 and a communications adapter 107 coupled to system bus 102. I / O adapter 106 may be a small computer system interface (SCSI) adapter that communicates with a hard disk 108 or any other similar component. I / O adapter 106 and hard disk 108 are collectively referred to herein as mass storage 110.
[0019] The software 111 executed on the computer system 100 may be stored in the mass storage 110. The mass storage 110 is an example of a tangible storage medium readable by the processor 101, as described below with respect to various figures, and the software 111 is stored as instructions executed by the processor 101 to operate the computer system 100, as described below. Examples of computer program products and the execution of such instructions are described in more detail herein. The communications adapter 107 interconnects the system bus 102 with a network 112, which may be an external network, allowing the computer system 100 to communicate with other such systems. In one embodiment, a portion of the system memory 103 and the mass storage 110 collectively store an operating system, which may be any suitable operating system for coordinating the functions of the various components illustrated in FIG. 1.
[0020] Additional input / output devices are shown connected to the system bus 102 via a display adapter 115 and an interface adapter 116. In one embodiment, adapters 106, 107, 115, and 116 may be connected to one or more I / O buses that are connected to the system bus 102 via an intermediate bus bridge (not shown). A display 119 (e.g., a screen or display monitor) is connected to the system bus 102 by a display adapter 115, which may include a graphics controller for improving performance of graphics-intensive applications, and a video controller. A keyboard 121, a mouse 122, speakers 123, etc. may be interconnected to the system bus 102 via an interface adapter 116, which may include, for example, a super I / O chip that integrates multiple device adapters into a single integrated circuit. Suitable I / O buses for connecting peripheral devices such as hard disk controllers, network adapters, and graphics adapters typically include common protocols such as Peripheral Component Interconnect (PCI) and Peripheral Component Interconnect Express (PCIe). Thus, as configured in Figure 1, computer system 100 includes processing capability in the form of processor 101, storage capabilities including system memory 103 and mass storage 110, input means such as keyboard 121 and mouse 122, and output capabilities including speakers 123 and display 119.
[0021] In some embodiments, the communications adapter 107 can transmit data using any suitable interface or protocol, such as an Internet or small computer system interface, among others. The network 112 can be a cellular network, a wireless network, a wide area network (WAN), a local area network (LAN), or the Internet, among others. An external computing device can be connected to the computer system 100 through the network 112. In some examples, the external computing device can be an external web server or a cloud computing node.
[0022] It should be understood that the block diagram of Figure 1 is not intended to indicate that computer system 100 includes all of the components depicted in Figure 1. Rather, computer system 100 may include any suitable fewer or additional components not depicted in Figure 1 (e.g., additional memory components, embedded controllers, modules, additional network interfaces, etc.). Additionally, the embodiments described herein with respect to computer system 100 may be implemented using any suitable logic, and logic referred to herein may, in various embodiments, include any suitable hardware (e.g., a processor, an embedded controller, or an application specific integrated circuit, among others), software (e.g., an application, among others), firmware, or any suitable combination of hardware, software, and firmware.
[0023] FIG. 2 is a block diagram of a system 200 for providing and using remote pods in Kubernetes, according to one or more embodiments of the present invention. The system 200 includes a computer system 202 coupled to computer systems 251, 252, 253, 254. The computer system 202 may be referred to as a control node, a master node, a Kubernetes deployment controller, or the like. The computer system 202 may be part of a control plane. Each of the computer systems 251, 252, 253, 254 may be a server in a cluster. For illustrative purposes, each of the computer systems 251, 252, 253, 254 may host one or more worker nodes in a cluster and may be generally referred to as computer systems 251-254. The computer systems 251-254 may be hosts or host machines for nodes and for running virtual machines, as further described herein. Computer system 202 and computer systems 251-254 may include any of the elements and functionality of computer system 100 described in FIG. 1 to perform according to one or more embodiments.
[0024] Kubernetes has a control plane / panel at the top, also called the master node. After the control plane (e.g., computer system 202) receives the workload, which is an application, the API server 204 stores the application as an API object in "etcd". In Kubernetes, the controller manager is responsible for orchestrating the entire control cycle. This control cycle is used to perform the orchestration and helps to create the pods required for these applications. When a pod appears, the scheduler observes the changes of the new pod. When the scheduler finds a new pod, it executes the scheduling algorithm and helps to write the execution result (e.g., writing the name of the node in the NodeName field of the pod object, the so-called binding operation). Then the scheduler writes the binding result back to etcd, which is the working process of the scheduler. As a result, the pod is bound to a node, which is called scheduling. For example, a pod is bound to a worker node.
[0025] The kubelet (e.g., kubelet 312 in Figure 3) observes all pod object changes, and when it finds that a pod is bound to a node, the kubelet executes all subsequent tasks. After the kubelet gets this information, it calls the containerd process that runs on each machine to run any containers in this pod. At this time, containerd (e.g., CRI 314 in Figure 3) can call other runtimes (e.g., runc, shim, etc.). Thus, the runtimes can help set up these namespaces and cgroups and help build the containers required by the application.
[0026] FIG. 3 is a block diagram of a node and pod hierarchy in system 200 for providing and using remote pods in Kubernetes, according to one or more embodiments of the present invention. FIG. 3 illustrates worker node virtual machine 310, pod virtual machine 301, pod virtual machine 302, and pod virtual machine 303. Worker node virtual machine 310 can run on the same host machine as pod virtual machines 301, 302, 303, or on a different host machine, or both, in any combination of options, and pod virtual machines 301, 302, 303 can be on the same host machine, or on a different host machine, or both. For example, worker node virtual machine 310 and pod virtual machine 301 can run on the same host machine, such as computer system 251. Also, worker node virtual machine 310 and pod virtual machine 301 can run on two different host machines, such as computer systems 251 and 252, respectively. Similarly, worker node virtual machine 310 and pod virtual machine 302 may run on the same host machine (e.g., both on computer system 251), or on different host machines (e.g., on computer system 251 and computer system 253, respectively), or both. Similarly, worker node virtual machine 310 and pod virtual machine 303 may run on the same host machine (e.g., both on computer system 251), or on different host machines (e.g., on computer system 251 and computer system 254, respectively), or both. While each pod virtual machine 301, 302, 303 may be bound to worker node virtual machine 310, it should be understood that each pod virtual machine 301, 302, 303 may run on its own host machine that is different from the host machine that runs worker node virtual machine 310. Although three pods are described for purposes of illustration, it should be understood that the embodiments are not intended to be limited to three pods.Additionally, each host machine, such as computer systems 251-254, has its own host operating system running its own hypervisor. If pod virtual machines 301, 302, 303 are running on different host machines and / or different computer systems than worker node virtual machine 301, then the hypervisors for each different host machine and / or computer system must be in the same logical network.
[0027] The control plane has one or more application programming interface (API) servers 204 configured to communicate with the kubelet 312. The API server 204 (also called api-server or apiserver) is a lightweight web application that allows Kubernetes to create and expose data APIs from data without requiring custom development. The kubelet is the main "node agent" that runs on each worker node. The kubelet can register nodes with the apiserver using a hostname, a flag to override the hostname, or cloud provider specific logic, or a combination thereof. The kubelet uses and works with pod descriptors, such as a PodSpec. A PodSpec is a YAML or JSON object that describes a pod. Kubernetes resources are created in a declarative manner, thus utilizing, for example, a YAML file. As will be appreciated by those skilled in the art, Kubernetes resources, such as pods, services, and deployments, can be created by using YAML files. The kubelet takes a set of PodSpecs provided through various mechanisms (mainly through an API server) and ensures that the containers described in those PodSpecs are running and healthy.
[0028] In FIG. 3, worker node virtual machine 310 has kubelet 312 configured to create one or more shims 320_1, 320_2, 320_3 using container runtime interface (CRI) 314. Shims 320_1, 320_2, and 320_3 may be generally referred to as shims 320. Each shim 320_1, 320_2, 320_3 has a one-to-one relationship with its own pod virtual machine 301, 302, 303, respectively. Each individual shim 320_1, 320_2, 320_3 is configured to create its own pod virtual machine 301, 302, 303 such that the pod virtual machine 301, 302, 303 is not nested in worker node virtual machine 310 and / or is not a guest virtual machine of worker node virtual machine 310. Container network interface (CNI) 316 is configured to allow the IP network systems of pod virtual machines 301, 302, 303 to be managed by the IP network system of worker node virtual machine 310. CRI 314, CNI 316, and shims 320_1, 320_2, 320_3 are each software portions having computer-executable instructions executable on a processor, such as processor 101.
[0029] CRI314 may be referred to as CRI containerd, containerd, containerd CRI, etc. CRI314 is a higher level runtime and daemon that can be thought of as an API faceplate for other runtimes in the stack. Lower level runtimes like runc handle the process of actually running containers, while higher level runtimes like containerd handle the container lifecycle, image management, and abstraction to the lower runtimes. Lower level runtimes provide mechanisms for building containers, while containerd has mechanisms for building container platforms and has APIs used by remote applications to provide monitoring and delegation. CRI contains APIs, specifications / requirements, and libraries for container runtimes to integrate with the kubelet on a node. CNI316 is a runtime and / or specification for managing network resources on a cluster. CNI consists of a number of supported plugins, along with a specification and libraries for writing plugins to configure network interfaces in containers. CNI is concerned with network connectivity for containers, and the removal of allocated resources when a container is deleted. Because of this focus, CNI has broad support and the specification is easy to implement. When a Kubernetes component cannot communicate with another, shim 320 is software configured to translate between one component and the relevant Kubernetes interface. For example, shim 320 takes CRI commands and translates them into something that agent 420 (shown in Figure 4) can understand, and vice versa. Additionally, container runtime shims are software that sit between container managers (containerd, cri-o, podman) and container runtimes (runc, crun) to solve the integration problems between these counterparts.
[0030] Providing further details, FIG. 4 is a block diagram of an example architecture of a system 200 for provisioning and using remote pods as virtual machines in Kubernetes, in accordance with one or more embodiments of the present invention. For simplicity, FIG. 4 omits the control plane computer system 202, but is understood to be present. FIG. 4 illustrates an example of using a shim 320_1 of a worker node virtual machine 310 to provision, create, or set up a pod virtual machine 301 that is remote from the worker node virtual machine 310, or a combination thereof. The pod virtual machine 301 may be hosted on a separate host machine that is remote from the host machine that runs the worker node virtual machine 310. The pod virtual machine 301 may be hosted on the same host machine as the worker node virtual machine 310, but still reside in a separate or remote virtual machine. Although an example may describe using shim 320_1 in worker node virtual machine 310 to set up pod virtual machine 301, it should be understood that this description also applies by analogy to shim 320_2 for setting up pod virtual machine 302 and shim 320_3 for setting up pod virtual machine 303.
[0031] 5 is a flow diagram of a computer-implemented process 500 for provisioning and using a remote pod as a Kubernetes virtual machine in accordance with one or more embodiments of the present invention. The computer-implemented process 500 of FIG. 5 may be implemented using the system 200. Accordingly, the computer-implemented process 500 will now be described with reference to the system 200.
[0032] In block 502, the worker node virtual machine 310 is configured to receive a pod description or pod descriptor for creating a new pod in a cluster on a host machine. For example, the kubelet 312 is configured to receive the pod description from the computer system 202. The pod description can include specifications for the pod (e.g., PodSpecs) and can be in a YAML file or a JSON file. Each Kubernetes deployment uses a so-called pod template. This pod template provides a specification that determines how the pod should look, which applications run in the containers of the pod, etc., as will be understood by those skilled in the art. With the assistance of the scheduler, the controller manager of the computer system 202 can reconcile or assign the pod to the worker node virtual machine 310.
[0033] In block 504, the worker node virtual machine 310 is configured to monitor the pods using the kubelet 312 and to invoke a sandbox function (as an environment) in the runtime software (having computer executable instructions). In one or more embodiments, as further described below, after the shim 320_1 is started, the shim 320_1 can invoke the sandbox function (as a computing environment). A sandbox 460 or pod sandbox is an isolated computing environment on a worker node virtual machine. For example, the kubelet 312 is configured to invoke a sandbox function (e.g., run pod sandbox) in the CRI 314 to start the execution of a pod. A sandbox is a security mechanism to isolate running programs, usually in an effort to mitigate the spread of system failures and / or software vulnerabilities. A sandbox is often used to execute a program or code without risking harm to the host machine or operating system. The kubelet 312 and / or the CRI 314 can invoke the CNI 316.
[0034] In block 506, the worker node VM 310 is configured to start / create a new shim 320_1 in preparation for the new pod, if not already created above. For example, the CRI 314 can call the shim 320_1 to create a remote VM for the new pod. The shim 320_1 is configured to create / start a shell pod 464 in the pod sandbox (environment) such that the shim 320_1 and / or the shell pod appear to the worker node VM 310 as an actual pod VM. The shell pod 464 can be an incomplete pod used as a placeholder for the pod VM to be created. More specifically, the worker node VM 310 interacts with the shim 320_1 that manages / runs the pod sandbox 460 with the shell pod 464 such that the shim 320_1 is representative of the pod. The worker node VM 310 considers and / or recognizes the shim 320_1 that manages / runs the pod sandbox 460 having the shell pod 464 as the actual pod VM because of the shell pod 464. The shell pod 464 is started like any other pod, but is paused before it completes setup.
[0035] In block 508, the worker node virtual machine 310 is configured to use shim 320_1 to call the (pod) virtual machine service 432 and have the virtual machine service 432 create / instantiate the pod virtual machine 301. The shim 320_1 includes computer executable instructions for communicating with the virtual machine service 432 and requesting that the pod virtual machine 301 be created on a host machine. The virtual machine service 432 is a service to the cluster and provides access to endpoints. The shim 320_1 of the worker node 310 needs a service endpoint so it calls the virtual machine service 432, which then selects a host machine (e.g., a computer system) according to its policies, such as host resource usage. For example, worker node virtual machine 310 may be hosted on computer system 251, and pod virtual machine 301 may be hosted separately on the same computer system 251 (i.e., not nested in worker node virtual machine 310) or on a different computer system 252, or both. Unlike state of the art systems that create pods such that the pods are within the worker node virtual machine itself, in accordance with one or more embodiments of the present invention, shim 320_1 has computer-executable instructions that cause virtual machine service 432 to obtain virtual resources (including CPU, memory, I / O, etc.) to create pod virtual machine 301 outside of worker node virtual machine 310.
[0036] In block 510, the worker node VM 310 is configured to perform pod VM initialization using shim 320_1, create / invoke / setup agent 420, create / invoke / setup internal CRI 414 (e.g., internal containerd CRI) in pod VM 301, and set up a network and tunnel between the worker node VM 310 and pod VM 301. To set up the network, shim 320_1 is configured to communicate with and / or instruct virtual machine service 432 to cause network handler 434 to create a logical network connection between the worker node VM 310 and pod VM 301. This logical network connection is an overlay network that sits on top of the underlay network. Using the overlay network, the worker node VM 310 is configured to provide an Internet Protocol (IP) address to the pod VM 301. The logical network connection creates a tunnel between the worker node virtual machine 310 and the pod virtual machine 301 to communicate as described herein. The worker node virtual machine 310 has a worker node identity and the pod virtual machine 301 has a pod identity, both of which are utilized to create the logical network connection and stored in the mapping table 650 of FIG. 6. Through a logical connection from a virtual Ethernet (e.g., eth0) in the worker node virtual machine 310 to a virtual Ethernet (e.g., eth0) in the pod virtual machine 301, the worker node virtual machine 310 and the pod virtual machine 301 are on the same network. The network handler 434 may work in conjunction with the hypervisor to provide the logical network connection. The network handler 434 runs on a host (e.g., computer system 251) and is responsible for creating an underlay network to connect remote pod virtual machines and the worker node virtual machines.If the pod VM and the worker node VM are running on two separate hosts, there may be two separate host operating systems and two network handlers working together in the network.
[0037] After setting up the logical connection, shim 320_1 creates an agent 420, and the agent 420 in pod virtual machine 301 is configured to communicate with shim 320_1 in worker node virtual machine 310. In one or more embodiments, shim 320_1 can invoke agent 420 created in pod virtual machine 301. In one or more embodiments, shim 320_1 can create agent 420 in sandbox 460 and transfer agent 420 to pod virtual machine 301. Agent 420 includes computer executable instructions for operating as described herein. After setting up the logical connection, shim 320_1 creates internal CRI 414, and internal CRI 414 is configured to create a container in pod virtual machine 301. Agent 420 is configured to assist in transferring requests between shim 320 and internal CRI 414. In one or more embodiments, shim 320_1 can invoke internal CRI 414 that is created in pod virtual machine 301 using agent 420. In one or more embodiments, shim 320_1 can create CRI 414 in sandbox 460 and transfer CRI 414 to pod virtual machine 301 via agent 420.
[0038] In block 512, shim 320_1 is configured to call or have internal CRI 414 create exemplary containers 440 and 441. For example, shim 320_1 is configured to forward container APIs and / or API objects for shell pod 464 to pod virtual machine 301, particularly to internal CRI 414, via agent 420, for internal CRI 414 to create containers 440 and 441. Shim 320_1 is configured to send a request to agent 420, which then redirects the request to internal CRI 414 of pod virtual machine 301. CRI 414 is instructed to call containerd to create containers 440 and 441. Containers 440 and 441 are each opened / run to start or instantiate a separate software application on pod virtual machine 301, such that the software application is executed on the host machine running pod virtual machine 301. Instead of containers 440 and 441 being created within a shell pod 464 in sandbox 460, containers 440 and 441 are created within pod virtual machine 301. Additionally, a suspended container 462 may be started within sandbox 460. A suspended container 462 may be an incomplete and / or shell of a container.
[0039] In block 514, the customized cAdvisor 410 and / or the kubelet 312 (the customized cAdvisor 410 can be in the kubelet 312) is configured to invoke the resource aware service 430 to report the pod virtual machine 301 for resource monitoring. Reporting the pod virtual machine 301 includes reporting the pod identification information of the pod virtual machine 301 to the resource aware service 430 and the API server 204. The resource aware service 430 is configured to maintain resources of the pod virtual machine 301.
[0040] 6 is a block diagram of an exemplary network architecture for a system 200 for providing and using remote pods as virtual machines in Kubernetes, in accordance with one or more embodiments of the present invention. The system 200 of FIG. 6 omits some elements so as not to obscure the figure, but it should be understood that the system 200 includes the elements and their functionality described herein. For simplicity, pod virtual machines 301, 302 are shown, but the description also applies to pod virtual machine 303 and any additional pod virtual machines.
[0041] The host network handler 434 is responsible for providing access to the underlay network to set up the overlay network for the worker node virtual machine 310 and the pod virtual machines 301, 302. The underlay network is the physical infrastructure on which the overlay network is built. The underlay network is the underlying network responsible for the distribution of packets across the network. The overlay network can be a virtual local area network (VLAN) and / or any applicable network set up by the CNI 316. Each of the pod virtual machines 301, 302 has a unique pod namespace when initialized by the shim 320_1 during the creation of the pod virtual machine. For example, the pod virtual machine 301 has a pod namespace 601 and the pod virtual machine 302 has a pod namespace 602. Similarly, the shim 320_1 is configured to create a proxy network namespace 611 and a proxy network namespace 612 in the worker node virtual machine 310. Each pod namespace 601, 602 is an object within a pod virtual machine 301, 302, respectively, and each proxy network namespace 611, 612 is an object within a worker node virtual machine 310. Shim 320_1 assigns proxy network namespace 611 to be a proxy or proxy network for pod virtual machine 301 using the pod identity of pod virtual machine 301 stored in mapping table 650. Shim 320_1 assigns proxy network namespace 612 to be a proxy or proxy network for pod virtual machine 302 using the pod identity of pod virtual machine 302 stored in mapping table 650. This mapping is stored in mapping table 650.
[0042] Each pod virtual machine 301, 302 has a virtual Ethernet connection into the pod namespace with the containers, and a virtual Ethernet connection out of the pod namespace. For example, pod virtual machine 301 has a virtual Ethernet connection (VETH1) in pod namespace 601 connected to another virtual Ethernet connection (VETH0) outside of pod namespace 601 in pod virtual machine 301, and the virtual Ethernet connections (VETH0 and VETH1) are a pair. Pod virtual machine 302 has a virtual Ethernet connection (VETH1) in pod namespace 602 connected to another virtual Ethernet connection (VETH0) outside of pod namespace 602 in pod virtual machine 302, and the virtual Ethernet connections (VETH1 and VETH0) are a pair on pod virtual machine 302. In the worker node virtual machine 310, the proxy network namespace 611 has a virtual Ethernet connection (VETH1) in the proxy network namespace 611 connected to another virtual Ethernet connection (VETH0) outside the proxy network namespace 611, and the virtual Ethernet connections (VETH1 and VETH0) are a pair. In the worker node virtual machine 310, the proxy network namespace 612 has a virtual Ethernet connection (VETH3) in the proxy network namespace 612 connected to another virtual Ethernet connection (VETH2) outside the proxy network namespace 612, and the virtual Ethernet connections (VETH3 and VETH2) are another pair. The proxy network namespaces 611, 612 are each connected to a bridge (with its own IP address) via their respective virtual Ethernet connections.
[0043] The CNI 316 and / or shim 320_1 are configured to create a tunnel (e.g., tunnel 0), such as a virtual private network, between the proxy network namespace 611 in the worker node virtual machine 310 and the pod namespace 601 in the pod virtual machine 301, such that traffic (e.g., data) is mirrored / copied and communicated bidirectionally between the worker node virtual machine 310 and the pod namespace 601. Similarly, the CNI 316 and / or shim 320_2 are configured to create another tunnel (e.g., tunnel 1), such as a virtual private network, between the proxy network namespace 612 in the worker node virtual machine 310 and the pod namespace 602 in the pod virtual machine 302, such that traffic (e.g., data) is mirrored / copied and communicated bidirectionally between the worker node virtual machine 310 and the pod namespace 602. In other words, the tunnel and virtual Ethernet connection mirror traffic bidirectionally. The CNI 316 and / or shim 320_1 are configured to assign a unique IP address to each of the pod namespaces 601, 602 within the pod virtual machines 301, 302, all of which are stored in a mapping table 650.
[0044] As described herein, the pod virtual machines 301, 302, 303 can be deployed to run on any host machine, which may be different from the host machine that runs the worker node virtual machine 310, or one or more of the pod virtual machines 301, 302, 303 may be on the same host machine as the worker node virtual machine 310 while other pod virtual machines are on different host machines, or both. From the worker node's perspective, there is no awareness that the actual container footprint is on a different virtual machine than the worker node virtual machine 310. This means that there is no CNI code on the pod virtual machines. Additionally, the worker node virtual machine 310 interfaces with shims 320_1, 320_2, 320_3 that created proxy network namespaces, and thus, using the proxy network namespaces, the worker node virtual machine 310 sends and receives data to and from the pod namespaces as if the pod virtual machines 301, 302, 303 were on the same host machine.
[0045] 7 is a flow diagram of a computer-implemented method 700 for instantiating / starting and using a remote pod virtual machine remote from a worker node virtual machine in accordance with one or more embodiments of the present invention. The computer-implemented method 700 of FIG. 7 may be implemented using the system 200. Reference may be made to FIGS. 1-6 as necessary.
[0046] At block 702 of the computer-implemented method 700, the worker node virtual machine 310 is configured to instantiate / start / invoke intermediate software (e.g., shim 320) within the worker node virtual machine 310. For example, the CRI 316 (e.g., containerd, etc.) may instantiate / start / invoke the shim 320 within the worker node virtual machine 310.
[0047] In block 704, worker node virtual machine 310 is configured to cause a pod virtual machine (e.g., pod virtual machine 301) to be created using intermediate software (e.g., shim 320_1), where the pod virtual machine (e.g., pod virtual machine 301) is remote from worker node virtual machine 310. For example, pod virtual machine 301 is not nested and / or contained within worker node virtual machine 310. Pod virtual machine 301 may be hosted on the same host machine as worker node virtual machine 310, e.g., both may be hosted on computer system 251. Pod virtual machine 301 and worker node virtual machine 310 may be hosted on different host machines, e.g., one may be hosted on computer system 251 and the other may be hosted on computer system 252.
[0048] In block 706, the worker node VM 310 is configured to establish an overlay network between the intermediate software (e.g., shim 320_1) in the worker node VM 310 and the pod space (e.g., pod namespace 601) in the pod VM (e.g., pod VM 301).
[0049] In block 708, the worker node virtual machine 310 is configured to cause a container (e.g., container 440, 441) to be created within a pod virtual machine (e.g., pod virtual machine 301) using the overlay network, where the worker node virtual machine 310 is configured to manage communications with the pod virtual machine (e.g., pod virtual machine 301) using the overlay network.
[0050] The intermediate software (e.g., shim 320_1) is configured to generate an isolated computing environment on the worker node virtual machine 310. For example, shim 320_1 is configured to initiate / generate a sandbox 460 as an isolated computing environment on the worker node virtual machine 310.
[0051] The intermediary software (e.g., shim 320_1) is configured to create a proxy network namespace within an isolated computing environment on a worker node virtual machine. For example, shim 320_1 is configured to initiate / create a proxy network namespace 611 within sandbox 460 as an isolated computing environment on worker node virtual machine 310.
[0052] The intermediary software (e.g., shim 320_1) is configured to connect a logical network between a proxy network namespace (e.g., proxy network namespace 611) on the worker node virtual machine 310 and a pod space (e.g., pod namespace 601) on the pod virtual machine (e.g., pod virtual machine 301). The logical network (through the overlay network) can be a tunnel such as a virtual private network using a virtual local area network, virtual ethernet, or the like for communication between the proxy network namespace 611 on the worker node virtual machine 310 and the pod namespace 601 (having running software applications formed using containers 440).
[0053] An Internet Protocol (IP) address is assigned to a proxy network space (e.g., proxy network namespace 611) of worker node virtual machine 310, and intermediary software is configured to reassign / move the IP address to a pod space (e.g., pod namespace 601). For example, shim 320_1 is configured to pull an image of a container to be created, shim 320_1 is configured to create / start container 462 in sandbox 460, which is then paused. Container 462 is stopped and is a shell container. When shim 320_1 notifies CNI 316 that container 462 has been created / started on worker node VM 310, CNI 316 assigns a TCP / IP address (e.g., using Classless Inter-Domain Routing (CIDR)) to the suspended container 462, and shim 320_1 is configured to move / assign the TCP / IP address from the proxy network namespace 611 (which may be in sandbox 460) in worker node VM 310 to pod VM 301, thereby setting up the network. Thus, pod namespace 601 is assigned a TCP / IP address.
[0054] In response to receiving the container for the isolated computing environment on the worker node virtual machine, the worker node virtual machine 310 is configured to transfer the container to the pod virtual machine and associate it with the pod namespace. For example, shim 320_1 is configured to transfer containers 440, 441 to the pod namespace 601. The intermediate software (e.g., shim 320_1) is configured to cause the software application in the container 440, 441 to be instantiated on the pod virtual machine (e.g., pod virtual machine 301). Thus, the software application is configured to run on the pod virtual machine 301, which is remote from the worker node virtual machine 310.
[0055] Although this disclosure includes detailed descriptions of cloud computing, it should be understood that implementation of the teachings described herein is not limited to a cloud computing environment. Rather, embodiments of the invention may be implemented in conjunction with any other type of computing environment now known or later developed.
[0056] Cloud computing is a service delivery model that enables convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) and enables these computing resources to be rapidly provisioned and released with minimal administrative effort or interaction with a service provider. The cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
[0057] Its features are as follows:
[0058] On-Demand Self-Service: Cloud consumers can unilaterally provision computing capacity, such as server time and network storage, automatically as needed, without the need for human interaction with the provider of the service.
[0059] Pervasive Network Access: Functionality is available over the network and accessed through standard mechanisms that facilitate use by heterogeneous thin- or thick-client platforms (e.g., cell phones, laptops, and PDAs).
[0060] Resource Pooling: Providers' computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically allocated and reallocated as required. There is location independence in that consumers generally have no control or knowledge of the exact location of the provided resources, although it may be possible to specify the location at a higher level of abstraction (e.g., country, state, or data center).
[0061] Rapid Elasticity: Capabilities can be rapidly and elastically provisioned, sometimes automatically, to rapidly scale out and rapidly release to rapidly scale in. To the consumer, the capabilities available for provisioning often appear to be unlimited and can be purchased in any quantity at any time.
[0062] Service Metering: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at a certain level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both providers and consumers of the services utilized.
[0063] The service model is as follows:
[0064] Software as a Service (SaaS): The capability offered to a consumer to use a provider's applications running on a cloud infrastructure. The applications are accessible from a variety of client devices through thin-client interfaces such as web browsers (e.g., web-based email). With the possible exception of limited user-specific application configuration settings, the consumer does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, storage, or individual application features.
[0065] Platform as a Service (PaaS): The capability offered to a consumer to deploy applications that the consumer creates or acquires, written using programming languages and tools supported by the provider, onto a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, such as networks, servers, operating systems, or storage, but does control the deployed applications and, in some cases, the application hosting environment configuration.
[0066] Infrastructure as a Service (IaaS): The capability offered to consumers to provision processing, storage, network, and other basic computational resources on which the consumer can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but does control the operating systems, storage, deployed applications, and possibly limited control over selected network components (e.g., host firewalls).
[0067] The deployment model is as follows:
[0068] Private Cloud: The cloud infrastructure is operated exclusively for an organization. This cloud infrastructure may be managed by the organization or a third party and may reside on-premise or off-premise.
[0069] Community Cloud: Cloud infrastructure is shared by multiple organizations to support a specific community of shared concerns (e.g., mission, security requirements, policies, and compliance considerations). This cloud infrastructure may be managed by the organizations or a third party and may reside on-premise or off-premise.
[0070] Public Cloud: The cloud infrastructure is available to the general public or large industry groups and is owned by organizations that sell cloud services.
[0071] Hybrid Cloud: A cloud infrastructure is a composition of two or more clouds (private, community, or public) that remain unique entities but are tied together by standardized or proprietary technologies that allow for data and application portability (e.g., cloud bursting for load balancing between clouds).
[0072] Cloud computing environments are service-oriented with an emphasis on statelessness, low coupling, modularity, and semantic interoperability. At the heart of cloud computing is an infrastructure that includes a network of interconnected nodes.
[0073] Referring now to FIG. 8, an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 includes one or more cloud computing nodes 10 with which a local computing device used by a cloud consumer, such as, for example, a personal digital assistant (PDA) or mobile phone 54A, a desktop computer 54B, a laptop computer 54C, or an automobile computer system 54N, or combinations thereof, may communicate. The nodes 10 may communicate with each other. They may be physically or virtually grouped in one or more networks, such as a private cloud, a community cloud, a public cloud, or a hybrid cloud, or combinations thereof, as described herein above (not shown). This enables the cloud computing environment 50 to provide infrastructure, platform, and / or software as a service without the cloud consumer having to maintain resources on a local computing device. It should be understood that the types of computing devices 54A-54N shown in FIG. 8 are intended as examples only, and that the computing node 10 and cloud computing environment 50 can communicate with any type of computerized device via any type of network and / or network addressable connections (e.g., using a web browser).
[0074] Referring now to Figure 9, a set of functional abstraction layers provided by cloud computing environment 50 (Figure 8) is shown. It should be understood in advance that the components, layers, and functions shown in Figure 9 are intended to be illustrative only, and embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:
[0075] Hardware and software layer 60 includes hardware and software components. Examples of hardware components include mainframes 61, RISC (reduced instruction set computer) architecture based servers 62, servers 63, blade servers 64, storage devices 65, and networks and networking components 66. In some embodiments, software components include network application server software 67 and database software 68.
[0076] The virtualization layer 70 provides an abstraction layer from which the following examples of virtual entities may be provided: virtual servers 71, virtual storage 72, virtual networks including virtual private networks 73, virtual applications and operating systems 74, and virtual clients 75.
[0077] In one example, the management layer 80 may provide the functions described below: Resource provisioning 81 provides dynamic procurement of computational and other resources utilized to execute tasks within the cloud computing environment. Metering and pricing 82 provides cost tracking as resources are utilized within the cloud computing environment and charging or billing for the consumption of these resources. In one example, these resources may include application software licenses. Security provides identity verification for cloud consumers and tasks, and protection for data and other resources. User portal 83 provides consumers and system administrators with access to the cloud computing environment. Service level management 84 provides allocation and management of cloud computational resources such that requested service levels are met. Service level agreement (SLA) planning and fulfillment 85 provides pre-positioning and procurement of cloud computational resources anticipated to be required in the future according to SLAs.
[0078] The workload tier 90 provides examples of functions for which a cloud computing environment may be utilized. Examples of workloads and functions that may be provided from this tier include mapping and navigation 91, software development and lifecycle management 92, virtual classroom instructional delivery 93, data analytics processing 94, transaction processing 95, and software applications 96 implemented in the workloads and functions (e.g., software applications in worker node virtual machines 310, software applications in pod virtual machines 301, 302, 303, etc.).
[0079] Various embodiments of the present invention are described herein with reference to the associated drawings. Alternative embodiments of the present invention may be devised without departing from the scope of the present invention. In the following description and drawings, various connections and positional relationships between elements (e.g., above, below, adjacent, etc.) are described. These connections and / or positional relationships may be direct or indirect unless otherwise specified, and the present invention is not intended to be limited in this respect. Thus, coupling of entities may refer to either direct or indirect coupling, and positional relationships between entities may be direct or indirect positional relationships. Furthermore, various tasks and process steps described herein may be combined into a more comprehensive procedure or process having additional steps or functions not described in detail herein.
[0080] One or more of the methods described herein may be implemented using any one or a combination of the following technologies: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits (ASICs) having appropriate combinatorial logic gates, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), etc., each of which is well known in the art.
[0081] For the sake of brevity, conventional techniques relating to making and using aspects of the present invention may or may not be described in detail herein. In particular, various aspects of computing systems and specific computer programs for implementing various technical features described herein are well known. Thus, for the sake of brevity, many conventional implementation details are mentioned only briefly herein or omitted entirely without providing details of well-known systems or processes or combinations thereof.
[0082] In some embodiments, various functions or actions may be performed at a given location, or in conjunction with the operation of one or more devices or systems, or both. In some embodiments, a portion of a given function or action may be performed at a first device or location, and remaining functions or actions may be performed at one or more additional devices or locations.
[0083] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting. The singular forms "a," "an," and "the," as used herein, are intended to include the plural forms unless the context clearly dictates otherwise. Furthermore, it will be understood that the terms "comprises" and / or "comprising," as used herein, indicate the presence of stated features, integers, steps, operations, elements, or components, or combinations thereof, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups thereof, or combinations thereof.
[0084] The corresponding structures, materials, acts, and equivalents of all means-plus-function or step-plus-function elements within the scope of the appended claims are intended to include any structures, materials, or acts for performing a function in combination with other claim elements that are specifically claimed. The present disclosure has been presented for purposes of illustration and description, but is not intended to be exhaustive or limited to the disclosed form. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the present disclosure. The embodiments have been selected and described in order to best explain the principles and practical applications of the disclosure, and to enable those skilled in the art to understand the disclosure in various embodiments with various modifications as suited to the particular uses contemplated.
[0085] The diagrams shown herein are exemplary. There may be many variations to the diagrams or the steps (or operations) described therein without departing from the scope of the present disclosure. For example, actions may be performed in a different order, or actions may be added, deleted, or modified. Also, the term "coupled" refers to having a signal path between two elements, and does not imply a direct connection between elements without an intervening element / connection between them. All of these variations are considered part of the present disclosure.
[0086] The following definitions and abbreviations are used for the interpretation of the claims and the specification. As used herein, the terms "comprises," "comprising," "includes," "including," "has," "having," "contains," or "containing," or any other variation thereof, are intended to cover a non-exclusive inclusion. For example, a composition, mixture, process, method, article, or device that comprises recited elements is not necessarily limited to only those elements, but can include other elements not expressly recited or inherent to such composition, mixture, process, method, article, or device.
[0087] Moreover, the term "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any embodiment or design described herein as "exemplary" should not necessarily be construed as preferred or advantageous over other embodiments or designs. The terms "at least one" and "one or more" are understood to include any integer number greater than or equal to one, i.e., 1, 2, 3, 4, etc. The term "multiple" is understood to include any integer number greater than or equal to two, i.e., 2, 3, 4, 5, etc. The term "connected" can include both indirect and direct "connections."
[0088] The terms "about," "substantially," "approximately," and variations thereof are intended to include the degree of error associated with measurement of a particular quantity based on the equipment available at the time of the present application. For example, "about" can include a range of ±8%, or 5%, or 2% of a given value.
[0089] The present invention may be a system, method, and / or computer program product integrated at any possible level of technical detail. The computer program product may include a computer readable storage medium (or multiple computer readable storage media) having computer readable program instructions for causing a processor to implement aspects of the present invention.
[0090] A computer readable storage medium may be a tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. A non-exhaustive list of more specific examples of computer readable storage media includes the following: portable computer diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically encoded devices such as punch cards or raised structures in grooves with instructions recorded thereon, and any suitable combination of the above. As used herein, a computer-readable storage medium should not be construed as a transitory signal per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., light pulses through a fiber optic cable), or electrical signals transmitted over electrical wires.
[0091] The computer readable program instructions described herein may be downloaded from a computer readable storage medium to the respective computing / processing device or to an external computer or storage device via a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and forwards the computer readable program instructions to a computer readable storage medium within the respective computing / processing device for storage.
[0092] The computer readable program instructions for carrying out the operations of the present invention may be either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code written in any combination of one or more programming languages, including object oriented programming languages such as Smalltalk®, C++, and procedural programming languages such as the “C” programming language or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer as a standalone software package, partially on the user's computer, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), may execute computer readable program instructions to perform aspects of the invention by utilizing state information of the computer readable program instructions to personalize the electronic circuitry.
[0093] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.
[0094] These computer readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, executed by the processor of the computer or other programmable data processing apparatus, produce means for performing the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams. These computer readable program instructions may also be stored on a computer readable medium, such that the computer readable storage medium on which the instructions are stored comprises an article of manufacture including instructions implementing aspects of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams, and can direct a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner.
[0095] The computer readable program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device to produce a computer-implemented process that causes a series of operational steps to be performed on the computer, other programmable apparatus, or other device, such that the instructions, which execute on the computer, other programmable apparatus, or other device, perform the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.
[0096] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment, or portion of instructions, including one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, depending on the functionality involved, two blocks shown in succession may in fact be executed substantially simultaneously, or the blocks may be executed in the reverse order, as the case may be. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions or a combination of dedicated hardware and computer instructions.
[0097] The description of various embodiments of the present invention is presented for illustrative purposes, but is not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terms used in this specification are selected to best explain the principles of the embodiments, practical applications, or technical improvements beyond the technology found in the market, or to enable those skilled in the art to understand the embodiments described in this specification.
Claims
1. 1. A computer-implemented method, comprising: Instantiating intermediate software within a worker node virtual machine; creating a pod virtual machine using the intermediate software, the pod virtual machine being remote from the worker node virtual machine; Establishing an overlay network between the intermediate software in the worker node virtual machine and a pod space in the pod virtual machine; creating a container in the pod virtual machine using the overlay network, wherein the worker node virtual machine is configured to manage communication with the pod virtual machine using the overlay network; 4. A computer-implemented method comprising:
2. 2. The computer-implemented method of claim 1, wherein the intermediate software is configured to generate an isolated computing environment on the worker node virtual machine.
3. 2. The computer-implemented method of claim 1 , wherein the intermediary software is configured to create a proxy network space within an isolated computing environment on the worker node virtual machine.
4. 2. The computer-implemented method of claim 1 , wherein the intermediary software is configured to connect a logical network between a proxy network space on the worker node virtual machine and the pod space on the pod virtual machine.
5. an Internet Protocol (IP) address is assigned to the worker node virtual machine in a proxy network space; the intermediate software is configured to reassign the IP address to the pod space; 10. The computer-implemented method of claim 1.
6. 2. The computer-implemented method of claim 1 , further comprising, in response to receiving a container for an isolated computing environment on the worker node virtual machine, transferring the container to the pod virtual machine and associating the container with the pod space.
7. 7. The computer-implemented method of claim 6, wherein the intermediate software is configured to cause a software application in the container to be instantiated on the pod virtual machine.
8. 1. A system comprising: a memory having computer readable instructions; One or more processors for executing the computer readable instructions, the computer readable instructions comprising: Instantiating intermediate software within a worker node virtual machine; creating a pod virtual machine using the intermediate software, the pod virtual machine being remote from the worker node virtual machine; Establishing an overlay network between the intermediate software in the worker node virtual machine and a pod space in the pod virtual machine; creating a container in the pod virtual machine using the overlay network, wherein the worker node virtual machine is configured to manage communication with the pod virtual machine using the overlay network; one or more processors to control the one or more processors to perform operations including: Including, the system.
9. 10. The system of claim 8, wherein the intermediate software is configured to generate an isolated computing environment on the worker node virtual machine.
10. 10. The system of claim 8, wherein the intermediary software is configured to create a proxy network space within an isolated computing environment on the worker node virtual machine.
11. 10. The system of claim 8, wherein the intermediary software is configured to connect a logical network between a proxy network space on the worker node virtual machine and the pod space on the pod virtual machine.
12. an Internet Protocol (IP) address is assigned to the worker node virtual machine in a proxy network space; The system of claim 8 , wherein the intermediary software is configured to reassign the IP addresses to the pod spaces.
13. 10. The system of claim 8, wherein the operations further comprise, in response to receiving a container for an isolated computing environment on the worker node virtual machine, transferring the container to the pod virtual machine and associating the container with the pod space.
14. 14. The system of claim 13, wherein the intermediate software is configured to cause a software application in the container to be instantiated on the pod virtual machine.
15. 1. A computer program product comprising a computer-readable storage medium having program instructions embodied thereon, the program instructions being executable by one or more processors, the one or more processors being configured to: Instantiating intermediate software within a worker node virtual machine; creating a pod virtual machine using the intermediate software, the pod virtual machine being remote from the worker node virtual machine; Establishing an overlay network between the intermediate software in the worker node virtual machine and a pod space in the pod virtual machine; creating a container in the pod virtual machine using the overlay network, wherein the worker node virtual machine is configured to manage communication with the pod virtual machine using the overlay network; A computer program product for causing a computer to perform operations including:
16. 20. The computer program product of claim 15, wherein the intermediate software is configured to generate an isolated computing environment on the worker node virtual machine.
17. 20. The computer program product of claim 15, wherein the intermediary software is configured to create a proxy network space within an isolated computing environment on the worker node virtual machine.
18. 16. The computer program product of claim 15, wherein the intermediary software is configured to connect a logical network between a proxy network space on the worker node virtual machine and the pod space on the pod virtual machine.
19. an Internet Protocol (IP) address is assigned to the worker node virtual machine in a proxy network space; 16. The computer program product of claim 15, wherein the intermediary software is configured to reassign the IP addresses to the pod spaces.
20. the operations further include, in response to receiving a container for an isolated computing environment on the worker node virtual machine, transferring the container to the pod virtual machine and associating the container with the pod space; 20. The computer program product of claim 15, wherein the intermediate software is configured to cause a software application in the container to be instantiated on the pod virtual machine.
Citation Information
Patent Citations
Management scheduling technology based on hyper-converged framework
CN112000421A
Multiple virtual network interface support for virtual execution elements
US20200073692A1
Configuring service load balancers with specified backend virtual networks
US20210058327A1
Unified resource management for containers and virtual machines
US20210141655A1
