struct Kubernetes::StatefulSetStatus

Overview

StatefulSetStatus represents the current state of a StatefulSet.

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 #

Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.


def available_replicas=(available_replicas : Int32 | Nil) #

Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.


def collision_count : Int32 | Nil #

collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.


def collision_count=(collision_count : Int32 | Nil) #

collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.


def conditions : Array(StatefulSetCondition) | Nil #

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


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

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


def current_replicas : Int32 | Nil #

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.


def current_replicas=(current_replicas : Int32 | Nil) #

currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.


def current_revision : String | Nil #

currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).


def current_revision=(current_revision : String | Nil) #

currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).


def observed_generation : Int64 | Nil #

observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.


def observed_generation=(observed_generation : Int64 | Nil) #

observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.


def ready_replicas : Int32 | Nil #

readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.


def ready_replicas=(ready_replicas : Int32 | Nil) #

readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.


def replicas : Int32 | Nil #

replicas is the number of Pods created by the StatefulSet controller.


def replicas=(replicas : Int32 | Nil) #

replicas is the number of Pods created by the StatefulSet controller.


def update_revision : String | Nil #

updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)


def update_revision=(update_revision : String | Nil) #

updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)


def updated_replicas : Int32 | Nil #

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.


def updated_replicas=(updated_replicas : Int32 | Nil) #

updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.