class Google::Apis::ContainerV1beta1::MaxPodsConstraint
Constraints applied to pods.
Attributes
max_pods_per_node[RW]
Constraint enforced on the max num of pods per node. Corresponds to the JSON property `maxPodsPerNode` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/container_v1beta1/classes.rb, line 2749 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 2754 def update!(**args) @max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node) end