ServiceOrderedPlacementStrategy

data class ServiceOrderedPlacementStrategy(val field: String? = null, val type: String)

Constructors

Link copied to clipboard
constructor(field: String? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val field: String? = null

For the spread placement strategy, valid values are instanceId (or host, which has the same effect), or any platform or custom attribute that is applied to a container instance. For the binpack type, valid values are memory and cpu. For the random type, this attribute is not needed. For more information, see Placement Strategy.

Link copied to clipboard

Type of placement strategy. Must be one of: binpack, random, or spread