Method and device for realizing fixed IP of pod, electronic equipment and readable storage medium

A storage medium and IP address technology, applied in the field of communication, can solve problems such as no longer meeting business needs, and achieve the effect of avoiding abnormalities

Pending Publication Date: 2022-01-28
重庆紫光华山智安科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

As the use of Kubernetes becomes wider and wider, the general way of accessing services no longer meets business needs in some complex and specific scenarios

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 realizing fixed IP of pod, electronic equipment and readable storage medium
  • Method and device for realizing fixed IP of pod, electronic equipment and readable storage medium
  • Method and device for realizing fixed IP of pod, electronic equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0059] In order to make the purposes, 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. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. The components of the embodiments of the application generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations.

[0060] Accordingly, the following detailed description of the embodiments of the application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the application. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art w...

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 device for realizing a fixed IP of a pod, electronic equipment and a readable storage medium, and the method comprises the steps: obtaining a fixed IP required by a to-be-created pod in a creation request, determining a first target node corresponding to the to-be-created pod in a cluster, and enabling the first target node to have a host IP address; and creating the to-be-created pod to deploy the created pod to the first target node, and binding a fixed IP required by the deployed pod on a network card of the first target node to enable the deployed pod to use the fixed IP to start a service for external access. In the scheme, the fixed IP of the pod is not influenced by the host IP of the node where the pod is located, and the fixed IP bound with the pod can not be influenced during subsequent reconstruction or migration, so that the phenomenon of abnormity caused by IP change in the prior art can be avoided.

Description

technical field [0001] The present application relates to the technical field of communications, and in particular, relates to a method, device, electronic device and readable storage medium for realizing pod fixed IP. Background technique [0002] As a container management engine, Kubernetes provides powerful container orchestration capabilities, supports immutable infrastructure and declarative Open APIs, and isolates differences in underlying infrastructure. It has become the cornerstone and de facto standard of cloud native. Kubernetes uses pod to manage a containerized application. Pod is also the smallest unit of k8s orchestration. At the same time, each pod can contain multiple containers. Each pod has its own IP address. The containers in the pod share the same IP and port space , when the pod is created, Kubernetes will internally assign an IP address. [0003] The life cycle of a pod in Kubernetes is short. In the case of pod reconstruction, migration, etc., the c...

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/50H04L61/5007
CPCG06F9/5027
Inventor 徐强
Owner 重庆紫光华山智安科技有限公司
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