Comments (4)
after upgrade to 1.7.2, it's also work 😕
from workflow.
I had the same problem because some custom deployments of Kubernetes add the '+' to the minor version and the version() function in deis controller takes the complete minor including the '+' so when the HPA resource checks the api version you get the error because it compares with "1.3.0"
So I deployed a custom controller with scheduler's version function modified by me taking only the first element of the minor's string. Is not a good solution since the development side but you can bypass this situation while the people include cases like that in the controller main line.
from workflow.
can confirm this works on 1.7.2:
$ deis autoscale:set web --min=1 --max=3 --cpu=60
Applying autoscale settings for process type web on test-app... done
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.3", GitCommit:"2c2fe6e8278a5db2d15a013987b53968c743f2a1", GitTreeState:"clean", BuildDate:"2017-08-12T22:24:26Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.2", GitCommit:"922a86cfcd65915a9b2f69f3f193b8907d741d9c", GitTreeState:"clean", BuildDate:"2017-07-21T08:08:00Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
$ kubectl -n test-app get hpa
NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE
test-app-web Deployment/test-app-web <unknown> / 60% 1 3 1 1m
as well as on version 1.7.5:
$ deis autoscale:set web --min=1 --max=3 --cpu=60
Applying autoscale settings for process type web on test-app... done
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-08-31T19:32:26Z", GoVersion:"go1.9", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.5", GitCommit:"17d7182a7ccbb167074be7a87f0a68bd00d58d97", GitTreeState:"clean", BuildDate:"2017-08-31T08:56:23Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
$ kubectl -n test-app get hpa
NAME REFERENCE TARGETS MINPODS MAXPODS REPLICAS AGE
test-app-web Deployment/test-app-web <unknown> / 60% 1 3 1 2m
from workflow.
This issue was moved to teamhephy/workflow#9
from workflow.
Related Issues (20)
- nip.io not filtered by my DNS provider HOT 4
- Can't pull example-go application HOT 2
- Workflow issue using store persistent data in AWS S3 HOT 1
- Resource limits / affinity for the builder pods HOT 1
- failure pushing to on-cluster registry using minio + minikube HOT 2
- deis installation: Error: unknown flag: --clusterrole HOT 3
- How to reload app on file save. aka. local development workflow HOT 1
- docs(managing-app-processes): HPA algorithm link returns 404
- Fluentd pod crashing on Azure Container Service HOT 6
- received unexpected HTTP status: 500 Internal Server Error HOT 2
- `deis run` returns 503 code HOT 6
- helm/2517 - Deis on OpenShift HOT 23
- Random 502 Bad Gateway from the app and deis controller HOT 1
- Internal Server error for application comodo EV Multi-Domain SSL Certificates HOT 1
- incorrect minikube xhyve link in documentation HOT 1
- How to config "Native Ingress" on minikube or IBM cloud? HOT 2
- Broken parameters persisting in Deis deployments
- Docs and Charts are unreachable HOT 7
- helm install fails HOT 1
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 workflow.