-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[addon-resizer] deployment update drops existing toleration fields #188
Comments
@x13n @MaciekPytel since you guys seems to be the new owner :) |
PodSpec used by pod_nanny (via DeploymentInterface -> Deployment -> DeploymentSpec -> PodTemplateSpec) doesn't have Tolarations field defined, looks like it's using an older definition of Pod. Old godeps? |
looks like it indeed, from my understanding it is using an old k8s go client. version |
@djsly I briefly chatted with @MaciekPytel today about this. Neither me nor him can look into this immediately, but this should get fixed some time between now and 1.8. This should be a matter of updating godeps. Of course, PR to fix this would be welcome. |
Thanks @x13n, I will try to find time for this as well, I had a question, how can I know the version of GO used by all of the different k8s projects? when I started to look at fixing, I got stuck at |
@djsly there is something in godeps https://github.com/kubernetes/autoscaler/blob/master/addon-resizer/Godeps/Godeps.json#L3, though there is not guarantee it was built with this version. |
@piosz - kubernetes/autoscaler contains the new version that has not been fully release yet. The old one lived in kubernetes/contrib. |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
This is fixed in the latest release, closing. |
Which release is that? I still see this behavior—for both the "tolerations" and "affinity" fields in the pod spec—using the container image k8s.gcr.io/addon-resizer:1.7. |
Ah, I see there was a release of version 1.8.1 on 8 December 2017. |
Version 1.8.1 does not parse command-line flags properly (per #559). There is also a later container image k8s.gcr.io/addon-resizer:1.8.3 that's free of that problem. |
Due to a bug in 1.0 kubernetes/autoscaler#188 Fixes: #1201
Due to a bug in 1.0 kubernetes/autoscaler#188 Fixes: #1201
* Issue template - autoscaler upstream sync * corrected CA FAQ and sync request * typos & 1.x.y->1.x.0 * correct sync-change md
Rename guaranteed to min and ceiling to max
Probably due to the version of the k8s go client used by the addon-resizer
Go client version
The text was updated successfully, but these errors were encountered: