-
Notifications
You must be signed in to change notification settings - Fork 38.8k
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
HPA panics #39680
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/autoscaling
Categorizes an issue or PR as relevant to SIG Autoscaling.
Milestone
Comments
gmarek
added
kind/bug
Categorizes issue or PR as related to a bug.
priority/P0
sig/autoscaling
Categorizes an issue or PR as relevant to SIG Autoscaling.
labels
Jan 10, 2017
The bug is here:
|
I'll get a fix in this afternoon. |
@DirectXMan12 please do. We want it to get into 1.5.2 release. @saad-ali - fix for this is important to cherry-pick. |
Reassigned to @DirectXMan12 |
DirectXMan12
added a commit
to DirectXMan12/kubernetes
that referenced
this issue
Jan 10, 2017
In certain conditions in which the set of metrics returned by Heapster is completely disjoint from the set of pods returned by the API server, we can have a request sum of zero, which can cause a panic (due to division by zero). This checks for that condition. Fixes kubernetes#39680
Ack, please get the cherry-pick out ASAP. I'll keep an eye out. |
saad-ali
pushed a commit
to saad-ali/kubernetes
that referenced
this issue
Jan 11, 2017
In certain conditions in which the set of metrics returned by Heapster is completely disjoint from the set of pods returned by the API server, we can have a request sum of zero, which can cause a panic (due to division by zero). This checks for that condition. Fixes kubernetes#39680
k8s-github-robot
pushed a commit
that referenced
this issue
Jan 11, 2017
Automatic merge from submit-queue (batch tested with PRs 39694, 39383, 39651, 39691, 39497) HPA Controller: Check for 0-sum request value In certain conditions in which the set of metrics returned by Heapster is completely disjoint from the set of pods returned by the API server, we can have a request sum of zero, which can cause a panic (due to division by zero). This checks for that condition. Fixes #39680 **Release note**: ```release-note Fixes an HPA-related panic due to division-by-zero. ```
jayunit100
pushed a commit
to jayunit100/kubernetes
that referenced
this issue
Jan 13, 2017
In certain conditions in which the set of metrics returned by Heapster is completely disjoint from the set of pods returned by the API server, we can have a request sum of zero, which can cause a panic (due to division by zero). This checks for that condition. Fixes kubernetes#39680
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
kind/bug
Categorizes issue or PR as related to a bug.
sig/autoscaling
Categorizes an issue or PR as relevant to SIG Autoscaling.
I just run into panic in controller-manager:
This clearly shouldn't happen.
cc @fgrzadkowski @jszczepkowski @kubernetes/sig-autoscaling-misc
The text was updated successfully, but these errors were encountered: