-
Notifications
You must be signed in to change notification settings - Fork 163
Add new field for Swarm in Docker Engine API #44
Comments
👍 |
|
@dnephin The idea is that Docker Engine isn't tied to Swarm only, so we want a more generic "extra info" field that could be used by other tools also. What do you think? |
I think it would still be better to be descriptive, engine can just return nil for the value and it will be omitted from the response. |
Fair point, but it bloats the API, and depending on how Swarm evolves, may not be needed later. A general @calavera what do you think? |
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
@nishanttotla Can you provide examples how this field will be used? |
The current use case is only for Swarm (as per this issue docker-archive/classicswarm#1625). An example for what this field might contain is as follows:
Essentially the entire cluster-related information with the right formatting, with the understanding that the Engine API will print the list as is. |
This has been fixed in #46 |
Currently, the
/info
endpoint for the Swarm API usesDriverStatus
field in the Engine API. We would like to create a new field exclusively for Swarm to use.The current suggestion is to name the field
CustomStatus
.Related issues: moby/moby#19277, docker-archive/classicswarm#1625, samalba/dockerclient#215
cc @calavera @vieux
The text was updated successfully, but these errors were encountered: