struct
Kubernetes::RollingUpdateStatefulSetStrategy
- Kubernetes::RollingUpdateStatefulSetStrategy
- Struct
- Value
- Object
Overview
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
Included Modules
- JSON::Serializable
- Kubernetes::Serializable
- YAML::Serializable
Defined in:
generated/models/io_k8s_api_apps_v1.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .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)
Macro Summary
-
field(name, type = nil, **options, &block)
Helper macro for defining fields with automatic camelCase conversion
Instance Method Summary
-
#max_unavailable : IntOrString | Nil
The maximum number of pods that can be unavailable during the update.
-
#max_unavailable=(max_unavailable : IntOrString | Nil)
The maximum number of pods that can be unavailable during the update.
-
#partition : Int32 | Nil
Partition indicates the ordinal at which the StatefulSet should be partitioned for updates.
-
#partition=(partition : Int32 | Nil)
Partition indicates the ordinal at which the StatefulSet should be partitioned for updates.
Constructor Detail
Macro Detail
Helper macro for defining fields with automatic camelCase conversion
Instance Method Detail
Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.