Reference documentation and code samples for the Kubernetes Engine V1beta1 API class Google::Cloud::Container::V1beta1::NodeConfig.
Parameters that describe the nodes in a cluster.
GKE Autopilot clusters do not
recognize parameters in NodeConfig
. Use
AutoprovisioningNodePoolDefaults
instead.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#accelerators
def accelerators() -> ::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>
Returns
- (::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>) — A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
#accelerators=
def accelerators=(value) -> ::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>
Parameter
- value (::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>) — A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
Returns
- (::Array<::Google::Cloud::Container::V1beta1::AcceleratorConfig>) — A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
#advanced_machine_features
def advanced_machine_features() -> ::Google::Cloud::Container::V1beta1::AdvancedMachineFeatures
Returns
- (::Google::Cloud::Container::V1beta1::AdvancedMachineFeatures) — Advanced features for the Compute Engine VM.
#advanced_machine_features=
def advanced_machine_features=(value) -> ::Google::Cloud::Container::V1beta1::AdvancedMachineFeatures
Parameter
- value (::Google::Cloud::Container::V1beta1::AdvancedMachineFeatures) — Advanced features for the Compute Engine VM.
Returns
- (::Google::Cloud::Container::V1beta1::AdvancedMachineFeatures) — Advanced features for the Compute Engine VM.
#boot_disk_kms_key
def boot_disk_kms_key() -> ::String
Returns
- (::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
Parameter
- 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
Returns
- (::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
#confidential_nodes
def confidential_nodes() -> ::Google::Cloud::Container::V1beta1::ConfidentialNodes
Returns
- (::Google::Cloud::Container::V1beta1::ConfidentialNodes) — Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
#confidential_nodes=
def confidential_nodes=(value) -> ::Google::Cloud::Container::V1beta1::ConfidentialNodes
Parameter
- value (::Google::Cloud::Container::V1beta1::ConfidentialNodes) — Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
Returns
- (::Google::Cloud::Container::V1beta1::ConfidentialNodes) — Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
#disk_size_gb
def disk_size_gb() -> ::Integer