Package | Description |
---|---|
com.github.dockerjava.api.model |
Modifier and Type | Method and Description |
---|---|
ServicePlacement |
TaskSpec.getPlacement() |
ServicePlacement |
ServicePlacement.withConstraints(List<String> constraints) |
ServicePlacement |
ServicePlacement.withMaxReplicas(int maxReplicas)
Specifies the maximum amount of replicas / tasks that can run on one node.
|
Modifier and Type | Method and Description |
---|---|
TaskSpec |
TaskSpec.withPlacement(ServicePlacement placement) |
Copyright © 2021. All rights reserved.