Class WorkloadPodGroupGangSchedulingPolicy
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1alpha3.WorkloadPodGroupGangSchedulingPolicy
-
- All Implemented Interfaces:
Editable<WorkloadPodGroupGangSchedulingPolicyBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class WorkloadPodGroupGangSchedulingPolicy extends Object implements Editable<WorkloadPodGroupGangSchedulingPolicyBuilder>, KubernetesResource
WorkloadPodGroupGangSchedulingPolicy defines the parameters for gang (all-or-nothing) scheduling.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkloadPodGroupGangSchedulingPolicy()No args constructor for use in serializationWorkloadPodGroupGangSchedulingPolicy(Integer minCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkloadPodGroupGangSchedulingPolicyBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMinCount()minCount is the minimum number of pods that must be scheduled at the same time for the scheduler to admit the entire group.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMinCount(Integer minCount)minCount is the minimum number of pods that must be scheduled at the same time for the scheduler to admit the entire group.WorkloadPodGroupGangSchedulingPolicyBuildertoBuilder()
-
-
-
Constructor Detail
-
WorkloadPodGroupGangSchedulingPolicy
public WorkloadPodGroupGangSchedulingPolicy()
No args constructor for use in serialization
-
WorkloadPodGroupGangSchedulingPolicy
public WorkloadPodGroupGangSchedulingPolicy(Integer minCount)
-
-
Method Detail
-
getMinCount
public Integer getMinCount()
minCount is the minimum number of pods that must be scheduled at the same time for the scheduler to admit the entire group. This field is optional. If it is not specified, the controller should inject a context-specific sane default (e.g., parallelism for a Job). If set, it must be a positive integer.
-
setMinCount
public void setMinCount(Integer minCount)
minCount is the minimum number of pods that must be scheduled at the same time for the scheduler to admit the entire group. This field is optional. If it is not specified, the controller should inject a context-specific sane default (e.g., parallelism for a Job). If set, it must be a positive integer.
-
edit
public WorkloadPodGroupGangSchedulingPolicyBuilder edit()
- Specified by:
editin interfaceEditable<WorkloadPodGroupGangSchedulingPolicyBuilder>
-
toBuilder
public WorkloadPodGroupGangSchedulingPolicyBuilder toBuilder()
-
-