Overview
Lifecycle management is a method used to execute calls at a specific stage. CAE provides two lifecycle management modes: post-start and pre-stop processing.
- Post-start processing: After a component instance starts, a post-start event is triggered immediately. However, it is not ensured that the corresponding handler can be executed before EntryPoint of the container.
The status of the component instance changes to Running only after the post-start function is executed. Therefore, when the command is set to an infinite loop, the CAE component status cannot change to Running.
- Pre-stop processing: Before a component instance stops, a pre-stop event is sent.
A pre-stop event is sent immediately before a component instance stops. Unless the grace period of the instance expires, the component instance is blocked until the function is executed.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot