AutoprovisioningNodePoolDefaultsContainerV1beta1 constructor
- Input<
String> ? bootDiskKmsKey, - Input<
int> ? diskSizeGb, - Input<
String> ? diskType, - Input<
String> ? imageType, - Input<
bool> ? insecureKubeletReadonlyPortEnabled, - Input<
NodeManagementContainerV1beta1> ? management, - Input<
String> ? minCpuPlatform, - Input<
List< ? oauthScopes,String> > - Input<
String> ? serviceAccount, - Input<
ShieldedInstanceConfigContainerV1beta1> ? shieldedInstanceConfig, - Input<
UpgradeSettingsContainerV1beta1> ? upgradeSettings,
Creates a new AutoprovisioningNodePoolDefaultsContainerV1beta1.
bootDiskKmsKey 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
diskSizeGb 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.
diskType 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'
imageType The image type to use for NAP created node. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.
insecureKubeletReadonlyPortEnabled Enable or disable Kubelet read only port.
management NodeManagement configuration for this NodePool.
minCpuPlatform 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 cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass "automatic" as field value.
oauthScopes 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.
serviceAccount 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.
shieldedInstanceConfig Shielded Instance options.
upgradeSettings Upgrade settings control disruption and speed of the upgrade.
Implementation
const AutoprovisioningNodePoolDefaultsContainerV1beta1({
this.bootDiskKmsKey,
this.diskSizeGb,
this.diskType,
this.imageType,
this.insecureKubeletReadonlyPortEnabled,
this.management,
this.minCpuPlatform,
this.oauthScopes,
this.serviceAccount,
this.shieldedInstanceConfig,
this.upgradeSettings,
});