-
Notifications
You must be signed in to change notification settings - Fork 846
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
Custom Labels to app #599
Comments
Nice one! It could also be useful to add labels to running tasks. |
+1 I'd like the ability to add key / value string pairs to an app - this would be particularly useful for services that consume the marathon api, such as Bamboo where we could set values such as mapped hostname etc, rather than trying to derive them from the app name. |
So... I'm having a crack at implementing this, but I am no scala developer by any stretch of the imagination. The implementation of this poses a bit of an issue with the limitation of scala, if we add this to the
I will seek some advice from one of our resident scala gurus for patterns to work around this. |
We will move to 2.11 soon, which does not have this limitation.
|
👍 would be very useful to have a way to 'tag' apps with metadata - in my case I'd like to be able to specify what protocol a given TCP port is using (HTTP/TCP) so frontend load balancers like haproxy can leverage it. |
👍 Also having the same requirement with tagging applications with metadata for our dynamic load balancers. Our workaround right now is by injecting environment variables into the app. The app ignores them, but the load balancer parses them out of the environment variable list provided by the marathon's /app API Example: Being able to provide a key/value list or even JSON (that might be a bit too much to ask though) would be preferable. Bonus points if we could query the API for apps that match a specific key/value |
Task labels landed recently in Mesos, see: https://issues.apache.org/jira/browse/MESOS-2120 |
- Added protobuf serialization tests. - Added JSON tests for AppDefinition, AppUpdate. - Fixes #599.
Would it make sense to specify label/tag to app you are running.
For example I would like to have apps with label environment:test/devel/rc/... in one cluster.
Would be nice to implement multiple key:value labels.
The text was updated successfully, but these errors were encountered: