Share via


PodsMetricSourceV2 Class

Definition

Represents a configuration for targeting metrics at the pod level in a Kubernetes environment. Provides specification for a metric associated with pod resources and the target value or criteria for monitoring and scaling purposes.

[YamlDotNet.Serialization.YamlSerializable]
public sealed class PodsMetricSourceV2
[<YamlDotNet.Serialization.YamlSerializable>]
type PodsMetricSourceV2 = class
Public NotInheritable Class PodsMetricSourceV2
Inheritance
PodsMetricSourceV2
Attributes
YamlDotNet.Serialization.YamlSerializableAttribute

Remarks

This class is designed for serializing and deserializing Kubernetes pod metric configurations in YAML format. It contains a metric identifier and a target specification to enable monitoring and scaling based on custom or predefined pod metrics.

Constructors

PodsMetricSourceV2()

Properties

Metric

Represents the metric associated with a Kubernetes PodsMetricSourceV2 resource.

Target

Defines the target configuration for a Kubernetes metric in version 2. Specifies the intended target values or utilization for the metric, used for monitoring and scaling purposes.

Applies to