Class PodGroupStatus
- java.lang.Object
-
- io.fabric8.kubernetes.api.model.scheduling.v1alpha3.PodGroupStatus
-
- All Implemented Interfaces:
Editable<PodGroupStatusBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class PodGroupStatus extends Object implements Editable<PodGroupStatusBuilder>, KubernetesResource
PodGroupStatus represents information about the status of a pod group.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PodGroupStatus()No args constructor for use in serializationPodGroupStatus(List<Condition> conditions, List<PodGroupResourceClaimStatus> resourceClaimStatuses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PodGroupStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<Condition>getConditions()conditions represent the latest observations of the PodGroup's state.List<PodGroupResourceClaimStatus>getResourceClaimStatuses()resourceClaimStatuses is status of resource claims.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<Condition> conditions)conditions represent the latest observations of the PodGroup's state.voidsetResourceClaimStatuses(List<PodGroupResourceClaimStatus> resourceClaimStatuses)resourceClaimStatuses is status of resource claims.PodGroupStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
PodGroupStatus
public PodGroupStatus()
No args constructor for use in serialization
-
PodGroupStatus
public PodGroupStatus(List<Condition> conditions, List<PodGroupResourceClaimStatus> resourceClaimStatuses)
-
-
Method Detail
-
getConditions
public List<Condition> getConditions()
conditions represent the latest observations of the PodGroup's state.Known condition types: - "PodGroupInitiallyScheduled": Indicates whether the scheduling requirement has been satisfied. Once this condition transitions to True, it serves as a terminal state and will never revert to False, even if pods are subsequently evicted and group constraints are no longer met. - "DisruptionTarget": Indicates whether the PodGroup is about to be terminated
due to disruption such as preemption.
Known reasons for the PodGroupInitiallyScheduled condition: - "Unschedulable": The PodGroup cannot be scheduled due to resource constraints,
affinity/anti-affinity rules, or insufficient capacity for the gang.
- "SchedulerError": The PodGroup cannot be scheduled due to some internal error
that happened during scheduling, for example due to nodeAffinity parsing errors.
Known reasons for the DisruptionTarget condition: - "PreemptionByScheduler": The PodGroup was preempted by the scheduler to make room for
higher-priority PodGroups or Pods.
-
setConditions
public void setConditions(List<Condition> conditions)
conditions represent the latest observations of the PodGroup's state.Known condition types: - "PodGroupInitiallyScheduled": Indicates whether the scheduling requirement has been satisfied. Once this condition transitions to True, it serves as a terminal state and will never revert to False, even if pods are subsequently evicted and group constraints are no longer met. - "DisruptionTarget": Indicates whether the PodGroup is about to be terminated
due to disruption such as preemption.
Known reasons for the PodGroupInitiallyScheduled condition: - "Unschedulable": The PodGroup cannot be scheduled due to resource constraints,
affinity/anti-affinity rules, or insufficient capacity for the gang.
- "SchedulerError": The PodGroup cannot be scheduled due to some internal error
that happened during scheduling, for example due to nodeAffinity parsing errors.
Known reasons for the DisruptionTarget condition: - "PreemptionByScheduler": The PodGroup was preempted by the scheduler to make room for
higher-priority PodGroups or Pods.
-
getResourceClaimStatuses
public List<PodGroupResourceClaimStatus> getResourceClaimStatuses()
resourceClaimStatuses is status of resource claims.
-
setResourceClaimStatuses
public void setResourceClaimStatuses(List<PodGroupResourceClaimStatus> resourceClaimStatuses)
resourceClaimStatuses is status of resource claims.
-
edit
public PodGroupStatusBuilder edit()
- Specified by:
editin interfaceEditable<PodGroupStatusBuilder>
-
toBuilder
public PodGroupStatusBuilder toBuilder()
-
-