Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add label parsing #8

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Add label parsing #8

wants to merge 11 commits into from

Conversation

ThePokeX
Copy link

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