package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Stateful_set_status represents the current state of a Stateful_set.

type t
val to_yojson : t -> Yojson.Safe.t
val make : ?updated_replicas:int -> ?update_revision:string -> replicas:int -> ?ready_replicas:int -> ?observed_generation:int -> ?current_revision:string -> ?current_replicas:int -> ?conditions:Kubernetes.Definitions.Api.Apps.V1.Stateful_set_condition.t list -> ?collision_count:int -> unit -> t
val collision_count : t -> int option

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

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

val current_replicas : t -> int option

current_replicas is the number of Pods created by the Stateful_set controller from the Stateful_set version indicated by current_revision.

val current_revision : t -> string option

current_revision, if not empty, indicates the version of the Stateful_set used to generate Pods in the sequence [0,current_replicas).

val observed_generation : t -> int option

observed_generation is the most recent generation observed for this Stateful_set. It corresponds to the Stateful_set's generation, which is updated on mutation by the Api Server.

val ready_replicas : t -> int option

ready_replicas is the number of Pods created by the Stateful_set controller that have a Ready Condition.

val replicas : t -> int

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

val update_revision : t -> string option

update_revision, if not empty, indicates the version of the Stateful_set used to generate Pods in the sequence [replicas_updated_replicas,replicas)

val updated_replicas : t -> int option

updated_replicas is the number of Pods created by the Stateful_set controller from the Stateful_set version indicated by update_revision.

module Object : Object.S with type value := t