package
1.1.0
Repository: https://github.com/pelioniot/edge-kubelet.git
Documentation: pkg.go.dev

# Functions

GetMetricUtilizationRatio takes in a set of metrics and a target utilization value, and calcuates the ratio of desired to actual utilization (returning that and the actual utilization).
GetResourceUtilizationRatio takes in a set of metrics, a set of matching requests, and a target utilization percentage, and calculates the ratio of desired to actual utilization (returning that, the actual utilization, and the raw average value).
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
use the first exposed port on the service.
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
PodMetric contains pod metric value (the metric values are expected to be the metric as a milli-value).

# Interfaces

MetricsClient knows how to query a remote interface to retrieve container-level resource metrics as well as pod-level arbitrary metrics.

# Type aliases

PodMetricsInfo contains pod metrics as a map from pod names to PodMetricsInfo.