This topic compares logging and monitoring functions of a Swarm cluster with those of a Kubernetes cluster.
For a Swarm cluster, the logging function is implemented through labels.
- Create a Kubernetes cluster.
On the Create Kubernetes Cluster page, select the Using Log Service check box. Then the Log Service plugin is automatically installed in the cluster. You can use an existing project or create a new project.
You can also manually install Log Service components in the created cluster. For more information, see Manually install Log Service components in a created Kubernetes cluster.
- Configure Log Service when creating an application. For more information, see Configure Log Service when creating an application.
- Use Log Service after creating an application. For more information, see Container text logs and Containers-standard output.
For both Swarm and Kubernetes clusters, select the Install cloud monitoring plug-in on your ECS check box on the Create Cluster page. You can then monitor the ECS instances through the CloudMonitor console.
For more information, see Integration and usage with CloudMonitor.