Class: Google::Cloud::Container::V1beta1::AutoprovisioningNodePoolDefaults
- Inherits:
-
Object
- Object
- Google::Cloud::Container::V1beta1::AutoprovisioningNodePoolDefaults
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/container/v1beta1/cluster_service.rb
Overview
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
Instance Attribute Summary collapse
-
#boot_disk_kms_key ⇒ ::String
The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool.
-
#disk_size_gb ⇒ ::Integer
Size of the disk attached to each node, specified in GB.
-
#disk_type ⇒ ::String
Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced').
-
#image_type ⇒ ::String
The image type to use for node created by NodeAutoprovisioning.
-
#management ⇒ ::Google::Cloud::Container::V1beta1::NodeManagement
NodeManagement configuration for this NodePool.
-
#min_cpu_platform ⇒ ::String
Minimum CPU platform to be used by this instance.
-
#oauth_scopes ⇒ ::Array<::String>
The set of Google API scopes to be made available on all of the node VMs under the "default" service account.
-
#service_account ⇒ ::String
The Google Cloud Platform Service Account to be used by the node VMs.
-
#shielded_instance_config ⇒ ::Google::Cloud::Container::V1beta1::ShieldedInstanceConfig
Shielded Instance options.
-
#upgrade_settings ⇒ ::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings
Upgrade settings control disruption and speed of the upgrade.
Instance Attribute Details
#boot_disk_kms_key ⇒ ::String
Returns The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#disk_size_gb ⇒ ::Integer
Returns Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB.
If unspecified, the default disk size is 100GB.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#disk_type ⇒ ::String
Returns Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced')
If unspecified, the default disk type is 'pd-standard'.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#image_type ⇒ ::String
Returns The image type to use for node created by NodeAutoprovisioning.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#management ⇒ ::Google::Cloud::Container::V1beta1::NodeManagement
Returns NodeManagement configuration for this NodePool.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#min_cpu_platform ⇒ ::String
Returns Minimum CPU platform to be used by this instance. The instance may be
scheduled on the specified or newer CPU platform. Applicable values are the
friendly names of CPU platforms, such as
minCpuPlatform: "Intel Haswell"
or
minCpuPlatform: "Intel Sandy Bridge"
. For more
information, read how to specify min CPU
platform
To unset the min cpu platform field pass "automatic"
as field value.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#oauth_scopes ⇒ ::Array<::String>
Returns The set of Google API scopes to be made available on all of the node VMs under the "default" service account.
The following scopes are recommended, but not required, and by default are not included:
https://www.googleapis.com/auth/compute
is required for mounting persistent storage on your nodes.https://www.googleapis.com/auth/devstorage.read_only
is required for communicating with gcr.io (the Google Container Registry).
If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#service_account ⇒ ::String
Returns The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#shielded_instance_config ⇒ ::Google::Cloud::Container::V1beta1::ShieldedInstanceConfig
Returns Shielded Instance options.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#upgrade_settings ⇒ ::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings
Returns Upgrade settings control disruption and speed of the upgrade.
2858 2859 2860 2861 |
# File 'proto_docs/google/container/v1beta1/cluster_service.rb', line 2858 class AutoprovisioningNodePoolDefaults include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |