Creating advanced functions
By default, DuploCloud spreads the container replicas across the hosts. By virtue of allocation tag the user can pin a container to a set of hosts that have a specific tag. Click on the edit icon next to allocation tag under host.
AllocationTagsas key is already pre-populated, configure the value of your choice for example
highmemory;highcpuor serviceA and click on save on the left. Then, when creating a service, set the allocation tag value to be a substring of the above tag, for example
highmemoryor serviceA. The allocation algorithm tries to pick a host where
AllocationTagspecified in the service is a substring of the
AllocationTagsof the host.