Comments (9)
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.
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.
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.
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.
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.
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.
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.
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.
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)
- Ignore pod scheduling errors during deployments HOT 10
- Support for apps/v1 deployments HOT 4
- HPAs are not re-created upon controller start if they have been deleted in Kubernetes (but still exist in workflow) HOT 1
- Update docker-py to docker python package
- Recreate all migrations for django 2.2 upgrade. HOT 4
- Upgrade the flake package for testing and fix python3 style errors
- Dockerfile + Procfile disaster recovery issue restoring scale
- Can't remove user's permission from an app when username is an email address HOT 3
- Unclear error message when setting memory limits HOT 3
- SSL certificate-key pairs are not validated before storage (RSA) HOT 2
- The ability to define an ENV var that is in fact a secret
- The ability to define `GUNICORN_WORKERS` and `CONN_MAX_AGE` env vars via helm chart's values HOT 12
- After deis apps:destroy the namespace stuck at Terminating forever HOT 5
- Ingress annotations should be set globally by hephy-controller HOT 7
- Address deprecation warnings and upgrade djangoRESTframework
- (app::deploy): list index out of range while dais pull HOT 4
- Change API endpoint for HPA autoscaling
- Controller should give more detail per Proc types
- The new controller v2.20.1 release is broken on (some?) GKE clusters HOT 11
- AKS deis-controller at v2.20.1 can no longer scale process types HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from controller.