package kubecaml

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

Deployment_spec is the specification of the desired behavior of the Deployment.

type t
val to_yojson : t -> Yojson.Safe.t
val make : template:Kubernetes.Definitions.Api.Core.V1.Pod_template_spec.t -> ?strategy:Kubernetes.Definitions.Api.Extensions.V1beta1.Deployment_strategy.t -> ?selector: Kubernetes.Definitions.Apimachinery.Pkg.Apis.Meta.V1.Label_selector.t -> ?rollback_to:Kubernetes.Definitions.Api.Extensions.V1beta1.Rollback_config.t -> ?revision_history_limit:int -> ?replicas:int -> ?progress_deadline_seconds:int -> ?paused:bool -> ?min_ready_seconds:int -> unit -> t
val min_ready_seconds : t -> int option

Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)

val paused : t -> bool option

Indicates that the deployment is paused and will not be processed by the deployment controller.

val progress_deadline_seconds : t -> int option

The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a Progress_deadline_exceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. This is not set by default.

val replicas : t -> int option

Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.

val revision_history_limit : t -> int option

The number of old Replica_sets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified.

Deprecated. The config this deployment is rolling back to. Will be cleared after rollback is done.

Label selector for pods. Existing Replica_sets whose pods are selected by this will be the ones affected by this deployment.

The deployment strategy to use to replace existing pods with new ones.

Template describes the pods that will be created.

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

Innovation. Community. Security.