Class: Google::Apis::GkeonpremV1::BareMetalAdminWorkloadNodeConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminWorkloadNodeConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/gkeonprem_v1/classes.rb,
lib/google/apis/gkeonprem_v1/representations.rb,
lib/google/apis/gkeonprem_v1/representations.rb
Overview
BareMetalAdminWorkloadNodeConfig specifies the workload node configurations.
Instance Attribute Summary collapse
-
#max_pods_per_node ⇒ Fixnum
The maximum number of pods a node can run.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminWorkloadNodeConfig
constructor
A new instance of BareMetalAdminWorkloadNodeConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BareMetalAdminWorkloadNodeConfig
Returns a new instance of BareMetalAdminWorkloadNodeConfig.
745 746 747 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 745 def initialize(**args) update!(**args) end |
Instance Attribute Details
#max_pods_per_node ⇒ Fixnum
The maximum number of pods a node can run. The size of the CIDR range assigned
to the node will be derived from this parameter. By default 110 Pods are
created per Node. Upper bound is 250 for both HA and non-HA admin cluster.
Lower bound is 64 for non-HA admin cluster and 32 for HA admin cluster.
Corresponds to the JSON property maxPodsPerNode
743 744 745 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 743 def max_pods_per_node @max_pods_per_node end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
750 751 752 |
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 750 def update!(**args) @max_pods_per_node = args[:max_pods_per_node] if args.key?(:max_pods_per_node) end |