struct

Kubernetes::ReplicaSetStatus

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

ReplicaSetStatus represents the current status of a ReplicaSet.

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

The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.

Source
available_replicas=(available_replicas : Int32 | Nil)

The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.

Source
conditions

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

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

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

Source
fully_labeled_replicas

The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.

Source
fully_labeled_replicas=(fully_labeled_replicas : Int32 | Nil)

The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.

Source
observed_generation

ObservedGeneration reflects the generation of the most recently observed ReplicaSet.

Source
observed_generation=(observed_generation : Int64 | Nil)

ObservedGeneration reflects the generation of the most recently observed ReplicaSet.

Source
ready_replicas

The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.

Source
ready_replicas=(ready_replicas : Int32 | Nil)

The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.

Source
replicas

Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset

Source
replicas=(replicas : Int32 | Nil)

Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset

Source
terminating_replicas

The number of terminating pods for this replica set. 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)

The number of terminating pods for this replica set. 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

Macros

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

Helper macro for defining fields with automatic camelCase conversion

Source