次の方法で共有


MetricSpecV2.External Property

Definition

Defines the configuration for an external metric source in the Kubernetes MetricSpecV2.

[YamlDotNet.Serialization.YamlMember(Alias="external")]
public Aspire.Hosting.Kubernetes.Resources.ExternalMetricSourceV2 External { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="external")>]
member this.External : Aspire.Hosting.Kubernetes.Resources.ExternalMetricSourceV2 with get, set
Public Property External As ExternalMetricSourceV2

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

The External property specifies an external metric to be used for scaling behavior in Kubernetes, where the metric originates from an outside monitoring system or component. It allows the definition of the metric name, associated selectors, and the desired target values for autoscaling. This provides flexibility in extending metric sources beyond standard Kubernetes resource and container metrics.

Applies to