Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Container arrangement method and system applied to Kubernetes

A container and main container technology, applied in the information field, can solve the problem of low universality of the container exit mechanism

Pending Publication Date: 2022-07-29
ALIBABA (CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] This application provides a container arrangement method and system applied to Kubernetes to solve the problem of low universality of container exit mechanism in container arrangement in K8S system

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
  • Container arrangement method and system applied to Kubernetes
  • Container arrangement method and system applied to Kubernetes
  • Container arrangement method and system applied to Kubernetes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present application as recited in the appended claims.

[0028] First, the terms involved in this application are explained.

[0029] Kubernetes: K8S for short, is an open-source system for automatically deploying, scaling, and managing containerized applications. In other words, it is a container orchestration system for container management and load balancing between containers.

[0030] Container: It can be understood as a special process that can...

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

A container arrangement method and system applied to Kubernetes, the method comprising: a Webhook component intercepts and scans a Pod creation request to determine whether a target container includes a first environment variable, the first environment variable being used for indicating that the target container is a sidecar container; under the condition that the target container comprises the first environment variable, Downward API formalized transformation is carried out on the target container; after Downward API formalized transformation is completed, the API server writes Pod configuration information of the target Pod into the distributed database and carries out Downward API formalized transformation on the sidecar container, so that a starting command of the container is modified subsequently through the Downward API, an exit mechanism of the sidecar container is achieved, and universality of a container exit scheme is achieved.

Description

technical field [0001] The present application relates to the field of information technology, and in particular, to a container orchestration method and system applied to Kubernetes. Background technique [0002] Kubernetes is an open-source system for automatically deploying, scaling, and managing containerized target applications. At present, Kubernetes has become a common standard in the field of container orchestration around the world, and more and more short tasks such as artificial intelligence (AI) computing have gradually become popular for job orchestration using Kubernetes. [0003] However, when users use Kubernetes short task orchestration in the production environment, they find that the Pod, which is the smallest orchestration unit of Kubernetes, cannot be used when faced with the mixed orchestration of long and short task containers. This is because when the main container, which is a short-task container, finishes computing and exits, the sidecar container...

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/455
CPCG06F9/45558G06F2009/45562G06F2009/45575
Inventor 孙伟祥张振赵明山
Owner ALIBABA (CHINA) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products