Method and device for injecting into container

A container and expander technology, applied in the field of computer information, can solve problems such as service unavailability, time-consuming, and different additional attributes of old and new Pods.

Pending Publication Date: 2022-05-06
CHINA MOBILE M2M +1
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, when sidecar is injected into a large number of namespace Pods, it will bring some problems: it will bring scheduling pressure to the APIServer of Kubernetes, a large number of Pods will be terminated and then restarted, which will consume a lot of time, and the additional properties of new and old Pods are different.
[0011] The additional attributes of the old and new Pods are different. For example, if the IP of the Pod is changed, the service that is whitelisted for the IP is unavailable, etc.

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

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for injecting into container
  • Method and device for injecting into container
  • Method and device for injecting into container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0055] In the following embodiments of the present invention, Kubernetes: an open source, used to manage containerized applications on multiple hosts in the cloud platform, the goal of Kubernetes is to make deploying containerized applications simple and efficient, Kubernetes provides application deployment, A mechanism for planning, updating, and maintaining.

[0056] Istio: A fully open-source service mesh that connects to existing distributed applications as a transparent layer. It is also a platform with an API interface that can integrate with any logging, telemetry and policy system. Istio's diverse features enable you to successfully and efficiently run distributed microservice architectures, and provide a unified approach to securing, connecting...

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 provides a method and a device for injecting a container. The method comprises the following steps of: determining a self-defined resource type Advanced Sidecar of an application Kubernetes based on deployment containerization; the method comprises the following steps of: determining a scheduling strategy through an expander based on an Advanced Sidecar; the minimum operation unit Pod of the Kubernetes which needs to be injected into the container Sidecar is labeled, and the minimum operation unit Pod of the Kubernetes needs to be injected into the container Sidecar; the method comprises the following steps of: submitting a container Sidecar description file advanced-Sidecar. Yaml to an API (Application Program Interface) server component, determining a Pod of a node to be injected into the container Sidecar through an extender, and storing the Sidecar description file and the Pod of the node into a memory Etcd; and reading the related information of the Pod of the node from the memory Etcd through a kubelet actuator on the node, and injecting the container Sidecar into the Pod of the node. According to the technical scheme, the Sidecar can be injected without restarting the Pod, the work of the Pod cannot be influenced, and the Pod can correctly process all flows in the injection process.

Description

technical field [0001] The invention relates to the field of computer information technology, in particular to a method and device for filling a container. Background technique [0002] With the development of the information society, the scale of background applications is getting larger and larger, and the calls between applications are becoming more and more complex and frequent. Thousands of services are no longer able to solve the user's access needs with a single physical machine. era. [0003] So there are solutions to solve large-scale software application deployment, such as SOA, distributed, and microservices. Although these solutions solve the horizontal and vertical expansion capabilities of software applications, and can theoretically solve the background application requirements of any concurrent and any number of businesses, they subsequently bring more complex monitoring and alarm requirements than single applications. Based on this, the Istio platform reli...

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
IPC IPC(8): G06F9/48G06F9/455
CPCG06F9/4881G06F9/45558G06F2009/45575G06F2009/45595G06F2009/45579
Inventor 张其
Owner CHINA MOBILE M2M
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products