struct

Kubernetes::DeploymentStatus

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

DeploymentStatus is the most recently observed status of the Deployment.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

available_replicas

Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.

Source
available_replicas=(available_replicas : Int32 | Nil)

Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.

Source
collision_count

Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.

Source
collision_count=(collision_count : Int32 | Nil)

Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.

Source
conditions

Represents the latest available observations of a deployment's current state.

Source
conditions=(conditions : Array(DeploymentCondition) | Nil)

Represents the latest available observations of a deployment's current state.

Source
observed_generation

The generation observed by the deployment controller.

Source
observed_generation=(observed_generation : Int64 | Nil)

The generation observed by the deployment controller.

Source
ready_replicas

Total number of non-terminating pods targeted by this Deployment with a Ready Condition.

Source
ready_replicas=(ready_replicas : Int32 | Nil)

Total number of non-terminating pods targeted by this Deployment with a Ready Condition.

Source
replicas

Total number of non-terminating pods targeted by this deployment (their labels match the selector).

Source
replicas=(replicas : Int32 | Nil)

Total number of non-terminating pods targeted by this deployment (their labels match the selector).

Source
terminating_replicas

Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).

Source
terminating_replicas=(terminating_replicas : Int32 | Nil)

Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase. This is a beta field and requires enabling DeploymentReplicaSetTerminatingReplicas feature (enabled by default).

Source
unavailable_replicas

Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.

Source
unavailable_replicas=(unavailable_replicas : Int32 | Nil)

Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.

Source
updated_replicas

Total number of non-terminating pods targeted by this deployment that have the desired template spec.

Source
updated_replicas=(updated_replicas : Int32 | Nil)

Total number of non-terminating pods targeted by this deployment that have the desired template spec.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source