Class: Ansible::Ruby::Modules::Gcp_container_node_pool
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gcp_container_node_pool
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb
Overview
NodePool contains the name and configuration for a cluster’s node pool. Node pools are a set of nodes (i.e. VM’s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.
Instance Method Summary collapse
-
#autoscaling ⇒ Object?
Autoscaler configuration for this NodePool.
-
#cluster ⇒ String
The cluster this node pool belongs to.
-
#config ⇒ Object?
The node configuration of the pool.
-
#initial_node_count ⇒ Integer
The initial node count for the pool.
-
#management ⇒ Object?
Management configuration for this NodePool.
-
#name ⇒ String?
The name of the node pool.
-
#state ⇒ :present, ...
Whether the given object should exist in GCP.
-
#zone ⇒ String
The zone where the node pool is deployed.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#autoscaling ⇒ Object?
Returns Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb', line 28 attribute :autoscaling |
#cluster ⇒ String
Returns The cluster this node pool belongs to.
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb', line 34 attribute :cluster |
#config ⇒ Object?
Returns The node configuration of the pool.
21 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb', line 21 attribute :config |
#initial_node_count ⇒ Integer
Returns The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb', line 24 attribute :initial_node_count |
#management ⇒ Object?
Returns Management configuration for this NodePool.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb', line 31 attribute :management |
#name ⇒ String?
Returns The name of the node pool.
17 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb', line 17 attribute :name |
#state ⇒ :present, ...
Returns Whether the given object should exist in GCP.
13 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb', line 13 attribute :state |
#zone ⇒ String
Returns The zone where the node pool is deployed.
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb', line 38 attribute :zone |