ServiceSpecModeReplicatedJob

@Serializable
data class ServiceSpecModeReplicatedJob(val maxConcurrent: Long? = 1, val totalCompletions: Long? = null)

The mode used for services with a finite number of tasks that run to a completed state.

Parameters

maxConcurrent

The maximum number of replicas to run simultaneously.

totalCompletions

The total number of replicas desired to reach the Completed state. If unset, will default to the value of MaxConcurrent

Constructors

Link copied to clipboard
constructor(maxConcurrent: Long? = 1, totalCompletions: Long? = null)

Properties

Link copied to clipboard
@SerialName(value = "MaxConcurrent")
val maxConcurrent: Long?
Link copied to clipboard
@SerialName(value = "TotalCompletions")
val totalCompletions: Long?