kubernetes/test/e2e_federation
Kubernetes Submit Queue 82b3a80ad1 Merge pull request #49583 from irfanurrehman/fed-hpa-configTimeout
Automatic merge from submit-queue (batch tested with PRs 50016, 49583, 49930, 46254, 50337)

[Federation] Make the hpa scale time window configurable

This PR is on top of open pr https://github.com/kubernetes/kubernetes/pull/45993.
Please review only the last commit in this PR.
This adds a config param to controller manager, the value of which gets passed to hpa adapter via sync controller.
This is needed to reduce the overall time limit of the hpa scaling window to much lesser (then the default 2 mins) to get e2e tests run faster. Please see the comment on the newly added parameter.

**Special notes for your reviewer**:
@kubernetes/sig-federation-pr-reviews 
@quinton-hoole 
@marun to please validate the mechanism used to pass a parameter from cmd line to adapter.

**Release note**:

``` 
federation-controller-manager gets a new flag --hpa-scale-forbidden-window.
This flag is used to configure the duration used by federation hpa controller to determine if it can move max and/or min replicas 
around (or not), of a cluster local hpa object, by comparing current time with the last scaled time of that cluster local hpa. 
Lower value will result in faster response to scalibility conditions achieved by cluster local hpas on local replicas, but too low 
a value can result in thrashing. Higher values will result in slower response to scalibility conditions on local replicas.
```
2017-08-09 14:14:27 -07:00
..
framework use the core client with version 2017-07-26 19:16:02 +08:00
upgrades [Federation] Make the hpa scale time window configurable 2017-08-06 01:09:34 +05:30
apiserver.go run hack/update-all 2017-06-22 11:31:03 -07:00
authn.go Adds support for HTTP basic and token authentication to kubefed. 2017-03-01 11:04:05 -08:00
BUILD add fed job e2e test 2017-08-07 11:36:45 -07:00
crud.go [Federation] Make the hpa scale time window configurable 2017-08-06 01:09:34 +05:30
event.go run hack/update-all 2017-06-22 11:31:03 -07:00
ingress.go Fix code implicitly casting clientsets to getters 2017-08-06 15:30:13 +02:00
job.go add fed job e2e test 2017-08-07 11:36:45 -07:00
namespace.go use the core client with version 2017-07-26 19:16:02 +08:00
OWNERS Add Shashi as approver for e2e_federation 2017-08-07 13:08:40 -07:00
README.md Update docs/ URLs to point to proper locations 2017-06-05 22:13:54 -07:00
replicaset.go Fix code implicitly casting clientsets to getters 2017-08-06 15:30:13 +02:00
service.go Fix code implicitly casting clientsets to getters 2017-08-06 15:30:13 +02:00
upgrade.go fed: Add simple upgrade test 2017-04-18 15:46:43 -07:00
util.go Fix code implicitly casting clientsets to getters 2017-08-06 15:30:13 +02:00