Allocation Tagging for Hosts
Pin a container to a set of hosts using allocation tagging
By default, DuploCloud spreads container replicas across hosts. Using an Allocation Tag, you can pin a container to a set of hosts using a specific tag.
Adding an Allocation Tag to a Host
In the DuploCloud Portal, navigate to Cloud Services -> Hosts. The Hosts page displays.
Select a Host from the Name column. If the Host is part of an Auto-Scaling Group (ASG), select the ASG tab and select the ASG.
In the Allocation Tag field, enter a tag name. Use only alphanumeric characters. Hyphens ( - ) are supported as special characters if needed. For example, highmemory-highcpu is a valid tag name.
Click Set. The Allocation Tag that you set displays in the heading banner for the Host or ASG you select.
Create a Service. During creation, on the Add Service page, enter the tag name you created in the Allocation Tag field. DuploCloud attempts to select a host or ASG with a matching tag.
Editing or deleting an Allocation Tag
Use the Metadata tab to edit or delete an existing Allocation Tag, after selecting a host or ASG.
Last updated