-
Notifications
You must be signed in to change notification settings - Fork 672
Add role label to weave containers so scope can filter #1290
Conversation
feedback from @rade - what happens with older versions of docker? Need to support docker 1.3.1 |
To clarify, role=system is something I just made up. |
@errordeveloper how do kubernetes do labels? If there an existing schema / topology? |
@errordeveloper says k8s does something like this:
|
@rade labels seem to be backward compatible (this imports and runs on docker 1.3.1) |
Is there something contentious about this PR? It's a tiny change but has been open for nine days... |
@MikeB was against the approach of label containers then filtering based on On Friday, 21 August 2015, Adam Harrison [email protected] wrote:
|
weaveworks/scope#337 (comment):
If you want a hook on which to hang some by-default filtering of weave containers, then labels are fine, but you should give them a namespace. |
Thats exactly what we want - the filtering mechanism with be general, but On Tue, Aug 25, 2015 at 1:34 PM, Michael Bridgen [email protected]
|
Failures are unrelated, see #1360 |
Add role label to weave containers so scope can filter
Merged on the understanding that this is not really intended to be a feature for end-users. (If it were, I would be concerned about being stuck with the terms "role" and "system".) |
As part of weaveworks/scope#337, I'd like to label the weave & scope containers and have them filtered out of the scope view by default.
Let the bike shedding begin...