mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-25 12:44:07 +01:00
681 lines
35 KiB
HTML
681 lines
35 KiB
HTML
<!DOCTYPE html>
|
|
<html class="writer-html5" lang="en" >
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" /><link rel="canonical" href="http://byron.github.io/google-apis-rs/google-container1-cli/projects_locations-clusters-node-pools-update/" />
|
|
<link rel="shortcut icon" href="../img/favicon.ico" />
|
|
<title>Locations Clusters Node Pools Update - Container v5.0.4+20240214</title>
|
|
<link rel="stylesheet" href="../css/theme.css" />
|
|
<link rel="stylesheet" href="../css/theme_extra.css" />
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/styles/github.min.css" />
|
|
|
|
<script>
|
|
// Current page data
|
|
var mkdocs_page_name = "Locations Clusters Node Pools Update";
|
|
var mkdocs_page_input_path = "projects_locations-clusters-node-pools-update.md";
|
|
var mkdocs_page_url = "/google-apis-rs/google-container1-cli/projects_locations-clusters-node-pools-update/";
|
|
</script>
|
|
|
|
<script src="../js/jquery-3.6.0.min.js" defer></script>
|
|
<!--[if lt IE 9]>
|
|
<script src="../js/html5shiv.min.js"></script>
|
|
<![endif]-->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
|
|
<script>hljs.initHighlightingOnLoad();</script>
|
|
</head>
|
|
|
|
<body class="wy-body-for-nav" role="document">
|
|
|
|
<div class="wy-grid-for-nav">
|
|
<nav data-toggle="wy-nav-shift" class="wy-nav-side stickynav">
|
|
<div class="wy-side-scroll">
|
|
<div class="wy-side-nav-search">
|
|
<a href=".." class="icon icon-home"> Container v5.0.4+20240214
|
|
</a><div role="search">
|
|
<form id ="rtd-search-form" class="wy-form" action="../search.html" method="get">
|
|
<input type="text" name="q" placeholder="Search docs" title="Type search term here" />
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
|
|
<ul>
|
|
<li class="toctree-l1"><a class="reference internal" href="..">Home</a>
|
|
</li>
|
|
</ul>
|
|
<p class="caption"><span class="caption-text">Projects</span></p>
|
|
<ul class="current">
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_aggregated-usable-subnetworks-list/">Aggregated Usable Subnetworks List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-check-autopilot-compatibility/">Locations Clusters Check Autopilot Compatibility</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-complete-ip-rotation/">Locations Clusters Complete Ip Rotation</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-create/">Locations Clusters Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-delete/">Locations Clusters Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-get/">Locations Clusters Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-get-jwks/">Locations Clusters Get Jwks</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-list/">Locations Clusters List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-node-pools-complete-upgrade/">Locations Clusters Node Pools Complete Upgrade</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-node-pools-create/">Locations Clusters Node Pools Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-node-pools-delete/">Locations Clusters Node Pools Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-node-pools-get/">Locations Clusters Node Pools Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-node-pools-list/">Locations Clusters Node Pools List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-node-pools-rollback/">Locations Clusters Node Pools Rollback</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-node-pools-set-autoscaling/">Locations Clusters Node Pools Set Autoscaling</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-node-pools-set-management/">Locations Clusters Node Pools Set Management</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-node-pools-set-size/">Locations Clusters Node Pools Set Size</a>
|
|
</li>
|
|
<li class="toctree-l1 current"><a class="reference internal current" href="./">Locations Clusters Node Pools Update</a>
|
|
<ul class="current">
|
|
</ul>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-set-addons/">Locations Clusters Set Addons</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-set-legacy-abac/">Locations Clusters Set Legacy Abac</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-set-locations/">Locations Clusters Set Locations</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-set-logging/">Locations Clusters Set Logging</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-set-maintenance-policy/">Locations Clusters Set Maintenance Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-set-master-auth/">Locations Clusters Set Master Auth</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-set-monitoring/">Locations Clusters Set Monitoring</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-set-network-policy/">Locations Clusters Set Network Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-set-resource-labels/">Locations Clusters Set Resource Labels</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-start-ip-rotation/">Locations Clusters Start Ip Rotation</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-update/">Locations Clusters Update</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-update-master/">Locations Clusters Update Master</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-clusters-well-known-get-openid-configuration/">Locations Clusters Well Known Get Openid Configuration</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-get-server-config/">Locations Get Server Config</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-operations-cancel/">Locations Operations Cancel</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-operations-get/">Locations Operations Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_locations-operations-list/">Locations Operations List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-addons/">Zones Clusters Addons</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-complete-ip-rotation/">Zones Clusters Complete Ip Rotation</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-create/">Zones Clusters Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-delete/">Zones Clusters Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-get/">Zones Clusters Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-legacy-abac/">Zones Clusters Legacy Abac</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-list/">Zones Clusters List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-locations/">Zones Clusters Locations</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-logging/">Zones Clusters Logging</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-master/">Zones Clusters Master</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-monitoring/">Zones Clusters Monitoring</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-node-pools-autoscaling/">Zones Clusters Node Pools Autoscaling</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-node-pools-create/">Zones Clusters Node Pools Create</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-node-pools-delete/">Zones Clusters Node Pools Delete</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-node-pools-get/">Zones Clusters Node Pools Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-node-pools-list/">Zones Clusters Node Pools List</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-node-pools-rollback/">Zones Clusters Node Pools Rollback</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-node-pools-set-management/">Zones Clusters Node Pools Set Management</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-node-pools-set-size/">Zones Clusters Node Pools Set Size</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-node-pools-update/">Zones Clusters Node Pools Update</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-resource-labels/">Zones Clusters Resource Labels</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-set-maintenance-policy/">Zones Clusters Set Maintenance Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-set-master-auth/">Zones Clusters Set Master Auth</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-set-network-policy/">Zones Clusters Set Network Policy</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-start-ip-rotation/">Zones Clusters Start Ip Rotation</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-clusters-update/">Zones Clusters Update</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-get-serverconfig/">Zones Get Serverconfig</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-operations-cancel/">Zones Operations Cancel</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-operations-get/">Zones Operations Get</a>
|
|
</li>
|
|
<li class="toctree-l1"><a class="reference internal" href="../projects_zones-operations-list/">Zones Operations List</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
<nav class="wy-nav-top" role="navigation" aria-label="Mobile navigation menu">
|
|
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
|
|
<a href="..">Container v5.0.4+20240214</a>
|
|
|
|
</nav>
|
|
<div class="wy-nav-content">
|
|
<div class="rst-content"><div role="navigation" aria-label="breadcrumbs navigation">
|
|
<ul class="wy-breadcrumbs">
|
|
<li><a href=".." class="icon icon-home" alt="Docs"></a> »</li>
|
|
<li>Projects »</li>
|
|
<li>Locations Clusters Node Pools Update</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/container1-cli/edit/master/docs/projects_locations-clusters-node-pools-update.md"
|
|
class="icon icon-github"> Edit on GitHub</a>
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
|
|
<div class="section" itemprop="articleBody">
|
|
|
|
<p>Updates the version and/or image type for the specified node pool.</p>
|
|
<h1 id="scopes">Scopes</h1>
|
|
<p>You will need authorization for the <em>https://www.googleapis.com/auth/cloud-platform</em> scope to make a valid call.</p>
|
|
<p>If unset, the scope for this method defaults to <em>https://www.googleapis.com/auth/cloud-platform</em>.
|
|
You can set the scope for this method like this: <code>container1 --scope <scope> projects locations-clusters-node-pools-update ...</code></p>
|
|
<h1 id="required-scalar-argument">Required Scalar Argument</h1>
|
|
<ul>
|
|
<li><strong><name></strong> <em>(string)</em><ul>
|
|
<li>The name (project, location, cluster, node pool) of the node pool to update. Specified in the format <code>projects/*/locations/*/clusters/*/nodePools/*</code>.</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h1 id="required-request-value">Required Request Value</h1>
|
|
<p>The request value is a data-structure with various fields. Each field may be a simple scalar or another data-structure.
|
|
In the latter case it is advised to set the field-cursor to the data-structure's field to specify values more concisely.</p>
|
|
<p>For example, a structure like this:</p>
|
|
<pre><code>UpdateNodePoolRequest:
|
|
cluster-id: string
|
|
confidential-nodes:
|
|
enabled: boolean
|
|
disk-size-gb: string
|
|
disk-type: string
|
|
etag: string
|
|
fast-socket:
|
|
enabled: boolean
|
|
gcfs-config:
|
|
enabled: boolean
|
|
gvnic:
|
|
enabled: boolean
|
|
image-type: string
|
|
kubelet-config:
|
|
cpu-cfs-quota: boolean
|
|
cpu-cfs-quota-period: string
|
|
cpu-manager-policy: string
|
|
insecure-kubelet-readonly-port-enabled: boolean
|
|
pod-pids-limit: string
|
|
labels:
|
|
labels: { string: string }
|
|
linux-node-config:
|
|
cgroup-mode: string
|
|
sysctls: { string: string }
|
|
locations: [string]
|
|
logging-config:
|
|
variant-config:
|
|
variant: string
|
|
machine-type: string
|
|
name: string
|
|
node-network-config:
|
|
create-pod-range: boolean
|
|
enable-private-nodes: boolean
|
|
network-performance-config:
|
|
total-egress-bandwidth-tier: string
|
|
pod-cidr-overprovision-config:
|
|
disable: boolean
|
|
pod-ipv4-cidr-block: string
|
|
pod-ipv4-range-utilization: number
|
|
pod-range: string
|
|
node-pool-id: string
|
|
node-version: string
|
|
project-id: string
|
|
queued-provisioning:
|
|
enabled: boolean
|
|
resource-labels:
|
|
labels: { string: string }
|
|
resource-manager-tags:
|
|
tags: { string: string }
|
|
tags:
|
|
tags: [string]
|
|
upgrade-settings:
|
|
blue-green-settings:
|
|
node-pool-soak-duration: string
|
|
standard-rollout-policy:
|
|
batch-node-count: integer
|
|
batch-percentage: number
|
|
batch-soak-duration: string
|
|
max-surge: integer
|
|
max-unavailable: integer
|
|
strategy: string
|
|
windows-node-config:
|
|
os-version: string
|
|
workload-metadata-config:
|
|
mode: string
|
|
zone: string
|
|
|
|
</code></pre>
|
|
<p>can be set completely with the following arguments which are assumed to be executed in the given order. Note how the cursor position is adjusted to the respective structures, allowing simple field names to be used most of the time.</p>
|
|
<ul>
|
|
<li><code>-r . cluster-id=no</code><ul>
|
|
<li>Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>confidential-nodes enabled=true</code></p>
|
|
<ul>
|
|
<li>Whether Confidential Nodes feature is enabled.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. disk-size-gb=ipsum</code></p>
|
|
<ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>disk-type=sea</code><ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>etag=sit</code><ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>fast-socket enabled=true</code></p>
|
|
<ul>
|
|
<li>Whether Fast Socket features are enabled in the node pool.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..gcfs-config enabled=true</code></p>
|
|
<ul>
|
|
<li>Whether to use GCFS.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..gvnic enabled=false</code></p>
|
|
<ul>
|
|
<li>Whether gVNIC features are enabled in the node pool.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. image-type=invidunt</code></p>
|
|
<ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>kubelet-config cpu-cfs-quota=false</code><ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>cpu-cfs-quota-period=gubergren</code><ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>cpu-manager-policy=elitr</code><ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>insecure-kubelet-readonly-port-enabled=true</code><ul>
|
|
<li>Enable or disable Kubelet read only port.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>pod-pids-limit=kasd</code></p>
|
|
<ul>
|
|
<li>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.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..labels labels=key=dolore</code></p>
|
|
<ul>
|
|
<li>Map of node label keys and node label values.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..linux-node-config cgroup-mode=lorem</code></p>
|
|
<ul>
|
|
<li>cgroup_mode specifies the cgroup mode to be used on the node.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>sysctls=key=amet</code></p>
|
|
<ul>
|
|
<li>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.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. locations=ipsum</code></p>
|
|
<ul>
|
|
<li>The desired list of Google Compute Engine <a href="https://cloud.google.com/compute/docs/zones#available">zones</a> 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.</li>
|
|
<li>Each invocation of this argument appends the given value to the array.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>logging-config.variant-config variant=lorem</code></p>
|
|
<ul>
|
|
<li>Logging variant deployed on nodes.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>... machine-type=dolores</code></p>
|
|
<ul>
|
|
<li>Optional. The desired <a href="https://cloud.google.com/compute/docs/machine-types">Google Compute Engine machine type</a> for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>name=consetetur</code><ul>
|
|
<li>The name (project, location, cluster, node pool) of the node pool to update. Specified in the format <code>projects/*/locations/*/clusters/*/nodePools/*</code>.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>node-network-config create-pod-range=true</code><ul>
|
|
<li>Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for <code>pod_range</code> and <code>pod_ipv4_cidr_block</code> if they are not specified. If neither <code>create_pod_range</code> or <code>pod_range</code> are specified, the cluster-level default (<code>ip_allocation_policy.cluster_ipv4_cidr_block</code>) is used. Only applicable if <code>ip_allocation_policy.use_ip_aliases</code> is true. This field cannot be changed after the node pool has been created.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>enable-private-nodes=true</code><ul>
|
|
<li>Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>network-performance-config total-egress-bandwidth-tier=nonumy</code></p>
|
|
<ul>
|
|
<li>Specifies the total network bandwidth tier for the NodePool.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..pod-cidr-overprovision-config disable=true</code></p>
|
|
<ul>
|
|
<li>Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. pod-ipv4-cidr-block=eos</code></p>
|
|
<ul>
|
|
<li>The IP address range for pod IPs in this node pool. Only applicable if <code>create_pod_range</code> is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. <code>/14</code>) to have a range chosen with a specific netmask. Set to a <a href="https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing">CIDR</a> notation (e.g. <code>10.96.0.0/14</code>) to pick a specific range to use. Only applicable if <code>ip_allocation_policy.use_ip_aliases</code> is true. This field cannot be changed after the node pool has been created.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>pod-ipv4-range-utilization=0.5236717061304316</code><ul>
|
|
<li>Output only. [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<em>numZones</em>podIPsPerNode.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>pod-range=elitr</code></p>
|
|
<ul>
|
|
<li>The ID of the secondary range for pod IPs. If <code>create_pod_range</code> is true, this ID is used for the new range. If <code>create_pod_range</code> is false, uses an existing secondary range with this ID. Only applicable if <code>ip_allocation_policy.use_ip_aliases</code> is true. This field cannot be changed after the node pool has been created.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. node-pool-id=sed</code></p>
|
|
<ul>
|
|
<li>Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>node-version=labore</code><ul>
|
|
<li>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</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>project-id=et</code><ul>
|
|
<li>Deprecated. The Google Developers Console <a href="https://cloud.google.com/resource-manager/docs/creating-managing-projects">project ID or project number</a>. This field has been deprecated and replaced by the name field.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>queued-provisioning enabled=false</code></p>
|
|
<ul>
|
|
<li>Denotes that this nodepool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..resource-labels labels=key=sed</code></p>
|
|
<ul>
|
|
<li>Map of node label keys and node label values.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..resource-manager-tags tags=key=at</code></p>
|
|
<ul>
|
|
<li>TagKeyValue must be in one of the following formats ([KEY]=[VALUE]) 1. <code>tagKeys/{tag_key_id}=tagValues/{tag_value_id}</code> 2. <code>{org_id}/{tag_key_name}={tag_value_name}</code> 3. <code>{project_id}/{tag_key_name}={tag_value_name}</code></li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..tags tags=stet</code></p>
|
|
<ul>
|
|
<li>List of network tags.</li>
|
|
<li>Each invocation of this argument appends the given value to the array.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..upgrade-settings.blue-green-settings node-pool-soak-duration=sit</code></p>
|
|
<ul>
|
|
<li>Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>standard-rollout-policy batch-node-count=46</code><ul>
|
|
<li>Number of blue nodes to drain in a batch.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>batch-percentage=0.7454899800701926</code><ul>
|
|
<li>Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>batch-soak-duration=amet</code></p>
|
|
<ul>
|
|
<li>Soak time after each batch gets drained. Default to zero.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>... max-surge=18</code></p>
|
|
<ul>
|
|
<li>The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>max-unavailable=18</code><ul>
|
|
<li>The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>strategy=invidunt</code></p>
|
|
<ul>
|
|
<li>Update strategy of the node pool.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..windows-node-config os-version=et</code></p>
|
|
<ul>
|
|
<li>OSVersion specifies the Windows node config to be used on the node</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..workload-metadata-config mode=et</code></p>
|
|
<ul>
|
|
<li>Mode is the configuration for how to expose metadata to workloads running on the node pool.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. zone=dolor</code></p>
|
|
<ul>
|
|
<li>Deprecated. The name of the Google Compute Engine <a href="https://cloud.google.com/compute/docs/zones#available">zone</a> in which the cluster resides. This field has been deprecated and replaced by the name field.</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h3 id="about-cursors">About Cursors</h3>
|
|
<p>The cursor position is key to comfortably set complex nested structures. The following rules apply:</p>
|
|
<ul>
|
|
<li>The cursor position is always set relative to the current one, unless the field name starts with the <code>.</code> character. Fields can be nested such as in <code>-r f.s.o</code> .</li>
|
|
<li>The cursor position is set relative to the top-level structure if it starts with <code>.</code>, e.g. <code>-r .s.s</code></li>
|
|
<li>You can also set nested fields without setting the cursor explicitly. For example, to set a value relative to the current cursor position, you would specify <code>-r struct.sub_struct=bar</code>.</li>
|
|
<li>You can move the cursor one level up by using <code>..</code>. Each additional <code>.</code> moves it up one additional level. E.g. <code>...</code> would go three levels up.</li>
|
|
</ul>
|
|
<h1 id="optional-output-flags">Optional Output Flags</h1>
|
|
<p>The method's return value a JSON encoded structure, which will be written to standard output by default.</p>
|
|
<ul>
|
|
<li><strong>-o out</strong><ul>
|
|
<li><em>out</em> specifies the <em>destination</em> to which to write the server's result to.
|
|
It will be a JSON-encoded structure.
|
|
The <em>destination</em> may be <code>-</code> to indicate standard output, or a filepath that is to contain the received bytes.
|
|
If unset, it defaults to standard output.</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<h1 id="optional-general-properties">Optional General Properties</h1>
|
|
<p>The following properties can configure any call, and are not specific to this method.</p>
|
|
<ul>
|
|
<li>
|
|
<p><strong>-p $-xgafv=string</strong></p>
|
|
<ul>
|
|
<li>V1 error format.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p access-token=string</strong></p>
|
|
<ul>
|
|
<li>OAuth access token.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p alt=string</strong></p>
|
|
<ul>
|
|
<li>Data format for response.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p callback=string</strong></p>
|
|
<ul>
|
|
<li>JSONP</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p fields=string</strong></p>
|
|
<ul>
|
|
<li>Selector specifying which fields to include in a partial response.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p key=string</strong></p>
|
|
<ul>
|
|
<li>API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p oauth-token=string</strong></p>
|
|
<ul>
|
|
<li>OAuth 2.0 token for the current user.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p pretty-print=boolean</strong></p>
|
|
<ul>
|
|
<li>Returns response with indentations and line breaks.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p quota-user=string</strong></p>
|
|
<ul>
|
|
<li>Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p upload-type=string</strong></p>
|
|
<ul>
|
|
<li>Legacy upload protocol for media (e.g. "media", "multipart").</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><strong>-p upload-protocol=string</strong></p>
|
|
<ul>
|
|
<li>Upload protocol for media (e.g. "raw", "multipart").</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
|
|
</div>
|
|
</div><footer>
|
|
<div class="rst-footer-buttons" role="navigation" aria-label="Footer Navigation">
|
|
<a href="../projects_locations-clusters-node-pools-set-size/" class="btn btn-neutral float-left" title="Locations Clusters Node Pools Set Size"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
<a href="../projects_locations-clusters-set-addons/" class="btn btn-neutral float-right" title="Locations Clusters Set Addons">Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<!-- Copyright etc -->
|
|
<p>Copyright © 2015-2020, `Sebastian Thiel`</p>
|
|
</div>
|
|
|
|
Built with <a href="https://www.mkdocs.org/">MkDocs</a> using a <a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>.
|
|
</footer>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
<div class="rst-versions" role="note" aria-label="Versions">
|
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
|
|
|
<span>
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/container1-cli" class="fa fa-github" style="color: #fcfcfc"> GitHub</a>
|
|
</span>
|
|
|
|
|
|
<span><a href="../projects_locations-clusters-node-pools-set-size/" style="color: #fcfcfc">« Previous</a></span>
|
|
|
|
|
|
<span><a href="../projects_locations-clusters-set-addons/" style="color: #fcfcfc">Next »</a></span>
|
|
|
|
</span>
|
|
</div>
|
|
<script>var base_url = '..';</script>
|
|
<script src="../js/theme_extra.js" defer></script>
|
|
<script src="../js/theme.js" defer></script>
|
|
<script src="../search/main.js" defer></script>
|
|
<script defer>
|
|
window.onload = function () {
|
|
SphinxRtdTheme.Navigation.enable(true);
|
|
};
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|