Links

labels

Reference for humanitec/labels Workload Profile Feature
The labels feature defines Labels that will be added to Pods generated for the workload. Depending on how this feature is implemented by the Workload Profile itself, this may only make up a subset of labels on the Pod.

Description

Labels are defined as a map with keys and values.
Keys are made up of an optional prefix followed by an name, separated by a slash (/).
  • 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.
  • 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 (/).
Valid label 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.

Example

{
"owner": "pat",
"humanitec.com/type": "dev-eu-01"
}
Last modified 1yr ago