Class GangSchedulingPolicy
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1beta1.GangSchedulingPolicy
-
- All Implemented Interfaces:
Editable<GangSchedulingPolicyBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class GangSchedulingPolicy extends Object implements Editable<GangSchedulingPolicyBuilder>, KubernetesResource
GangSchedulingPolicy defines the parameters for gang scheduling.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GangSchedulingPolicy()No args constructor for use in serializationGangSchedulingPolicy(Integer minCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GangSchedulingPolicyBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMinCount()minCount is the minimum number of pods that must be schedulable or 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 schedulable or scheduled at the same time for the scheduler to admit the entire group.GangSchedulingPolicyBuildertoBuilder()
-
-
-
Constructor Detail
-
GangSchedulingPolicy
public GangSchedulingPolicy()
No args constructor for use in serialization
-
GangSchedulingPolicy
public GangSchedulingPolicy(Integer minCount)
-
-
Method Detail
-
getMinCount
public Integer getMinCount()
minCount is the minimum number of pods that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer. This field is mutable to support workload scaling.Note that the scheduler operates on an eventually consistent model. Updates to minCount may not be immediately reflected in scheduling decisions due to propagation delays. If minCount is updated while a scheduling cycle is in progress for that group, the new value may not take effect until the next cycle. Moreover, minCount is only enforced during scheduling, meaning that modifications to this field do not affect already-scheduled pods, applying only to those evaluated in future cycles.
-
setMinCount
public void setMinCount(Integer minCount)
minCount is the minimum number of pods that must be schedulable or scheduled at the same time for the scheduler to admit the entire group. It must be a positive integer. This field is mutable to support workload scaling.Note that the scheduler operates on an eventually consistent model. Updates to minCount may not be immediately reflected in scheduling decisions due to propagation delays. If minCount is updated while a scheduling cycle is in progress for that group, the new value may not take effect until the next cycle. Moreover, minCount is only enforced during scheduling, meaning that modifications to this field do not affect already-scheduled pods, applying only to those evaluated in future cycles.
-
edit
public GangSchedulingPolicyBuilder edit()
- Specified by:
editin interfaceEditable<GangSchedulingPolicyBuilder>
-
toBuilder
public GangSchedulingPolicyBuilder toBuilder()
-
-