Deployment.Spec Property

Definition

Gets or sets the specification of the Kubernetes Deployment resource.

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

Property Value

Attributes
YamlDotNet.Serialization.YamlMemberAttribute

Remarks

This property defines the detailed configuration and desired state of the Deployment resource. It includes settings such as the desired number of replicas, update strategies, pod templates, label selectors, and other deployment-related configurations.

Applies to