forked from knative/serving
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use actual pods from K8S Informer for scaling rate (knative#3055)
* refactor where we use rate * extract concurrencyPerPod * use approximateZero * use pods count from Informer * get pods when record * use 1 as min actual pod * add unit test * add unit tests for cmd * lint * address comments * remove unuse func * short locked scope * address comment * wrap func into func * address comments * add dot * revert handle file * exclude test coverage check for main files * clean cache in tests * removed cache * remove extral func call
- Loading branch information
1 parent
507454e
commit 6ff096f
Showing
6 changed files
with
267 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.