Comments (5)
From @helgi on October 5, 2016 21:46
That seems like a problem with the e2e
setup and not Controller - deis run
has a 20-minute timeout loop itself on top of waiting for the component to come up in Kubernetes.
I'm suspecting any run that has deis run
failures also has additional failures. Kubernetes could be too slow for the e2e
60 second wait period.
from controller.
From @bacongobbler on October 5, 2016 22:2
I think the ask is "is 60 seconds too long for deis run ls
?" in which case, yes it can be. The problem is that the image needs to be fetched onto the worker node before the command is run. If there was a way we could pre-warm the worker nodes with the image, that may help speed things up.
I think it's both e2e's fault (the controller has a 20 minute timeout for deis run
operations, so maybe the e2e run should do the same) and it's also the controller's implementation of deis run
. If we can plug into kubectl exec
instead of dropping a pod every time we call deis run
, that might help make this situation more ideal.
from controller.
From @helgi on October 5, 2016 22:28
@bacongobbler kubectl
into an existing pod? I think the argument against that would be that you use those pods to serve traffic or do alternative things where as run
may be a bit destructive / intense operations. Not sure tho.
from controller.
From @bacongobbler on October 5, 2016 23:1
That is true. There can be an argument made for and against using kubectl exec
for deis run
.
from controller.
From @helgi on October 5, 2016 23:9
Yeah - Agreed. We could make both work... exec
mode picks a random pod of the a type (a particular proc type needs to be picked) to run
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.