mirror of
https://github.com/OMGeeky/google-apis-rs.git
synced 2026-01-25 12:44:07 +01:00
929 lines
41 KiB
HTML
929 lines
41 KiB
HTML
<!DOCTYPE html>
|
|
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
|
|
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<title>Locations Clusters Node Pools Create - Container v3.0.0+20220215</title>
|
|
|
|
|
|
|
|
<link href='https://fonts.googleapis.com/css?family=Lato:400,700|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'>
|
|
|
|
<link rel="stylesheet" href="../css/theme.css" type="text/css" />
|
|
<link rel="stylesheet" href="../css/theme_extra.css" type="text/css" />
|
|
<link rel="stylesheet" href="../css/highlight.css">
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.8.3/modernizr.min.js"></script>
|
|
<script type="text/javascript" src="../js/highlight.pack.js"></script>
|
|
<script src="../js/theme.js"></script>
|
|
|
|
<style>
|
|
body {font-size: 90%;}
|
|
pre, code {font-size: 100%;}
|
|
h3, h4, h5, h6 {color: #2980b9; font-weight: 300}
|
|
</style>
|
|
</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-nav-search">
|
|
<a href=".." class="icon icon-home"> Container v3.0.0+20220215</a>
|
|
|
|
</div>
|
|
|
|
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
|
|
<ul class="current">
|
|
|
|
|
|
<span>Projects</span>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_aggregated-usable-subnetworks-list">Aggregated Usable Subnetworks List</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-complete-ip-rotation">Locations Clusters Complete Ip Rotation</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-create">Locations Clusters Create</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-delete">Locations Clusters Delete</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-get">Locations Clusters Get</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-get-jwks">Locations Clusters Get Jwks</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-list">Locations Clusters List</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 current">
|
|
<a class="current" href=".">Locations Clusters Node Pools Create</a>
|
|
|
|
<ul>
|
|
|
|
<li class="toctree-l2"><a href="#scopes">Scopes</a></li>
|
|
|
|
|
|
<li class="toctree-l2"><a href="#required-scalar-argument">Required Scalar Argument</a></li>
|
|
|
|
|
|
<li class="toctree-l2"><a href="#required-request-value">Required Request Value</a></li>
|
|
|
|
<li><a class="toctree-l3" href="#about-cursors">About Cursors</a></li>
|
|
|
|
|
|
<li class="toctree-l2"><a href="#optional-output-flags">Optional Output Flags</a></li>
|
|
|
|
|
|
<li class="toctree-l2"><a href="#optional-general-properties">Optional General Properties</a></li>
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-node-pools-delete">Locations Clusters Node Pools Delete</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-node-pools-get">Locations Clusters Node Pools Get</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-node-pools-list">Locations Clusters Node Pools List</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-node-pools-rollback">Locations Clusters Node Pools Rollback</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-node-pools-set-autoscaling">Locations Clusters Node Pools Set Autoscaling</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-node-pools-set-management">Locations Clusters Node Pools Set Management</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-node-pools-set-size">Locations Clusters Node Pools Set Size</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-node-pools-update">Locations Clusters Node Pools Update</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-set-addons">Locations Clusters Set Addons</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-set-legacy-abac">Locations Clusters Set Legacy Abac</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-set-locations">Locations Clusters Set Locations</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-set-logging">Locations Clusters Set Logging</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-set-maintenance-policy">Locations Clusters Set Maintenance Policy</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-set-master-auth">Locations Clusters Set Master Auth</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-set-monitoring">Locations Clusters Set Monitoring</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-set-network-policy">Locations Clusters Set Network Policy</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-set-resource-labels">Locations Clusters Set Resource Labels</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-start-ip-rotation">Locations Clusters Start Ip Rotation</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-update">Locations Clusters Update</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-update-master">Locations Clusters Update Master</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-clusters-well-known-get-openid-configuration">Locations Clusters Well Known Get Openid Configuration</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-get-server-config">Locations Get Server Config</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-operations-cancel">Locations Operations Cancel</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-operations-get">Locations Operations Get</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_locations-operations-list">Locations Operations List</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-addons">Zones Clusters Addons</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-complete-ip-rotation">Zones Clusters Complete Ip Rotation</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-create">Zones Clusters Create</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-delete">Zones Clusters Delete</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-get">Zones Clusters Get</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-legacy-abac">Zones Clusters Legacy Abac</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-list">Zones Clusters List</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-locations">Zones Clusters Locations</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-logging">Zones Clusters Logging</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-master">Zones Clusters Master</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-monitoring">Zones Clusters Monitoring</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-node-pools-autoscaling">Zones Clusters Node Pools Autoscaling</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-node-pools-create">Zones Clusters Node Pools Create</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-node-pools-delete">Zones Clusters Node Pools Delete</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-node-pools-get">Zones Clusters Node Pools Get</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-node-pools-list">Zones Clusters Node Pools List</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-node-pools-rollback">Zones Clusters Node Pools Rollback</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-node-pools-set-management">Zones Clusters Node Pools Set Management</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-node-pools-set-size">Zones Clusters Node Pools Set Size</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-node-pools-update">Zones Clusters Node Pools Update</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-resource-labels">Zones Clusters Resource Labels</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-set-maintenance-policy">Zones Clusters Set Maintenance Policy</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-set-master-auth">Zones Clusters Set Master Auth</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-set-network-policy">Zones Clusters Set Network Policy</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-start-ip-rotation">Zones Clusters Start Ip Rotation</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-clusters-update">Zones Clusters Update</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-get-serverconfig">Zones Get Serverconfig</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-operations-cancel">Zones Operations Cancel</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-operations-get">Zones Operations Get</a>
|
|
|
|
</li>
|
|
|
|
<li class="toctree-l1 ">
|
|
<a class="" href="../projects_zones-operations-list">Zones Operations List</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
|
|
|
|
|
|
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
|
|
<i data-toggle="wy-nav-top" class="icon icon-reorder"></i>
|
|
<a href=".."></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="..">Docs</a> »</li>
|
|
<li>Locations Clusters Node Pools Create</li>
|
|
<li class="wy-breadcrumbs-aside">
|
|
|
|
|
|
<a href="https://github.com/Byron/google-apis-rs/tree/main/gen/container1-cli" class="icon icon-github"> Edit on GitHub</a>
|
|
|
|
|
|
</li>
|
|
</ul>
|
|
<hr/>
|
|
</div>
|
|
<div role="main">
|
|
<div class="section">
|
|
<p>Creates a node pool for a cluster.</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-create ...</code></p>
|
|
<h1 id="required-scalar-argument">Required Scalar Argument</h1>
|
|
<ul>
|
|
<li><strong><parent></strong> <em>(string)</em><ul>
|
|
<li>The parent (project, location, cluster name) where the node pool will be created. Specified in the format <code>projects/*/locations/*/clusters/*</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>CreateNodePoolRequest:
|
|
cluster-id: string
|
|
node-pool:
|
|
autoscaling:
|
|
autoprovisioned: boolean
|
|
enabled: boolean
|
|
max-node-count: integer
|
|
min-node-count: integer
|
|
config:
|
|
advanced-machine-features:
|
|
threads-per-core: string
|
|
boot-disk-kms-key: string
|
|
disk-size-gb: integer
|
|
disk-type: string
|
|
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
|
|
labels: { string: string }
|
|
linux-node-config:
|
|
sysctls: { string: string }
|
|
local-ssd-count: integer
|
|
machine-type: string
|
|
metadata: { string: string }
|
|
min-cpu-platform: string
|
|
node-group: string
|
|
oauth-scopes: [string]
|
|
preemptible: boolean
|
|
reservation-affinity:
|
|
consume-reservation-type: string
|
|
key: string
|
|
values: [string]
|
|
sandbox-config:
|
|
type: string
|
|
service-account: string
|
|
shielded-instance-config:
|
|
enable-integrity-monitoring: boolean
|
|
enable-secure-boot: boolean
|
|
spot: boolean
|
|
tags: [string]
|
|
workload-metadata-config:
|
|
mode: string
|
|
initial-node-count: integer
|
|
instance-group-urls: [string]
|
|
locations: [string]
|
|
management:
|
|
auto-repair: boolean
|
|
auto-upgrade: boolean
|
|
upgrade-options:
|
|
auto-upgrade-start-time: string
|
|
description: string
|
|
max-pods-constraint:
|
|
max-pods-per-node: string
|
|
name: string
|
|
network-config:
|
|
create-pod-range: boolean
|
|
pod-ipv4-cidr-block: string
|
|
pod-range: string
|
|
pod-ipv4-cidr-size: integer
|
|
self-link: string
|
|
status: string
|
|
status-message: string
|
|
upgrade-settings:
|
|
max-surge: integer
|
|
max-unavailable: integer
|
|
version: string
|
|
parent: string
|
|
project-id: 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=justo</code><ul>
|
|
<li>Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>node-pool.autoscaling autoprovisioned=true</code><ul>
|
|
<li>Can this node pool be deleted automatically.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>enabled=false</code><ul>
|
|
<li>Is autoscaling enabled for this node pool.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>max-node-count=58</code><ul>
|
|
<li>Maximum number of nodes for one location in the NodePool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>min-node-count=88</code></p>
|
|
<ul>
|
|
<li>Minimum number of nodes for one location in the NodePool. Must be >= 1 and <= max_node_count.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..config.advanced-machine-features threads-per-core=lorem</code></p>
|
|
<ul>
|
|
<li>The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. boot-disk-kms-key=sanctus</code></p>
|
|
<ul>
|
|
<li>The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>disk-size-gb=10</code><ul>
|
|
<li>Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>disk-type=rebum.</code><ul>
|
|
<li>Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'</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=true</code></p>
|
|
<ul>
|
|
<li>Whether gVNIC features are enabled in the node pool.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. image-type=dolore</code></p>
|
|
<ul>
|
|
<li>The image type to use for this node. Note that for a given image type, the latest version of it will be used.</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=ut</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>
|
|
<p><code>cpu-manager-policy=at</code></p>
|
|
<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>
|
|
<p><code>.. labels=key=sit</code></p>
|
|
<ul>
|
|
<li>The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>linux-node-config sysctls=key=vero</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.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>.. local-ssd-count=81</code></p>
|
|
<ul>
|
|
<li>The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>machine-type=sadipscing</code><ul>
|
|
<li>The name of a Google Compute Engine <a href="https://cloud.google.com/compute/docs/machine-types">machine type</a> If unspecified, the default machine type is <code>e2-medium</code>.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>metadata=key=ut</code><ul>
|
|
<li>The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp <code>[a-zA-Z0-9-_]+</code> and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - "cluster-location" - "cluster-name" - "cluster-uid" - "configure-sh" - "containerd-configure-sh" - "enable-os-login" - "gci-ensure-gke-docker" - "gci-metrics-enabled" - "gci-update-strategy" - "instance-template" - "kube-env" - "startup-script" - "user-data" - "disable-address-manager" - "windows-startup-script-ps1" - "common-psm1" - "k8s-node-setup-psm1" - "install-ssh-psm1" - "user-profile-psm1" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.</li>
|
|
<li>the value will be associated with the given <code>key</code></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>min-cpu-platform=rebum.</code><ul>
|
|
<li>Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as <code>minCpuPlatform: &#34;Intel Haswell&#34;</code> or <code>minCpuPlatform: &#34;Intel Sandy Bridge&#34;</code>. For more information, read <a href="https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform">how to specify min CPU platform</a></li>
|
|
</ul>
|
|
</li>
|
|
<li><code>node-group=duo</code><ul>
|
|
<li>Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on <a href="https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes">sole tenant nodes</a>.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>oauth-scopes=kasd</code><ul>
|
|
<li>The set of Google API scopes to be made available on all of the node VMs under the "default" service account. The following scopes are recommended, but not required, and by default are not included: * <code>https://www.googleapis.com/auth/compute</code> is required for mounting persistent storage on your nodes. * <code>https://www.googleapis.com/auth/devstorage.read_only</code> is required for communicating with <strong>gcr.io</strong> (the <a href="https://cloud.google.com/container-registry/">Google Container Registry</a>). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.</li>
|
|
<li>Each invocation of this argument appends the given value to the array.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>preemptible=false</code><ul>
|
|
<li>Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>reservation-affinity consume-reservation-type=tempor</code><ul>
|
|
<li>Corresponds to the type of reservation consumption.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>key=sea</code><ul>
|
|
<li>Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as the key and specify the name of your reservation as its value.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>values=et</code></p>
|
|
<ul>
|
|
<li>Corresponds to the label value(s) of reservation resource(s).</li>
|
|
<li>Each invocation of this argument appends the given value to the array.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>..sandbox-config type=lorem</code></p>
|
|
<ul>
|
|
<li>Type of the sandbox to use for the node.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. service-account=magna</code></p>
|
|
<ul>
|
|
<li>The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the "default" service account is used.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>shielded-instance-config enable-integrity-monitoring=true</code><ul>
|
|
<li>Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>enable-secure-boot=true</code></p>
|
|
<ul>
|
|
<li>Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. spot=false</code></p>
|
|
<ul>
|
|
<li>Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>tags=clita</code><ul>
|
|
<li>The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.</li>
|
|
<li>Each invocation of this argument appends the given value to the array.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>workload-metadata-config mode=stet</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>... initial-node-count=19</code></p>
|
|
<ul>
|
|
<li>The initial node count for the pool. You must ensure that your Compute Engine <a href="https://cloud.google.com/compute/quotas">resource quota</a> is sufficient for this number of instances. You must also have available firewall and routes quota.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>instance-group-urls=ut</code><ul>
|
|
<li>[Output only] The resource URLs of the <a href="https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances">managed instance groups</a> associated with this node pool.</li>
|
|
<li>Each invocation of this argument appends the given value to the array.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>locations=sit</code><ul>
|
|
<li>The list of Google Compute Engine <a href="https://cloud.google.com/compute/docs/zones#available">zones</a> in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the <a href="https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations">Cluster.Locations</a> value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.</li>
|
|
<li>Each invocation of this argument appends the given value to the array.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>management auto-repair=false</code><ul>
|
|
<li>A flag that specifies whether the node auto-repair is enabled for the node pool. If enabled, the nodes in this node pool will be monitored and, if they fail health checks too many times, an automatic repair action will be triggered.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>auto-upgrade=true</code><ul>
|
|
<li>A flag that specifies whether node auto-upgrade is enabled for the node pool. If enabled, node auto-upgrade helps keep the nodes in your node pool up to date with the latest release version of Kubernetes.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>upgrade-options auto-upgrade-start-time=clita</code><ul>
|
|
<li>[Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in <a href="https://www.ietf.org/rfc/rfc3339.txt">RFC3339</a> text format.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>description=dolor</code></p>
|
|
<ul>
|
|
<li>[Output only] This field is set when upgrades are about to commence with the description of the upgrade.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>...max-pods-constraint max-pods-per-node=aliquyam</code></p>
|
|
<ul>
|
|
<li>Constraint enforced on the max num of pods per node.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. name=magna</code></p>
|
|
<ul>
|
|
<li>The name of the node pool.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>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>pod-ipv4-cidr-block=nonumy</code><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>
|
|
<p><code>pod-range=et</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>.. pod-ipv4-cidr-size=93</code></p>
|
|
<ul>
|
|
<li>[Output only] The pod CIDR block size per node in this node pool.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>self-link=accusam</code><ul>
|
|
<li>[Output only] Server-defined URL for the resource.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>status=tempor</code><ul>
|
|
<li>[Output only] The status of the nodes in this pool instance.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>status-message=sed</code><ul>
|
|
<li>[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>upgrade-settings max-surge=94</code><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>
|
|
<p><code>max-unavailable=92</code></p>
|
|
<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>.. version=dolor</code></p>
|
|
<ul>
|
|
<li>The version of the Kubernetes of this node.</li>
|
|
</ul>
|
|
</li>
|
|
<li>
|
|
<p><code>.. parent=diam</code></p>
|
|
<ul>
|
|
<li>The parent (project, location, cluster name) where the node pool will be created. Specified in the format <code>projects/*/locations/*/clusters/*</code>.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>project-id=at</code><ul>
|
|
<li>Deprecated. The Google Developers Console <a href="https://developers.google.com/console/help/new/#projectnumber">project ID or project number</a>. This field has been deprecated and replaced by the parent field.</li>
|
|
</ul>
|
|
</li>
|
|
<li><code>zone=erat</code><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 parent 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-delete" class="btn btn-neutral float-right" title="Locations Clusters Node Pools Delete"/>Next <span class="icon icon-circle-arrow-right"></span></a>
|
|
|
|
|
|
<a href="../projects_locations-clusters-list" class="btn btn-neutral" title="Locations Clusters List"><span class="icon icon-circle-arrow-left"></span> Previous</a>
|
|
|
|
</div>
|
|
|
|
|
|
<hr/>
|
|
|
|
<div role="contentinfo">
|
|
<p>
|
|
<!-- Copyright etc -->
|
|
</p>
|
|
</div>
|
|
|
|
Built with <a href="http://www.mkdocs.org">MkDocs</a>, using a <a href="https://github.com/snide/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" style="cursor: pointer">
|
|
<span class="rst-current-version" data-toggle="rst-current-version">
|
|
|
|
<a class="icon icon-github" style="float: left; color: #fcfcfc"> GitHub</a>
|
|
|
|
<span><a href="../projects_locations-clusters-list" style="color: #fcfcfc;">« Previous</a></span>
|
|
<span style="margin-left: 15px"><a href="../projects_locations-clusters-node-pools-delete" style="color: #fcfcfc">Next »</a></span>
|
|
</span>
|
|
</div>
|
|
</body>
|
|
</html> |