-
Notifications
You must be signed in to change notification settings - Fork 3.3k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Req: Example for deployment rollback #427
Comments
I think that the new deployment needs another name |
Sorry! @cristifalcas . Pasted the wrong exception. Now updated with correct exception. |
After debugging little more, problem is not with request. Deployment is successfully rollbacked to previous version.
kubernetes client is failing may be because of the rollback response is different that other responses {u'status': u'Success', u'kind': u'Status', u'code': 200, u'apiVersion': u'v1', u'message': u'rollback request for deployment "nginx-app" succeeded', u'metadata': {}} Is this already a known bug? |
It's a problem in k8s openapi spec. This client is generated based on the openapi spec in every k8s release. A PR is in progress here kubernetes/kubernetes#56591. Closing |
w = watch.Watch()
i am getting error |
@prasad1991 At a glance the error is unrelated to this issue. Please file a separate issue |
Hi,
When I tried to rollback to last revision, getting below error:
Below is snippet that generating error:
You can find the complete code at https://pastebin.com/yNkA85ub
Could you please provide the example for rollback of a deployment?
The text was updated successfully, but these errors were encountered: