Skip to content

"com.example.webserver.memory.max" is maybe a bad example #15

@larsks

Description

@larsks

The spec includes the following example:

Sample Name Sample Description
com.example.webserver.memory.max Maximum memory setting for "example.com" organization's webserver
com.example.webserver.memory.min Minimum memory setting for "example.com" organization's webserver

I am not sure if this is a bad example or if I don't understand the idea behind it. If I were building a webserver image, I would not apply a label called "something.webserver.memory.max". I would just apply a "memory.max" label, and it would be for the webserver because that is the image to which it is applied. There wouldn't be any need to encode this fact in the name of the label.

If the idea here is that an organization might want to namespace labels because they want to avoid conflicts with labels used at other organizations that makes sense, but using com.example.memory.max and com.example.memory.min might better illustrate the idea (because here namespacing is used exclusively as an organizational differentiator).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions