CN108121591A - A kind of implementation method and device of Kubernetes nodes - Google Patents
A kind of implementation method and device of Kubernetes nodes Download PDFInfo
- Publication number
- CN108121591A CN108121591A CN201711365360.1A CN201711365360A CN108121591A CN 108121591 A CN108121591 A CN 108121591A CN 201711365360 A CN201711365360 A CN 201711365360A CN 108121591 A CN108121591 A CN 108121591A
- Authority
- CN
- China
- Prior art keywords
- kubernetes
- container
- loading procedure
- software package
- system software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45533—Hypervisors; Virtual machine monitors
- G06F9/45558—Hypervisor-specific management and integration aspects
- G06F2009/45562—Creating, deleting, cloning virtual machine instances
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of implementation method and device of Kubernetes nodes, this method, including:The system software package of structure internal memory operation system, system software package include in advance:Kubernetes node components and container engine;It is pre-configured with initialization loading procedure;Pre-set kernel module;Kernel module starts initialization loading procedure;Initialization loading procedure generates ram disk in memory;It initializes loading procedure and reads system software package, and system software package is unziped in ram disk;It initializes loading procedure and starts the container engine that solution extrudes;Initialize the Kubernetes node components that loading procedure loading solution extrudes;The control command that Kubernetes controllers outside the reception of Kubernetes node components are sent;Container engine is according to control command load vessel mirror image, so that container mirror image provides container service in memory operating system by Kubernetes node components.The present invention can improve the speed of service of container service.
Description
Technical field
The present invention relates to field of computer technology, the more particularly to a kind of implementation method and device of Kubernetes nodes.
Background technology
Container technique has become a kind of container technique server resource sharing mode being widely recognized as by everybody at present, holds
Device technology can provide greatly flexibly among the process for building container technique operation system example on demand for system manager
Property.
In present container technique, container service is mainly deployed in the hard disk of physical machine, due to the read-write speed of hard disk
Spend relatively low, therefore, the speed of service of container service is relatively low.
The content of the invention
An embodiment of the present invention provides a kind of implementation methods and device of Kubernetes nodes, can improve container service
The speed of service.
On the one hand, an embodiment of the present invention provides a kind of implementation method of Kubernetes nodes, including:
The system software package of structure internal memory operation system in advance, wherein, the system software package includes:Kubernetes
Node component and container engine;
It is pre-configured with initialization loading procedure;
Pre-set kernel module;
The kernel module starts the initialization loading procedure;
The initialization loading procedure generates ram disk in memory;
The initialization loading procedure reads the system software package, and the system software package is unziped to the memory
In disk;
The initialization loading procedure starts the container engine that solution extrudes;
The Kubernetes node components that the initialization loading procedure loading solution extrudes;
The control command that Kubernetes controllers outside the Kubernetes node components reception are sent;
The container engine is according to the control command load vessel mirror image, so that the container mirror image is grasped in the memory
Make to provide container service by the Kubernetes node components in system.
Further,
The system software package of the advance structure internal memory operation system, including:
Establish ram disk image file;
Format the ram disk image file;
The bibliographic structure of root file system is established in the ram disk image file;
The root file system is made in the bibliographic structure;
The Kubernetes node components are added in the bibliographic structure;
The container engine is added in the bibliographic structure;
The ram disk image file is packaged, generates the system software package.
Further,
Before the kernel module of the linux system starts the initialization loading procedure, further comprise:
BIOS (Basic Input Output System, basic input output system) obtains MBR (Main from hard disk
Boot Record, master boot record);
The MBR is loaded into memory by the BIOS;
The MBR the BootLoaders;
Kernel module described in the boot program loads.
Further,
The Kubernetes node components include:Kubelet and Kube-proxy;
The control command that Kubernetes controllers outside the Kubernetes node components reception are sent, including:
The control command that Kubernetes controllers outside the Kubelet receptions are sent;
The container mirror image provides container by the Kubernetes node components in the internal memory operation system and takes
Business, including:
The container mirror image provides container service in the internal memory operation system by the Kube-proxy.
Further,
The system software package includes:/ etc/init.d, the container engine are arranged in described/etc/init.d;
The initialization loading procedure starts the container engine that solution extrudes, including:
The initialization loading procedure starts the container engine in described/etc/init.d that solution extrudes.
Further,
The system software package includes:File/etc/fstab is provided with partition table in the file/etc/fstab
Information;
The system software package is read in the initialization loading procedure, and the system software package is unziped in described
After in deposit, further comprise:
The initialization loading procedure obtains the partition table information, root from the file/etc/fstab that solution extrudes
According to the partition table information by hard disk carry in the internal memory operation system.
Further,
The kernel module supports the ram disk.
Further,
The initialization loading procedure includes:Init programs.
On the other hand, an embodiment of the present invention provides a kind of realization device of Kubernetes nodes, including:
Storage unit, for preserving initialization loading procedure, kernel module and the system software for preserving internal memory operation system
Bag, wherein, the system software package includes:Kubernetes node components and container engine;
The kernel module, for starting the initialization loading procedure;
The initialization loading procedure for generating ram disk in memory, reads the system software package, and by described in
System software package is unziped in the ram disk, starts the container engine that solution extrudes, and loading solution extrudes described
Kubernetes node components;
The Kubernetes node components, for receiving the control command that external Kubernetes controllers are sent;
The container engine, for according to the control command load vessel mirror image, so that the container mirror image is described
In internal memory operation system container service is provided by the Kubernetes node components.
Further,
The system software package includes:File/etc/fstab is provided with partition table in the file/etc/fstab
Information;
The initialization loading procedure is further used for obtaining described point from the file/etc/fstab that solution extrudes
Area's table information, according to the partition table information by hard disk carry in the internal memory operation system.
Further,
This method further comprises:BIOS, MBR and bootstrap;
For obtaining the MBR from hard disk, the MBR is loaded into memory by the BIOS;
The MBR, for initializing the bootstrap;
The bootstrap, for loading the kernel module.
Further,
The Kubernetes node components include:Kubelet and Kube-proxy;
The Kubelet, for receiving the control command that external Kubernetes controllers are sent;
The container mirror image provides container service in the internal memory operation system by the Kube-proxy.
Further,
The system software package includes:/ etc/init.d, the container engine are arranged in described/etc/init.d;
The initialization loading procedure, for start solution extrude described in/etc/init.d in the container engine.
Further,
The kernel module supports the ram disk.
Further,
The initialization loading procedure includes:Init programs.
In embodiments of the present invention, Kubernetes node components and container engine are provided in system software package,
The system software package in memory is installed, realizes installation internal memory operation system, and then run in memory in memory
Kubernetes node components and container engine, by Kubernetes node components and container engine, container mirror image can be real
Container service is provided in the internal memory operation system of present memory, since the read or write speed of memory is very fast, improves container service
The speed of service.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is the present invention
Some embodiments, for those of ordinary skill in the art, without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 is a kind of flow chart of the implementation method for Kubernetes nodes that one embodiment of the invention provides;
Fig. 2 is the flow chart of the implementation method for another Kubernetes nodes that one embodiment of the invention provides;
Fig. 3 is a kind of schematic diagram of the realization device for Kubernetes nodes that one embodiment of the invention provides.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments, based on the embodiments of the present invention, those of ordinary skill in the art
The all other embodiments obtained on the premise of creative work is not made, belong to the scope of protection of the invention.
As shown in Figure 1, an embodiment of the present invention provides a kind of implementation method of Kubernetes nodes, this method can wrap
Include following steps:
Step 101:The system software package of structure internal memory operation system in advance, wherein, the system software package includes:
Kubernetes node components and container engine;
Step 102:It is pre-configured with initialization loading procedure;
Step 103:Pre-set kernel module;
Step 104:The kernel module starts the initialization loading procedure;
Step 105:The initialization loading procedure generates ram disk in memory;
Step 106:The initialization loading procedure reads the system software package, and the system software package is unziped to
In the ram disk;
Step 107:The initialization loading procedure starts the container engine that solution extrudes;
Step 108:The Kubernetes node components that the initialization loading procedure loading solution extrudes;
Step 109:The control life that Kubernetes controllers outside the Kubernetes node components reception are sent
Order;
Step 110:The container engine is according to the control command load vessel mirror image, so that the container mirror image is in institute
It states in internal memory operation system and provides container service by the Kubernetes node components.
In embodiments of the present invention, Kubernetes node components and container engine are provided in system software package,
The system software package in memory is installed, realizes installation internal memory operation system, and then run in memory in memory
Kubernetes node components and container engine, by Kubernetes node components and container engine, container mirror image can be real
Container service is provided in the internal memory operation system of present memory, since the read or write speed of memory is very fast, improves container service
The speed of service.
In an embodiment of the present invention, the system software package of the advance structure internal memory operation system, including:
Establish ram disk image file;
Format the ram disk image file;
The bibliographic structure of root file system is established in the ram disk image file;
The root file system is made in the bibliographic structure;
The Kubernetes node components are added in the bibliographic structure;
The container engine is added in the bibliographic structure;
The ram disk image file is packaged, generates the system software package.
In embodiments of the present invention, can be generated with Kubernetes node components and container engine by above step
System software package.The ram disk image file initially set up is an empty file, is added in the steps afterwards into this document
Add the required content of internal memory operation system.Before ram disk image file is established, further comprise establishing workspace, in work
Make to establish ram disk image file in area.
In addition, after container engine is added, inspection dependence is may further include, then, prepares to start script.
In an embodiment of the present invention, the linux system kernel module start it is described initialization loading procedure it
Before, further comprise:
BIOS obtains MBR from hard disk;
The MBR is loaded into memory by the BIOS;
The MBR the BootLoaders;
Kernel module described in the boot program loads.
In embodiments of the present invention, after host, which powers up, to be started, processor first can search BIOS in system storage,
Then BIOS meetings detecting system resource finds first guiding equipment, be arranged to hard disk here, then can search the MBR of hard disk.
After MBR is loaded into memory by BIOS, control is given to MBR.Specifically, catalogue can be mounted in ram disk by bootstrap,
And specify the kernel module position in physical disks.
In addition, after kernel module starts initialization loading procedure, initialization loading procedure becomes the father of linux system
Process.
In an embodiment of the present invention, the Kubernetes node components include:Kubelet and Kube-proxy;
The control command that Kubernetes controllers outside the Kubernetes node components reception are sent, including:
The control command that Kubernetes controllers outside the Kubelet receptions are sent;
The container mirror image provides container by the Kubernetes node components in the internal memory operation system and takes
Business, including:
The container mirror image provides container service in the internal memory operation system by the Kube-proxy.
In embodiments of the present invention, Kubelet and Kube-proxy is provided in memory operating system.Pass through the two
Kubernetes node components can realize the function of Kubernetes nodes.Specifically, connect in Kubernetes node components
Before the control command that Kubernetes controllers outside receiving are sent, further comprise:Kubelet obtains Kubernetes controls
The information of device processed is established with Kubernetes controllers by the information of Kubernetes controllers and connected.
In an embodiment of the present invention, the system software package includes:/ etc/init.d, the container engine are set
In described/etc/init.d;
The initialization loading procedure starts the container engine that solution extrudes, including:
The initialization loading procedure starts the container engine in described/etc/init.d that solution extrudes.
In embodiments of the present invention, container engine is arranged on/etc/init.d.Furthermore it is also possible to pass through/etc/
Init.d specifies acquiescence to start rank, and initialization loading procedure can start all services and/or the script that acquiescence starts rank, this
In service and/or script include:Container engine and network configuration etc..That is, system software package includes network configuration, just
Beginningization loading procedure can start the network configuration that solution extrudes.
In an embodiment of the present invention, the system software package includes:File/etc/fstab, the file/etc/
Partition table information is provided in fstab;
The system software package is read in the initialization loading procedure, and the system software package is unziped in described
After in deposit, further comprise:
The initialization loading procedure obtains the partition table information, root from the file/etc/fstab that solution extrudes
According to the partition table information by hard disk carry in the internal memory operation system.
It in embodiments of the present invention, can be by hard disk carry in memory operating system by partition table information so that interior
Deposit operating system can perdurable data in a hard disk, and then provide for running container the data storage of persistence.
In an embodiment of the present invention, the kernel module supports the ram disk.
Specifically, kernel module can be the kernel of linux system.
In an embodiment of the present invention, the initialization loading procedure includes:Init programs.
As shown in Fig. 2, an embodiment of the present invention provides a kind of implementation method of Kubernetes nodes, this method can wrap
Include following steps:
Step 201:The system software package of structure internal memory operation system in advance, wherein, system software package includes:
Kubelet, Kube-proxy and container engine.
Specifically, internal memory operation system can be realized by the system software package.
Specifically, which can include compiling linux kernel file;Establish (SuSE) Linux OS root file system;It compiles
Translate (SuSE) Linux OS system file;Linux driving files are compiled, including kernel initialization load document;Internal memory operation system
Mirror image;Initialize loading procedure.
Step 202:It is pre-configured with init programs and kernel module.
Specifically, the various functions that init programs needs are realized are configured.Kernel module is set to support ram disk.
Step 203:BIOS obtains MBR from hard disk.
Specifically, when host powers on, BIOS can be started.
Step 204:MBR is loaded into memory by BIOS.
Step 205:MBR the BootLoaders.
Step 206:Boot program loads kernel module.
Step 207:Kernel module starts init programs.
Step 208:Init programs generate ram disk in memory.
Step 209:Init programs read system software package, and system software package is unziped in ram disk.
Specifically, it can be solved in decompression and extrude Kubelet, Kube-proxy and container engine.
Step 210:Init programs start the container engine that solution extrudes.
Step 211:The Kubelet and Kube-proxy that init programs loading solution extrudes.
Step 212:The control command that Kubernetes controllers outside Kubelet receptions are sent.
Step 213:Container engine is according to control command load vessel mirror image, so that container mirror image is in memory operating system
Container service is provided by Kube-proxy.
Specifically, container mirror image provides container service and is loaded including container mirror configuration, container storage drive load;Container
Mirror image is run.
In embodiments of the present invention, by the Stateless of container cluster and the high speed characteristics of memory of Kubernetes management
It is combined, realizes the memory deployment of statelessly container service.An embodiment of the present invention provides be it is a kind of be simple and efficient carry
The scheme of the container cluster operational efficiency of Kubernetes management is risen, significantly improves the speed of container service operation.
In embodiments of the present invention, the shortcoming disposed for the container cluster operation for promoting Kubernetes management,
Provide a kind of scheme of highly practical, efficient support containerization service arrangement.The embodiment of the present invention can cause
Statelessly container in Kubernetes management nodes is all run in memory, so as to avoid the bottleneck of disk read-write, is added
The reading of fast container mirror image;It also supports container service state being stored in persistent storage simultaneously, ensures the safety of data.
In embodiments of the present invention, will be customized using linux system custom technology and memory system mirror image manufacturing technology
Support the Kubernetes nodes of container deployment;Technology, real-time loading Kubernetes node mirror images are loaded by memory mirror;
Pass through ram disk loading technique, real-time loading memory storage disk;Pass through container storage technology persistent storage container state information.
It realizes in the Kubernetes node systems of memory operation to statelessly container operation support.
The embodiment of the present invention can realize full internal memory operation system, and it is interior can to realize that Kubernetes nodes are all run at
It in depositing, can realize that statelessly container is all run in memory, disk read-write bottleneck can be avoided, support host or network
Store perdurable data.
As shown in figure 3, an embodiment of the present invention provides a kind of realization device of Kubernetes nodes, including:
Storage unit 301, it is soft for preserving the system of initialization loading procedure, kernel module and preservation internal memory operation system
Part bag, wherein, the system software package includes:Kubernetes node components and container engine;
The kernel module 302, for starting the initialization loading procedure;
The initialization loading procedure 303 for generating ram disk in memory, reads the system software package, and will
The system software package is unziped in the ram disk, starts the container engine that solution extrudes, and loading solution extrudes described
Kubernetes node components;
The Kubernetes node components 304, for receiving the control life that external Kubernetes controllers are sent
Order;
The container engine 305, for according to the control command load vessel mirror image, so that the container mirror image is in institute
It states in internal memory operation system and provides container service by the Kubernetes node components.
In an embodiment of the present invention, the system software package includes:File/etc/fstab, the file/etc/
Partition table information is provided in fstab;
The initialization loading procedure is further used for obtaining described point from the file/etc/fstab that solution extrudes
Area's table information, according to the partition table information by hard disk carry in the internal memory operation system.
In an embodiment of the present invention, further comprise:BIOS, MBR and bootstrap;
For obtaining the MBR from hard disk, the MBR is loaded into memory by the BIOS;
The MBR, for initializing the bootstrap;
The bootstrap, for loading the kernel module.
In an embodiment of the present invention, the Kubernetes node components include:Kubelet and Kube-proxy;
The Kubelet, for receiving the control command that external Kubernetes controllers are sent;
The container mirror image provides container service in the internal memory operation system by the Kube-proxy.
In an embodiment of the present invention, the system software package includes:/ etc/init.d, the container engine are set
In described/etc/init.d;
The initialization loading procedure, for start solution extrude described in/etc/init.d in the container engine.
In an embodiment of the present invention, the kernel module supports the ram disk.
In an embodiment of the present invention, the initialization loading procedure includes:Init programs.
The contents such as the information exchange between each unit, implementation procedure in above device, due to implementing with the method for the present invention
Example can be found in the narration in the method for the present invention embodiment based on same design, particular content, and details are not described herein again.
The each embodiment of the present invention at least has the advantages that:
1st, in embodiments of the present invention, Kubernetes node components and container engine are provided in system software package,
The system software package is installed in memory, realizes installation internal memory operation system, and then run in memory in memory
Kubernetes node components and container engine, by Kubernetes node components and container engine, container mirror image can be real
Container service is provided in the internal memory operation system of present memory, since the read or write speed of memory is very fast, improves container service
The speed of service.
It 2nd, in embodiments of the present invention, can be by hard disk carry in memory operating system by partition table information so that
Internal memory operation system can perdurable data in a hard disk, and then provide for running container the data storage of persistence.
3rd, in embodiments of the present invention, it is the high speed of the Stateless of the container cluster of Kubernetes management and memory is special
Property be combined, realize statelessly container service memory deployment.It is simple and efficient an embodiment of the present invention provides a kind of
The scheme of the container cluster operational efficiency of Kubernetes management is promoted, significantly improves the speed of container service operation.
4th, in embodiments of the present invention, the deficiency disposed for the container cluster operation for promoting Kubernetes management
Place, provides a kind of scheme of highly practical, efficient support containerization service arrangement.The embodiment of the present invention can cause
Statelessly container in Kubernetes management nodes is all run in memory, so as to avoid the bottleneck of disk read-write, is added
The reading of fast container mirror image;It also supports container service state being stored in persistent storage simultaneously, ensures the safety of data.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation
Any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those elements,
But also it including other elements that are not explicitly listed or further includes solid by this process, method, article or equipment
Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged
Except in the process, method, article or apparatus that includes the element also in the presence of other identical factor.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and foregoing program can be stored in computer-readable storage medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
In the various media that can store program code such as disk.
It is last it should be noted that:The foregoing is merely presently preferred embodiments of the present invention, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
1. a kind of implementation method of Kubernetes nodes, which is characterized in that
The system software package of structure internal memory operation system in advance, wherein, the system software package includes:Kubernetes nodes
Component and container engine;
It is pre-configured with initialization loading procedure;
Pre-set kernel module;
Including:
The kernel module starts the initialization loading procedure;
The initialization loading procedure generates ram disk in memory;
The initialization loading procedure reads the system software package, and the system software package is unziped to the ram disk
In;
The initialization loading procedure starts the container engine that solution extrudes;
The Kubernetes node components that the initialization loading procedure loading solution extrudes;
The control command that Kubernetes controllers outside the Kubernetes node components reception are sent;
The container engine is according to the control command load vessel mirror image, so that the container mirror image is in the internal memory operation system
In system container service is provided by the Kubernetes node components.
2. according to the method described in claim 1, it is characterized in that,
The system software package of the advance structure internal memory operation system, including:
Establish ram disk image file;
Format the ram disk image file;
The bibliographic structure of root file system is established in the ram disk image file;
The root file system is made in the bibliographic structure;
The Kubernetes node components are added in the bibliographic structure;
The container engine is added in the bibliographic structure;
The ram disk image file is packaged, generates the system software package.
3. according to the method described in claim 1, it is characterized in that,
Before the kernel module of the linux system starts the initialization loading procedure, further comprise:
Basic input-output system BIOS obtains Master Boot Record from hard disk;
The MBR is loaded into memory by the BIOS;
The MBR the BootLoaders;
Kernel module described in the boot program loads.
4. according to the method described in claim 1, it is characterized in that,
The Kubernetes node components include:Kubelet and Kube-proxy;
The control command that Kubernetes controllers outside the Kubernetes node components reception are sent, including:
The control command that Kubernetes controllers outside the Kubelet receptions are sent;
The container mirror image provides container service, bag in the internal memory operation system by the Kubernetes node components
It includes:
The container mirror image provides container service in the internal memory operation system by the Kube-proxy.
5. according to any method in claim 1-4, which is characterized in that
The system software package includes:/ etc/init.d, the container engine are arranged in described/etc/init.d;
The initialization loading procedure starts the container engine that solution extrudes, including:
The initialization loading procedure starts the container engine in described/etc/init.d that solution extrudes;
And/or
The system software package includes:File/etc/fstab is provided with partition table information in the file/etc/fstab;
The system software package is read in the initialization loading procedure, and the system software package is unziped into the ram disk
In after, further comprise:
The initialization loading procedure obtains the partition table information from the file/etc/fstab that solution extrudes, according to institute
Partition table information is stated by hard disk carry in the internal memory operation system;
And/or
The kernel module supports the ram disk;
And/or
The initialization loading procedure includes:Init programs.
6. a kind of realization device of Kubernetes nodes, which is characterized in that including:
Storage unit, for preserving initialization loading procedure, kernel module and the system software package for preserving internal memory operation system,
In, the system software package includes:Kubernetes node components and container engine;
The kernel module, for starting the initialization loading procedure;
The initialization loading procedure for generating ram disk in memory, reads the system software package, and by the system
Software package is unziped in the ram disk, starts the container engine that solution extrudes, the Kubernetes that loading solution extrudes
Node component;
The Kubernetes node components, for receiving the control command that external Kubernetes controllers are sent;
The container engine, for according to the control command load vessel mirror image, so that the container mirror image is in the memory
In operating system container service is provided by the Kubernetes node components.
7. device according to claim 6, which is characterized in that
The system software package includes:File/etc/fstab is provided with partition table information in the file/etc/fstab;
The initialization loading procedure is further used for obtaining the partition table from the file/etc/fstab that solution extrudes
Information, according to the partition table information by hard disk carry in the internal memory operation system.
8. device according to claim 6, which is characterized in that
Further comprise:Basic input-output system BIOS, Master Boot Record and bootstrap;
For obtaining the MBR from hard disk, the MBR is loaded into memory by the BIOS;
The MBR, for initializing the bootstrap;
The bootstrap, for loading the kernel module.
9. device according to claim 6, which is characterized in that
The Kubernetes node components include:Kubelet and Kube-proxy;
The Kubelet, for receiving the control command that external Kubernetes controllers are sent;
The container mirror image provides container service in the internal memory operation system by the Kube-proxy.
10. according to any device in claim 6-9, which is characterized in that
The system software package includes:/ etc/init.d, the container engine are arranged in described/etc/init.d;
The initialization loading procedure, for start solution extrude described in/etc/init.d in the container engine;
And/or
The kernel module supports the ram disk;
And/or
The initialization loading procedure includes:Init programs.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711365360.1A CN108121591A (en) | 2017-12-18 | 2017-12-18 | A kind of implementation method and device of Kubernetes nodes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711365360.1A CN108121591A (en) | 2017-12-18 | 2017-12-18 | A kind of implementation method and device of Kubernetes nodes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108121591A true CN108121591A (en) | 2018-06-05 |
Family
ID=62229358
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711365360.1A Pending CN108121591A (en) | 2017-12-18 | 2017-12-18 | A kind of implementation method and device of Kubernetes nodes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108121591A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109104305A (en) * | 2018-07-26 | 2018-12-28 | 广东浪潮大数据研究有限公司 | A kind of node increases method and relevant apparatus |
CN109117149A (en) * | 2018-07-13 | 2019-01-01 | 下代互联网重大应用技术(北京)工程研究中心有限公司 | A kind of behavior analysis system dispositions method and electronic equipment |
CN110096333A (en) * | 2019-04-18 | 2019-08-06 | 华中科技大学 | A kind of container performance accelerated method based on nonvolatile memory |
CN111061432A (en) * | 2019-12-06 | 2020-04-24 | 北京浪潮数据技术有限公司 | Service migration method, device, equipment and readable storage medium |
CN114546269A (en) * | 2022-02-15 | 2022-05-27 | 京东科技信息技术有限公司 | Storage mounting method and device and electronic equipment |
CN114691050A (en) * | 2022-05-26 | 2022-07-01 | 深圳前海环融联易信息科技服务有限公司 | Cloud native storage method, device, equipment and medium based on kubernets |
WO2023011242A1 (en) * | 2021-07-31 | 2023-02-09 | International Business Machines Corporation | Automated synthesis of reference policies for runtime microservice protection |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012181569A (en) * | 2011-02-28 | 2012-09-20 | Nec Corp | Virtual computer system, and memory management method and memory management program for virtual computer system |
CN103106091A (en) * | 2013-01-31 | 2013-05-15 | 深圳市开立科技有限公司 | Start-up system and method of operating system based on removable storage media |
CN105528237A (en) * | 2015-12-10 | 2016-04-27 | 国云科技股份有限公司 | Openstack-based physical machine system packaging method |
CN107133517A (en) * | 2017-05-08 | 2017-09-05 | 成都德涵信息技术有限公司 | A kind of data restoration method encrypted and calculated based on data in EMS memory |
CN107391141A (en) * | 2017-07-26 | 2017-11-24 | 浪潮软件集团有限公司 | Full-memory operating system supporting container operation |
-
2017
- 2017-12-18 CN CN201711365360.1A patent/CN108121591A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012181569A (en) * | 2011-02-28 | 2012-09-20 | Nec Corp | Virtual computer system, and memory management method and memory management program for virtual computer system |
CN103106091A (en) * | 2013-01-31 | 2013-05-15 | 深圳市开立科技有限公司 | Start-up system and method of operating system based on removable storage media |
CN105528237A (en) * | 2015-12-10 | 2016-04-27 | 国云科技股份有限公司 | Openstack-based physical machine system packaging method |
CN107133517A (en) * | 2017-05-08 | 2017-09-05 | 成都德涵信息技术有限公司 | A kind of data restoration method encrypted and calculated based on data in EMS memory |
CN107391141A (en) * | 2017-07-26 | 2017-11-24 | 浪潮软件集团有限公司 | Full-memory operating system supporting container operation |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109117149A (en) * | 2018-07-13 | 2019-01-01 | 下代互联网重大应用技术(北京)工程研究中心有限公司 | A kind of behavior analysis system dispositions method and electronic equipment |
CN109104305A (en) * | 2018-07-26 | 2018-12-28 | 广东浪潮大数据研究有限公司 | A kind of node increases method and relevant apparatus |
CN110096333A (en) * | 2019-04-18 | 2019-08-06 | 华中科技大学 | A kind of container performance accelerated method based on nonvolatile memory |
CN110096333B (en) * | 2019-04-18 | 2021-06-29 | 华中科技大学 | Container performance acceleration method based on nonvolatile memory |
CN111061432A (en) * | 2019-12-06 | 2020-04-24 | 北京浪潮数据技术有限公司 | Service migration method, device, equipment and readable storage medium |
CN111061432B (en) * | 2019-12-06 | 2022-03-22 | 北京浪潮数据技术有限公司 | Service migration method, device, equipment and readable storage medium |
WO2023011242A1 (en) * | 2021-07-31 | 2023-02-09 | International Business Machines Corporation | Automated synthesis of reference policies for runtime microservice protection |
GB2624320A (en) * | 2021-07-31 | 2024-05-15 | Ibm | Automated synthesis of reference policies for runtime microservice protection |
CN114546269A (en) * | 2022-02-15 | 2022-05-27 | 京东科技信息技术有限公司 | Storage mounting method and device and electronic equipment |
CN114691050A (en) * | 2022-05-26 | 2022-07-01 | 深圳前海环融联易信息科技服务有限公司 | Cloud native storage method, device, equipment and medium based on kubernets |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108121591A (en) | A kind of implementation method and device of Kubernetes nodes | |
CN111930473B (en) | Method and apparatus for deploying image recognition service on container cloud | |
CN109522088A (en) | A kind of virtual machine migration method and device | |
US20070113228A1 (en) | Method and system for carrying multiple suspended runtime images | |
CN107391141A (en) | Full-memory operating system supporting container operation | |
US11334427B2 (en) | System and method to reduce address range scrub execution time in non-volatile dual inline memory modules | |
CN111124286A (en) | Libcloud-based multi-cloud management implementation method | |
US20200364120A1 (en) | System and Method to Prevent Endless Machine Check Error of Persistent Memory Devices | |
CN110941453A (en) | Method and device for initializing Baseboard Management Controller (BMC) configuration | |
CN113296926B (en) | Resource allocation method, computing device and storage medium | |
CN114490062A (en) | Local disk scheduling method and device, electronic equipment and storage medium | |
US10635311B2 (en) | Information handling system with reduced reset during dual in-line memory module goal reconfiguration | |
JP6859463B2 (en) | Methods, devices, devices and media for launching virtual machines | |
US20200364339A1 (en) | System and Method for Storing Operating Life History on a Non-volatile Dual Inline Memory Module | |
US11249767B2 (en) | Boot assist zero overhead flash extended file system | |
CN113127430A (en) | Mirror image information processing method and device, computer readable medium and electronic equipment | |
US11182171B1 (en) | Systems and methods for securely launching an embedded operating system using non-volatile memory namespace identifier mapping | |
CN108304200B (en) | Method and device for upgrading driving program and electronic equipment | |
CN113296876B (en) | Equipment direct connection method, equipment and storage medium of virtual machine | |
CN114064323A (en) | Resource sharing method, terminal, and computer-readable medium | |
CN116243994B (en) | Driving loading method of storage device, operating system starting method and system | |
CN110928582B (en) | Information processing apparatus and method of configuring target device of information processing apparatus | |
CN112540835B (en) | Method and device for operating hybrid machine learning model and related equipment | |
CN112135139B (en) | Method, computer system and storage medium for partitioning encoded video data | |
US11922174B2 (en) | Management controller requests in a UEFI pre-boot environment of an information handling system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180605 |
|
RJ01 | Rejection of invention patent application after publication |