You can use the extension label
global, which is provided by Alibaba Cloud Container Service, in the Compose V1/V2 orchestration template to deploy services in the orchestration template to each node of a cluster.
You can use the extension capability label
global, which is provided by Alibaba Cloud Container Service, to set the service as a global service.
If a service is set as
aliyun.global: true, this service is deployed to each node of the cluster. A container is automatically deployed to nodes that are newly added to the cluster.
Note: For more information on the
globallabel, see Label description.