Class V1DaemonSetStatus
java.lang.Object
io.kubernetes.client.openapi.models.V1DaemonSetStatus
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-04-23T13:45:09.091597Z[Etc/UTC]")
public class V1DaemonSetStatus
extends Object
DaemonSetStatus represents the current status of a daemon set.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConditionsItem
(V1DaemonSetCondition conditionsItem) collisionCount
(Integer collisionCount) conditions
(List<V1DaemonSetCondition> conditions) currentNumberScheduled
(Integer currentNumberScheduled) desiredNumberScheduled
(Integer desiredNumberScheduled) boolean
static V1DaemonSetStatus
Create an instance of V1DaemonSetStatus given an JSON stringCount of hash collisions for the DaemonSet.Represents the latest available observations of a DaemonSet's current state.The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod.The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod).The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod.numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)The most recent generation observed by the daemon set controller.The total number of nodes that are running updated daemon podint
hashCode()
numberAvailable
(Integer numberAvailable) numberMisscheduled
(Integer numberMisscheduled) numberReady
(Integer numberReady) numberUnavailable
(Integer numberUnavailable) observedGeneration
(Long observedGeneration) void
setCollisionCount
(Integer collisionCount) void
setConditions
(List<V1DaemonSetCondition> conditions) void
setCurrentNumberScheduled
(Integer currentNumberScheduled) void
setDesiredNumberScheduled
(Integer desiredNumberScheduled) void
setNumberAvailable
(Integer numberAvailable) void
setNumberMisscheduled
(Integer numberMisscheduled) void
setNumberReady
(Integer numberReady) void
setNumberUnavailable
(Integer numberUnavailable) void
setObservedGeneration
(Long observedGeneration) void
setUpdatedNumberScheduled
(Integer updatedNumberScheduled) toJson()
Convert an instance of V1DaemonSetStatus to an JSON stringtoString()
updatedNumberScheduled
(Integer updatedNumberScheduled) static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_COLLISION_COUNT
- See Also:
-
SERIALIZED_NAME_CONDITIONS
- See Also:
-
SERIALIZED_NAME_CURRENT_NUMBER_SCHEDULED
- See Also:
-
SERIALIZED_NAME_DESIRED_NUMBER_SCHEDULED
- See Also:
-
SERIALIZED_NAME_NUMBER_AVAILABLE
- See Also:
-
SERIALIZED_NAME_NUMBER_MISSCHEDULED
- See Also:
-
SERIALIZED_NAME_NUMBER_READY
- See Also:
-
SERIALIZED_NAME_NUMBER_UNAVAILABLE
- See Also:
-
SERIALIZED_NAME_OBSERVED_GENERATION
- See Also:
-
SERIALIZED_NAME_UPDATED_NUMBER_SCHEDULED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1DaemonSetStatus
public V1DaemonSetStatus()
-
-
Method Details
-
collisionCount
-
getCollisionCount
Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.- Returns:
- collisionCount
-
setCollisionCount
-
conditions
-
addConditionsItem
-
getConditions
Represents the latest available observations of a DaemonSet's current state.- Returns:
- conditions
-
setConditions
-
currentNumberScheduled
-
getCurrentNumberScheduled
The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/- Returns:
- currentNumberScheduled
-
setCurrentNumberScheduled
-
desiredNumberScheduled
-
getDesiredNumberScheduled
The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/- Returns:
- desiredNumberScheduled
-
setDesiredNumberScheduled
-
numberAvailable
-
getNumberAvailable
The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)- Returns:
- numberAvailable
-
setNumberAvailable
-
numberMisscheduled
-
getNumberMisscheduled
The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/- Returns:
- numberMisscheduled
-
setNumberMisscheduled
-
numberReady
-
getNumberReady
numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.- Returns:
- numberReady
-
setNumberReady
-
observedGeneration
-
getObservedGeneration
The most recent generation observed by the daemon set controller.- Returns:
- observedGeneration
-
setObservedGeneration
-
updatedNumberScheduled
-
getUpdatedNumberScheduled
The total number of nodes that are running updated daemon pod- Returns:
- updatedNumberScheduled
-
setUpdatedNumberScheduled
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object is invalid with respect to V1DaemonSetStatus
-
fromJson
Create an instance of V1DaemonSetStatus given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of V1DaemonSetStatus
- Throws:
IOException
- if the JSON string is invalid with respect to V1DaemonSetStatus
-
toJson
Convert an instance of V1DaemonSetStatus to an JSON string- Returns:
- JSON string
-