Watch Aspire live streamsDocsTry Aspire

PodsMetricSourceV2

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v17.0.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
{
// ...
}
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.
View all constructors
View all properties