Class: Ansible::Ruby::Modules::Gcp_container_node_pool

Inherits:
Base show all
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

Methods inherited from Base

#ansible_name, #to_h

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

#autoscalingObject?

Returns Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.

Returns:

  • (Object, nil)

    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

#clusterString

Returns The cluster this node pool belongs to.

Returns:

  • (String)

    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

#configObject?

Returns The node configuration of the pool.

Returns:

  • (Object, nil)

    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_countInteger

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.

Returns:

  • (Integer)

    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

#managementObject?

Returns Management configuration for this NodePool.

Returns:

  • (Object, nil)

    Management configuration for this NodePool.



31
# File 'lib/ansible/ruby/modules/generated/cloud/google/gcp_container_node_pool.rb', line 31

attribute :management

#nameString?

Returns The name of the node pool.

Returns:

  • (String, nil)

    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.

Returns:

  • (:present, :absent, nil)

    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

#zoneString

Returns The zone where the node pool is deployed.

Returns:

  • (String)

    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