Back to godoc.org
github.com/jthomperoo/horizontal-pod-autoscaler

Directory github.com/jthomperoo/horizontal-pod-autoscaler

v0.5.0
Latest Go to latest
Published: Mar 10, 2020 | License: Apache-2.0 | Module: github.com/jthomperoo/horizontal-pod-autoscaler
Path Synopsis
cmd/horizontal-pod-autoscaler Horizontal Pod Autoscaler provides executable Horizontal Pod Autoscaler logic, which can be built into a Custom Pod Autoscaler.
evaluate Package evaluate handles the decision making part of the Horizontal Pod Autoscaler, being fed metrics gathered by the metric gatherer and using these to calculate how many replicas a resource should have.
evaluate/calculate
evaluate/external
evaluate/object
evaluate/pods
evaluate/resource
fake
metric Package metric provides metric gathering, in the same way that the Horizontal Pod Autoscaler gathers metrics, using the metrics APIs.
metric/external
metric/object
metric/pods
metric/podutil
metric/resource
podclient Package podclient provides an on-demand client for retrieving pods, without using caching, as the HorizontalPodAutoscaler does.