PodsMetricSourceV2
Class sealed net10.0
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.
namespace Aspire.Hosting.Kubernetes.Resources;
public sealed class PodsMetricSourceV2{ // ...}Remarks
Section titled 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.
Constructors1
Section titled ConstructorsProperties2
Section titled PropertiesMetricget; set Represents the metric associated with a Kubernetes PodsMetricSourceV2 resource.
Targetget; set 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.