TaskSpec

constructor(pluginSpec: TaskSpecPluginSpec? = null, containerSpec: TaskSpecContainerSpec? = null, networkAttachmentSpec: TaskSpecNetworkAttachmentSpec? = null, resources: TaskSpecResources? = null, restartPolicy: TaskSpecRestartPolicy? = null, placement: TaskSpecPlacement? = null, forceUpdate: Int? = null, runtime: String? = null, networks: List<NetworkAttachmentConfig>? = null, logDriver: TaskSpecLogDriver? = null)

Parameters

pluginSpec
containerSpec
networkAttachmentSpec
resources
restartPolicy
placement
forceUpdate

A counter that triggers an update even if no relevant parameters have been changed.

runtime

Runtime is the type of runtime specified for the task executor.

networks

Specifies which networks the service should attach to.

logDriver