Comments (18)
From @deis-admin on January 19, 2017 23:23
From @mboersma on January 21, 2014 17:21
+1 for this.
from controller.
From @deis-admin on January 19, 2017 23:23
From @gabrtv on January 21, 2014 17:22
Big +1. Marking this as a production requirement.
from controller.
From @deis-admin on January 19, 2017 23:23
From @tombh on January 21, 2014 17:24
BTW, on a related issue, I noticed that utils.generate_app_name()
doesn't check for a pre-existing app of the same name, so there is a slim possibility of a duplicate key error.
from controller.
From @deis-admin on January 19, 2017 23:23
From @gabrtv on January 21, 2014 17:25
@tombh yup, we should write that up as a separate issue. I imagine it can be fixed w/ a small PR.
from controller.
From @deis-admin on January 19, 2017 23:23
From @nathansamson on January 22, 2014 17:48
How hard would this be to implement?
Is it enough that the ID of the app is changed in the DB (and all dependant tables like Containers, Perms, ...) or is this going to cause trouble for running containers (who now have the wrong naming scheme?)
Can we rename docker containers?
from controller.
From @deis-admin on January 19, 2017 23:23
From @gabrtv on January 22, 2014 17:56
I don't believe Docker containers can be renamed (yet). However, since containers are currently ephemeral and move around between hosts, this shouldn't be a problem.
We should explore having apps:rename
roll a new release, which would result in a new set of containers, while garbage collecting the old.
from controller.
From @deis-admin on January 19, 2017 23:23
From @developerinlondon on June 12, 2014 16:37
which version is this on? i cant see it in Deis 0.9.1 ?
from controller.
From @deis-admin on January 19, 2017 23:23
From @bacongobbler on June 12, 2014 16:39
@developerinlondon the PR was closed as it was too hard to test. This is still a WIP.
from controller.
From @deis-admin on January 19, 2017 23:23
From @developerinlondon on June 12, 2014 20:22
what kind of testing framework are you guys using? i would have thought something like http://falcao.it/sure/ would be quite good for this.
from controller.
From @deis-admin on January 19, 2017 23:23
From @bacongobbler on June 12, 2014 20:36
Right now it's just a bunch of rake tasks, but @mboersma and @smothiki are currently re-writing our integration tests in Go. Out logger's in Go, deisctl
will be written in Go, the Deis client will eventually be re-implemented in Go, one day I hope to re-write the controller in Go, etc. It's just a good fit for us. The controller is the only special snowflake written in Python (as well as the client, but see above).
from controller.
From @deis-admin on January 19, 2017 23:23
From @bacongobbler on July 16, 2014 22:51
We have domains:add
and users can create specific app names with apps:create [id]
. I'm not too sure if apps:rename is too critical of a feature, as domains:add
puts us at feature-parity for running an app under a different application name e.g. deis domains:add example-app-v2.example.com
is an alias for the original application name.
@gabrtv is this acceptable for the time being and we can close this issue by design, or is there another use case that's missing here?
from controller.
From @deis-admin on January 19, 2017 23:23
From @gabrtv on July 30, 2014 1:34
@bacongobbler I think we ultimately want an apps:rename
command to model Heroku. However as you mentioned there are a number of workaround, so it's not critical.
from controller.
From @deis-admin on January 19, 2017 23:23
From @jessefulton on December 19, 2014 16:10
+1 on this
from controller.
From @deis-admin on January 19, 2017 23:23
From @olalonde on March 17, 2015 8:27
+1. Personally, I don't mind what the docker containers are called. I would just like to have more descriptive names when I run deis apps
. Internally, deis apps:rename
could just map the new name to the actual docker container name without changing it.
from controller.
From @deis-admin on January 19, 2017 23:23
From @olalonde on April 13, 2015 17:13
Has this been implemented yet?
from controller.
From @deis-admin on January 19, 2017 23:23
From @mboersma on April 13, 2015 17:19
Has this been implemented yet?
Not yet. We would love to see a PR submitted. 😄
from controller.
From @deis-admin on January 19, 2017 23:23
From @carmstrong on April 13, 2015 17:20
I would just like to have more descriptive names when I run deis apps
apps:rename
hasn't been implemented. Are you aware that you can give an app a descriptive name when you create it? There's a parameter for the application's name, and you can give it a friendly one:
$ deis help create
Creates a new application.
- if no <id> is provided, one will be generated automatically.
Usage: deis apps:create [<id>] [options]
Arguments:
<id>
a uniquely identifiable name for the application. No other app can already
exist with this name.
Options:
--no-remote
do not create a `deis` git remote.
-b --buildpack BUILDPACK
a buildpack url to use for this app
-r --remote REMOTE
name of remote to create. [default: deis]
from controller.
From @deis-admin on January 19, 2017 23:23
From @Joshua-Anderson on July 15, 2015 21:23
I'd be happy to take a look at this once the go client rewrite has settled down.
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.