Watch Aspire live streamsDocsTry Aspire
Watch Aspire live streamsDocsTry

PodsMetricSourceV2

Classsealednet10.0
📦 Aspire.Hosting.Kubernetes v13.6.0-preview.1.26478.8
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