package kubecaml

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

Replica_set_status represents the current status of a Replica_set.

type t
val to_yojson : t -> Yojson.Safe.t
val make : replicas:int -> ?ready_replicas:int -> ?observed_generation:int -> ?fully_labeled_replicas:int -> ?conditions:Kubernetes.Definitions.Api.Apps.V1.Replica_set_condition.t list -> ?available_replicas:int -> unit -> t
val available_replicas : t -> int option

The number of available replicas (ready for at least min_ready_seconds) for this replica set.

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

val fully_labeled_replicas : t -> int option

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

val observed_generation : t -> int option

Observed_generation reflects the generation of the most recently observed Replica_set.

val ready_replicas : t -> int option

The number of ready replicas for this replica set.

val replicas : t -> int

Replicas is the most recently oberved number of replicas. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller/#what-is-a-replicationcontroller

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