struct

Kubernetes::DaemonSetUpdateStrategy

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

rolling_update

Rolling update config params. Present only if type = "RollingUpdate".

Source
rolling_update=(rolling_update : RollingUpdateDaemonSet | Nil)

Rolling update config params. Present only if type = "RollingUpdate".

Source
type

Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.

Source
type=(type : String | Nil)

Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source