Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Group environment #1863

Closed
bsideup opened this issue Jul 23, 2015 · 8 comments
Closed

Group environment #1863

bsideup opened this issue Jul 23, 2015 · 8 comments

Comments

@bsideup
Copy link

bsideup commented Jul 23, 2015

Hi!

For projects like Spring Cloud it would be great if Marathon will allow to specify environment variables for group.

For instance, a group of apps could share environment variable CONFIG_SERVER_URL.

Thanks!

@gkleiman
Copy link
Contributor

Thanks for the request, I'll add it to our backlog.

@gkleiman gkleiman added this to the Backlog milestone Jul 23, 2015
@kolloch
Copy link
Contributor

kolloch commented Jul 24, 2015

Some things to consider:

  • It probably should form a hierarchy. Inner groups inherit variables from outer groups. Environment variables on inner groups should override environment variables on outer groups.
  • Environment variables defined in an app definition should override all environment variables that are inherited.
  • We should expose the "effective" environment variables when GETing an app. Maybe we should also indicate the source of the environment definition.
  • Updating the environment variables of a group, must result in restarting all apps for which the effective environment variables change.

@bsideup
Copy link
Author

bsideup commented Jul 24, 2015

@kolloch 👍 great addition

@sepiroth887
Copy link

+1

2 similar comments
@christiankakesa
Copy link

👍

@avthart
Copy link

avthart commented Aug 11, 2015

+1

@meichstedt
Copy link
Contributor

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3275. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

1 similar comment
@meichstedt
Copy link
Contributor

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-3275. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.

@d2iq-archive d2iq-archive locked and limited conversation to collaborators Mar 27, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants