How Do I Determine Container Resource Configurations?
Question
How do I determine container resource configurations?
Answer
Containers are classified into the following two types:
- Cold standby container: runs on the active node and not on the standby node.
- Hot standby container: runs on both the active and standby nodes.
You can run the docker ps command on the background to check whether the container running status is as expected. If the container running status on the active or standby node is not as expected, the two-node cluster running status may be abnormal.