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

Container creation method, server and storage medium

A server and container technology, applied in the field of communication, can solve problems such as access failure

Active Publication Date: 2020-10-16
北京凌云雀科技有限公司
View PDF6 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of this application is to provide a method for creating a container, a server and a storage medium to solve the problems in the prior art when the mapping relationship between the domain name and the IP address cached by the client is not the latest mapping relationship. , the problem that causes access failure

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 creation method, server and storage medium
  • Container creation method, server and storage medium
  • Container creation method, server and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0066] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the appended The figures are only for the purpose of illustration and description, and are not used to limit the protection scope of the present application. Additionally, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate operations implemented in accordance with some embodiments of the application. It should be understood that the operations of the flowcharts may be performed out of order, and steps that have no logical context may be performed in reverse order or concurrently. In addition, those skilled in the art may add one or more other operations t...

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 container creation method, a server and a storage medium. The method comprises the following steps of enabling the first server to create a target network resource with a state service, setting at least one piece of IP address indication information in the configuration file according to the editing operation of the configuration file for the target network resource, enabling the second server to call an application service interface in the first server to obtain a configuration file of the target network resource, and reading at least one piece of IP address indication information in the configuration file, obtaining at least one IP address, determining an unused IP address from the at least one IP address according to a preset storage file, and creating a targetcontainer according to the unused IP address. Compared with the prior art, the method has the following beneficial effects that the client accesses the container on the server in a fixed IP manner byproviding the fixed IP address for the container, so that the problem of access failure caused by cache delay of the mapping relationship between the domain name and the IP address is avoided.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular, to a method for creating a container, a server, and a storage medium. Background technique [0002] As a workload that can provide stateful services in Kubernetes, StatefulSet has been widely used in the industry. In a stateful service, external services need to access the stateful service through a fixed network address. However, in the Kubernetes environment, as the container is updated and restarted, the Internet Protocol (IP) address of the container will change. Therefore, it is impossible to provide a stable IP address to the outside world. [0003] The current solution provided by the community is: provide a domain name for each container under the StatefulSet, and bind the domain name to the container. When the IP of the container changes, the domain name resolution is updated accordingly, so that the domain name points to the latest IP. [0004] Howe...

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): H04L29/08H04L29/12
CPCH04L67/30H04L61/5007
Inventor 刘梦馨朱彦
Owner 北京凌云雀科技有限公司
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