k3s/pkg/apis/autoscaling/v1
Solly Ross caa78e0b3e Fix HPA v1 Conversion Bug
There was a bug in the HPA v1 conversion logic that would occur when
a custom metric and a metric that was encoded in v1 as
targetCPUUtilizationPercentage were used at the same time.  In this
case, the custom metric could overwrite the CPU metric, or vice versa.

This fixes that bug, and ensures that the fuzzer tests round-tripping
with multiple metrics.
2017-02-20 01:45:49 -05:00
..
BUILD Add autoscaling/v2alpha1 types to v1 in annotation 2017-02-07 17:40:31 -05:00
conversion.go Fix HPA v1 Conversion Bug 2017-02-20 01:45:49 -05:00
defaults.go Introduce HPA v2 API Objects 2017-02-07 17:20:14 -05:00
defaults_test.go start the apimachinery repo 2017-01-11 09:09:48 -05:00
doc.go Flag all packages as needing defaulters 2016-10-18 21:07:33 -04:00
generated.pb.go Generated Files for autoscaling/v2alpha1 2017-02-07 22:25:27 -05:00
generated.proto Generated Files for autoscaling/v2alpha1 2017-02-07 22:25:27 -05:00
register.go Introduce HPA v2 API Objects 2017-02-07 17:20:14 -05:00
types.generated.go Generated Files for autoscaling/v2alpha1 2017-02-07 22:25:27 -05:00
types.go Add autoscaling/v2alpha1 types to v1 in annotation 2017-02-07 17:40:31 -05:00
types_swagger_doc_generated.go Generated Files for autoscaling/v2alpha1 2017-02-07 22:25:27 -05:00
zz_generated.conversion.go Generated Files for autoscaling/v2alpha1 2017-02-07 22:25:27 -05:00
zz_generated.deepcopy.go Generated Files for autoscaling/v2alpha1 2017-02-07 22:25:27 -05:00
zz_generated.defaults.go start the apimachinery repo 2017-01-11 09:09:48 -05:00