Deploy.Placement Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the placement constraints and preferences for service deployment.
[YamlDotNet.Serialization.YamlMember(Alias="placement")]
public Aspire.Hosting.Docker.Resources.ServiceNodes.Swarm.Placement? Placement { get; set; }
[<YamlDotNet.Serialization.YamlMember(Alias="placement")>]
member this.Placement : Aspire.Hosting.Docker.Resources.ServiceNodes.Swarm.Placement with get, set
Public Property Placement As Placement
Property Value
- Attributes
-
YamlDotNet.Serialization.YamlMemberAttribute
Remarks
The Placement
property defines the rules for how the service should be placed on nodes within a Docker Swarm. This includes constraints that must be satisfied and preferences to guide the scheduler.