struct Kubernetes::DeploymentStatus

Overview

DeploymentStatus is the most recently observed status of the Deployment.

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 non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.


def available_replicas=(available_replicas : Int32 | Nil) #

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


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


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


def conditions : Array(DeploymentCondition) | Nil #

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


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

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


def observed_generation : Int64 | Nil #

The generation observed by the deployment controller.


def observed_generation=(observed_generation : Int64 | Nil) #

The generation observed by the deployment controller.


def ready_replicas : Int32 | Nil #

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


def ready_replicas=(ready_replicas : Int32 | Nil) #

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


def replicas : Int32 | Nil #

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


def replicas=(replicas : Int32 | Nil) #

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


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


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


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


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


def updated_replicas : Int32 | Nil #

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


def updated_replicas=(updated_replicas : Int32 | Nil) #

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