Skip to content
Français

ContainerLabels

Container labels as key-value strings: ContainerOptions.labels at creation, the ContainerSandboxQuery.labels selector and the labels reported in ContainerSandbox. In the labels Outpost sets or selects, keys start with a letter or digit and contain only letters, digits, ., _, / and - (255 characters at most); the io.outpost. prefix is reserved for Outpost. Values are non-empty strings of at most 1024 characters, without control characters or surrounding whitespace.

Complete example and detailed rules.

export type ContainerLabels = Readonly<Record<string, string>>;