class Google::Apis::ContainerV1beta1::UpgradeSettings

Attributes

max_surge[RW]

The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process. Corresponds to the JSON property `maxSurge` @return [Fixnum]

max_unavailable[RW]

The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready. Corresponds to the JSON property `maxUnavailable` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 5513
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/container_v1beta1/classes.rb, line 5518
def update!(**args)
  @max_surge = args[:max_surge] if args.key?(:max_surge)
  @max_unavailable = args[:max_unavailable] if args.key?(:max_unavailable)
end