Kazan v0.11.0 Kazan.Apis.Apps.V1beta2.DeploymentSpec View Source

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

OpenAPI Definition: io.k8s.api.apps.v1beta2.DeploymentSpec

Properties

  • min_ready_seconds :: Integer

    • 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)
  • paused :: Boolean

    • Indicates that the deployment is paused.
  • progress_deadline_seconds :: Integer

    • 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 ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
  • replicas :: Integer

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

    • The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
  • selector :: Kazan.Models.Apimachinery.Meta.V1.LabelSelector

    • Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template’s labels.
  • strategy :: Kazan.Apis.Apps.V1beta2.DeploymentStrategy

    • The deployment strategy to use to replace existing pods with new ones.
  • template :: Kazan.Apis.Core.V1.PodTemplateSpec

    • Template describes the pods that will be created.

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Kazan.Apis.Apps.V1beta2.DeploymentSpec{
  min_ready_seconds: integer(),
  paused: boolean(),
  progress_deadline_seconds: integer(),
  replicas: integer(),
  revision_history_limit: integer(),
  selector: Kazan.Models.Apimachinery.Meta.V1.LabelSelector.t(),
  strategy: Kazan.Apis.Apps.V1beta2.DeploymentStrategy.t(),
  template: Kazan.Apis.Core.V1.PodTemplateSpec.t()
}