struct Kubernetes::Deployment::Spec

Included Modules

Defined in:

kubernetes.cr

Constructors

Instance Method Summary

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(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new(pull : JSON::PullParser) #

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) #

[View source]

Instance Method Detail

def progress_deadline_seconds : Int32 #

def replicas : Int32 #

def revision_history_limit : Int32 #

def selector : Selector #

def strategy : Strategy #

def template : Template #