-
Notifications
You must be signed in to change notification settings - Fork 53
config:set --global for common variables #1219
Comments
From @bacongobbler on September 10, 2014 15:13 Not sure what name to give the option, but Also, would this force a new release across all existing apps in the cluster? |
From @boffbowsh on September 10, 2014 15:16 Ah yes of course. Perhaps I think changing this should just essentially be a database setting, and subsequent releases will pick it up. Is it possible to force a new release of an app without changing app code or config? |
From @bacongobbler on September 10, 2014 15:24
If we're following 12 factor to a tee, "build + config = release". It's not possible to force a new release until something directly changes the environment. Setting a cluster-wide environment variable should create a new release for each application since it would be picked up the next time the application created a release, anyways. I'm concerned about the computational power required to re-provision apps across the cluster, but that shouldn't be too much of a concern so much as doing "The Right Thing:tm:". |
From @boffbowsh on September 10, 2014 15:35 It's more a case of the timing of it being in control of devs/ops. Restarting all apps on the cluster at the same time may not be desirable. If that can be controlled I don't see a problem in creating a release for each app at the time the setting is changed. Disclaimer: we don't currently use Deis, but are very much looking forward to using it once it goes Stable, with HA, logging etc. This is one of the features that would possibly block us from using Deis without having something external that manages common config across all apps. |
From @kikicarbonell on September 10, 2014 19:40 config:set --cluster for common variables, I need too! 👍 |
From @carmstrong on February 10, 2015 18:41 Renamed issue to config:set --global, as dropping the notion of clusters would have made this command confusing. |
From @sforsman on February 11, 2015 18:50 This feature would definitely be useful in our use cases as well. It would simplify management and deployment of our applications. |
From @mboersma on May 20, 2015 3:19 A workaround for now is something like EDIT: changed |
From @jwaldrip on July 13, 2015 15:49 Pulled this from another request I had #4013: As a developer I would like to set ENV variables across my cluster, so that I don't have to configure it for each applicationExample Use Case:
Acceptance Criteria:
Nice to haves:Aliasing. It would be great if I could set |
This issue was moved to teamhephy/controller#39 |
From @boffbowsh on September 10, 2014 14:8
It'd be extremely useful for a Deis deployment of common applications to have the concept of cluster-wide environment variables, for example a REDIS_URL if all apps hit a common Redis server, or perhaps some email service credentials.
Regarding the action that would take place when these get updated, I think it would be best to allow the operators to re-release and thus restart apps at their own pace.
Copied from original issue: deis/deis#1804
The text was updated successfully, but these errors were encountered: