CN111381833B - Initialization method for containerized opentack data - Google Patents
Initialization method for containerized opentack data Download PDFInfo
- Publication number
- CN111381833B CN111381833B CN202010146972.7A CN202010146972A CN111381833B CN 111381833 B CN111381833 B CN 111381833B CN 202010146972 A CN202010146972 A CN 202010146972A CN 111381833 B CN111381833 B CN 111381833B
- Authority
- CN
- China
- Prior art keywords
- application
- configuration
- opentack
- container
- chart
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Abstract
The invention provides a containerized opentack data initialization method, which belongs to the technical field of opentack data management and comprises the following steps: 1) A configuration parser to separate specific applications and configurations; 2) Distinguishing applications using annotations; 3) The deployment tool automatically refreshes the Values. The invention simplifies the deployment work, improves the application deployment efficiency and can adapt to different environments.
Description
Technical Field
The invention relates to an openstack data management technology, in particular to a containerized openstack data initialization method.
Background
More and more environments currently begin to use openstack, and applications that rely on openstack each use either public or independent openstack network configurations, flag configurations, mirroring, etc. Therefore, operation and maintenance personnel need to create opentack resources first and then refresh application configuration, the operation is complex, and the operation cannot be completed at one time.
Disclosure of Invention
In order to solve the technical problems, the invention provides a containerized openstack data initialization method, which provides repeatable refreshing operation for deployment of openstack related applications in a Kubernetes cluster, reduces manpower waste and saves deployment time.
The technical scheme of the invention is as follows:
a method for initializing containerized opentack data,
mainly comprises the following steps:
1) A configuration parser to separate specific applications and configurations;
2) Distinguishing applications using annotations;
3) The deployment tool automatically refreshes the Values.
Further, the method comprises the steps of,
pre-preparation should be made prior to operation, including:
adding comments in the application chart;
adding configuration with a specified format by using values in the chart;
plans in the environment planning table are treated by name.
Wherein, add notes in the application chart, the content is as follows:
annotations:
openstack_associated: t
openstack_networklist: [networkA, networkB]
openstack_flavorlist: [flavorA, flavorB]
the value in the application chart adds the configuration in the prescribed format, the content is as follows:
network:
id: 12345
name: test
subnet: 123123
still further, the method comprises the steps of,
the method comprises the following specific steps:
1) And uploading the environment planning table and the application list to a file server.
2) The file server pushes the application to the application deployment tool container.
3) In the deployment process, judging whether to call an opentack to initialize an application container according to whether the annotation opentack_associated in the application chart is true;
if not true, deploying the application;
if true, the opentack initialization application container acquires specific configuration information from the configuration parser container according to the name transmitted by the deployment tool container;
if the configuration information exists, directly inquiring the configuration;
if the configuration information is not available, creating configuration and feeding back to the deployment tool container;
the deployment tool container flushes the values file of the application and deploys the application.
a) The use of a configuration parser allows for separation of specific applications and configurations.
b) The use of annotations makes it easy to differentiate applications
c) Automated refreshing of Values by deployment tools simplifies the configuration of openstack
The invention has the beneficial effects that
The workload of configuration of operation and maintenance personnel is reduced, the admission standard of the operation and maintenance personnel is reduced, and the environment configuration time is saved. So that the deployment is changed from deployment opentack to manual reconfiguration to deployment application.
Drawings
FIG. 1 is a schematic diagram of a technical architecture of the present invention;
fig. 2 is a schematic of the workflow of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments, and all other embodiments obtained by those skilled in the art without making any inventive effort based on the embodiments of the present invention are within the scope of protection of the present invention.
1. Pre-preparation:
the append annotation in the application chart is exemplified as follows:
annotations:
openstack_associated: t
openstack_networklist: [networkA, networkB]
openstack_flavorlist: [flavorA, flavorB]
the configuration of adding a prescribed format to the values in the application chart is exemplified as follows:
network:
id: 12345
name: test
subnet: 123123
network etc. plans in an environment planning table are treated by name
2. The flow is as follows:
1) The operation and maintenance personnel upload the environment planning table and the application list to a designated file server
2) Pushing applications to application deployment tool container
3) In the deployment process, whether to call (openstack initialization application container) is judged according to whether the annotation openstack_associated in the application chart is true or not
4) The configuration of a specific network, mirror image and the like is acquired from the configuration parser container according to the deployment tool container incoming, and the configuration (if present, the configuration is directly queried) is created and fed back to the deployment tool container
5) Refreshing values file of application and deploying application
Keyword:
1. a container: kernel lightweight operating system layer virtualization technology
2. kubernetes: a distributed cluster management system in which a worker is run on each node to manage the life cycle of a container
3. git version control tool
4. Logical processor, which is responsible for processing database scripts
5. database client: integrating various versions of database clients into containers
The foregoing description is only illustrative of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims (4)
1. A method for initializing containerized opentack data is characterized in that,
comprising the following steps:
step 1, configuring a parser to separate specific applications and configurations;
step 2, distinguishing applications by using notes;
step 3, the deployment tool automatically refreshes the Values;
pre-preparation should be made prior to operation, including:
adding comments in the application chart;
adding configuration with a specified format by using values in the chart;
the plans in the environment planning table are treated by names;
wherein, add notes in the application chart, the content is as follows:
annotations:
openstack_associated: t
openstack_networklist: [networkA, networkB]
openstack_flavorlist: [flavorA, flavorB]
the value in the application chart adds the configuration in the prescribed format, the content is as follows:
network:
id: 12345
name: test
subnet: 123123
the step 3 is specifically as follows:
1) Uploading the environment planning table and the application list to a file server;
2) The file server pushes the application to the application deployment tool container;
3) In the deployment process, whether to call an opentack to initialize an application container is judged according to whether the annotation opentack_associated is true in the application chart.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
if not true, the application is deployed.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
if true, the opentack initialization application container acquires specific configuration information from the configuration parser container according to the name transmitted by the deployment tool container, and if no configuration information exists, the configuration is created and then fed back to the deployment tool container;
the deployment tool container flushes the values file of the application and deploys the application.
4. The method of claim 1, wherein the step of determining the position of the substrate comprises,
if configuration information is present, the configuration is queried directly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010146972.7A CN111381833B (en) | 2020-03-05 | 2020-03-05 | Initialization method for containerized opentack data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010146972.7A CN111381833B (en) | 2020-03-05 | 2020-03-05 | Initialization method for containerized opentack data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111381833A CN111381833A (en) | 2020-07-07 |
CN111381833B true CN111381833B (en) | 2023-05-12 |
Family
ID=71215231
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010146972.7A Active CN111381833B (en) | 2020-03-05 | 2020-03-05 | Initialization method for containerized opentack data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111381833B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112433818B (en) * | 2020-11-30 | 2022-09-30 | 上海天旦网络科技发展有限公司 | Method and system for persisting kubernets |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968298A (en) * | 2012-10-31 | 2013-03-13 | 山东浪潮齐鲁软件产业股份有限公司 | Software product construction method |
CN103793432A (en) * | 2012-11-01 | 2014-05-14 | 深圳中兴网信科技有限公司 | Method and device for splitting database reading and writing |
CN105607903A (en) * | 2015-12-15 | 2016-05-25 | 国云科技股份有限公司 | Openstack component deployment method |
CN107291594A (en) * | 2017-06-30 | 2017-10-24 | 上海白虹软件科技股份有限公司 | The device and method that openstack platforms are monitored and managed to ceph |
CN108255612A (en) * | 2018-01-23 | 2018-07-06 | 山东汇贸电子口岸有限公司 | The data acquisition platform of uniform permission administration and data management platform integrated approach |
CN110430173A (en) * | 2019-07-19 | 2019-11-08 | 河南工程学院 | A kind of cloud platform based on Vue+SpringCloud |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060282447A1 (en) * | 2003-06-04 | 2006-12-14 | The Trustees Of The University Of Pennsylvania | Ndma db schema, dicom to relational schema translation, and xml to sql query transformation |
WO2010030703A1 (en) * | 2008-09-09 | 2010-03-18 | Kace Networks, Inc. | Deployment and management of virtual containers |
EP3422236B1 (en) * | 2012-10-10 | 2022-06-01 | Citrix Systems, Inc. | Policy-based application management |
US10284627B2 (en) * | 2013-03-29 | 2019-05-07 | Citrix Systems, Inc. | Data management for an application with multiple operation modes |
CN106095508B (en) * | 2016-06-17 | 2019-01-25 | 杭州财人汇网络股份有限公司 | A kind of method and device of strategy load and injection |
US10701190B2 (en) * | 2018-01-10 | 2020-06-30 | Mellanox Technologies Tlv Ltd. | Efficient parsing of optional header fields |
CN108462746B (en) * | 2018-03-14 | 2021-11-16 | 广州西麦科技股份有限公司 | Container deployment method and framework based on openstack |
KR101987668B1 (en) * | 2018-07-19 | 2019-06-11 | 나무기술 주식회사 | Application container's volume(storage) provisioning method on cloud platform |
-
2020
- 2020-03-05 CN CN202010146972.7A patent/CN111381833B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102968298A (en) * | 2012-10-31 | 2013-03-13 | 山东浪潮齐鲁软件产业股份有限公司 | Software product construction method |
CN103793432A (en) * | 2012-11-01 | 2014-05-14 | 深圳中兴网信科技有限公司 | Method and device for splitting database reading and writing |
CN105607903A (en) * | 2015-12-15 | 2016-05-25 | 国云科技股份有限公司 | Openstack component deployment method |
CN107291594A (en) * | 2017-06-30 | 2017-10-24 | 上海白虹软件科技股份有限公司 | The device and method that openstack platforms are monitored and managed to ceph |
CN108255612A (en) * | 2018-01-23 | 2018-07-06 | 山东汇贸电子口岸有限公司 | The data acquisition platform of uniform permission administration and data management platform integrated approach |
CN110430173A (en) * | 2019-07-19 | 2019-11-08 | 河南工程学院 | A kind of cloud platform based on Vue+SpringCloud |
Non-Patent Citations (1)
Title |
---|
陈昊 ; 文成玉 ; .OpenStack环境下的虚拟机调度算法研究.无线互联科技.2018,(第05期),51-52+61. * |
Also Published As
Publication number | Publication date |
---|---|
CN111381833A (en) | 2020-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10565532B2 (en) | Building management system site categories | |
EP3047376B1 (en) | Type-to-type analysis for cloud computing technical components | |
CN106649378B (en) | Data synchronization method and device | |
US20210405629A1 (en) | System and method for interoperable communication of an automation system component with multiple information sources | |
US6910053B1 (en) | Method for data maintenance in a network of partially replicated database systems | |
CN110688142B (en) | Method, device and storage medium for publishing application programming interface | |
CN109800207B (en) | Log analysis method, device and equipment and computer readable storage medium | |
US20120297035A1 (en) | Systems and methods for managing policies on a computer | |
CN110851237B (en) | Container cross-isomerism cluster reconstruction method for domestic platform | |
CN102075381A (en) | Automatic test platform server and system applied to cloud storage | |
US11593357B2 (en) | Databases and methods of storing, retrieving, and processing data | |
CN112631614B (en) | Application deployment method, device, computer equipment and storage medium | |
CN109298868A (en) | Intelligent dynamic deployment and unloading method for mapping image data processing software | |
CN110581893B (en) | Data transmission method and device, routing equipment, server and storage medium | |
CN113672240A (en) | Container-based multi-machine-room batch automatic deployment application method and system | |
CN111949276B (en) | System and method for automatically deploying application programs based on container mode | |
CN111381833B (en) | Initialization method for containerized opentack data | |
WO2019223178A1 (en) | Cross-platform task scheduling method and system, computer device, and storage medium | |
CN113315754B (en) | Intelligent linkage method, device, equipment and medium for firewall of container visit | |
WO2023151397A1 (en) | Application program deployment method and apparatus, device, and medium | |
US20200403881A1 (en) | Data center cartography bootstrapping from process table data | |
CN116414801A (en) | Data migration method, device, computer equipment and storage medium | |
CN113050979B (en) | Installation configuration method and device for installing operating system, and installation method and device | |
US11196844B1 (en) | Multi-platform service management system | |
CN111078905A (en) | Data processing method, device, medium and equipment |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |