Class MachinePoolStatus
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.v1.MachinePoolStatus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<MachinePoolStatusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class MachinePoolStatus extends Object implements io.fabric8.kubernetes.api.builder.Editable<MachinePoolStatusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
MachinePoolStatus defines the observed state of MachinePool- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MachinePoolStatus()No args constructor for use in serializationMachinePoolStatus(List<MachinePoolCondition> conditions, Long controlledByReplica, List<MachineSetStatus> machineSets, List<String> ownedLabels, List<String> ownedMachineLabels, List<TaintIdentifier> ownedTaints, Integer replicas)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolStatusBuilderedit()Map<String,Object>getAdditionalProperties()List<MachinePoolCondition>getConditions()Conditions includes more detailed status for the cluster deploymentLonggetControlledByReplica()ControlledByReplica indicates which replica of the hive-machinepool StatefulSet is responsible for this MachinePool.List<MachineSetStatus>getMachineSets()MachineSets is the status of the machine sets for the machine pool on the remote cluster.List<String>getOwnedLabels()OwnedLabels lists the keys of labels this MachinePool created on the remote MachineSet's MachineSpec.List<String>getOwnedMachineLabels()OwnedMachineLabels lists the keys of labels this MachinePool created on the remote MachineSet's MachineTemplateSpec.List<TaintIdentifier>getOwnedTaints()OwnedTaints lists identifiers of taints this MachinePool created on the remote MachineSet.IntegergetReplicas()Replicas is the current number of replicas for the machine pool.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConditions(List<MachinePoolCondition> conditions)Conditions includes more detailed status for the cluster deploymentvoidsetControlledByReplica(Long controlledByReplica)ControlledByReplica indicates which replica of the hive-machinepool StatefulSet is responsible for this MachinePool.voidsetMachineSets(List<MachineSetStatus> machineSets)MachineSets is the status of the machine sets for the machine pool on the remote cluster.voidsetOwnedLabels(List<String> ownedLabels)OwnedLabels lists the keys of labels this MachinePool created on the remote MachineSet's MachineSpec.voidsetOwnedMachineLabels(List<String> ownedMachineLabels)OwnedMachineLabels lists the keys of labels this MachinePool created on the remote MachineSet's MachineTemplateSpec.voidsetOwnedTaints(List<TaintIdentifier> ownedTaints)OwnedTaints lists identifiers of taints this MachinePool created on the remote MachineSet.voidsetReplicas(Integer replicas)Replicas is the current number of replicas for the machine pool.MachinePoolStatusBuildertoBuilder()
-
-
-
Constructor Detail
-
MachinePoolStatus
public MachinePoolStatus()
No args constructor for use in serialization
-
MachinePoolStatus
public MachinePoolStatus(List<MachinePoolCondition> conditions, Long controlledByReplica, List<MachineSetStatus> machineSets, List<String> ownedLabels, List<String> ownedMachineLabels, List<TaintIdentifier> ownedTaints, Integer replicas)
-
-
Method Detail
-
getConditions
public List<MachinePoolCondition> getConditions()
Conditions includes more detailed status for the cluster deployment
-
setConditions
public void setConditions(List<MachinePoolCondition> conditions)
Conditions includes more detailed status for the cluster deployment
-
getControlledByReplica
public Long getControlledByReplica()
ControlledByReplica indicates which replica of the hive-machinepool StatefulSet is responsible for this MachinePool. Note that this value indicates the replica that most recently handled the MachinePool. If the hive-machinepool statefulset is scaled up or down, the controlling replica can change, potentially causing logs to be spread across multiple pods.
-
setControlledByReplica
public void setControlledByReplica(Long controlledByReplica)
ControlledByReplica indicates which replica of the hive-machinepool StatefulSet is responsible for this MachinePool. Note that this value indicates the replica that most recently handled the MachinePool. If the hive-machinepool statefulset is scaled up or down, the controlling replica can change, potentially causing logs to be spread across multiple pods.
-
getMachineSets
public List<MachineSetStatus> getMachineSets()
MachineSets is the status of the machine sets for the machine pool on the remote cluster.
-
setMachineSets
public void setMachineSets(List<MachineSetStatus> machineSets)
MachineSets is the status of the machine sets for the machine pool on the remote cluster.
-
getOwnedLabels
public List<String> getOwnedLabels()
OwnedLabels lists the keys of labels this MachinePool created on the remote MachineSet's MachineSpec. (In contrast with OwnedMachineLabels.) Used to identify labels to remove from the remote MachineSet when they are absent from the MachinePool's spec.labels.
-
setOwnedLabels
public void setOwnedLabels(List<String> ownedLabels)
OwnedLabels lists the keys of labels this MachinePool created on the remote MachineSet's MachineSpec. (In contrast with OwnedMachineLabels.) Used to identify labels to remove from the remote MachineSet when they are absent from the MachinePool's spec.labels.
-
getOwnedMachineLabels
public List<String> getOwnedMachineLabels()
OwnedMachineLabels lists the keys of labels this MachinePool created on the remote MachineSet's MachineTemplateSpec. (In contrast with OwnedLabels.) Used to identify labels to remove from the remote MachineSet when they are absent from the MachinePool's spec.machineLabels.
-
setOwnedMachineLabels
public void setOwnedMachineLabels(List<String> ownedMachineLabels)
OwnedMachineLabels lists the keys of labels this MachinePool created on the remote MachineSet's MachineTemplateSpec. (In contrast with OwnedLabels.) Used to identify labels to remove from the remote MachineSet when they are absent from the MachinePool's spec.machineLabels.
-
getOwnedTaints
public List<TaintIdentifier> getOwnedTaints()
OwnedTaints lists identifiers of taints this MachinePool created on the remote MachineSet. Used to identify taints to remove from the remote MachineSet when they are absent from the MachinePool's spec.taints.
-
setOwnedTaints
public void setOwnedTaints(List<TaintIdentifier> ownedTaints)
OwnedTaints lists identifiers of taints this MachinePool created on the remote MachineSet. Used to identify taints to remove from the remote MachineSet when they are absent from the MachinePool's spec.taints.
-
getReplicas
public Integer getReplicas()
Replicas is the current number of replicas for the machine pool.
-
setReplicas
public void setReplicas(Integer replicas)
Replicas is the current number of replicas for the machine pool.
-
edit
public MachinePoolStatusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolStatusBuilder>
-
toBuilder
public MachinePoolStatusBuilder toBuilder()
-
-