class K8S::Api::Apps::V1::DeploymentSpec
- K8S::Api::Apps::V1::DeploymentSpec
- Reference
- Object
Overview
DeploymentSpec is the specification of the desired behavior of the Deployment.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.13/api/apps/v1/deployment_spec.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, selector : Apimachinery::Apis::Meta::V1::LabelSelector, template : Api::Core::V1::PodTemplateSpec, min_ready_seconds : Int32? = nil, paused : Bool? = nil, progress_deadline_seconds : Int32? = nil, replicas : Int32? = nil, revision_history_limit : Int32? = nil, strategy : Api::Apps::V1::DeploymentStrategy? = nil)
Instance Method Summary
- #min_ready_seconds : Int32?
- #min_ready_seconds=(min_ready_seconds : Int32?)
- #paused : Bool?
- #paused=(paused : Bool?)
- #progress_deadline_seconds : Int32?
- #progress_deadline_seconds=(progress_deadline_seconds : Int32?)
- #replicas : Int32?
- #replicas=(replicas : Int32?)
- #revision_history_limit : Int32?
- #revision_history_limit=(revision_history_limit : Int32?)
- #selector : Apimachinery::Apis::Meta::V1::LabelSelector
- #selector=(selector : Apimachinery::Apis::Meta::V1::LabelSelector)
- #strategy : Api::Apps::V1::DeploymentStrategy?
- #strategy=(strategy : Api::Apps::V1::DeploymentStrategy?)
- #template : Api::Core::V1::PodTemplateSpec
- #template=(template : Api::Core::V1::PodTemplateSpec)
Constructor Detail
def self.new(*, selector : Apimachinery::Apis::Meta::V1::LabelSelector, template : Api::Core::V1::PodTemplateSpec, min_ready_seconds : Int32? = nil, paused : Bool? = nil, progress_deadline_seconds : Int32? = nil, replicas : Int32? = nil, revision_history_limit : Int32? = nil, strategy : Api::Apps::V1::DeploymentStrategy? = nil)
#