Containerization operation and maintenance method and system for stateful service
The invention provides a containerization operation and maintenance method and system for stateful service, and relates to the technical field of containerization application. The method comprises the following steps: firstly, configuring data in an etcd, and writing dynamic configuration of statefu...
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 containerization operation and maintenance method and system for stateful service, and relates to the technical field of containerization application. The method comprises the following steps: firstly, configuring data in an etcd, and writing dynamic configuration of stateful service into the etcd; and then, constructing a service mirror image in a K8S format through dockefile, reading configuration items from an etcd storage system, and adding the configuration items into an initialization script, so that a container under the management of a K8S platform can automatically generate corresponding configuration every time the container is started. Then, a K8S platform is used for starting service to execute the initialization script, and a configuration file is dynamically generated; and finally, on the basis of the configuration file, the operation state of the service is managed through supervisor, and operation and maintenance management of the stateful service is realized. Accordin |
---|