---
title: "PUT /v1/{+name}"
method: PUT
path: "/v1/{+name}"
tags: ["projects"]
---

# PUT /v1/{+name}

`PUT /v1/{+name}`

Updates the version and/or image type for the specified node pool.

## Path parameters

- `name` string, required

## Request body

- UpdateNodePoolRequest — UpdateNodePoolRequests update a node pool's image and/or version.
  - `flexStart` boolean — Flex Start flag for enabling Flex Start VM.
  - `taintConfig` TaintConfig — TaintConfig contains the configuration for the taints of the node pool.
    - `architectureTaintBehavior` 'ARCHITECTURE_TAINT_BEHAVIOR_UNSPECIFIED' | 'NONE' | 'ARM' — Optional. Controls architecture tainting behavior.
  - `loggingConfig` NodePoolLoggingConfig — NodePoolLoggingConfig specifies logging configuration for node pools.
    - `variantConfig` LoggingVariantConfig — LoggingVariantConfig specifies the behaviour of the logging component.
      - `variant` 'VARIANT_UNSPECIFIED' | 'DEFAULT' | 'MAX_THROUGHPUT' — Logging variant deployed on nodes.
  - `bootDisk` BootDisk — BootDisk specifies the boot disk configuration for node pools.
    - `diskType` string — Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)
    - `sizeGb` string, int64 — Disk size in GB. Replaces NodeConfig.disk_size_gb
    - `provisionedIops` string, int64 — For Hyperdisk-Balanced only, the provisioned IOPS config value.
    - `provisionedThroughput` string, int64 — For Hyperdisk-Balanced only, the provisioned throughput config value.
  - `consolidationDelay` string, google-duration — Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.
  - `storagePools` string[] — List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.
  - `zone` string — Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
  - `gvnic` VirtualNIC — Configuration of gVNIC feature.
    - `enabled` boolean — Whether gVNIC features are enabled in the node pool.
  - `nodeVersion` string — 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
  - `linuxNodeConfig` LinuxNodeConfig — Parameters that can be configured on Linux nodes.
    - `hugepages` HugepagesConfig — Hugepages amount in both 2m and 1g size
      - `hugepageSize2m` integer — Optional. Amount of 2M hugepages
      - `hugepageSize1g` integer — Optional. Amount of 1G hugepages
    - `nodeKernelModuleLoading` NodeKernelModuleLoading — Configuration for kernel module loading on nodes.
      - `policy` 'POLICY_UNSPECIFIED' | 'ENFORCE_SIGNED_MODULES' | 'DO_NOT_ENFORCE_SIGNED_MODULES' — Set the node module loading policy for nodes in the node pool.
    - `accurateTimeConfig` AccurateTimeConfig — AccurateTimeConfig contains configuration for the accurate time synchronization feature.
      - `enablePtpKvmTimeSync` boolean — Enables enhanced time synchronization using PTP-KVM.
    - `transparentHugepageDefrag` 'TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED' | 'TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS' | 'TRANSPARENT_HUGEPAGE_DEFRAG_DEFER' | 'TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE' | 'TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE' | 'TRANSPARENT_HUGEPAGE_DEFRAG_NEVER' — Optional. Defines the transparent hugepage defrag configuration on the node. VM hugepage allocation can be managed by either limiting defragmentation for delayed allocation or skipping it entirely for immediate allocation only. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.
    - `swapConfig` SwapConfig — Configuration for swap memory on a node pool.
      - `encryptionConfig` EncryptionConfig — Defines encryption settings for the swap space.
        - `disabled` boolean — Optional. If true, swap space will not be encrypted. Defaults to false (encrypted).
      - `ephemeralLocalSsdProfile` EphemeralLocalSsdProfile — Swap on the local SSD shared with pod ephemeral storage.
        - `swapSizeGib` string, int64 — Specifies the size of the swap space in gibibytes (GiB).
        - `swapSizePercent` integer — Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.
      - `enabled` boolean — Optional. Enables or disables swap for the node pool.
      - `bootDiskProfile` BootDiskProfile — Swap on the node's boot disk.
        - `swapSizeGib` string, int64 — Specifies the size of the swap space in gibibytes (GiB).
        - `swapSizePercent` integer — Specifies the size of the swap space as a percentage of the boot disk size.
      - `dedicatedLocalSsdProfile` DedicatedLocalSsdProfile — Provisions a new, separate local NVMe SSD exclusively for swap.
        - `diskCount` string, int64 — The number of physical local NVMe SSD disks to attach.
    - `customNodeInit` CustomNodeInit — Support for running custom init code while bootstrapping nodes.
      - `initScript` InitScript — InitScript provide a simply bash script to be executed on the node.
        - `gcsUri` string — The Cloud Storage URI for storing the init script. Format: gs://BUCKET_NAME/OBJECT_NAME The service account on the node pool must have read access to the object. User can't configure both gcs_uri and gcp_secret_manager_secret_uri.
        - `args` string[] — Optional. The optional arguments line to be passed to the init script.
        - `gcsGeneration` string, int64 — The generation of the init script stored in Gloud Storage. This is the required field to identify the version of the init script. User can get the genetaion from `gcloud storage objects describe gs://BUCKET_NAME/OBJECT_NAME --format="value(generation)"` or from the "Version history" tab of the object in the Cloud Console UI.
        - `gcpSecretManagerSecretUri` string — The resource name of the secret manager secret hosting the init script. Both global and regional secrets are supported with format below: Global secret: projects/{project}/secrets/{secret}/versions/{version} Regional secret: projects/{project}/locations/{location}/secrets/{secret}/versions/{version} Example: projects/1234567890/secrets/script_1/versions/1. Accept version number only, not support version alias. User can't configure both gcp_secret_manager_secret_uri and gcs_uri.
    - `diskIoScheduler` DiskIoScheduler — DiskIoScheduler contains the configuration for the disk IO scheduler.
      - `nodeSystemIoScheduler` string — Optional. Configures the IO scheduler for the boot disk or ephemeral lssd that runs node system workloads. Supported values are `mq-deadline`, `bfq`, `kyber`, `none`.
      - `nodeAttachedDiskIoScheduler` string — Optional. Configures the IO scheduler for the attached disks. Supported values are `mq-deadline`, `bfq`, `kyber`, `none`.
    - `transparentHugepageEnabled` 'TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED' | 'TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS' | 'TRANSPARENT_HUGEPAGE_ENABLED_MADVISE' | 'TRANSPARENT_HUGEPAGE_ENABLED_NEVER' — Optional. Transparent hugepage support for anonymous memory can be entirely disabled (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE regions (to avoid the risk of consuming more memory resources) or enabled system wide. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.
    - `nodeVfioConfig` NodeVfioConfig — Configuration settings for VFIO (Virtual Function I/O) on a node. VFIO allows safe, unprivileged, userspace drivers to access I/O devices.
      - `dmaEntryLimit` integer — Optional. Specifies the maximum number of DMA entries (pages) that can be mapped by the VFIO IOMMU type 1 driver for a container. This limit affects the total amount of host memory that can be pinned for direct device access, which is often critical for high-performance devices like TPUs and GPUs. This setting corresponds to the kernel parameter at: `/sys/module/vfio_iommu_type1/parameters/dma_entry_limit`. The default value in the kernel is `65535`. Higher values may be needed for workloads mapping large memory regions. Supported values are integers between `65535` and `4194304`.
    - `sysctls` object — The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.neigh.default.gc_thresh1 net.ipv4.neigh.default.gc_thresh2 net.ipv4.neigh.default.gc_thresh3 net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.keys.maxkeys kernel.keys.maxbytes kernel.shmmni kernel.shmmax kernel.shmall kernel.core_pattern kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes
    - `cgroupMode` 'CGROUP_MODE_UNSPECIFIED' | 'CGROUP_MODE_V1' | 'CGROUP_MODE_V2' — cgroup_mode specifies the cgroup mode to be used on the node.
  - `tags` NetworkTags — Collection of Compute Engine network tags that can be applied to a node's underlying VM instance.
    - `tags` string[] — List of network tags.
  - `name` string — The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
  - `maintenancePolicy` NodePoolMaintenancePolicy — Defines the maintenance policy for the node pool.
    - `exclusionUntilEndOfSupport` ExclusionUntilEndOfSupport — Defines the maintenance exclusion for the node pool.
      - `endTime` string, google-datetime — Output only. The end time of the maintenance exclusion. It is output only. It is the cluster control plane version's end of support time, or end of extended support time when the cluster is on extended support channel.
      - `enabled` boolean — Optional. Indicates whether the exclusion is enabled.
      - `startTime` string, google-datetime — Output only. The start time of the maintenance exclusion. It is output only. It is the exclusion creation time.
  - `resourceManagerTags` ResourceManagerTags — A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.
    - `tags` object — TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. `{project_id}/{tag_key_name}={tag_value_name}`
  - `imageProject` string — The project containing the desired image to use for this node pool. This is used to create clusters using a custom image.
  - `clusterId` string — Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
  - `diskSizeGb` string, int64 — 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.
  - `windowsNodeConfig` WindowsNodeConfig — Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings.
    - `osVersion` 'OS_VERSION_UNSPECIFIED' | 'OS_VERSION_LTSC2019' | 'OS_VERSION_LTSC2022' — OSVersion specifies the Windows node config to be used on the node.
  - `queuedProvisioning` QueuedProvisioning — QueuedProvisioning defines the queued provisioning used by the node pool.
    - `enabled` boolean — Denotes that this node pool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.
  - `nodeDrainConfig` NodeDrainConfig — NodeDrainConfig contains the node drain related configurations for this node pool.
    - `pdbTimeoutDuration` string, google-duration — The duration of the PDB timeout period for node drain.
    - `respectPdbDuringNodePoolDeletion` boolean — Whether to respect PDB during node pool deletion.
    - `graceTerminationDuration` string, google-duration — The duration of the grace termination period for node drain.
  - `taints` NodeTaints — Collection of Kubernetes [node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).
    - `taints` NodeTaint[] — List of node taints.
      - `key` string — Key for taint.
      - `value` string — Value for taint.
      - `effect` 'EFFECT_UNSPECIFIED' | 'NO_SCHEDULE' | 'PREFER_NO_SCHEDULE' | 'NO_EXECUTE' — Effect for taint.
  - `image` string — The desired name of the image name to use for this node. This is used to create clusters using a custom image.
  - `diskType` string — 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.
  - `resourceLabels` ResourceLabels — Collection of [Resource Manager labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).
    - `labels` object — Map of node label keys and node label values.
  - `workloadMetadataConfig` WorkloadMetadataConfig — WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.
    - `mode` 'MODE_UNSPECIFIED' | 'GCE_METADATA' | 'GKE_METADATA' — Mode is the configuration for how to expose metadata to workloads running on the node pool.
  - `labels` NodeLabels — Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).
    - `labels` object — Map of node label keys and node label values.
  - `projectId` string — Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.
  - `machineType` string — Optional. The desired [Google Compute Engine machine type](https://cloud.google.com/compute/docs/machine-types) for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.
  - `nodeNetworkConfig` NodeNetworkConfig — Parameters for node pool-level network config.
    - `podIpv4CidrBlock` string — The IP address range for pod IPs in this node pool. Only applicable if `create_pod_range` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
    - `acceleratorNetworkProfile` string — Immutable. The accelerator network profile for the node pool. For now the only valid value is "auto". If specified, the network configuration of the nodes in this node pool will be managed by this profile for the supported machine types, zone, etc.
    - `networkPerformanceConfig` NetworkPerformanceConfig — Configuration of all network bandwidth tiers
      - `totalEgressBandwidthTier` 'TIER_UNSPECIFIED' | 'TIER_1' — Specifies the total network bandwidth tier for the NodePool.
    - `additionalPodNetworkConfigs` AdditionalPodNetworkConfig[] — We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node
      - `networkAttachment` string — The name of the network attachment for pods to communicate to; cannot be specified along with subnetwork or secondary_pod_range.
      - `subnetwork` string — Name of the subnetwork where the additional pod network belongs.
      - `secondaryPodRange` string — The name of the secondary range on the subnet which provides IP address for this pod range.
      - `maxPodsPerNode` MaxPodsConstraint — Constraints applied to pods.
        - `maxPodsPerNode` string, int64 — Constraint enforced on the max num of pods per node.
    - `additionalNodeNetworkConfigs` AdditionalNodeNetworkConfig[] — We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface
      - `network` string — Name of the VPC where the additional interface belongs
      - `subnetwork` string — Name of the subnetwork where the additional interface belongs
    - `networkTierConfig` NetworkTierConfig — NetworkTierConfig contains network tier information.
      - `networkTier` 'NETWORK_TIER_UNSPECIFIED' | 'NETWORK_TIER_DEFAULT' | 'NETWORK_TIER_PREMIUM' | 'NETWORK_TIER_STANDARD' — Network tier configuration.
    - `enablePrivateNodes` boolean — Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from Cluster.NetworkConfig.default_enable_private_nodes
    - `network` string — Optional. Immutable. The VPC network for the node pool.
    - `podRange` string — The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
    - `podCidrOverprovisionConfig` PodCIDROverprovisionConfig — [PRIVATE FIELD] Config for pod CIDR size overprovisioning.
      - `disable` boolean — Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.
    - `subnetwork` string — Optional. The subnetwork name/path for the node pool. Format: projects/{project}/regions/{region}/subnetworks/{subnetwork} If the cluster is associated with multiple subnetworks, the subnetwork can be either: - A user supplied subnetwork name during node pool creation (e.g., `my-subnet`). The name must be between 1 and 63 characters long, start with a letter, contain only letters, numbers, and hyphens, and end with a letter or a number. - A full subnetwork path during node pool creation, such as `projects/gke-project/regions/us-central1/subnetworks/my-subnet` - A subnetwork path picked based on the IP utilization during node pool creation and is immutable.
    - `createPodRange` boolean — Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
    - `podIpv4RangeUtilization` number, double — Output only. The utilization of the IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode.
  - `fastSocket` FastSocket — Configuration of Fast Socket feature.
    - `enabled` boolean — Whether Fast Socket features are enabled in the node pool.
  - `upgradeSettings` UpgradeSettings — These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available. These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool. If the strategy is ROLLING, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade. 1. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. 2. maxUnavailable controls the number of nodes that can be simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). If the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-green upgrade related settings. 1. standard_rollout_policy is the default policy. The policy is used to control the way blue pool gets drained. The draining is executed in the batch mode. The batch size could be specified as either percentage of the node pool size or the number of nodes. batch_soak_duration is the soak time after each batch gets drained. 2. node_pool_soak_duration is the soak time after all blue nodes are drained. After this period, the blue pool nodes will be deleted.
    - `maxUnavailable` integer — The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
    - `maxSurge` integer — The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
    - `blueGreenSettings` BlueGreenSettings — Settings for blue-green upgrade.
      - `standardRolloutPolicy` StandardRolloutPolicy — Standard rollout policy is the default policy for blue-green.
        - `batchNodeCount` integer — Number of blue nodes to drain in a batch.
        - `batchSoakDuration` string, google-duration — Soak time after each batch gets drained. Default to zero.
        - `batchPercentage` number, float — Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].
      - `autoscaledRolloutPolicy` AutoscaledRolloutPolicy — Autoscaled rollout policy utilizes the cluster autoscaler during blue-green upgrade to scale both the blue and green pools.
        - `waitForDrainDuration` string, google-duration — Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive.
      - `nodePoolSoakDuration` string, google-duration — Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.
    - `strategy` 'NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED' | 'BLUE_GREEN' | 'SURGE' | 'SHORT_LIVED' — Update strategy of the node pool.
  - `containerdConfig` ContainerdConfig — ContainerdConfig contains configuration to customize containerd.
    - `registryHosts` RegistryHostConfig[] — RegistryHostConfig configures containerd registry host configuration. Each registry_hosts represents a hosts.toml file. At most 25 registry_hosts are allowed.
      - `hosts` HostConfig[] — HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.
        - `header` RegistryHeader[] — Header configures the registry host headers.
          - `value` string[] — Value configures the header value.
          - `key` string — Key configures the header key.
        - `client` CertificateConfigPair[] — Client configures the registry host client certificate and key.
          - `cert` CertificateConfig — CertificateConfig configures certificate for the registry.
            - `gcpSecretManagerSecretUri` string — The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION" for global secret or "projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional secret. Version can be fixed (e.g. "2") or "latest"
          - `key` CertificateConfig — CertificateConfig configures certificate for the registry.
            - `gcpSecretManagerSecretUri` string — The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION" for global secret or "projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional secret. Version can be fixed (e.g. "2") or "latest"
        - `overridePath` boolean — OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false.
        - `host` string — Host configures the registry host/mirror. It supports fully qualified domain names (FQDNs) and IP addresses. Specifying scheme, port or path is supported. Scheme can only be http or https. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `https://my.customdomain.com/path` - `10.0.1.2:5000`
        - `capabilities` string[] — Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.
        - `dialTimeout` string, google-duration — Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.
        - `ca` CertificateConfig[] — CA configures the registry host certificate.
          - `gcpSecretManagerSecretUri` string — The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in the format "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION" for global secret or "projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION" for regional secret. Version can be fixed (e.g. "2") or "latest"
      - `server` string — Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported, while scheme and path are NOT supported. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `10.0.1.2:5000`
    - `privateRegistryAccessConfig` PrivateRegistryAccessConfig — PrivateRegistryAccessConfig contains access configuration for private container registries.
      - `enabled` boolean — Private registry access is enabled.
      - `certificateAuthorityDomainConfig` CertificateAuthorityDomainConfig[] — Private registry access configuration.
        - `fqdns` string[] — List of fully qualified domain names (FQDN). Specifying port is supported. Wildcards are NOT supported. Examples: - `my.customdomain.com` - `10.0.1.2:5000`
        - `gcpSecretManagerCertificateConfig` GCPSecretManagerCertificateConfig — GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](https://cloud.google.com/secret-manager).
          - `secretUri` string — Secret URI, in the form "projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION". Version can be fixed (e.g. "2") or "latest"
    - `writableCgroups` WritableCgroups — Defines writable cgroups configuration.
      - `enabled` boolean — Optional. Whether writable cgroups is enabled.
  - `confidentialNodes` ConfidentialNodes — ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.
    - `confidentialInstanceType` 'CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED' | 'SEV' | 'SEV_SNP' | 'TDX' — Defines the type of technology used by the confidential node.
    - `enabled` boolean — Whether Confidential Nodes feature is enabled.
  - `gcfsConfig` GcfsConfig — GcfsConfig contains configurations of Google Container File System (image streaming).
    - `enabled` boolean — Whether to use GCFS.
  - `maxRunDuration` string, google-duration — The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.
  - `imageType` string — 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.
  - `locations` string[] — The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) 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. Warning: It is recommended to update node pool locations in a standalone API call. Do not combine a location update with changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same request. Otherwise, the API performs a structural modification where changes to other fields will only apply to newly created nodes and will not be applied to existing nodes in the node pool. To ensure all nodes are updated consistently, use a separate API call for location changes.
  - `etag` string — 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.
  - `accelerators` 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.
    - `gpuSharingConfig` GPUSharingConfig — GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.
      - `maxSharedClientsPerGpu` string, int64 — The max number of containers that can share a physical GPU.
      - `gpuSharingStrategy` 'GPU_SHARING_STRATEGY_UNSPECIFIED' | 'TIME_SHARING' | 'MPS' — The type of GPU sharing strategy to enable on the GPU node.
    - `acceleratorType` string — The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)
    - `acceleratorCount` string, int64 — The number of the accelerator cards exposed to an instance.
    - `gpuDriverInstallationConfig` GPUDriverInstallationConfig — GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.
      - `gpuDriverVersion` 'GPU_DRIVER_VERSION_UNSPECIFIED' | 'INSTALLATION_DISABLED' | 'DEFAULT' | 'LATEST' — Mode for how the GPU driver is installed.
    - `gpuPartitionSize` string — Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
  - `kubeletConfig` NodeKubeletConfig — Node kubelet configs.
    - `insecureKubeletReadonlyPortEnabled` boolean — Enable or disable Kubelet read only port.
    - `crashLoopBackOff` CrashLoopBackOffConfig — Contains config to modify node-level parameters for container restart behavior.
      - `maxContainerRestartPeriod` string — Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". See https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay for more details.
    - `imageGcLowThresholdPercent` integer — Optional. Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and smaller than image_gc_high_threshold_percent. The default value is 80 if unspecified.
    - `imageMaximumGcAge` string — Optional. Defines the maximum age an image can be unused before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration greater than image_minimum_gc_age or "0s". The default value is "0s" if unspecified, which disables this field, meaning images won't be garbage collected based on being unused for too long.
    - `cpuManagerPolicy` string — Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * "none": the default, which represents the existing scheduling behavior. * "static": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.
    - `cpuCfsQuota` boolean — Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.
    - `evictionMinimumReclaim` EvictionMinimumReclaim — Eviction minimum reclaims are the resource amounts of minimum reclaims for each eviction signal.
      - `memoryAvailable` string — Optional. Minimum reclaim for eviction due to memory available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `imagefsInodesFree` string — Optional. Minimum reclaim for eviction due to imagefs inodes free signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `nodefsAvailable` string — Optional. Minimum reclaim for eviction due to nodefs available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `imagefsAvailable` string — Optional. Minimum reclaim for eviction due to imagefs available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `pidAvailable` string — Optional. Minimum reclaim for eviction due to pid available signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `nodefsInodesFree` string — Optional. Minimum reclaim for eviction due to nodefs inodes free signal. Only take percentage value for now. Sample format: "10%". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
    - `allowedUnsafeSysctls` string[] — Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns (ending in `*`). The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty means they cannot be set on Pods. To allow certain sysctls or sysctl patterns to be set on Pods, list them separated by commas. For example: `kernel.msg*,net.ipv4.route.min_pmtu`. See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ for more details.
    - `evictionSoft` EvictionSignals — Eviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.
      - `memoryAvailable` string — Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the amount of "memory.available" signal in kubelet. Default is unset, if not specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `imagefsInodesFree` string — Optional. Amount of inodes available on filesystem that container runtime uses for storing images layers. Defines the amount of "imagefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `nodefsAvailable` string — Optional. Amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `imagefsAvailable` string — Optional. Amount of storage available on filesystem that container runtime uses for storing images layers. If the container filesystem and image filesystem are not separate, then imagefs can store both image layers and writeable layers. Defines the amount of "imagefs.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 15% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `pidAvailable` string — Optional. Amount of PID available for pod allocation. Defines the amount of "pid.available" signal in kubelet. Default is unset, if not specified in the kubelet config. It takses percentage value for now. Sample format: "30%". Must be >= 10% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `nodefsInodesFree` string — Optional. Amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of "nodefs.inodesFree" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: "30%". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
    - `podPidsLimit` string, int64 — Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
    - `imageGcHighThresholdPercent` integer — Optional. Defines the percent of disk usage after which image garbage collection is always run. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and greater than image_gc_low_threshold_percent. The default value is 85 if unspecified.
    - `shutdownGracePeriodCriticalPodsSeconds` integer — Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120].
    - `imageMinimumGcAge` string — Optional. Defines the minimum age for an unused image before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300s", "1.5h", and "2h45m". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration less than or equal to 2 minutes. The default value is "2m0s" if unspecified.
    - `singleProcessOomKill` boolean — Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group.
    - `evictionMaxPodGracePeriodSeconds` integer — Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. This value effectively caps the Pod's terminationGracePeriodSeconds value during soft evictions. Default: 0. Range: [0, 300].
    - `evictionSoftGracePeriod` EvictionGracePeriod — Eviction grace periods are grace periods for each eviction signal.
      - `nodefsAvailable` string — Optional. Grace period for eviction due to nodefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `imagefsAvailable` string — Optional. Grace period for eviction due to imagefs available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `pidAvailable` string — Optional. Grace period for eviction due to pid available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `nodefsInodesFree` string — Optional. Grace period for eviction due to nodefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `memoryAvailable` string — Optional. Grace period for eviction due to memory available signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
      - `imagefsInodesFree` string — Optional. Grace period for eviction due to imagefs inodes free signal. Sample format: "10s". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals
    - `maxParallelImagePulls` integer — Optional. Defines the maximum number of image pulls in parallel. The range is 2 to 5, inclusive. The default value is 2 or 3 depending on the disk type. See https://kubernetes.io/docs/concepts/containers/images/#maximum-parallel-image-pulls for more details.
    - `containerLogMaxSize` string — Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified.
    - `shutdownGracePeriodSeconds` integer — Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120.
    - `memoryManager` MemoryManager — The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/).
      - `policy` string — Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * "none" * "static" The default value is 'none' if unspecified.
    - `topologyManager` TopologyManager — TopologyManager defines the configuration options for the [`kubelet` Topology Manager component](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/). For more information about the supported machine types and versions for the Topology Manager in GKE, see [Customizing node system configuration](https://docs.cloud.google.com/kubernetes-engine/docs/how-to/node-system-config#kubelet-resource-managers).
      - `scope` string — The Topology Manager aligns resources in following scopes: * container * pod The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes
      - `policy` string — Configures the strategy for resource alignment. Allowed values are: * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure. The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies).
    - `cpuCfsQuotaPeriod` string — Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as "300ms". Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration between 1ms and 1 second, inclusive.
    - `containerLogMaxFiles` integer — Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified.
  - `nodePoolId` string — Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/container.md) · [All operations](https://skmtc.net/google/apis/container/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/container/revisions/f20e7f9e2240/schema)
