• Solly Ross's avatar
    HPA Controller: Use Custom Metrics API · d6fe1e87
    Solly Ross authored
    This commit switches over the HPA controller to use the custom metrics
    API.  It also converts the HPA controller to use the generated client
    in k8s.io/metrics for the resource metrics API.
    
    In order to enable support, you must enable
    `--horizontal-pod-autoscaler-use-rest-clients` on the
    controller-manager, which will switch the HPA controller's MetricsClient
    implementation over to use the standard rest clients for both custom
    metrics and resource metrics.  This requires that at the least resource
    metrics API is registered with kube-aggregator, and that the controller
    manager is pointed at kube-aggregator.  For this to work, Heapster
    must be serving the new-style API server (`--api-server=true`).
    d6fe1e87
Name
Last commit
Last update
..
metrics Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...
doc.go Loading commit data...
horizontal.go Loading commit data...
horizontal_test.go Loading commit data...
legacy_horizontal_test.go Loading commit data...
legacy_replica_calculator_test.go Loading commit data...
replica_calculator.go Loading commit data...
replica_calculator_test.go Loading commit data...