This topic compares logging and monitoring functions of a Swarm cluster with those of a Kubernetes cluster.

Logging

Swarm cluster

For a Swarm cluster, the logging function is implemented through labels.

Kubernetes cluster

For a Kubernetes cluster, the logging function is configured and used in the following scenarios:

Monitoring

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.

Swarm cluster

By default, the monitoring function is disabled.

Kubernetes cluster

By default, the monitoring function is enabled.

For more information, see Integration and usage with CloudMonitor.