CN112667360A - Cloud platform system based on Kubernetes and docker unified scheduling - Google Patents

Cloud platform system based on Kubernetes and docker unified scheduling Download PDF

Info

Publication number
CN112667360A
CN112667360A CN202011639002.7A CN202011639002A CN112667360A CN 112667360 A CN112667360 A CN 112667360A CN 202011639002 A CN202011639002 A CN 202011639002A CN 112667360 A CN112667360 A CN 112667360A
Authority
CN
China
Prior art keywords
cloud
environment
different
environments
module
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
Application number
CN202011639002.7A
Other languages
Chinese (zh)
Inventor
吴升斌
魏巍
陈晓东
叶奕珺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baofu Network Technology Shanghai Co ltd
Original Assignee
Baofu Network Technology Shanghai Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Baofu Network Technology Shanghai Co ltd filed Critical Baofu Network Technology Shanghai Co ltd
Priority to CN202011639002.7A priority Critical patent/CN112667360A/en
Publication of CN112667360A publication Critical patent/CN112667360A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a Kubernetes and docker-based unified scheduling cloud platform system which comprises an environment management module, a resource application module and a project release module. The environment management module is connected with different environments for management according to the different environments; the resource application module applies for resources according to different environments selected by a user; the project release module can select a plurality of environments and request different environments to deploy projects of different environments according to an algorithm. The problem that developers change from original black box development to existing white box development is solved, development cost of the developers is saved, the developers do not need to care about issues, deployment and the like, and only need to concentrate on development tasks; the one-key release, capacity expansion and fault transfer requirements of operation and maintenance personnel are met. The method and the system further comprise the functions of switching of the cloud environment, automatic resource expansion and the like, so that efficient development and operation and maintenance are achieved, and the enterprise cost is reduced.

Description

Cloud platform system based on Kubernetes and docker unified scheduling
Technical Field
The invention relates to the technical field of computers, in particular to a cloud computing scheduling management system.
Background
The cloud computing service refers to the unified management and scheduling of a large number of computing resources connected by a network, so that a computing resource pool is formed to serve users on demand. The user obtains the required resources and services through the network in an on-demand, easily scalable manner. Kubernets + Docker has become the mainstream of cloud computing.
Kubernetes (k 8s for short) was born in google and is an open source for managing containerized applications on multiple hosts in a cloud platform, and the goal of k8s is to make deploying containerized applications simple and efficient, which provides mechanisms for application deployment, planning, updating, and maintenance.
Docker is an open source application container engine that can easily create a lightweight, portable, self-sufficient container for any application.
Docker complements Kubernets, which provides an open standard for packaging and distributing containerized applications, and Kubernets coordinates and manages distributed containerized applications created by Docker. In other words, kubernets provides the infrastructure required to deploy and run applications generated by Docker.
As system software in the field of infrastructure, too low a working level is a major technical obstacle in more scenes in Kubernetes at present. Like the cloud storage analytics, multi-cloud computing also presents a number of challenges: cross-platform "conversion" cost, security, data and application integration, compatibility, networking.
Disclosure of Invention
The invention solves the real-time property of high cost of enterprise development, operation and maintenance, adopts the method of taking over and dispatching a single or a plurality of cloud systems of an enterprise based on kubernets and dockers, solves the problem that developers change the original black box development into the existing white box development, saves the development cost of the developers, does not need to care about the problems of release, deployment and the like, and only needs to concentrate on development tasks; the one-key release, capacity expansion and fault transfer of operation and maintenance personnel are solved. The method also comprises the steps of switching among multiple clouds and automatic resource expansion, so that efficient development, operation and maintenance are achieved, and the enterprise cost is reduced.
In order to solve the technical problems, the invention adopts the technical scheme that:
the invention provides a cloud platform system based on Kubernetes and docker unified scheduling, which comprises,
an environment module: according to different cloud environments, an external access module is independently connected with the different cloud environments for management, and an environment management module allocates different authorities to the connection;
a resource module: according to different cloud environments selected by a user, resource application is carried out; the resources include at least: any one of a host, a command space, a workload, a configuration file and a key;
the project release module: the method comprises the steps of supporting simultaneous selection of a plurality of (at least 2) cloud environments, requesting different cloud environments and deploying projects of different cloud environments according to an algorithm;
and the external access module is used for connecting to an external cloud environment.
Further, the cloud platform system for unified scheduling may also operate on a cloud platform (e.g., a platform of a certain cloud environment), and may take over the platform itself, and may be imported by a user (e.g., importing a config file) or input environment connection information.
Further, in the cloud platform system with unified scheduling, the environment management steps of the environment modules are as follows:
a1: downloading a config file under a kube directory in a cloud environment locally;
a2: importing the file into a unified scheduling cloud platform system, analyzing the config file and distributing different authorities by the unified scheduling cloud platform system;
a3: different external cloud platforms judge the authority, and if the environment of the cloud platform is allowed to be taken over, the cloud platform system is uniformly scheduled to take over the cloud environment of the cloud platform;
after the cloud environment is connected and taken over, all resources in the cloud environment are added with super administrator permission; and when the unified scheduling cloud platform system performs any resource operation, reading the content in the config file and generating a connection environment.
Wherein the config file under the kube directory is a client certificate of the connection cloud environment.
Further, in the cloud platform system for unified scheduling, the resource application steps of the resource modules are as follows:
b1: acquiring a first right of connection with a cloud environment;
b2: all resources in a certain resource pool in the middle of a cloud environment are inquired;
b3: selecting a cloud platform to which migration is required, and writing the inquired resources into a specified cloud environment through different algorithms;
b4: and giving a second authority to the resource pool of the other written cloud environment, wherein the first authority is the same as or different from the second authority.
Further, the method for acquiring the authority for connecting the cloud environment comprises the following steps: and under different cloud environments, the config files under the kube directory are imported into the unified scheduling cloud platform system, and the mutual copying scheduling operation is carried out on the resources between the two environments.
Further, in the cloud platform system with unified scheduling, the project release steps of the project release module are as follows:
c1: when a user issues a project, all the environments with the authority are displayed for selection;
c2: the user selects the environment to send the request cloud scheduling platform, and the platform issues the request cloud scheduling platform to different environments through a scheduling algorithm according to the number of the environments selected by the received content request and gives authority.
In the above-mentioned content of the present application, the project issuing module may adopt the modes of C1 and C2 to replace issuing, so as to implement functions of expansion and contraction of projects, division of areas, and the like.
As described above in this application, the project publishing module provides command line (e.g., emulating Unix-like) operations between multiple environments.
Further, the rights granted in C2 may be all rights, all rights except delete, developer rights with only view rights.
Further, the environment management module is used for connecting the cloud scheduling platform with different environments according to different environments to manage and allocate different authorities.
Furthermore, the environment management module is connected with the cloud environment independently, and can manage a plurality of cloud environments.
Further, the resource application module expands different resources for the user operation resources according to the environment. Further, the resource application module allows a user to copy resources of one environment to another environment according to different algorithms.
Further, the project issuing module may select a plurality of cloud environments when a user issues a project, and request different environments to deploy projects of different cloud environments according to an algorithm.
In the context of this application, the term environment is synonymous with the term cloud environment, unless otherwise specified; in the context of the present application, without being particularly specified, the term cloud environment refers to a cloud platform environment; in the context of this application, the term plurality means at least 2 unless otherwise specified; in the context of the present application, the term unified cloud scheduling platform is the same as the term cloud scheduling platform unless otherwise specified.
Compared with the prior art, the invention has the beneficial technical effects that: when an operation and maintenance person originally deploys a project, the project needs to be executed with a script and deployed to a specified server, and if any server is down, the operation and maintenance person needs to manually process the project to recover the application; if the current environment resources are not enough, the environment needs to be reestablished, and the time cost is increased. Originally, the operation and maintenance personnel are used for monitoring and carrying out capacity expansion aiming at projects in real time. After the technology is applied, operation and maintenance personnel deploy a set of new environment, only one key is needed for processing, and only one number needs to be modified when a plurality of project copies are needed to be installed. The same operating environment is ready in only 1 second. The multi-cloud platform replaces an automatic checking and monitoring platform for operation and maintenance personnel, automatically contracts and extends the project with insufficient resources, and simultaneously provides an alarm strategy and the like. Meanwhile, the multi-cloud platform also provides simultaneous deployment of a plurality of cloud environments, and the disaster recovery problem is solved.
The original concern of developers is to develop, pack and deploy various complex operations on projects, and to check whether the projects can withstand the impact of traffic after being online. The existing effects are that a user only needs to care about project development and submit codes, and the multi-cloud unified scheduling platform can help developers to pack, deploy and release, automatically monitor the use resources of projects, and conduct transverse expansion and contraction of the projects according to project service request quantity.
Drawings
FIG. 1 is a block diagram of one embodiment of the present invention.
FIG. 2 is a flow diagram of an environment management module of the present invention.
FIG. 3 is a flow diagram of a resource application module of the present invention.
FIG. 4 is a flow diagram of an item publication module of the present invention.
Detailed Description
Referring to fig. 1, the invention provides a Kubernetes and docker-based unified scheduling cloud platform system, which comprises an environment management module, a resource module, a project release module and an external access module. Wherein:
an environment module: according to different cloud environments, an external access module is separately connected with different cloud environments (such as common available cloud platforms of Huashi cloud, Ali cloud, wandering cloud and the like) for management, and an environment management module allocates different authorities to the connection;
a resource module: according to different cloud environments selected by a user, resource application is carried out; the resources include at least: any one of a host, a command space, a workload, a configuration file and a key;
the project release module: the method supports the simultaneous selection of at least 2 cloud environments, requests for different cloud environments and deploys projects of different cloud environments according to an algorithm;
and the external access module is used for connecting to an external cloud environment.
Specifically, the cloud scheduling platform itself may also be run on one of the cloud platforms (for example, run on a cloud in a diffuse channel), and it can take over the cloud platform where it is located, and the user imports a cloud platform config file or inputs environment connection information.
The environment management module comprises the following steps:
a1: downloading a config file under a kube directory in a cloud environment locally;
a2: importing the file into a unified scheduling cloud platform system, analyzing the config file and distributing different authorities by the unified scheduling cloud platform system;
a3: different external cloud platforms judge the authority, and if the environment of the cloud platform is allowed to be taken over, the cloud platform system is uniformly scheduled to take over the cloud environment of the cloud platform;
after the cloud environment is connected and taken over, all resources in the cloud environment are added with super administrator permission; and when the unified scheduling cloud platform system performs any resource operation, reading the content in the config file and generating a connection environment.
The resource application module comprises the following steps:
b1: acquiring a first right of connection with a cloud environment;
b2: all resources in a certain resource pool in the middle of a cloud environment are inquired;
b3: selecting a cloud platform to which migration is required, and writing the inquired resources into a specified cloud environment through different algorithms;
b4: and giving a second authority to the resource pool of the other written cloud environment, wherein the first authority is the same as or different from the second authority.
The project publishing module comprises the following steps:
c1: when a user issues a project, all the environments with the authority are displayed for selection;
c2: the user selects the environment to send the request cloud scheduling platform, and the platform issues the request cloud scheduling platform to different environments through a scheduling algorithm according to the number of the environments selected by the received content request and gives authority.
The same operation comprises the expansion and contraction of items, area division and the like;
the project publishing module provides a command line operation between multiple environments that simulates a Unix-like environment, bringing developers closer to going from black-box development to white-box development.
Preferably, the cloud scheduling platform is connected with different environments according to the different environments to manage and allocate different permissions.
Example 1
The unified cloud scheduling platform can manage multiple environments, referring to fig. 2, a user wants to apply for connection to one or more cloud platform environments, such as a cloud platform (I) and a cloud platform (II), a config file under a kube directory is imported into the unified cloud scheduling platform, the unified cloud scheduling platform analyzes the config file after receiving a request, connection authority of the config file is judged, and if the unified cloud scheduling platform is judged to allow taking over of the environment of the cloud platform, a unified scheduling cloud platform system takes over the cloud environment of the cloud platform and shows the connection to the user.
Example 2
According to the application, a unified cloud scheduling platform performs resource application according to different environments selected by a user, referring to fig. 3, the user wants to apply for connection to one or more cloud platform environments and perform resource application, for example, a cloud platform (I) and a cloud platform (II), a config file under a kube directory is imported into the unified cloud scheduling platform, the unified cloud scheduling platform analyzes the config file after receiving a request, judges the connection authority of the file, and if the cloud platform environment is judged to be allowed to be taken over, a unified scheduling cloud platform system takes over the cloud environment of the cloud platform to obtain allocated resources; therefore, the unified cloud scheduling platform queries all resources in a certain resource pool in the middle of one cloud environment.
And then, the unified cloud scheduling platform displays the obtained resources to the user, after the user expands the capacity of the resources, the user sends a request to the unified cloud scheduling platform again, the unified cloud scheduling platform analyzes the config file again according to the steps, and the environment which allows taking over the cloud platform is judged.
Based on similar steps, by using the unified cloud scheduling platform, a user can copy resources of one cloud environment to another cloud environment according to different algorithms.
Example 3
In the application, when a user issues a project, a plurality of cloud environments can be selected, and different cloud environments are requested to deploy the project of different cloud environments according to an algorithm.
Referring to fig. 4, a user needs to deploy a project of the user to each cloud platform, a config file under a kube directory is imported into a unified cloud scheduling platform, the unified cloud scheduling platform analyzes the config file after receiving a request, and judges a connection authority of the file, and if the unified cloud scheduling platform judges that the environment of the cloud platform is allowed to be taken over, a unified scheduling cloud platform system takes over the cloud environment of the cloud platform to deploy the project; and if the right of the project deployment can not be realized, the deployment result is displayed and informed to the client.
The embodiments of the present invention have been described in detail, but the embodiments are merely examples, and the present invention is not limited to the above-described embodiments. Any equivalent modifications and substitutions to those skilled in the art are also within the scope of the present invention. Accordingly, equivalent changes and modifications made without departing from the spirit and scope of the present invention should be covered by the present invention.

Claims (10)

1. The utility model provides a unified scheduling cloud platform system based on Kubernetes and docker which characterized in that includes, environmental module: according to different cloud environments, an external access module is independently connected with the different cloud environments for management, and an environment management module allocates different authorities to the connection;
a resource module: according to different cloud environments selected by a user, resource application is carried out; the resources include at least: any one of a host, a command space, a workload, a configuration file and a key;
the project release module: the method supports the simultaneous selection of at least 2 cloud environments, requests for different cloud environments and deploys projects of different cloud environments according to an algorithm;
and the external access module is used for connecting to an external cloud environment.
2. The cloud platform system for unified scheduling of claim 1, wherein the cloud platform system for unified scheduling is capable of taking over a platform running on itself, and environment connection information can be imported or input by a user.
3. The cloud platform system for unified scheduling of claim 1, wherein the environment management module comprises the following environment management steps:
a1: downloading a config file under a kube directory in a cloud environment locally;
a2: importing the file into a unified scheduling cloud platform system, analyzing the config file and distributing different authorities by the unified scheduling cloud platform system;
a3: different external cloud platforms judge the authority, and if the environment of the cloud platform is allowed to be taken over, the cloud platform system is uniformly scheduled to take over the cloud environment of the cloud platform;
after the cloud environment is connected and taken over, all resources in the cloud environment are added with super administrator permission; and when the unified scheduling cloud platform system performs any resource operation, reading the content in the config file and generating a connection environment.
4. The cloud platform system for unified scheduling of claim 1, wherein the resource application module applies for the resources in the following steps:
b1: acquiring a first right of connection with a cloud environment;
b2: all resources in a certain resource pool in the middle of a cloud environment are inquired;
b3: selecting a cloud platform to which migration is required, and writing the inquired resources into a specified cloud environment through different algorithms;
b4: and giving a second authority to the resource pool of the other written cloud environment, wherein the first authority is the same as or different from the second authority.
5. The unified scheduling cloud platform system of claim 1, wherein the project publishing module is configured to publish the projects according to the following steps:
c1: when a user issues a project, all the environments with the authority are displayed for selection;
c2: the user selects the environment to send the request cloud scheduling platform, and the platform issues the request cloud scheduling platform to different environments through a scheduling algorithm according to the number of the environments selected by the received content request and gives authority.
6. The environment management module of claim 3, wherein the cloud scheduling platform is connected to different environments according to the different environments to perform management and assign different permissions.
7. The environment management module of claim 3, wherein the environment is connected separately for multi-environment management.
8. The resource application module of claim 4, wherein the user operating resources expand different resources according to the environment.
9. The resource application module of claim 4, wherein the user can copy resources of one environment to another environment according to different algorithms.
10. The item publishing module of claim 5, wherein a user can select multiple environments when publishing an item, and requests different environments to deploy the item in different environments according to an algorithm.
CN202011639002.7A 2020-12-31 2020-12-31 Cloud platform system based on Kubernetes and docker unified scheduling Pending CN112667360A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011639002.7A CN112667360A (en) 2020-12-31 2020-12-31 Cloud platform system based on Kubernetes and docker unified scheduling

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011639002.7A CN112667360A (en) 2020-12-31 2020-12-31 Cloud platform system based on Kubernetes and docker unified scheduling

Publications (1)

Publication Number Publication Date
CN112667360A true CN112667360A (en) 2021-04-16

Family

ID=75413724

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011639002.7A Pending CN112667360A (en) 2020-12-31 2020-12-31 Cloud platform system based on Kubernetes and docker unified scheduling

Country Status (1)

Country Link
CN (1) CN112667360A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485794A (en) * 2021-07-26 2021-10-08 上海中通吉网络技术有限公司 Big data offline scheduling method and system based on k8s
CN115361283A (en) * 2022-10-20 2022-11-18 深圳依时货拉拉科技有限公司 K8S-based cloud host management method and device and computer equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262782A (en) * 2014-07-15 2016-01-20 中兴通讯股份有限公司 Service environment providing method and device based on cloud platform
CN107967175A (en) * 2017-11-07 2018-04-27 中电科华云信息技术有限公司 A kind of resource scheduling system and method based on multiple-objection optimization
CN109542630A (en) * 2019-01-29 2019-03-29 中国人民解放军火箭军工程大学 A kind of mobile communication net network function virtual platform based on container cloud
CN109828831A (en) * 2019-02-12 2019-05-31 成都考拉悠然科技有限公司 A kind of artificial intelligence cloud platform
CN110333877A (en) * 2019-07-09 2019-10-15 西安点告网络科技有限公司 Visualized container configuring management method, apparatus and system based on application
CN110543537A (en) * 2019-08-22 2019-12-06 广东省城乡规划设计研究院 Intelligent planning space-time cloud GIS platform based on Docker container and micro-service architecture
CN111835820A (en) * 2020-05-21 2020-10-27 上海灏拓智能科技有限公司 System and method for realizing cloud management
US20200379816A1 (en) * 2019-05-31 2020-12-03 Ecloudvalley Digital Technology Co., Ltd. Cloud resource management system, cloud resource management method, and non-transitory computer-readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262782A (en) * 2014-07-15 2016-01-20 中兴通讯股份有限公司 Service environment providing method and device based on cloud platform
CN107967175A (en) * 2017-11-07 2018-04-27 中电科华云信息技术有限公司 A kind of resource scheduling system and method based on multiple-objection optimization
CN109542630A (en) * 2019-01-29 2019-03-29 中国人民解放军火箭军工程大学 A kind of mobile communication net network function virtual platform based on container cloud
CN109828831A (en) * 2019-02-12 2019-05-31 成都考拉悠然科技有限公司 A kind of artificial intelligence cloud platform
US20200379816A1 (en) * 2019-05-31 2020-12-03 Ecloudvalley Digital Technology Co., Ltd. Cloud resource management system, cloud resource management method, and non-transitory computer-readable storage medium
CN110333877A (en) * 2019-07-09 2019-10-15 西安点告网络科技有限公司 Visualized container configuring management method, apparatus and system based on application
CN110543537A (en) * 2019-08-22 2019-12-06 广东省城乡规划设计研究院 Intelligent planning space-time cloud GIS platform based on Docker container and micro-service architecture
CN111835820A (en) * 2020-05-21 2020-10-27 上海灏拓智能科技有限公司 System and method for realizing cloud management

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485794A (en) * 2021-07-26 2021-10-08 上海中通吉网络技术有限公司 Big data offline scheduling method and system based on k8s
CN115361283A (en) * 2022-10-20 2022-11-18 深圳依时货拉拉科技有限公司 K8S-based cloud host management method and device and computer equipment

Similar Documents

Publication Publication Date Title
CN113169952B (en) Container cloud management system based on block chain technology
US10042628B2 (en) Automated upgrade system for a service-based distributed computer system
CN102103518B (en) System for managing resources in virtual environment and implementation method thereof
US7774323B2 (en) Method and apparatus for delivering managed applications to remote locations
CN102576354B (en) Support that difference disposes the extensible framework of framework
CN111984830A (en) Management operation and maintenance platform and data processing method
CN107113192A (en) resource management in cloud system
CN102638566B (en) BLOG system running method based on cloud storage
CN102981929B (en) The management method of disk mirroring and system
CN103414761A (en) Mobile terminal cloud resource scheduling method based on Hadoop framework
Essa et al. Mobile agent based new framework for improving big data analysis
CN103620580A (en) System and method for migration of data clones
CN105024865A (en) Cloud federation as a service
US20210055885A1 (en) Enhanced data access using composite data views
Ferreira et al. PerDiS: design, implementation, and use of a PERsistent DIstributed Store
CN112667360A (en) Cloud platform system based on Kubernetes and docker unified scheduling
CN111158859B (en) Application management system based on kylin operating system and implementation and use method thereof
CN105095103A (en) Storage device management method and device used for cloud environment
JP2020504858A (en) Point-in-time backup to object storage cloud via storage controller
Grandinetti Pervasive cloud computing technologies: future outlooks and interdisciplinary perspectives: future outlooks and interdisciplinary perspectives
CN111352692A (en) Method and system for realizing container mirror image by adopting web language
CN110912982A (en) Chip design cloud computing system and method
US11288003B2 (en) Cross-platform replication of logical units
US20210406227A1 (en) Linking, deploying, and executing distributed analytics with distributed datasets
Luettgau et al. NSDF-services: Integrating networking, storage, and computing services into a testbed for democratization of data delivery

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