Class UpdateNodePoolRequest
UpdateNodePoolRequests update a node pool's image and/or version.
Implements
Inherited Members
Namespace: Google.Apis.Container.v1.Data
Assembly: Google.Apis.Container.v1.dll
Syntax
public class UpdateNodePoolRequest : IDirectResponseSchema
Properties
Accelerators
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.
Declaration
[JsonProperty("accelerators")]
public virtual IList<AcceleratorConfig> Accelerators { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<AcceleratorConfig> |
ClusterId
Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
Declaration
[JsonProperty("clusterId")]
public virtual string ClusterId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ConfidentialNodes
Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled.
Declaration
[JsonProperty("confidentialNodes")]
public virtual ConfidentialNodes ConfidentialNodes { get; set; }
Property Value
| Type | Description |
|---|---|
| ConfidentialNodes |
ContainerdConfig
The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config.
Declaration
[JsonProperty("containerdConfig")]
public virtual ContainerdConfig ContainerdConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| ContainerdConfig |
DiskSizeGb
Optional. The desired disk size for nodes in the node pool specified in GB. The smallest allowed disk size is 10GB. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.
Declaration
[JsonProperty("diskSizeGb")]
public virtual long? DiskSizeGb { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
DiskType
Optional. The desired disk type (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.
Declaration
[JsonProperty("diskType")]
public virtual string DiskType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FastSocket
Enable or disable NCCL fast socket for the node pool.
Declaration
[JsonProperty("fastSocket")]
public virtual FastSocket FastSocket { get; set; }
Property Value
| Type | Description |
|---|---|
| FastSocket |
FlexStart
Flex Start flag for enabling Flex Start VM.
Declaration
[JsonProperty("flexStart")]
public virtual bool? FlexStart { get; set; }
Property Value
| Type | Description |
|---|---|
| bool? |
GcfsConfig
GCFS config.
Declaration
[JsonProperty("gcfsConfig")]
public virtual GcfsConfig GcfsConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| GcfsConfig |
Gvnic
Enable or disable gvnic on the node pool.
Declaration
[JsonProperty("gvnic")]
public virtual VirtualNIC Gvnic { get; set; }
Property Value
| Type | Description |
|---|---|
| VirtualNIC |
ImageType
Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.
Declaration
[JsonProperty("imageType")]
public virtual string ImageType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
KubeletConfig
Node kubelet configs.
Declaration
[JsonProperty("kubeletConfig")]
public virtual NodeKubeletConfig KubeletConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| NodeKubeletConfig |
Labels
The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be replaced with the provided labels.
Declaration
[JsonProperty("labels")]
public virtual NodeLabels Labels { get; set; }
Property Value
| Type | Description |
|---|---|
| NodeLabels |
LinuxNodeConfig
Parameters that can be configured on Linux nodes.
Declaration
[JsonProperty("linuxNodeConfig")]
public virtual LinuxNodeConfig LinuxNodeConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| LinuxNodeConfig |
Locations
The desired list of Google Compute Engine zones in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed.
Declaration
[JsonProperty("locations")]
public virtual IList<string> Locations { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
LoggingConfig
Logging configuration.
Declaration
[JsonProperty("loggingConfig")]
public virtual NodePoolLoggingConfig LoggingConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| NodePoolLoggingConfig |
MachineType
Optional. The desired Google Compute Engine machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.
Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
MaxRunDuration
The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
Declaration
[JsonProperty("maxRunDuration")]
public virtual object MaxRunDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
Name
The name (project, location, cluster, node pool) of the node pool to update. Specified in the format
projects/*/locations/*/clusters/*/nodePools/*.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NodeNetworkConfig
Node network config.
Declaration
[JsonProperty("nodeNetworkConfig")]
public virtual NodeNetworkConfig NodeNetworkConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| NodeNetworkConfig |
NodePoolId
Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.
Declaration
[JsonProperty("nodePoolId")]
public virtual string NodePoolId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
NodeVersion
Required. The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - "latest": picks the highest valid Kubernetes version - "1.X": picks the highest valid patch+gke.N patch in the 1.X version - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version - "1.X.Y-gke.N": picks an explicit Kubernetes version - "-": picks the Kubernetes master version
Declaration
[JsonProperty("nodeVersion")]
public virtual string NodeVersion { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ProjectId
Deprecated. The Google Developers Console project ID or project number. This field has been deprecated and replaced by the name field.
Declaration
[JsonProperty("projectId")]
public virtual string ProjectId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
QueuedProvisioning
Specifies the configuration of queued provisioning.
Declaration
[JsonProperty("queuedProvisioning")]
public virtual QueuedProvisioning QueuedProvisioning { get; set; }
Property Value
| Type | Description |
|---|---|
| QueuedProvisioning |
ResourceLabels
The resource labels for the node pool to use to annotate any related Google Compute Engine resources.
Declaration
[JsonProperty("resourceLabels")]
public virtual ResourceLabels ResourceLabels { get; set; }
Property Value
| Type | Description |
|---|---|
| ResourceLabels |
ResourceManagerTags
Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values.
Declaration
[JsonProperty("resourceManagerTags")]
public virtual ResourceManagerTags ResourceManagerTags { get; set; }
Property Value
| Type | Description |
|---|---|
| ResourceManagerTags |
StoragePools
List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.
Declaration
[JsonProperty("storagePools")]
public virtual IList<string> StoragePools { get; set; }
Property Value
| Type | Description |
|---|---|
| IList<string> |
Tags
The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be replaced with the provided tags.
Declaration
[JsonProperty("tags")]
public virtual NetworkTags Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| NetworkTags |
Taints
The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be replaced with the provided taints.
Declaration
[JsonProperty("taints")]
public virtual NodeTaints Taints { get; set; }
Property Value
| Type | Description |
|---|---|
| NodeTaints |
UpgradeSettings
Upgrade settings control disruption and speed of the upgrade.
Declaration
[JsonProperty("upgradeSettings")]
public virtual UpgradeSettings UpgradeSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| UpgradeSettings |
WindowsNodeConfig
Parameters that can be configured on Windows nodes.
Declaration
[JsonProperty("windowsNodeConfig")]
public virtual WindowsNodeConfig WindowsNodeConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| WindowsNodeConfig |
WorkloadMetadataConfig
The desired workload metadata config for the node pool.
Declaration
[JsonProperty("workloadMetadataConfig")]
public virtual WorkloadMetadataConfig WorkloadMetadataConfig { get; set; }
Property Value
| Type | Description |
|---|---|
| WorkloadMetadataConfig |
Zone
Deprecated. The name of the Google Compute Engine zone in which the cluster resides. This field has been deprecated and replaced by the name field.
Declaration
[JsonProperty("zone")]
public virtual string Zone { get; set; }
Property Value
| Type | Description |
|---|---|
| string |