struct

Kubernetes::MetricValueStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

MetricValueStatus holds the current value for a metric

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

average_utilization

averageUtilization 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.

Source
average_utilization=(average_utilization : Int32 | Nil)

averageUtilization 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.

Source
average_value

averageValue is the current value of the average of the metric across all relevant pods (as a quantity)

Source
average_value=(average_value : Quantity | Nil)

averageValue is the current value of the average of the metric across all relevant pods (as a quantity)

Source
value

value is the current value of the metric (as a quantity).

Source
value=(value : Quantity | Nil)

value is the current value of the metric (as a quantity).

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source