Stack Management
Stack management consists of two aspects. One is lifecycle management of created stacks, including deleting and changing. The other is viewing stack details to obtain stack running status.
Table 1 describes stack lifecycle status.
Status |
Description |
---|---|
Normal |
Both the stack and its instances run properly. |
Abnormal |
The stack runs abnormally. Some or all stack instances run abnormally and cannot provide functions. |
Initializing |
Stack instances have not been installed or have been uninstalled. The stack does not provide functions. |
Processing |
A stack lifecycle action is being performed. The status of stack instances is unknown. |
Unknown error |
An unknown stack error occurs. |
After a stack is created successfully (that is, in the normal status), you can change input parameters based on your service requirements.
- Log in to the Application Orchestration Service (AOS) console.
- In the navigation pane, click My Stacks.
- In the stack list, click the stack to be changed.
- On the stack details page, click Change.
- Change the template version or input parameters, and click Next.
- Confirm the configurations and then click Change.
On the Events tab page, view the detailed operation events related to stack change.
The change rules are as follows:
- Template change rules:
- During template change, only the following elements are allowed to be added or deleted.
- AOS.Agent, AOS.AppComponent, AOS.AppComponent.Container, AOS.AppComponent.Process, AOS.AppGroup, AOS.Application.Stateful, AOS.Application.Stateless, AOS.Job, AOS.Service, AOS.StatelessApplication, and AOS.StatefulApplication
- CCE.Addon.AutoScaler, CCE.ConfigMap, CCE.DaemonSet, CCE.Deployment, CCE.HelmRelease, CCE.Ingress, CCE.Job, CCE.NodePool, CCE.Secret, CCE.Service, CCE.StatefulSet, CCE.Storage.OBS, and CCE.Storage.SFS
- ECS.CloudServer
- ServiceStage.Agent, ServiceStage.AppGroup, ServiceStage.ContainerComponent, ServiceStage.Job, ServiceStage.ProcessComponent, ServiceStage.Service, ServiceStage.SoftwareComponent, ServiceStage.StatefulApplication, and ServiceStage.StatelessApplication
- nodes.Agent, nodes.AppGroup, nodes.ContainerComponent, nodes.HelmApplication, nodes.Job, nodes.ProcessComponent, nodes.Service, nodes.SoftwareComponent, nodes.StatefulApplication, and nodes.StatelessApplication
- Do not modify the policies of the template.
- Do not modify the association relationship between existing elements.
- Do not delete the association relationship between existing elements alone. If necessary, delete both the elements and their relationship.
- Do not add a relationship between a new element and an existing element.
- During template change, only the following elements are allowed to be added or deleted.
- Parameter change rules:
- Do not change the input parameters of the following elements:
- AOS.Job and AOS.Service
- APM.AutoScaler
- ServiceStage.Job and ServiceStage.Service
- nodes.Agent, nodes.AutoScaler, nodes.DynamicNodePool, nodes.DynamicVolume, nodes.FlexVolume, nodes.Job, nodes.NodePool, nodes.Service, and nodes.StatefulApplication
- Do not change the input parameters of the following elements unless in cluster 1.7 or later:
- AOS.Agent and AOS.StatefulApplication
- ServiceStage.Agent and ServiceStage.StatefulApplication
- Do not change the input parameters of the following elements:
Deleting a Stack
Deleted stacks cannot be restored. Exercise caution when deleting a stack.
- Log in to the AOS console.
- In the navigation pane, click My Stacks.
- In the stack list, select the stack to be deleted and click Delete.
- In the dialog box that is displayed, click OK.
Check the stack name carefully. The deletion cannot be revoked.
On the Events tab page, view the detailed operation events related to stack deletion.
If the stack status remains Deleting until a timeout message is displayed and the stack status becomes Abnormal, try to forcibly delete the stack.
Viewing Stack Details
After a stack is created, view its data and resources on the stack details page.
- Stack elements
The elements of a stack, such as applications and cloud services are displayed.
Element health status:
- Healthy: The resource is running properly.
- Unknown: The AOS fails to obtain the resource status because an error occurs during the health check.
- Abnormal: The AOS successfully calls the health check API of the resource, but the resource status is abnormal.
- Output parameters
Output parameters and their values in the stack template are displayed.
- Input parameters
Input parameters and their values in the stack template are displayed.
- Alarms
- Events
View stack events to monitor stack operation progress. For example, when you create a stack, all important steps during the stack creation are displayed on the Events tab page. The events are sorted in chronological order with the latest event being displayed at the top.
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