Skip to content

Add label parsing - #8

Open
ThePokeX wants to merge 11 commits into
mikesir87:masterfrom
ThePokeX:master
Open

Add label parsing#8
ThePokeX wants to merge 11 commits into
mikesir87:masterfrom
ThePokeX:master

Conversation

@ThePokeX

Copy link
Copy Markdown

The motivation behind this change is to allow automation to create easy to find and useful info/links about containers.

A use case would be if you wanted to automatically generate a link to the container's log file, you could assign the label swarm-viz.link.log=https://log.storage.site/${imagename}/${containerid} to a service and easily find the log location when looking at the details of any container belonging to the service.
This is particularly useful in large swarms with lots of container replication.

Any labels that were parsed will be shown at the top of the detailed info screen, but if no labels start with swarm-viz. then the section will not render, leaving the page looking exactly how it is now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant