Labels are used throughout the Edge Compute Stack service and on ECS Hosts, they provide the ability to filter applications and deployments in manifest files.
Labels in the Edge Compute Stack service and on ECS Hosts are kubernetes complaint,
Valid label keys have two segments: an optional prefix and name, separated by a slash ( / ). The name segment is required and must:
be 63 characters or less
begin and end with an alphanumeric character ( [a-z0-9A-Z] ) with dashes ( - ), underscores ( _ ), dots ( . ), and alphanumerics between.
Label is of below format:
prefix/key: value
Prefix: The prefix is optional. If specified, the prefix must be a DNS subdomain: a series of DNS labels separated by dots (.), not longer than 253 characters in total, followed by a slash (/).
Key: The name segment is required and must be 63 characters or less, beginning and ending with an alphanumeric character ([a-z0-9A-Z]) with dashes (-), underscores (_), dots (.), and alphanumerics between
Value: must be 63 characters or less (can be empty), unless empty, must begin and end with an alphanumeric character ([a-z0-9A-Z]), could contain dashes (-), underscores (_), dots (.), and alphanumerics between.