struct Kubernetes::ReplicaSetStatus

Overview

ReplicaSetStatus represents the current status of a ReplicaSet.

Included Modules

Defined in:

generated/models/io_k8s_api_apps_v1.cr

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : ::JSON::PullParser) #

def self.new(*, __pull_for_json_serializable pull : ::JSON::PullParser) #

def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

Macro Detail

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

Helper macro for defining fields with automatic camelCase conversion


Instance Method Detail

def available_replicas : Int32 | Nil #

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


def available_replicas=(available_replicas : Int32 | Nil) #

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


def conditions : Array(ReplicaSetCondition) | Nil #

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


def conditions=(conditions : Array(ReplicaSetCondition) | Nil) #

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


def fully_labeled_replicas : Int32 | Nil #

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


def 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.


def observed_generation : Int64 | Nil #

ObservedGeneration reflects the generation of the most recently observed ReplicaSet.


def observed_generation=(observed_generation : Int64 | Nil) #

ObservedGeneration reflects the generation of the most recently observed ReplicaSet.


def ready_replicas : Int32 | Nil #

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


def ready_replicas=(ready_replicas : Int32 | Nil) #

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


def replicas : Int32 | Nil #

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


def 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


def 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).


def 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).