Helm parameter batch configuration method based on template

A batch configuration and basic configuration technology, which is applied in the field of data processing, can solve the problems of deployment personnel's troubles, complex situations, and increase, and achieve the effect of facilitating deployment, improving management efficiency, and facilitating unified management and deployment

Pending Publication Date: 2020-06-26
山东汇贸电子口岸有限公司
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, with the increase of installed applications in the cluster, the variables that need to be configured will still gradually increase, and a large part of the application variables in a cluster are global variables, and each application itself will also have its own local variables. When the chart has The situation is more complicated when there are multiple subcharts
Therefore, helm is a good kubernetes cluster application orchestration solution, but the complex values ​​of the cluster will bring great trouble to the deployment personnel

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Helm parameter batch configuration method based on template
  • Helm parameter batch configuration method based on template

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] This embodiment proposes a template-based helm parameter batch configuration method, based on the template file library of all charts and the basic configuration file library of the corresponding environment,

[0033] Execute build operations outside the deployment environment, read the values ​​​​configuration of the deployment environment,

[0034] Execute the running operation in the deployment environment, combine the values ​​configuration determined at the time of construction with environment-related variables to form the chart format of Armada, and call the tiller in the kubernetes cluster in the form of a chart group to deploy the chart.

[0035] Reference attached figure 1 , usually, before the build operation is performed, the basic configuration file library contains one or more manifests, each manifest contains one or more chart groups, and each chart group contains multiple charts. The basic configuration file library also includes Build vars. Build vars ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a helm parameter batch configuration method based on a template and relates to the technical field of data processing, the method is based on template file libraries of all charts and a basic configuration file library of a corresponding environment. Executing construction operation outside the deployment environment, reading values configuration of the deployment environment, determining required charts and versions, pre-checking the charts, collecting values. Yaml of the charts, and combining the values. Yaml with a global.yaml and a pre-rendering runtime variable; the method comprises the following steps: executing a running operation in a deployment environment, combining values configuration determined during construction with variables related to the environment to form a chart format of armada, and calling tilers in a kubernetes cluster in a chart group form to deploy charts. According to the method, quick configuration of large-scale chart values in thecluster is realized; according to the method, the problem that the value. Yaml of a large number of charts is difficult to manage and maintain in a unified mode when the kubernetes cluster is deployed, operated and maintained is solved, and the management efficiency of the kubernetes cluster is effectively improved.

Description

technical field [0001] The invention relates to the technical field of data processing, in particular to a template-based helm parameter batch configuration method. Background technique [0002] Helm is one of the best management and orchestration solutions for kubernetes cluster applications. The principle is to centralize the configuration files of all cluster components required by the same application, and extract the variable configuration values ​​to the yaml file. A collection of such configuration files is called a chart. Using helm to manage a chart can effectively reduce the visible configuration variables when managers orchestrate applications, and implement deployment and management more efficiently and quickly. However, with the increase of installed applications in the cluster, the variables that need to be configured will still gradually increase, and a large part of the application variables in a cluster are global variables, and each application itself will...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F8/61G06F8/71
CPCG06F8/63G06F8/71
Inventor 傅丰潘峰唐晓东蔡卫卫高传集
Owner 山东汇贸电子口岸有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products