Giter Club home page Giter Club logo

Comments (9)

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @deis-admin on January 19, 2017 23:24

From @bacongobbler on September 10, 2014 15:13

Not sure what name to give the option, but --cluster is already used to specify which cluster you want the app to be deployed to. Maybe something like --global?

Also, would this force a new release across all existing apps in the cluster?

from controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @deis-admin on January 19, 2017 23:24

From @boffbowsh on September 10, 2014 15:16

Ah yes of course. Perhaps config:set:cluster then or cluster:config:set?

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 controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @deis-admin on January 19, 2017 23:24

From @bacongobbler on September 10, 2014 15:24

Is it possible to force a new release of an app without changing app code or config?

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 controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @deis-admin on January 19, 2017 23:24

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 controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @deis-admin on January 19, 2017 23:24

From @kikicarbonell on September 10, 2014 19:40

config:set --cluster for common variables, I need too! 👍

from controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @deis-admin on January 19, 2017 23:24

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 controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @deis-admin on January 19, 2017 23:24

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 controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @deis-admin on January 19, 2017 23:24

From @mboersma on May 20, 2015 3:19

A workaround for now is something like deis create && deis config:push -p ~/.env.

EDIT: changed config:set to config:push. With love from @bacongobbler ❤️

from controller.

Cryptophobia avatar Cryptophobia commented on August 27, 2024

From @deis-admin on January 19, 2017 23:24

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 application

Example Use Case:

deis config:set --global NEW_RELIC_LICENSE_KEY=abc123

Acceptance Criteria:

  • New builds will reflect the ENV variable.
  • New applications will reflect the ENV variable.
  • ENV variable can be overridden if set at the application level.

Nice to haves:

Aliasing. It would be great if I could set SOME_VAR=$OTHER_VAR. This would allow me to do NEW_RELIC_APP_NAME=$DEIS_APP.

from controller.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.