autoscaling.v2beta2.objectMetricStatus
"ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object)."
Index
obj current
fn withAverageUtilization(averageUtilization)
fn withAverageValue(averageValue)
fn withValue(value)
obj describedObject
fn withApiVersion(apiVersion)
fn withKind(kind)
fn withName(name)
obj metric
fn withName(name)
obj metric.selector
Fields
obj current
"MetricValueStatus holds the current value for a metric"
fn current.withAverageUtilization
withAverageUtilization(averageUtilization)
"currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods."
fn current.withAverageValue
withAverageValue(averageValue)
"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n
fn current.withValue
withValue(value)
"Quantity is a fixed-point representation of a number. It provides convenient marshaling/unmarshaling in JSON and YAML, in addition to String() and AsInt64() accessors.\n\nThe serialization format is:\n\n
obj describedObject
"CrossVersionObjectReference contains enough information to let you identify the referred resource."
fn describedObject.withApiVersion
withApiVersion(apiVersion)
"API version of the referent"
fn describedObject.withKind
withKind(kind)
"Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds\
fn describedObject.withName
withName(name)
"Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names"
obj metric
"MetricIdentifier defines the name and optionally selector for a metric"
fn metric.withName
withName(name)
"name is the name of the given metric"
obj metric.selector
"A label selector is a label query over a set of resources. The result of matchLabels and matchExpressions are ANDed. An empty label selector matches all objects. A null label selector matches no objects."
fn metric.selector.withMatchExpressions
withMatchExpressions(matchExpressions)
"matchExpressions is a list of label selector requirements. The requirements are ANDed."
fn metric.selector.withMatchExpressionsMixin
withMatchExpressionsMixin(matchExpressions)
"matchExpressions is a list of label selector requirements. The requirements are ANDed."
Note: This function appends passed data to existing values
fn metric.selector.withMatchLabels
withMatchLabels(matchLabels)
"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."
fn metric.selector.withMatchLabelsMixin
withMatchLabelsMixin(matchLabels)
"matchLabels is a map of {key,value} pairs. A single {key,value} in the matchLabels map is equivalent to an element of matchExpressions, whose key field is \"key\", the operator is \"In\", and the values array contains only \"value\". The requirements are ANDed."
Note: This function appends passed data to existing values