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.
CN114443239APending Publication Date: 2022-05-06CHINA MOBILE M2M +1

Patent Information

Authority / Receiving Office
CN · China
Current Assignee / Owner
CHINA MOBILE M2M
Publication Date
2022-05-06

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

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.
Need to check novelty before this filing date? Find Prior Art

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