package
1.6.0-alpha.3
Repository: https://github.com/monopole/kubernetes.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 calcuates the the ratio of desired to actual utilization (returning that and the actual utilization).
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

# 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 resourcemetric values as a map from pod names to metric values.
PodResourceInfo contains pod resourcemetric values as a map from pod names to metric values.