-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
store ewma stats per backend #3467
store ewma stats per backend #3467
Conversation
616e49c
to
f81f061
Compare
42a1180
to
c03ac37
Compare
CI is broken, I made kubernetes-retired/kubeadm-dind-cluster#258 to fix it |
test/e2e/up.sh
Outdated
@@ -31,7 +31,7 @@ touch ${HOME}/.kube/config | |||
export KUBECONFIG=${HOME}/.kube/config | |||
|
|||
echo "starting Kubernetes cluster..." | |||
curl -Lo $DIR/dind-cluster-v1.11.sh https://raw.githubusercontent.com/kubernetes-sigs/kubeadm-dind-cluster/master/fixed/dind-cluster-v1.11.sh && \ | |||
curl -Lo $DIR/dind-cluster-v1.11.sh https://raw.githubusercontent.com/ElvinEfendi/kubeadm-dind-cluster/fix-fixed-scripts/fixed/dind-cluster-v1.11.sh && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is going to fix the CI, I'll revert once kubernetes-retired/kubeadm-dind-cluster#258 is merged
/assign @aledbf |
Codecov Report
@@ Coverage Diff @@
## master #3467 +/- ##
=======================================
Coverage 47.66% 47.66%
=======================================
Files 77 77
Lines 5899 5899
=======================================
Hits 2812 2812
Misses 2708 2708
Partials 379 379 Continue to review full report at Codecov.
|
9996687
to
c03ac37
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: aledbf, ElvinEfendi The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
Currently we store EWMA stats about upstream peers in a single dictionary regardless of app/backend. This PR refactors the code so that EWMA stats are part of EWMA balancer instance for a given backend.
Without this change when app A's upstream peers change, we would lose stats for app B's upstream peers as well. This PR is fixing that issue.
Which issue this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close that issue when PR gets merged): fixes #Special notes for your reviewer: