Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::AutoprovisioningNodePoolDefaults.
AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#boot_disk_kms_key
def boot_disk_kms_key() -> ::String
- (::String) — 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
#boot_disk_kms_key=
def boot_disk_kms_key=(value) -> ::String
- value (::String) — 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
- (::String) — 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
#disk_size_gb
def disk_size_gb() -> ::Integer
-
(::Integer) — 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.
#disk_size_gb=
def disk_size_gb=(value) -> ::Integer
-
value (::Integer) — 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.
-
(::Integer) — 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.
#disk_type
def disk_type() -> ::String
-
(::String) — 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'
#disk_type=
def disk_type=(value) -> ::String
-
value (::String) — 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'
-
(::String) — 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'
#image_type
def image_type() -> ::String
- (::String) — The image type to use for NAP created node.
#image_type=
def image_type=(value) -> ::String
- value (::String) — The image type to use for NAP created node.
- (::String) — The image type to use for NAP created node.
#management
def management() -> ::Google::Cloud::Container::V1beta1::NodeManagement
- (::Google::Cloud::Container::V1beta1::NodeManagement) — NodeManagement configuration for this NodePool.
#management=
def management=(value) -> ::Google::Cloud::Container::V1beta1::NodeManagement
- value (::Google::Cloud::Container::V1beta1::NodeManagement) — NodeManagement configuration for this NodePool.
- (::Google::Cloud::Container::V1beta1::NodeManagement) — NodeManagement configuration for this NodePool.
#min_cpu_platform
def min_cpu_platform() -> ::String
- (::String) — Deprecated. Minimum CPU platform to be used for NAP created node pools. 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. This field is deprecated, min_cpu_platform should be specified using https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass "automatic" as field value.
#min_cpu_platform=
def min_cpu_platform=(value) -> ::String
- value (::String) — Deprecated. Minimum CPU platform to be used for NAP created node pools. 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. This field is deprecated, min_cpu_platform should be specified using https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass "automatic" as field value.
- (::String) — Deprecated. Minimum CPU platform to be used for NAP created node pools. 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. This field is deprecated, min_cpu_platform should be specified using https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass "automatic" as field value.
#oauth_scopes
def oauth_scopes() -> ::Array<::String>
-
(::Array<::String>) — 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.
#oauth_scopes=
def oauth_scopes=(value) -> ::Array<::String>
-
value (::Array<::String>) — 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.
-
(::Array<::String>) — 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.
#service_account
def service_account() -> ::String
- (::String) — 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.
#service_account=
def service_account=(value) -> ::String
- value (::String) — 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.
- (::String) — 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.
#shielded_instance_config
def shielded_instance_config() -> ::Google::Cloud::Container::V1beta1::ShieldedInstanceConfig
- (::Google::Cloud::Container::V1beta1::ShieldedInstanceConfig) — Shielded Instance options.
#shielded_instance_config=
def shielded_instance_config=(value) -> ::Google::Cloud::Container::V1beta1::ShieldedInstanceConfig
- value (::Google::Cloud::Container::V1beta1::ShieldedInstanceConfig) — Shielded Instance options.
- (::Google::Cloud::Container::V1beta1::ShieldedInstanceConfig) — Shielded Instance options.
#upgrade_settings
def upgrade_settings() -> ::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings
- (::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings) — Upgrade settings control disruption and speed of the upgrade.
#upgrade_settings=
def upgrade_settings=(value) -> ::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings
- value (::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings) — Upgrade settings control disruption and speed of the upgrade.
- (::Google::Cloud::Container::V1beta1::NodePool::UpgradeSettings) — Upgrade settings control disruption and speed of the upgrade.