-
Notifications
You must be signed in to change notification settings - Fork 46
Open
Description
While working on https://github.com/Smithx10/virtual-kubelet, I came across a situation where I would like for all instances provisioned to have a certain set of shared tags whether they are provisioned via sdc-docker or sdc-cloudapi.
The Docker API is only aware of labels, which are stored in Triton as tags prefixed with docker:label:
I was hoping that we could add to docker a way to escape docker:label: and set tags directly, this will save me from having to make 2 api calls, a Create, and then an Apply tag.
Implementation Idea:
I noticed that the label "triton.cns.services" was applied without the docker:label prefix. I imagine we could do something like the following to escape it...
--label no.prefix.mytag=mytagvalue
Which would result in the following tag:
mytag=mytagvalue
Instead of
docker:label:mytag
Metadata
Metadata
Assignees
Labels
No labels