Cloud platform application ready checking method adapting to traditional application cloudization
The invention provides a cloud platform application ready checking method adapting to traditional application cloudization, which comprises the following steps of: step 1, appointing an application ready checking output mark, writing a shell script according to the meaning of the mark, and judging w...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention provides a cloud platform application ready checking method adapting to traditional application cloudization, which comprises the following steps of: step 1, appointing an application ready checking output mark, writing a shell script according to the meaning of the mark, and judging whether the mark is true or not; step 2, automatically injecting into a sidecar through a sidecar module to provide a ready inspection function; step 3, declaring a custom ready condition and a judgment rule by using a custom resource definition CRD; step 4, automatically injecting the conditions declared in the step 3 through a Webhook module of a web callback API; and step 5, enabling a controller to continuously update the ready condition value of the self-defined Pod according to the index acquired by the index collection service.
本发明提出一种适应传统应用云化的云平台应用就绪检查方法,包括如下步骤:步骤1:约定应用就绪检查输出标志,并根据该标志的含义编写shell脚本,对标志进行是或者否的判断;步骤2:通过边车模块自动注入一个边车提供就绪检查功能;步骤3:使用自定义资源CRD声明自定义就绪条件及判断规则;步骤4:通过web回调API的Webhook模块自动注入步骤3声明的条件;步骤5:控制器 |
---|