Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AKS deis-controller at v2.20.1 can no longer scale process types #93

Closed
kingdonb opened this issue Feb 17, 2019 · 2 comments
Closed

AKS deis-controller at v2.20.1 can no longer scale process types #93

kingdonb opened this issue Feb 17, 2019 · 2 comments

Comments

@kingdonb
Copy link
Member

$ deis ps:scale web=3
Scaling processes... but first, coffee!
Error: Unknown Error (503): {"detail":"(scale): ('failed to scale Deployment \"sredash-web\" in Namespace \"sredash\": 400 Bad Request Scale in version \"v1\" cannot be handled as a Scale: no kind \"Scale\" is registered for version \"apps/v1\"', 'Deployment', 'sredash-web', 'sredash')"}

I'm at hephy/controller v2.20.1, and I have this new app, successfully deployed, but can't scale it. This is the error I get.

My cluster is an AKS agentpool on Standard_D2s_v3 instances, on this version:

Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.2", GitCommit:"cff46ab41ff0bb44d8584413b598ad8360ec1def", GitTreeState:"clean", BuildDate:"2019-01-13T23:15:13Z", GoVersion:"go1.11.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.5", GitCommit:"753b2dbc622f5cc417845f0ff8a77f539a4213ea", GitTreeState:"clean", BuildDate:"2018-11-26T14:31:35Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}

I rolled back my controller deployment to get it going again:

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
  annotations:
    component.deis.io/version: v2.20.0
    deployment.kubernetes.io/revision: "8"
$ kubectl --namespace=deis rollout undo deployment deis-controller --to-revision=6
$ deis ps:scale web=2
Scaling processes... but first, coffee!
done in 33s
=== sredash Processes
--- web:
sredash-web-85ccdc9559-7jvw8 up (v5)
sredash-web-85ccdc9559-qb6xw up (v5)

It worked... so also, related note, I wonder if we can get something to show up in these "Change Cause" columns of rollout history?

$ kubectl -n deis rollout history deployments deis-controller
deployment.extensions/deis-controller
REVISION  CHANGE-CAUSE
3         <none>
7         <none>
8         <none>
@kingdonb
Copy link
Member Author

I should have included the AKS version:

Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.5", GitCommit:"753b2dbc622f5cc417845f0ff8a77f539a4213ea", GitTreeState:"clean", BuildDate:"2018-11-26T14:31:35Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"linux/amd64"}

@Cryptophobia
Copy link
Member

This should be resolved in newest versions of Hephy Workflow!

duanhongyi added a commit to duanhongyi/controller that referenced this issue Apr 24, 2023
feat(controller): support app dns policy config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants