struct Kubernetes::Deployment::Spec
- Kubernetes::Deployment::Spec
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
kubernetes.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, replicas : Int32 = 1, selector : Kubernetes::Deployment::Spec::Selector = Selector.new, template : Kubernetes::Deployment::Spec::Template, strategy : Kubernetes::Deployment::Spec::Strategy = Strategy.new, revision_history_limit : Int32 = 10, progress_deadline_seconds : Int32 = 600)
Instance Method Summary
- #progress_deadline_seconds : Int32
- #replicas : Int32
- #revision_history_limit : Int32
- #selector : Selector
- #strategy : Strategy
- #template : Template
Macros inherited from module Kubernetes::Serializable
add_field(type, getter_type, key = nil, **args, &block)
add_field,
field(type, key = nil, **args, &block)
field,
field?(type, key = nil, **args, &block)
field?
Constructor Detail
def self.new(*, replicas : Int32 = 1, selector : Kubernetes::Deployment::Spec::Selector = Selector.new, template : Kubernetes::Deployment::Spec::Template, strategy : Kubernetes::Deployment::Spec::Strategy = Strategy.new, revision_history_limit : Int32 = 10, progress_deadline_seconds : Int32 = 600)
#