Unlock instant, AI-driven research and patent intelligence for your innovation.

Method for sharing IPC (Information Processing Center) naming space in Pod in Kubernetes

A namespace and unified technology, applied in the field of information processing, can solve the problems that shared memory communication cannot be used, and Kubernetes cannot guarantee that shared memory communication applications are deployed to the same machine.

Active Publication Date: 2018-01-16
BEIJING SKYCLOUD RONGCHUANG SOFTWARE TECH
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the existing technology, Kubernetes application deployment cannot guarantee that applications that need to use shared memory communication can be deployed on the same machine. Even if Pods are deployed on the same machine, shared memory communication cannot be used in different namespaces.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The present invention will be further described below in conjunction with embodiment:

[0022] A method for Pods sharing an IPC namespace in Kubernetes, comprising the following steps:

[0023] Step 1. Add a scheduling policy and deploy producer-pod and consumer-pod to the same host;

[0024] Step 2. At startup, when the pod is a producer-pod, use Kubernetes' native scheduling rules to schedule the producer-pod to the hosts in the cluster; when the pod is a consumer-pod, use the IPCSelector label to find the consumer-pod Dependent producer-pod, associated consumer-pod and producer-pod ipc namespace;

[0025] Step 3. During the use and operation of pods, if any pods are abnormal, use the prefabricated error recovery mechanism to try to process the pods and restore them to a normal state.

[0026] In this embodiment, the step 1 is carried out in the following steps:

[0027] Add predefined labels to hosts; use nodeSelector to deploy producer-pod to hosts that meet the ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for sharing an IPC (Information Processing Center) naming space in Pod in Kubernetes, and belongs to the field of cloud computing platform management. A producer-pod and a consumer-pod are deployed in the same host; when the pod is the consumer-pod, the consumer-pod and the ipc naming space of the producer-pod on which the consumer-pod depends are associated; and meanwhile, an error recovery mechanism is used for processing abnormal pods. When application deployment is carried out in the Kubernetes, applications which need to use shared memory to communicate can be guaranteed to be deployed to the same machine, after the applications are applied to a Kubernetes cluster, the IPC naming space of the pods which need to use the shared memory to communicate canbe associated, and therefore, the shared memory can be used for communication. After certain pods are abnormal, a fault-tolerant mechanism can be used for recovering the pods to be under a normal state.

Description

technical field [0001] The invention belongs to the field of information processing, and in particular relates to a method for Pods sharing an IPC namespace in Kubernetes. Background technique [0002] Docker is a new generation of virtualization technology based on linux container. It uses linux namespace to isolate container resources and provides resource isolation and security for containers. Use docker to quickly build ready-to-run containerized applications; it greatly simplifies the task of managing and deploying applications. [0003] Kubernetes is a Docker-based cross-host container management tool launched by Google, which implements a series of functions including application deployment, high availability management and elastic scaling. In order to serve complex applications composed of multiple containers, Kubernetes introduces pods to manage containers in groups. [0004] A pod contains one or more closely related containers. Each pod contains an InfraContain...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/445G06F9/54
Inventor 张伟
Owner BEIJING SKYCLOUD RONGCHUANG SOFTWARE TECH