Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, h1, h2, h3, div, span, p, pre, a { |
| 5 | margin: 0; |
| 6 | padding: 0; |
| 7 | border: 0; |
| 8 | font-weight: inherit; |
| 9 | font-style: inherit; |
| 10 | font-size: 100%; |
| 11 | font-family: inherit; |
| 12 | vertical-align: baseline; |
| 13 | } |
| 14 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, h2, h3 { |
| 50 | border-bottom: solid #CCC 1px; |
| 51 | } |
| 52 | |
| 53 | .toc_element { |
| 54 | margin-top: 0.5em; |
| 55 | } |
| 56 | |
| 57 | .firstline { |
| 58 | margin-left: 2 em; |
| 59 | } |
| 60 | |
| 61 | .method { |
| 62 | margin-top: 1em; |
| 63 | border: solid 1px #CCC; |
| 64 | padding: 1em; |
| 65 | background: #EEE; |
| 66 | } |
| 67 | |
| 68 | .details { |
| 69 | font-weight: bold; |
| 70 | font-size: 14px; |
| 71 | } |
| 72 | |
| 73 | </style> |
| 74 | |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 75 | <h1><a href="container_v1.html">Kubernetes Engine API</a> . <a href="container_v1.projects.html">projects</a> . <a href="container_v1.projects.zones.html">zones</a> . <a href="container_v1.projects.zones.clusters.html">clusters</a> . <a href="container_v1.projects.zones.clusters.nodePools.html">nodePools</a></h1> |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 76 | <h2>Instance Methods</h2> |
| 77 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 78 | <code><a href="#autoscaling">autoscaling(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 79 | <p class="firstline">Sets the autoscaling settings for the specified node pool.</p> |
| 80 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 81 | <code><a href="#create">create(projectId, zone, clusterId, body=None, x__xgafv=None)</a></code></p> |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 82 | <p class="firstline">Creates a node pool for a cluster.</p> |
| 83 | <p class="toc_element"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 84 | <code><a href="#delete">delete(projectId, zone, clusterId, nodePoolId, name=None, x__xgafv=None)</a></code></p> |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 85 | <p class="firstline">Deletes a node pool from a cluster.</p> |
| 86 | <p class="toc_element"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 87 | <code><a href="#get">get(projectId, zone, clusterId, nodePoolId, name=None, x__xgafv=None)</a></code></p> |
| 88 | <p class="firstline">Retrieves the requested node pool.</p> |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 89 | <p class="toc_element"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 90 | <code><a href="#list">list(projectId, zone, clusterId, parent=None, x__xgafv=None)</a></code></p> |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 91 | <p class="firstline">Lists the node pools for a cluster.</p> |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 92 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 93 | <code><a href="#rollback">rollback(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 94 | <p class="firstline">Rolls back a previously Aborted or Failed NodePool upgrade.</p> |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 95 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 96 | <code><a href="#setManagement">setManagement(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</a></code></p> |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 97 | <p class="firstline">Sets the NodeManagement options for a node pool.</p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 98 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 99 | <code><a href="#setSize">setSize(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 100 | <p class="firstline">Sets the size for a specific node pool.</p> |
| 101 | <p class="toc_element"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 102 | <code><a href="#update">update(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</a></code></p> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 103 | <p class="firstline">Updates the version and/or image type for the specified node pool.</p> |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 104 | <h3>Method Details</h3> |
| 105 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 106 | <code class="details" id="autoscaling">autoscaling(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 107 | <pre>Sets the autoscaling settings for the specified node pool. |
| 108 | |
| 109 | Args: |
| 110 | projectId: string, Deprecated. The Google Developers Console [project ID or project |
| 111 | number](https://support.google.com/cloud/answer/6158840). |
| 112 | This field has been deprecated and replaced by the name field. (required) |
| 113 | zone: string, Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 114 | [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 115 | cluster resides. This field has been deprecated and replaced by the name |
| 116 | field. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 117 | clusterId: string, Deprecated. The name of the cluster to upgrade. |
| 118 | This field has been deprecated and replaced by the name field. (required) |
| 119 | nodePoolId: string, Deprecated. The name of the node pool to upgrade. |
| 120 | This field has been deprecated and replaced by the name field. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 121 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 122 | The object takes the form of: |
| 123 | |
| 124 | { # SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 125 | "zone": "A String", # Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 126 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 127 | # cluster resides. This field has been deprecated and replaced by the name |
| 128 | # field. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 129 | "name": "A String", # The name (project, location, cluster, node pool) of the node pool to set |
| 130 | # autoscaler settings. Specified in the format |
| 131 | # `projects/*/locations/*/clusters/*/nodePools/*`. |
| 132 | "autoscaling": { # NodePoolAutoscaling contains information required by cluster autoscaler to # Required. Autoscaling configuration for the node pool. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 133 | # adjust the size of the node pool to the current cluster usage. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 134 | "maxNodeCount": 42, # Maximum number of nodes in the NodePool. Must be >= min_node_count. There |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 135 | # has to enough quota to scale up the cluster. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 136 | "autoprovisioned": True or False, # Can this node pool be deleted automatically. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 137 | "minNodeCount": 42, # Minimum number of nodes in the NodePool. Must be >= 1 and <= |
| 138 | # max_node_count. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 139 | "enabled": True or False, # Is autoscaling enabled for this node pool. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 140 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 141 | "projectId": "A String", # Deprecated. The Google Developers Console [project ID or project |
| 142 | # number](https://support.google.com/cloud/answer/6158840). |
| 143 | # This field has been deprecated and replaced by the name field. |
| 144 | "clusterId": "A String", # Deprecated. The name of the cluster to upgrade. |
| 145 | # This field has been deprecated and replaced by the name field. |
| 146 | "nodePoolId": "A String", # Deprecated. The name of the node pool to upgrade. |
| 147 | # This field has been deprecated and replaced by the name field. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 148 | } |
| 149 | |
| 150 | x__xgafv: string, V1 error format. |
| 151 | Allowed values |
| 152 | 1 - v1 error format |
| 153 | 2 - v2 error format |
| 154 | |
| 155 | Returns: |
| 156 | An object of the form: |
| 157 | |
| 158 | { # This operation resource represents operations that may have happened or are |
| 159 | # happening on the cluster. All fields are output only. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 160 | "clusterConditions": [ # Which conditions caused the current cluster state. |
| 161 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 162 | # (e.g., ERROR or DEGRADED). |
| 163 | "code": "A String", # Machine-friendly representation of the condition |
| 164 | "message": "A String", # Human-friendly representation of the condition |
| 165 | }, |
| 166 | ], |
| 167 | "progress": { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation. |
| 168 | "name": "A String", # A non-parameterized string describing an operation stage. |
| 169 | # Unset for single-stage operations. |
| 170 | "stages": [ # Substages of an operation or a stage. |
| 171 | # Object with schema name: OperationProgress |
| 172 | ], |
| 173 | "metrics": [ # Progress metric bundle, for example: |
| 174 | # metrics: [{name: "nodes done", int_value: 15}, |
| 175 | # {name: "nodes total", int_value: 32}] |
| 176 | # or |
| 177 | # metrics: [{name: "progress", double_value: 0.56}, |
| 178 | # {name: "progress scale", double_value: 1.0}] |
| 179 | { # Progress metric is (string, int|float|string) pair. |
| 180 | "name": "A String", # Required. Metric name, e.g., "nodes total", "percent done". |
| 181 | "doubleValue": 3.14, # For metrics with floating point value. |
| 182 | "intValue": "A String", # For metrics with integer value. |
| 183 | "stringValue": "A String", # For metrics with custom values (ratios, visual progress, etc.). |
| 184 | }, |
| 185 | ], |
| 186 | "status": "A String", # Status of an operation stage. |
| 187 | # Unset for single-stage operations. |
| 188 | }, |
| 189 | "zone": "A String", # The name of the Google Compute Engine |
| 190 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 191 | # operation is taking place. This field is deprecated, use location instead. |
| 192 | "statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error. |
| 193 | "selfLink": "A String", # Server-defined URL for the resource. |
| 194 | "detail": "A String", # Detailed operation progress, if available. |
| 195 | "targetLink": "A String", # Server-defined URL for the target of the operation. |
| 196 | "operationType": "A String", # The operation type. |
| 197 | "status": "A String", # The current status of the operation. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 198 | "name": "A String", # The server-assigned ID for the operation. |
| 199 | "nodepoolConditions": [ # Which conditions caused the current node pool state. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 200 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 201 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 202 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 203 | "message": "A String", # Human-friendly representation of the condition |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 204 | }, |
| 205 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 206 | "endTime": "A String", # [Output only] The time the operation completed, in |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 207 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 208 | "location": "A String", # [Output only] The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 209 | # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 210 | # or |
| 211 | # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 212 | # in which the cluster resides. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 213 | "startTime": "A String", # [Output only] The time the operation started, in |
| 214 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 215 | }</pre> |
| 216 | </div> |
| 217 | |
| 218 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 219 | <code class="details" id="create">create(projectId, zone, clusterId, body=None, x__xgafv=None)</code> |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 220 | <pre>Creates a node pool for a cluster. |
| 221 | |
| 222 | Args: |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 223 | projectId: string, Deprecated. The Google Developers Console [project ID or project |
| 224 | number](https://developers.google.com/console/help/new/#projectnumber). |
| 225 | This field has been deprecated and replaced by the parent field. (required) |
| 226 | zone: string, Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 227 | [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 228 | cluster resides. This field has been deprecated and replaced by the parent |
| 229 | field. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 230 | clusterId: string, Deprecated. The name of the cluster. |
| 231 | This field has been deprecated and replaced by the parent field. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 232 | body: object, The request body. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 233 | The object takes the form of: |
| 234 | |
| 235 | { # CreateNodePoolRequest creates a node pool for a cluster. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 236 | "projectId": "A String", # Deprecated. The Google Developers Console [project ID or project |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 237 | # number](https://developers.google.com/console/help/new/#projectnumber). |
| 238 | # This field has been deprecated and replaced by the parent field. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 239 | "zone": "A String", # Deprecated. The name of the Google Compute Engine |
| 240 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 241 | # cluster resides. This field has been deprecated and replaced by the parent |
| 242 | # field. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 243 | "parent": "A String", # The parent (project, location, cluster id) where the node pool will be |
| 244 | # created. Specified in the format |
| 245 | # `projects/*/locations/*/clusters/*`. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 246 | "nodePool": { # NodePool contains the name and configuration for a cluster's node pool. # Required. The node pool to create. |
| 247 | # Node pools are a set of nodes (i.e. VM's), with a common configuration and |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 248 | # specification, under the control of the cluster master. They may have a set |
| 249 | # of Kubernetes labels applied to them, which may be used to reference them |
| 250 | # during pod scheduling. They may also be resized up or down, to accommodate |
| 251 | # the workload. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 252 | "statusMessage": "A String", # [Output only] Additional information about the current status of this |
| 253 | # node pool instance, if available. |
| 254 | "autoscaling": { # NodePoolAutoscaling contains information required by cluster autoscaler to # Autoscaler configuration for this NodePool. Autoscaler is enabled |
| 255 | # only if a valid configuration is present. |
| 256 | # adjust the size of the node pool to the current cluster usage. |
| 257 | "maxNodeCount": 42, # Maximum number of nodes in the NodePool. Must be >= min_node_count. There |
| 258 | # has to enough quota to scale up the cluster. |
| 259 | "autoprovisioned": True or False, # Can this node pool be deleted automatically. |
| 260 | "minNodeCount": 42, # Minimum number of nodes in the NodePool. Must be >= 1 and <= |
| 261 | # max_node_count. |
| 262 | "enabled": True or False, # Is autoscaling enabled for this node pool. |
| 263 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 264 | "initialNodeCount": 42, # The initial node count for the pool. You must ensure that your |
| 265 | # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> |
| 266 | # is sufficient for this number of instances. You must also have available |
| 267 | # firewall and routes quota. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 268 | "selfLink": "A String", # [Output only] Server-defined URL for the resource. |
| 269 | "upgradeSettings": { # These upgrade settings control the level of parallelism and the level of # Upgrade settings control disruption and speed of the upgrade. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 270 | # disruption caused by an upgrade. |
| 271 | # |
| 272 | # maxUnavailable controls the number of nodes that can be simultaneously |
| 273 | # unavailable. |
| 274 | # |
| 275 | # maxSurge controls the number of additional nodes that can be added to the |
| 276 | # node pool temporarily for the time of the upgrade to increase the number of |
| 277 | # available nodes. |
| 278 | # |
| 279 | # (maxUnavailable + maxSurge) determines the level of parallelism (how many |
| 280 | # nodes are being upgraded at the same time). |
| 281 | # |
| 282 | # Note: upgrades inevitably introduce some disruption since workloads need to |
| 283 | # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, |
| 284 | # this holds true. (Disruption stays within the limits of |
| 285 | # PodDisruptionBudget, if it is configured.) |
| 286 | # |
| 287 | # Consider a hypothetical node pool with 5 nodes having maxSurge=2, |
| 288 | # maxUnavailable=1. This means the upgrade process upgrades 3 nodes |
| 289 | # simultaneously. It creates 2 additional (upgraded) nodes, then it brings |
| 290 | # down 3 old (not yet upgraded) nodes at the same time. This ensures that |
| 291 | # there are always at least 4 nodes available. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 292 | "maxUnavailable": 42, # The maximum number of nodes that can be simultaneously unavailable during |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 293 | # the upgrade process. A node is considered available if its status is |
| 294 | # Ready. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 295 | "maxSurge": 42, # The maximum number of nodes that can be created beyond the current size |
| 296 | # of the node pool during the upgrade process. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 297 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 298 | "locations": [ # The list of Google Compute Engine |
| 299 | # [zones](https://cloud.google.com/compute/docs/zones#available) in which the |
| 300 | # NodePool's nodes should be located. |
| 301 | "A String", |
| 302 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 303 | "instanceGroupUrls": [ # [Output only] The resource URLs of the [managed instance |
| 304 | # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) |
| 305 | # associated with this node pool. |
| 306 | "A String", |
| 307 | ], |
| 308 | "version": "A String", # The version of the Kubernetes of this node. |
| 309 | "podIpv4CidrSize": 42, # [Output only] The pod CIDR block size per node in this node pool. |
| 310 | "conditions": [ # Which conditions caused the current node pool state. |
| 311 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 312 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 313 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 314 | "message": "A String", # Human-friendly representation of the condition |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 315 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 316 | ], |
| 317 | "status": "A String", # [Output only] The status of the nodes in this pool instance. |
| 318 | "config": { # Parameters that describe the nodes in a cluster. # The node configuration of the pool. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 319 | "oauthScopes": [ # The set of Google API scopes to be made available on all of the |
| 320 | # node VMs under the "default" service account. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 321 | # |
| 322 | # The following scopes are recommended, but not required, and by default are |
| 323 | # not included: |
| 324 | # |
| 325 | # * `https://www.googleapis.com/auth/compute` is required for mounting |
| 326 | # persistent storage on your nodes. |
| 327 | # * `https://www.googleapis.com/auth/devstorage.read_only` is required for |
| 328 | # communicating with **gcr.io** |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 329 | # (the [Google Container |
| 330 | # Registry](https://cloud.google.com/container-registry/)). |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 331 | # |
| 332 | # If unspecified, no scopes are added, unless Cloud Logging or Cloud |
| 333 | # Monitoring are enabled, in which case their required scopes will be added. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 334 | "A String", |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 335 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 336 | "taints": [ # List of kubernetes taints to be applied to each node. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 337 | # |
| 338 | # For more information, including usage and the valid values, see: |
| 339 | # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
| 340 | { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect |
| 341 | # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. |
| 342 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 343 | # See |
| 344 | # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) |
| 345 | # for more information, including usage and the valid values. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 346 | "effect": "A String", # Effect for taint. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 347 | "value": "A String", # Value for taint. |
| 348 | "key": "A String", # Key for taint. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 349 | }, |
| 350 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 351 | "labels": { # The map of Kubernetes labels (key/value pairs) to be applied to each node. |
| 352 | # These will added in addition to any default label(s) that |
| 353 | # Kubernetes may apply to the node. |
| 354 | # In case of conflict in label keys, the applied set may differ depending on |
| 355 | # the Kubernetes version -- it's best to assume the behavior is undefined |
| 356 | # and conflicts should be avoided. |
| 357 | # For more information, including usage and the valid values, see: |
| 358 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| 359 | "a_key": "A String", |
| 360 | }, |
| 361 | "diskSizeGb": 42, # Size of the disk attached to each node, specified in GB. |
| 362 | # The smallest allowed disk size is 10GB. |
| 363 | # |
| 364 | # If unspecified, the default disk size is 100GB. |
| 365 | "workloadMetadataConfig": { # WorkloadMetadataConfig defines the metadata configuration to expose to # The workload metadata configuration for this node. |
| 366 | # workloads on the node pool. |
| 367 | "mode": "A String", # Mode is the configuration for how to expose metadata to workloads running |
| 368 | # on the node pool. |
| 369 | }, |
| 370 | "accelerators": [ # A list of hardware accelerators to be attached to each node. |
| 371 | # See https://cloud.google.com/compute/docs/gpus for more information about |
| 372 | # support for GPUs. |
| 373 | { # AcceleratorConfig represents a Hardware Accelerator request. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 374 | "acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators |
| 375 | # [here](https://cloud.google.com/compute/docs/gpus) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 376 | "acceleratorCount": "A String", # The number of the accelerator cards exposed to an instance. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 377 | }, |
| 378 | ], |
| 379 | "machineType": "A String", # The name of a Google Compute Engine [machine |
| 380 | # type](https://cloud.google.com/compute/docs/machine-types) (e.g. |
| 381 | # `n1-standard-1`). |
| 382 | # |
| 383 | # If unspecified, the default machine type is |
| 384 | # `n1-standard-1`. |
| 385 | "diskType": "A String", # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') |
| 386 | # |
| 387 | # If unspecified, the default disk type is 'pd-standard' |
| 388 | "shieldedInstanceConfig": { # A set of Shielded Instance options. # Shielded Instance options. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 389 | "enableIntegrityMonitoring": True or False, # Defines whether the instance has integrity monitoring enabled. |
| 390 | # |
| 391 | # Enables monitoring and attestation of the boot integrity of the instance. |
| 392 | # The attestation is performed against the integrity policy baseline. This |
| 393 | # baseline is initially derived from the implicitly trusted boot image when |
| 394 | # the instance is created. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 395 | "enableSecureBoot": True or False, # Defines whether the instance has Secure Boot enabled. |
| 396 | # |
| 397 | # Secure Boot helps ensure that the system only runs authentic software by |
| 398 | # verifying the digital signature of all boot components, and halting the |
| 399 | # boot process if signature verification fails. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 400 | }, |
| 401 | "minCpuPlatform": "A String", # Minimum CPU platform to be used by this instance. The instance may be |
| 402 | # scheduled on the specified or newer CPU platform. Applicable values are the |
| 403 | # friendly names of CPU platforms, such as |
| 404 | # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or |
| 405 | # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more |
| 406 | # information, read [how to specify min CPU |
| 407 | # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) |
| 408 | "preemptible": True or False, # Whether the nodes are created as preemptible VM instances. See: |
| 409 | # https://cloud.google.com/compute/docs/instances/preemptible for more |
| 410 | # information about preemptible VM instances. |
| 411 | "localSsdCount": 42, # The number of local SSD disks to be attached to the node. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 412 | # |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 413 | # The limit for this value is dependent upon the maximum number of |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 414 | # disks available on a machine per zone. See: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 415 | # https://cloud.google.com/compute/docs/disks/local-ssd |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 416 | # for more information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 417 | "sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node. |
| 418 | "type": "A String", # Type of the sandbox to use for the node. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 419 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 420 | "metadata": { # The metadata key/value pairs assigned to instances in the cluster. |
| 421 | # |
| 422 | # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes |
| 423 | # in length. These are reflected as part of a URL in the metadata server. |
| 424 | # Additionally, to avoid ambiguity, keys must not conflict with any other |
| 425 | # metadata keys for the project or be one of the reserved keys: |
| 426 | # "cluster-location" |
| 427 | # "cluster-name" |
| 428 | # "cluster-uid" |
| 429 | # "configure-sh" |
| 430 | # "containerd-configure-sh" |
| 431 | # "enable-os-login" |
| 432 | # "gci-ensure-gke-docker" |
| 433 | # "gci-metrics-enabled" |
| 434 | # "gci-update-strategy" |
| 435 | # "instance-template" |
| 436 | # "kube-env" |
| 437 | # "startup-script" |
| 438 | # "user-data" |
| 439 | # "disable-address-manager" |
| 440 | # "windows-startup-script-ps1" |
| 441 | # "common-psm1" |
| 442 | # "k8s-node-setup-psm1" |
| 443 | # "install-ssh-psm1" |
| 444 | # "user-profile-psm1" |
| 445 | # "serial-port-logging-enable" |
| 446 | # |
| 447 | # Values are free-form strings, and only have meaning as interpreted by |
| 448 | # the image running in the instance. The only restriction placed on them is |
| 449 | # that each value's size must be less than or equal to 32 KB. |
| 450 | # |
| 451 | # The total size of all keys and values must be less than 512 KB. |
| 452 | "a_key": "A String", |
| 453 | }, |
| 454 | "reservationAffinity": { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) # The optional reservation affinity. Setting this field will apply |
| 455 | # the specified [Zonal Compute |
| 456 | # Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) |
| 457 | # to this node pool. |
| 458 | # is the configuration of desired reservation which instances could take |
| 459 | # capacity from. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 460 | "values": [ # Corresponds to the label value(s) of reservation resource(s). |
| 461 | "A String", |
| 462 | ], |
| 463 | "consumeReservationType": "A String", # Corresponds to the type of reservation consumption. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 464 | "key": "A String", # Corresponds to the label key of a reservation resource. To target a |
| 465 | # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as |
| 466 | # the key and specify the name of your reservation as its value. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 467 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 468 | "tags": [ # The list of instance tags applied to all nodes. Tags are used to identify |
| 469 | # valid sources or targets for network firewalls and are specified by |
| 470 | # the client during cluster or node pool creation. Each tag within the list |
| 471 | # must comply with RFC1035. |
| 472 | "A String", |
| 473 | ], |
| 474 | "serviceAccount": "A String", # The Google Cloud Platform Service Account to be used by the node VMs. |
| 475 | # Specify the email address of the Service Account; otherwise, if no Service |
| 476 | # Account is specified, the "default" service account is used. |
| 477 | "imageType": "A String", # The image type to use for this node. Note that for a given image type, |
| 478 | # the latest version of it will be used. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 479 | }, |
| 480 | "maxPodsConstraint": { # Constraints applied to pods. # The constraint on the maximum number of pods that can be run |
| 481 | # simultaneously on a node in the node pool. |
| 482 | "maxPodsPerNode": "A String", # Constraint enforced on the max num of pods per node. |
| 483 | }, |
| 484 | "name": "A String", # The name of the node pool. |
| 485 | "management": { # NodeManagement defines the set of node management services turned on for the # NodeManagement configuration for this NodePool. |
| 486 | # node pool. |
| 487 | "upgradeOptions": { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool. |
| 488 | # the Auto Upgrades will proceed. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 489 | "autoUpgradeStartTime": "A String", # [Output only] This field is set when upgrades are about to commence |
| 490 | # with the approximate start time for the upgrades, in |
| 491 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 492 | "description": "A String", # [Output only] This field is set when upgrades are about to commence |
| 493 | # with the description of the upgrade. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 494 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 495 | "autoRepair": True or False, # A flag that specifies whether the node auto-repair is enabled for the node |
| 496 | # pool. If enabled, the nodes in this node pool will be monitored and, if |
| 497 | # they fail health checks too many times, an automatic repair action will be |
| 498 | # triggered. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 499 | "autoUpgrade": True or False, # A flag that specifies whether node auto-upgrade is enabled for the node |
| 500 | # pool. If enabled, node auto-upgrade helps keep the nodes in your node pool |
| 501 | # up to date with the latest release version of Kubernetes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 502 | }, |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 503 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 504 | "clusterId": "A String", # Deprecated. The name of the cluster. |
| 505 | # This field has been deprecated and replaced by the parent field. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 506 | } |
| 507 | |
| 508 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 509 | Allowed values |
| 510 | 1 - v1 error format |
| 511 | 2 - v2 error format |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 512 | |
| 513 | Returns: |
| 514 | An object of the form: |
| 515 | |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 516 | { # This operation resource represents operations that may have happened or are |
| 517 | # happening on the cluster. All fields are output only. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 518 | "clusterConditions": [ # Which conditions caused the current cluster state. |
| 519 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 520 | # (e.g., ERROR or DEGRADED). |
| 521 | "code": "A String", # Machine-friendly representation of the condition |
| 522 | "message": "A String", # Human-friendly representation of the condition |
| 523 | }, |
| 524 | ], |
| 525 | "progress": { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation. |
| 526 | "name": "A String", # A non-parameterized string describing an operation stage. |
| 527 | # Unset for single-stage operations. |
| 528 | "stages": [ # Substages of an operation or a stage. |
| 529 | # Object with schema name: OperationProgress |
| 530 | ], |
| 531 | "metrics": [ # Progress metric bundle, for example: |
| 532 | # metrics: [{name: "nodes done", int_value: 15}, |
| 533 | # {name: "nodes total", int_value: 32}] |
| 534 | # or |
| 535 | # metrics: [{name: "progress", double_value: 0.56}, |
| 536 | # {name: "progress scale", double_value: 1.0}] |
| 537 | { # Progress metric is (string, int|float|string) pair. |
| 538 | "name": "A String", # Required. Metric name, e.g., "nodes total", "percent done". |
| 539 | "doubleValue": 3.14, # For metrics with floating point value. |
| 540 | "intValue": "A String", # For metrics with integer value. |
| 541 | "stringValue": "A String", # For metrics with custom values (ratios, visual progress, etc.). |
| 542 | }, |
| 543 | ], |
| 544 | "status": "A String", # Status of an operation stage. |
| 545 | # Unset for single-stage operations. |
| 546 | }, |
| 547 | "zone": "A String", # The name of the Google Compute Engine |
| 548 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 549 | # operation is taking place. This field is deprecated, use location instead. |
| 550 | "statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error. |
| 551 | "selfLink": "A String", # Server-defined URL for the resource. |
| 552 | "detail": "A String", # Detailed operation progress, if available. |
| 553 | "targetLink": "A String", # Server-defined URL for the target of the operation. |
| 554 | "operationType": "A String", # The operation type. |
| 555 | "status": "A String", # The current status of the operation. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 556 | "name": "A String", # The server-assigned ID for the operation. |
| 557 | "nodepoolConditions": [ # Which conditions caused the current node pool state. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 558 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 559 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 560 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 561 | "message": "A String", # Human-friendly representation of the condition |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 562 | }, |
| 563 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 564 | "endTime": "A String", # [Output only] The time the operation completed, in |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 565 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 566 | "location": "A String", # [Output only] The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 567 | # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 568 | # or |
| 569 | # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 570 | # in which the cluster resides. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 571 | "startTime": "A String", # [Output only] The time the operation started, in |
| 572 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 573 | }</pre> |
| 574 | </div> |
| 575 | |
| 576 | <div class="method"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 577 | <code class="details" id="delete">delete(projectId, zone, clusterId, nodePoolId, name=None, x__xgafv=None)</code> |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 578 | <pre>Deletes a node pool from a cluster. |
| 579 | |
| 580 | Args: |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 581 | projectId: string, Deprecated. The Google Developers Console [project ID or project |
| 582 | number](https://developers.google.com/console/help/new/#projectnumber). |
| 583 | This field has been deprecated and replaced by the name field. (required) |
| 584 | zone: string, Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 585 | [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 586 | cluster resides. This field has been deprecated and replaced by the name |
| 587 | field. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 588 | clusterId: string, Deprecated. The name of the cluster. |
| 589 | This field has been deprecated and replaced by the name field. (required) |
| 590 | nodePoolId: string, Deprecated. The name of the node pool to delete. |
| 591 | This field has been deprecated and replaced by the name field. (required) |
| 592 | name: string, The name (project, location, cluster, node pool id) of the node pool to |
| 593 | delete. Specified in the format |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 594 | `projects/*/locations/*/clusters/*/nodePools/*`. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 595 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 596 | Allowed values |
| 597 | 1 - v1 error format |
| 598 | 2 - v2 error format |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 599 | |
| 600 | Returns: |
| 601 | An object of the form: |
| 602 | |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 603 | { # This operation resource represents operations that may have happened or are |
| 604 | # happening on the cluster. All fields are output only. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 605 | "clusterConditions": [ # Which conditions caused the current cluster state. |
| 606 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 607 | # (e.g., ERROR or DEGRADED). |
| 608 | "code": "A String", # Machine-friendly representation of the condition |
| 609 | "message": "A String", # Human-friendly representation of the condition |
| 610 | }, |
| 611 | ], |
| 612 | "progress": { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation. |
| 613 | "name": "A String", # A non-parameterized string describing an operation stage. |
| 614 | # Unset for single-stage operations. |
| 615 | "stages": [ # Substages of an operation or a stage. |
| 616 | # Object with schema name: OperationProgress |
| 617 | ], |
| 618 | "metrics": [ # Progress metric bundle, for example: |
| 619 | # metrics: [{name: "nodes done", int_value: 15}, |
| 620 | # {name: "nodes total", int_value: 32}] |
| 621 | # or |
| 622 | # metrics: [{name: "progress", double_value: 0.56}, |
| 623 | # {name: "progress scale", double_value: 1.0}] |
| 624 | { # Progress metric is (string, int|float|string) pair. |
| 625 | "name": "A String", # Required. Metric name, e.g., "nodes total", "percent done". |
| 626 | "doubleValue": 3.14, # For metrics with floating point value. |
| 627 | "intValue": "A String", # For metrics with integer value. |
| 628 | "stringValue": "A String", # For metrics with custom values (ratios, visual progress, etc.). |
| 629 | }, |
| 630 | ], |
| 631 | "status": "A String", # Status of an operation stage. |
| 632 | # Unset for single-stage operations. |
| 633 | }, |
| 634 | "zone": "A String", # The name of the Google Compute Engine |
| 635 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 636 | # operation is taking place. This field is deprecated, use location instead. |
| 637 | "statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error. |
| 638 | "selfLink": "A String", # Server-defined URL for the resource. |
| 639 | "detail": "A String", # Detailed operation progress, if available. |
| 640 | "targetLink": "A String", # Server-defined URL for the target of the operation. |
| 641 | "operationType": "A String", # The operation type. |
| 642 | "status": "A String", # The current status of the operation. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 643 | "name": "A String", # The server-assigned ID for the operation. |
| 644 | "nodepoolConditions": [ # Which conditions caused the current node pool state. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 645 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 646 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 647 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 648 | "message": "A String", # Human-friendly representation of the condition |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 649 | }, |
| 650 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 651 | "endTime": "A String", # [Output only] The time the operation completed, in |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 652 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 653 | "location": "A String", # [Output only] The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 654 | # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 655 | # or |
| 656 | # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 657 | # in which the cluster resides. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 658 | "startTime": "A String", # [Output only] The time the operation started, in |
| 659 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 660 | }</pre> |
| 661 | </div> |
| 662 | |
| 663 | <div class="method"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 664 | <code class="details" id="get">get(projectId, zone, clusterId, nodePoolId, name=None, x__xgafv=None)</code> |
| 665 | <pre>Retrieves the requested node pool. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 666 | |
| 667 | Args: |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 668 | projectId: string, Deprecated. The Google Developers Console [project ID or project |
| 669 | number](https://developers.google.com/console/help/new/#projectnumber). |
| 670 | This field has been deprecated and replaced by the name field. (required) |
| 671 | zone: string, Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 672 | [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 673 | cluster resides. This field has been deprecated and replaced by the name |
| 674 | field. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 675 | clusterId: string, Deprecated. The name of the cluster. |
| 676 | This field has been deprecated and replaced by the name field. (required) |
| 677 | nodePoolId: string, Deprecated. The name of the node pool. |
| 678 | This field has been deprecated and replaced by the name field. (required) |
| 679 | name: string, The name (project, location, cluster, node pool id) of the node pool to |
| 680 | get. Specified in the format |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 681 | `projects/*/locations/*/clusters/*/nodePools/*`. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 682 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 683 | Allowed values |
| 684 | 1 - v1 error format |
| 685 | 2 - v2 error format |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 686 | |
| 687 | Returns: |
| 688 | An object of the form: |
| 689 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 690 | { # NodePool contains the name and configuration for a cluster's node pool. |
| 691 | # Node pools are a set of nodes (i.e. VM's), with a common configuration and |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 692 | # specification, under the control of the cluster master. They may have a set |
| 693 | # of Kubernetes labels applied to them, which may be used to reference them |
| 694 | # during pod scheduling. They may also be resized up or down, to accommodate |
| 695 | # the workload. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 696 | "statusMessage": "A String", # [Output only] Additional information about the current status of this |
| 697 | # node pool instance, if available. |
| 698 | "autoscaling": { # NodePoolAutoscaling contains information required by cluster autoscaler to # Autoscaler configuration for this NodePool. Autoscaler is enabled |
| 699 | # only if a valid configuration is present. |
| 700 | # adjust the size of the node pool to the current cluster usage. |
| 701 | "maxNodeCount": 42, # Maximum number of nodes in the NodePool. Must be >= min_node_count. There |
| 702 | # has to enough quota to scale up the cluster. |
| 703 | "autoprovisioned": True or False, # Can this node pool be deleted automatically. |
| 704 | "minNodeCount": 42, # Minimum number of nodes in the NodePool. Must be >= 1 and <= |
| 705 | # max_node_count. |
| 706 | "enabled": True or False, # Is autoscaling enabled for this node pool. |
| 707 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 708 | "initialNodeCount": 42, # The initial node count for the pool. You must ensure that your |
| 709 | # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> |
| 710 | # is sufficient for this number of instances. You must also have available |
| 711 | # firewall and routes quota. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 712 | "selfLink": "A String", # [Output only] Server-defined URL for the resource. |
| 713 | "upgradeSettings": { # These upgrade settings control the level of parallelism and the level of # Upgrade settings control disruption and speed of the upgrade. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 714 | # disruption caused by an upgrade. |
| 715 | # |
| 716 | # maxUnavailable controls the number of nodes that can be simultaneously |
| 717 | # unavailable. |
| 718 | # |
| 719 | # maxSurge controls the number of additional nodes that can be added to the |
| 720 | # node pool temporarily for the time of the upgrade to increase the number of |
| 721 | # available nodes. |
| 722 | # |
| 723 | # (maxUnavailable + maxSurge) determines the level of parallelism (how many |
| 724 | # nodes are being upgraded at the same time). |
| 725 | # |
| 726 | # Note: upgrades inevitably introduce some disruption since workloads need to |
| 727 | # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, |
| 728 | # this holds true. (Disruption stays within the limits of |
| 729 | # PodDisruptionBudget, if it is configured.) |
| 730 | # |
| 731 | # Consider a hypothetical node pool with 5 nodes having maxSurge=2, |
| 732 | # maxUnavailable=1. This means the upgrade process upgrades 3 nodes |
| 733 | # simultaneously. It creates 2 additional (upgraded) nodes, then it brings |
| 734 | # down 3 old (not yet upgraded) nodes at the same time. This ensures that |
| 735 | # there are always at least 4 nodes available. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 736 | "maxUnavailable": 42, # The maximum number of nodes that can be simultaneously unavailable during |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 737 | # the upgrade process. A node is considered available if its status is |
| 738 | # Ready. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 739 | "maxSurge": 42, # The maximum number of nodes that can be created beyond the current size |
| 740 | # of the node pool during the upgrade process. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 741 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 742 | "locations": [ # The list of Google Compute Engine |
| 743 | # [zones](https://cloud.google.com/compute/docs/zones#available) in which the |
| 744 | # NodePool's nodes should be located. |
| 745 | "A String", |
| 746 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 747 | "instanceGroupUrls": [ # [Output only] The resource URLs of the [managed instance |
| 748 | # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) |
| 749 | # associated with this node pool. |
| 750 | "A String", |
| 751 | ], |
| 752 | "version": "A String", # The version of the Kubernetes of this node. |
| 753 | "podIpv4CidrSize": 42, # [Output only] The pod CIDR block size per node in this node pool. |
| 754 | "conditions": [ # Which conditions caused the current node pool state. |
| 755 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 756 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 757 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 758 | "message": "A String", # Human-friendly representation of the condition |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 759 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 760 | ], |
| 761 | "status": "A String", # [Output only] The status of the nodes in this pool instance. |
| 762 | "config": { # Parameters that describe the nodes in a cluster. # The node configuration of the pool. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 763 | "oauthScopes": [ # The set of Google API scopes to be made available on all of the |
| 764 | # node VMs under the "default" service account. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 765 | # |
| 766 | # The following scopes are recommended, but not required, and by default are |
| 767 | # not included: |
| 768 | # |
| 769 | # * `https://www.googleapis.com/auth/compute` is required for mounting |
| 770 | # persistent storage on your nodes. |
| 771 | # * `https://www.googleapis.com/auth/devstorage.read_only` is required for |
| 772 | # communicating with **gcr.io** |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 773 | # (the [Google Container |
| 774 | # Registry](https://cloud.google.com/container-registry/)). |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 775 | # |
| 776 | # If unspecified, no scopes are added, unless Cloud Logging or Cloud |
| 777 | # Monitoring are enabled, in which case their required scopes will be added. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 778 | "A String", |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 779 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 780 | "taints": [ # List of kubernetes taints to be applied to each node. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 781 | # |
| 782 | # For more information, including usage and the valid values, see: |
| 783 | # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
| 784 | { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect |
| 785 | # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. |
| 786 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 787 | # See |
| 788 | # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) |
| 789 | # for more information, including usage and the valid values. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 790 | "effect": "A String", # Effect for taint. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 791 | "value": "A String", # Value for taint. |
| 792 | "key": "A String", # Key for taint. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 793 | }, |
| 794 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 795 | "labels": { # The map of Kubernetes labels (key/value pairs) to be applied to each node. |
| 796 | # These will added in addition to any default label(s) that |
| 797 | # Kubernetes may apply to the node. |
| 798 | # In case of conflict in label keys, the applied set may differ depending on |
| 799 | # the Kubernetes version -- it's best to assume the behavior is undefined |
| 800 | # and conflicts should be avoided. |
| 801 | # For more information, including usage and the valid values, see: |
| 802 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| 803 | "a_key": "A String", |
| 804 | }, |
| 805 | "diskSizeGb": 42, # Size of the disk attached to each node, specified in GB. |
| 806 | # The smallest allowed disk size is 10GB. |
| 807 | # |
| 808 | # If unspecified, the default disk size is 100GB. |
| 809 | "workloadMetadataConfig": { # WorkloadMetadataConfig defines the metadata configuration to expose to # The workload metadata configuration for this node. |
| 810 | # workloads on the node pool. |
| 811 | "mode": "A String", # Mode is the configuration for how to expose metadata to workloads running |
| 812 | # on the node pool. |
| 813 | }, |
| 814 | "accelerators": [ # A list of hardware accelerators to be attached to each node. |
| 815 | # See https://cloud.google.com/compute/docs/gpus for more information about |
| 816 | # support for GPUs. |
| 817 | { # AcceleratorConfig represents a Hardware Accelerator request. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 818 | "acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators |
| 819 | # [here](https://cloud.google.com/compute/docs/gpus) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 820 | "acceleratorCount": "A String", # The number of the accelerator cards exposed to an instance. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 821 | }, |
| 822 | ], |
| 823 | "machineType": "A String", # The name of a Google Compute Engine [machine |
| 824 | # type](https://cloud.google.com/compute/docs/machine-types) (e.g. |
| 825 | # `n1-standard-1`). |
| 826 | # |
| 827 | # If unspecified, the default machine type is |
| 828 | # `n1-standard-1`. |
| 829 | "diskType": "A String", # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') |
| 830 | # |
| 831 | # If unspecified, the default disk type is 'pd-standard' |
| 832 | "shieldedInstanceConfig": { # A set of Shielded Instance options. # Shielded Instance options. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 833 | "enableIntegrityMonitoring": True or False, # Defines whether the instance has integrity monitoring enabled. |
| 834 | # |
| 835 | # Enables monitoring and attestation of the boot integrity of the instance. |
| 836 | # The attestation is performed against the integrity policy baseline. This |
| 837 | # baseline is initially derived from the implicitly trusted boot image when |
| 838 | # the instance is created. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 839 | "enableSecureBoot": True or False, # Defines whether the instance has Secure Boot enabled. |
| 840 | # |
| 841 | # Secure Boot helps ensure that the system only runs authentic software by |
| 842 | # verifying the digital signature of all boot components, and halting the |
| 843 | # boot process if signature verification fails. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 844 | }, |
| 845 | "minCpuPlatform": "A String", # Minimum CPU platform to be used by this instance. The instance may be |
| 846 | # scheduled on the specified or newer CPU platform. Applicable values are the |
| 847 | # friendly names of CPU platforms, such as |
| 848 | # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or |
| 849 | # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more |
| 850 | # information, read [how to specify min CPU |
| 851 | # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) |
| 852 | "preemptible": True or False, # Whether the nodes are created as preemptible VM instances. See: |
| 853 | # https://cloud.google.com/compute/docs/instances/preemptible for more |
| 854 | # information about preemptible VM instances. |
| 855 | "localSsdCount": 42, # The number of local SSD disks to be attached to the node. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 856 | # |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 857 | # The limit for this value is dependent upon the maximum number of |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 858 | # disks available on a machine per zone. See: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 859 | # https://cloud.google.com/compute/docs/disks/local-ssd |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 860 | # for more information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 861 | "sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node. |
| 862 | "type": "A String", # Type of the sandbox to use for the node. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 863 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 864 | "metadata": { # The metadata key/value pairs assigned to instances in the cluster. |
| 865 | # |
| 866 | # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes |
| 867 | # in length. These are reflected as part of a URL in the metadata server. |
| 868 | # Additionally, to avoid ambiguity, keys must not conflict with any other |
| 869 | # metadata keys for the project or be one of the reserved keys: |
| 870 | # "cluster-location" |
| 871 | # "cluster-name" |
| 872 | # "cluster-uid" |
| 873 | # "configure-sh" |
| 874 | # "containerd-configure-sh" |
| 875 | # "enable-os-login" |
| 876 | # "gci-ensure-gke-docker" |
| 877 | # "gci-metrics-enabled" |
| 878 | # "gci-update-strategy" |
| 879 | # "instance-template" |
| 880 | # "kube-env" |
| 881 | # "startup-script" |
| 882 | # "user-data" |
| 883 | # "disable-address-manager" |
| 884 | # "windows-startup-script-ps1" |
| 885 | # "common-psm1" |
| 886 | # "k8s-node-setup-psm1" |
| 887 | # "install-ssh-psm1" |
| 888 | # "user-profile-psm1" |
| 889 | # "serial-port-logging-enable" |
| 890 | # |
| 891 | # Values are free-form strings, and only have meaning as interpreted by |
| 892 | # the image running in the instance. The only restriction placed on them is |
| 893 | # that each value's size must be less than or equal to 32 KB. |
| 894 | # |
| 895 | # The total size of all keys and values must be less than 512 KB. |
| 896 | "a_key": "A String", |
| 897 | }, |
| 898 | "reservationAffinity": { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) # The optional reservation affinity. Setting this field will apply |
| 899 | # the specified [Zonal Compute |
| 900 | # Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) |
| 901 | # to this node pool. |
| 902 | # is the configuration of desired reservation which instances could take |
| 903 | # capacity from. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 904 | "values": [ # Corresponds to the label value(s) of reservation resource(s). |
| 905 | "A String", |
| 906 | ], |
| 907 | "consumeReservationType": "A String", # Corresponds to the type of reservation consumption. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 908 | "key": "A String", # Corresponds to the label key of a reservation resource. To target a |
| 909 | # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as |
| 910 | # the key and specify the name of your reservation as its value. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 911 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 912 | "tags": [ # The list of instance tags applied to all nodes. Tags are used to identify |
| 913 | # valid sources or targets for network firewalls and are specified by |
| 914 | # the client during cluster or node pool creation. Each tag within the list |
| 915 | # must comply with RFC1035. |
| 916 | "A String", |
| 917 | ], |
| 918 | "serviceAccount": "A String", # The Google Cloud Platform Service Account to be used by the node VMs. |
| 919 | # Specify the email address of the Service Account; otherwise, if no Service |
| 920 | # Account is specified, the "default" service account is used. |
| 921 | "imageType": "A String", # The image type to use for this node. Note that for a given image type, |
| 922 | # the latest version of it will be used. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 923 | }, |
| 924 | "maxPodsConstraint": { # Constraints applied to pods. # The constraint on the maximum number of pods that can be run |
| 925 | # simultaneously on a node in the node pool. |
| 926 | "maxPodsPerNode": "A String", # Constraint enforced on the max num of pods per node. |
| 927 | }, |
| 928 | "name": "A String", # The name of the node pool. |
| 929 | "management": { # NodeManagement defines the set of node management services turned on for the # NodeManagement configuration for this NodePool. |
| 930 | # node pool. |
| 931 | "upgradeOptions": { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool. |
| 932 | # the Auto Upgrades will proceed. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 933 | "autoUpgradeStartTime": "A String", # [Output only] This field is set when upgrades are about to commence |
| 934 | # with the approximate start time for the upgrades, in |
| 935 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 936 | "description": "A String", # [Output only] This field is set when upgrades are about to commence |
| 937 | # with the description of the upgrade. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 938 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 939 | "autoRepair": True or False, # A flag that specifies whether the node auto-repair is enabled for the node |
| 940 | # pool. If enabled, the nodes in this node pool will be monitored and, if |
| 941 | # they fail health checks too many times, an automatic repair action will be |
| 942 | # triggered. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 943 | "autoUpgrade": True or False, # A flag that specifies whether node auto-upgrade is enabled for the node |
| 944 | # pool. If enabled, node auto-upgrade helps keep the nodes in your node pool |
| 945 | # up to date with the latest release version of Kubernetes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 946 | }, |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 947 | }</pre> |
| 948 | </div> |
| 949 | |
| 950 | <div class="method"> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 951 | <code class="details" id="list">list(projectId, zone, clusterId, parent=None, x__xgafv=None)</code> |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 952 | <pre>Lists the node pools for a cluster. |
| 953 | |
| 954 | Args: |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 955 | projectId: string, Deprecated. The Google Developers Console [project ID or project |
| 956 | number](https://developers.google.com/console/help/new/#projectnumber). |
| 957 | This field has been deprecated and replaced by the parent field. (required) |
| 958 | zone: string, Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 959 | [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 960 | cluster resides. This field has been deprecated and replaced by the parent |
| 961 | field. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 962 | clusterId: string, Deprecated. The name of the cluster. |
| 963 | This field has been deprecated and replaced by the parent field. (required) |
| 964 | parent: string, The parent (project, location, cluster id) where the node pools will be |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 965 | listed. Specified in the format `projects/*/locations/*/clusters/*`. |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 966 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 967 | Allowed values |
| 968 | 1 - v1 error format |
| 969 | 2 - v2 error format |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 970 | |
| 971 | Returns: |
| 972 | An object of the form: |
| 973 | |
| 974 | { # ListNodePoolsResponse is the result of ListNodePoolsRequest. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 975 | "nodePools": [ # A list of node pools for a cluster. |
| 976 | { # NodePool contains the name and configuration for a cluster's node pool. |
| 977 | # Node pools are a set of nodes (i.e. VM's), with a common configuration and |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 978 | # specification, under the control of the cluster master. They may have a set |
| 979 | # of Kubernetes labels applied to them, which may be used to reference them |
| 980 | # during pod scheduling. They may also be resized up or down, to accommodate |
| 981 | # the workload. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 982 | "statusMessage": "A String", # [Output only] Additional information about the current status of this |
| 983 | # node pool instance, if available. |
| 984 | "autoscaling": { # NodePoolAutoscaling contains information required by cluster autoscaler to # Autoscaler configuration for this NodePool. Autoscaler is enabled |
| 985 | # only if a valid configuration is present. |
| 986 | # adjust the size of the node pool to the current cluster usage. |
| 987 | "maxNodeCount": 42, # Maximum number of nodes in the NodePool. Must be >= min_node_count. There |
| 988 | # has to enough quota to scale up the cluster. |
| 989 | "autoprovisioned": True or False, # Can this node pool be deleted automatically. |
| 990 | "minNodeCount": 42, # Minimum number of nodes in the NodePool. Must be >= 1 and <= |
| 991 | # max_node_count. |
| 992 | "enabled": True or False, # Is autoscaling enabled for this node pool. |
| 993 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 994 | "initialNodeCount": 42, # The initial node count for the pool. You must ensure that your |
| 995 | # Compute Engine <a href="/compute/docs/resource-quotas">resource quota</a> |
| 996 | # is sufficient for this number of instances. You must also have available |
| 997 | # firewall and routes quota. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 998 | "selfLink": "A String", # [Output only] Server-defined URL for the resource. |
| 999 | "upgradeSettings": { # These upgrade settings control the level of parallelism and the level of # Upgrade settings control disruption and speed of the upgrade. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1000 | # disruption caused by an upgrade. |
| 1001 | # |
| 1002 | # maxUnavailable controls the number of nodes that can be simultaneously |
| 1003 | # unavailable. |
| 1004 | # |
| 1005 | # maxSurge controls the number of additional nodes that can be added to the |
| 1006 | # node pool temporarily for the time of the upgrade to increase the number of |
| 1007 | # available nodes. |
| 1008 | # |
| 1009 | # (maxUnavailable + maxSurge) determines the level of parallelism (how many |
| 1010 | # nodes are being upgraded at the same time). |
| 1011 | # |
| 1012 | # Note: upgrades inevitably introduce some disruption since workloads need to |
| 1013 | # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, |
| 1014 | # this holds true. (Disruption stays within the limits of |
| 1015 | # PodDisruptionBudget, if it is configured.) |
| 1016 | # |
| 1017 | # Consider a hypothetical node pool with 5 nodes having maxSurge=2, |
| 1018 | # maxUnavailable=1. This means the upgrade process upgrades 3 nodes |
| 1019 | # simultaneously. It creates 2 additional (upgraded) nodes, then it brings |
| 1020 | # down 3 old (not yet upgraded) nodes at the same time. This ensures that |
| 1021 | # there are always at least 4 nodes available. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1022 | "maxUnavailable": 42, # The maximum number of nodes that can be simultaneously unavailable during |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1023 | # the upgrade process. A node is considered available if its status is |
| 1024 | # Ready. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1025 | "maxSurge": 42, # The maximum number of nodes that can be created beyond the current size |
| 1026 | # of the node pool during the upgrade process. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1027 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1028 | "locations": [ # The list of Google Compute Engine |
| 1029 | # [zones](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1030 | # NodePool's nodes should be located. |
| 1031 | "A String", |
| 1032 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1033 | "instanceGroupUrls": [ # [Output only] The resource URLs of the [managed instance |
| 1034 | # groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) |
| 1035 | # associated with this node pool. |
| 1036 | "A String", |
| 1037 | ], |
| 1038 | "version": "A String", # The version of the Kubernetes of this node. |
| 1039 | "podIpv4CidrSize": 42, # [Output only] The pod CIDR block size per node in this node pool. |
| 1040 | "conditions": [ # Which conditions caused the current node pool state. |
| 1041 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 1042 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1043 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1044 | "message": "A String", # Human-friendly representation of the condition |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1045 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1046 | ], |
| 1047 | "status": "A String", # [Output only] The status of the nodes in this pool instance. |
| 1048 | "config": { # Parameters that describe the nodes in a cluster. # The node configuration of the pool. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1049 | "oauthScopes": [ # The set of Google API scopes to be made available on all of the |
| 1050 | # node VMs under the "default" service account. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1051 | # |
| 1052 | # The following scopes are recommended, but not required, and by default are |
| 1053 | # not included: |
| 1054 | # |
| 1055 | # * `https://www.googleapis.com/auth/compute` is required for mounting |
| 1056 | # persistent storage on your nodes. |
| 1057 | # * `https://www.googleapis.com/auth/devstorage.read_only` is required for |
| 1058 | # communicating with **gcr.io** |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1059 | # (the [Google Container |
| 1060 | # Registry](https://cloud.google.com/container-registry/)). |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1061 | # |
| 1062 | # If unspecified, no scopes are added, unless Cloud Logging or Cloud |
| 1063 | # Monitoring are enabled, in which case their required scopes will be added. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1064 | "A String", |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 1065 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1066 | "taints": [ # List of kubernetes taints to be applied to each node. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1067 | # |
| 1068 | # For more information, including usage and the valid values, see: |
| 1069 | # https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
| 1070 | { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect |
| 1071 | # can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. |
| 1072 | # |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1073 | # See |
| 1074 | # [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) |
| 1075 | # for more information, including usage and the valid values. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1076 | "effect": "A String", # Effect for taint. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1077 | "value": "A String", # Value for taint. |
| 1078 | "key": "A String", # Key for taint. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1079 | }, |
| 1080 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1081 | "labels": { # The map of Kubernetes labels (key/value pairs) to be applied to each node. |
| 1082 | # These will added in addition to any default label(s) that |
| 1083 | # Kubernetes may apply to the node. |
| 1084 | # In case of conflict in label keys, the applied set may differ depending on |
| 1085 | # the Kubernetes version -- it's best to assume the behavior is undefined |
| 1086 | # and conflicts should be avoided. |
| 1087 | # For more information, including usage and the valid values, see: |
| 1088 | # https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/ |
| 1089 | "a_key": "A String", |
| 1090 | }, |
| 1091 | "diskSizeGb": 42, # Size of the disk attached to each node, specified in GB. |
| 1092 | # The smallest allowed disk size is 10GB. |
| 1093 | # |
| 1094 | # If unspecified, the default disk size is 100GB. |
| 1095 | "workloadMetadataConfig": { # WorkloadMetadataConfig defines the metadata configuration to expose to # The workload metadata configuration for this node. |
| 1096 | # workloads on the node pool. |
| 1097 | "mode": "A String", # Mode is the configuration for how to expose metadata to workloads running |
| 1098 | # on the node pool. |
| 1099 | }, |
| 1100 | "accelerators": [ # A list of hardware accelerators to be attached to each node. |
| 1101 | # See https://cloud.google.com/compute/docs/gpus for more information about |
| 1102 | # support for GPUs. |
| 1103 | { # AcceleratorConfig represents a Hardware Accelerator request. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1104 | "acceleratorType": "A String", # The accelerator type resource name. List of supported accelerators |
| 1105 | # [here](https://cloud.google.com/compute/docs/gpus) |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1106 | "acceleratorCount": "A String", # The number of the accelerator cards exposed to an instance. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1107 | }, |
| 1108 | ], |
| 1109 | "machineType": "A String", # The name of a Google Compute Engine [machine |
| 1110 | # type](https://cloud.google.com/compute/docs/machine-types) (e.g. |
| 1111 | # `n1-standard-1`). |
| 1112 | # |
| 1113 | # If unspecified, the default machine type is |
| 1114 | # `n1-standard-1`. |
| 1115 | "diskType": "A String", # Type of the disk attached to each node (e.g. 'pd-standard' or 'pd-ssd') |
| 1116 | # |
| 1117 | # If unspecified, the default disk type is 'pd-standard' |
| 1118 | "shieldedInstanceConfig": { # A set of Shielded Instance options. # Shielded Instance options. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1119 | "enableIntegrityMonitoring": True or False, # Defines whether the instance has integrity monitoring enabled. |
| 1120 | # |
| 1121 | # Enables monitoring and attestation of the boot integrity of the instance. |
| 1122 | # The attestation is performed against the integrity policy baseline. This |
| 1123 | # baseline is initially derived from the implicitly trusted boot image when |
| 1124 | # the instance is created. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1125 | "enableSecureBoot": True or False, # Defines whether the instance has Secure Boot enabled. |
| 1126 | # |
| 1127 | # Secure Boot helps ensure that the system only runs authentic software by |
| 1128 | # verifying the digital signature of all boot components, and halting the |
| 1129 | # boot process if signature verification fails. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1130 | }, |
| 1131 | "minCpuPlatform": "A String", # Minimum CPU platform to be used by this instance. The instance may be |
| 1132 | # scheduled on the specified or newer CPU platform. Applicable values are the |
| 1133 | # friendly names of CPU platforms, such as |
| 1134 | # <code>minCpuPlatform: &quot;Intel Haswell&quot;</code> or |
| 1135 | # <code>minCpuPlatform: &quot;Intel Sandy Bridge&quot;</code>. For more |
| 1136 | # information, read [how to specify min CPU |
| 1137 | # platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) |
| 1138 | "preemptible": True or False, # Whether the nodes are created as preemptible VM instances. See: |
| 1139 | # https://cloud.google.com/compute/docs/instances/preemptible for more |
| 1140 | # information about preemptible VM instances. |
| 1141 | "localSsdCount": 42, # The number of local SSD disks to be attached to the node. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1142 | # |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1143 | # The limit for this value is dependent upon the maximum number of |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1144 | # disks available on a machine per zone. See: |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1145 | # https://cloud.google.com/compute/docs/disks/local-ssd |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1146 | # for more information. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1147 | "sandboxConfig": { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node. |
| 1148 | "type": "A String", # Type of the sandbox to use for the node. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1149 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1150 | "metadata": { # The metadata key/value pairs assigned to instances in the cluster. |
| 1151 | # |
| 1152 | # Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes |
| 1153 | # in length. These are reflected as part of a URL in the metadata server. |
| 1154 | # Additionally, to avoid ambiguity, keys must not conflict with any other |
| 1155 | # metadata keys for the project or be one of the reserved keys: |
| 1156 | # "cluster-location" |
| 1157 | # "cluster-name" |
| 1158 | # "cluster-uid" |
| 1159 | # "configure-sh" |
| 1160 | # "containerd-configure-sh" |
| 1161 | # "enable-os-login" |
| 1162 | # "gci-ensure-gke-docker" |
| 1163 | # "gci-metrics-enabled" |
| 1164 | # "gci-update-strategy" |
| 1165 | # "instance-template" |
| 1166 | # "kube-env" |
| 1167 | # "startup-script" |
| 1168 | # "user-data" |
| 1169 | # "disable-address-manager" |
| 1170 | # "windows-startup-script-ps1" |
| 1171 | # "common-psm1" |
| 1172 | # "k8s-node-setup-psm1" |
| 1173 | # "install-ssh-psm1" |
| 1174 | # "user-profile-psm1" |
| 1175 | # "serial-port-logging-enable" |
| 1176 | # |
| 1177 | # Values are free-form strings, and only have meaning as interpreted by |
| 1178 | # the image running in the instance. The only restriction placed on them is |
| 1179 | # that each value's size must be less than or equal to 32 KB. |
| 1180 | # |
| 1181 | # The total size of all keys and values must be less than 512 KB. |
| 1182 | "a_key": "A String", |
| 1183 | }, |
| 1184 | "reservationAffinity": { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) # The optional reservation affinity. Setting this field will apply |
| 1185 | # the specified [Zonal Compute |
| 1186 | # Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) |
| 1187 | # to this node pool. |
| 1188 | # is the configuration of desired reservation which instances could take |
| 1189 | # capacity from. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1190 | "values": [ # Corresponds to the label value(s) of reservation resource(s). |
| 1191 | "A String", |
| 1192 | ], |
| 1193 | "consumeReservationType": "A String", # Corresponds to the type of reservation consumption. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1194 | "key": "A String", # Corresponds to the label key of a reservation resource. To target a |
| 1195 | # SPECIFIC_RESERVATION by name, specify "googleapis.com/reservation-name" as |
| 1196 | # the key and specify the name of your reservation as its value. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1197 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1198 | "tags": [ # The list of instance tags applied to all nodes. Tags are used to identify |
| 1199 | # valid sources or targets for network firewalls and are specified by |
| 1200 | # the client during cluster or node pool creation. Each tag within the list |
| 1201 | # must comply with RFC1035. |
| 1202 | "A String", |
| 1203 | ], |
| 1204 | "serviceAccount": "A String", # The Google Cloud Platform Service Account to be used by the node VMs. |
| 1205 | # Specify the email address of the Service Account; otherwise, if no Service |
| 1206 | # Account is specified, the "default" service account is used. |
| 1207 | "imageType": "A String", # The image type to use for this node. Note that for a given image type, |
| 1208 | # the latest version of it will be used. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1209 | }, |
| 1210 | "maxPodsConstraint": { # Constraints applied to pods. # The constraint on the maximum number of pods that can be run |
| 1211 | # simultaneously on a node in the node pool. |
| 1212 | "maxPodsPerNode": "A String", # Constraint enforced on the max num of pods per node. |
| 1213 | }, |
| 1214 | "name": "A String", # The name of the node pool. |
| 1215 | "management": { # NodeManagement defines the set of node management services turned on for the # NodeManagement configuration for this NodePool. |
| 1216 | # node pool. |
| 1217 | "upgradeOptions": { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool. |
| 1218 | # the Auto Upgrades will proceed. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1219 | "autoUpgradeStartTime": "A String", # [Output only] This field is set when upgrades are about to commence |
| 1220 | # with the approximate start time for the upgrades, in |
| 1221 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1222 | "description": "A String", # [Output only] This field is set when upgrades are about to commence |
| 1223 | # with the description of the upgrade. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1224 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1225 | "autoRepair": True or False, # A flag that specifies whether the node auto-repair is enabled for the node |
| 1226 | # pool. If enabled, the nodes in this node pool will be monitored and, if |
| 1227 | # they fail health checks too many times, an automatic repair action will be |
| 1228 | # triggered. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1229 | "autoUpgrade": True or False, # A flag that specifies whether node auto-upgrade is enabled for the node |
| 1230 | # pool. If enabled, node auto-upgrade helps keep the nodes in your node pool |
| 1231 | # up to date with the latest release version of Kubernetes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1232 | }, |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 1233 | }, |
| 1234 | ], |
| 1235 | }</pre> |
| 1236 | </div> |
| 1237 | |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1238 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1239 | <code class="details" id="rollback">rollback(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1240 | <pre>Rolls back a previously Aborted or Failed NodePool upgrade. |
| 1241 | This makes no changes if the last upgrade successfully completed. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1242 | |
| 1243 | Args: |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1244 | projectId: string, Deprecated. The Google Developers Console [project ID or project |
| 1245 | number](https://support.google.com/cloud/answer/6158840). |
| 1246 | This field has been deprecated and replaced by the name field. (required) |
| 1247 | zone: string, Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1248 | [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1249 | cluster resides. This field has been deprecated and replaced by the name |
| 1250 | field. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1251 | clusterId: string, Deprecated. The name of the cluster to rollback. |
| 1252 | This field has been deprecated and replaced by the name field. (required) |
| 1253 | nodePoolId: string, Deprecated. The name of the node pool to rollback. |
| 1254 | This field has been deprecated and replaced by the name field. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1255 | body: object, The request body. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1256 | The object takes the form of: |
| 1257 | |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1258 | { # RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed |
| 1259 | # NodePool upgrade. This will be an no-op if the last upgrade successfully |
| 1260 | # completed. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1261 | "name": "A String", # The name (project, location, cluster, node pool id) of the node poll to |
| 1262 | # rollback upgrade. |
| 1263 | # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. |
| 1264 | "projectId": "A String", # Deprecated. The Google Developers Console [project ID or project |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1265 | # number](https://support.google.com/cloud/answer/6158840). |
| 1266 | # This field has been deprecated and replaced by the name field. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1267 | "zone": "A String", # Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1268 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1269 | # cluster resides. This field has been deprecated and replaced by the name |
| 1270 | # field. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1271 | "clusterId": "A String", # Deprecated. The name of the cluster to rollback. |
| 1272 | # This field has been deprecated and replaced by the name field. |
| 1273 | "nodePoolId": "A String", # Deprecated. The name of the node pool to rollback. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1274 | # This field has been deprecated and replaced by the name field. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1275 | } |
| 1276 | |
| 1277 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1278 | Allowed values |
| 1279 | 1 - v1 error format |
| 1280 | 2 - v2 error format |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1281 | |
| 1282 | Returns: |
| 1283 | An object of the form: |
| 1284 | |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1285 | { # This operation resource represents operations that may have happened or are |
| 1286 | # happening on the cluster. All fields are output only. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1287 | "clusterConditions": [ # Which conditions caused the current cluster state. |
| 1288 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 1289 | # (e.g., ERROR or DEGRADED). |
| 1290 | "code": "A String", # Machine-friendly representation of the condition |
| 1291 | "message": "A String", # Human-friendly representation of the condition |
| 1292 | }, |
| 1293 | ], |
| 1294 | "progress": { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation. |
| 1295 | "name": "A String", # A non-parameterized string describing an operation stage. |
| 1296 | # Unset for single-stage operations. |
| 1297 | "stages": [ # Substages of an operation or a stage. |
| 1298 | # Object with schema name: OperationProgress |
| 1299 | ], |
| 1300 | "metrics": [ # Progress metric bundle, for example: |
| 1301 | # metrics: [{name: "nodes done", int_value: 15}, |
| 1302 | # {name: "nodes total", int_value: 32}] |
| 1303 | # or |
| 1304 | # metrics: [{name: "progress", double_value: 0.56}, |
| 1305 | # {name: "progress scale", double_value: 1.0}] |
| 1306 | { # Progress metric is (string, int|float|string) pair. |
| 1307 | "name": "A String", # Required. Metric name, e.g., "nodes total", "percent done". |
| 1308 | "doubleValue": 3.14, # For metrics with floating point value. |
| 1309 | "intValue": "A String", # For metrics with integer value. |
| 1310 | "stringValue": "A String", # For metrics with custom values (ratios, visual progress, etc.). |
| 1311 | }, |
| 1312 | ], |
| 1313 | "status": "A String", # Status of an operation stage. |
| 1314 | # Unset for single-stage operations. |
| 1315 | }, |
| 1316 | "zone": "A String", # The name of the Google Compute Engine |
| 1317 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1318 | # operation is taking place. This field is deprecated, use location instead. |
| 1319 | "statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error. |
| 1320 | "selfLink": "A String", # Server-defined URL for the resource. |
| 1321 | "detail": "A String", # Detailed operation progress, if available. |
| 1322 | "targetLink": "A String", # Server-defined URL for the target of the operation. |
| 1323 | "operationType": "A String", # The operation type. |
| 1324 | "status": "A String", # The current status of the operation. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1325 | "name": "A String", # The server-assigned ID for the operation. |
| 1326 | "nodepoolConditions": [ # Which conditions caused the current node pool state. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1327 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 1328 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1329 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1330 | "message": "A String", # Human-friendly representation of the condition |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1331 | }, |
| 1332 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1333 | "endTime": "A String", # [Output only] The time the operation completed, in |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1334 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1335 | "location": "A String", # [Output only] The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1336 | # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 1337 | # or |
| 1338 | # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 1339 | # in which the cluster resides. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1340 | "startTime": "A String", # [Output only] The time the operation started, in |
| 1341 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1342 | }</pre> |
| 1343 | </div> |
| 1344 | |
| 1345 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1346 | <code class="details" id="setManagement">setManagement(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</code> |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1347 | <pre>Sets the NodeManagement options for a node pool. |
| 1348 | |
| 1349 | Args: |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1350 | projectId: string, Deprecated. The Google Developers Console [project ID or project |
| 1351 | number](https://support.google.com/cloud/answer/6158840). |
| 1352 | This field has been deprecated and replaced by the name field. (required) |
| 1353 | zone: string, Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1354 | [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1355 | cluster resides. This field has been deprecated and replaced by the name |
| 1356 | field. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1357 | clusterId: string, Deprecated. The name of the cluster to update. |
| 1358 | This field has been deprecated and replaced by the name field. (required) |
| 1359 | nodePoolId: string, Deprecated. The name of the node pool to update. |
| 1360 | This field has been deprecated and replaced by the name field. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1361 | body: object, The request body. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1362 | The object takes the form of: |
| 1363 | |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1364 | { # SetNodePoolManagementRequest sets the node management properties of a node |
| 1365 | # pool. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1366 | "zone": "A String", # Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1367 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1368 | # cluster resides. This field has been deprecated and replaced by the name |
| 1369 | # field. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1370 | "name": "A String", # The name (project, location, cluster, node pool id) of the node pool to set |
| 1371 | # management properties. Specified in the format |
| 1372 | # `projects/*/locations/*/clusters/*/nodePools/*`. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1373 | "management": { # NodeManagement defines the set of node management services turned on for the # Required. NodeManagement configuration for the node pool. |
| 1374 | # node pool. |
| 1375 | "upgradeOptions": { # AutoUpgradeOptions defines the set of options for the user to control how # Specifies the Auto Upgrade knobs for the node pool. |
| 1376 | # the Auto Upgrades will proceed. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1377 | "autoUpgradeStartTime": "A String", # [Output only] This field is set when upgrades are about to commence |
| 1378 | # with the approximate start time for the upgrades, in |
| 1379 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1380 | "description": "A String", # [Output only] This field is set when upgrades are about to commence |
| 1381 | # with the description of the upgrade. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1382 | }, |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1383 | "autoRepair": True or False, # A flag that specifies whether the node auto-repair is enabled for the node |
| 1384 | # pool. If enabled, the nodes in this node pool will be monitored and, if |
| 1385 | # they fail health checks too many times, an automatic repair action will be |
| 1386 | # triggered. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1387 | "autoUpgrade": True or False, # A flag that specifies whether node auto-upgrade is enabled for the node |
| 1388 | # pool. If enabled, node auto-upgrade helps keep the nodes in your node pool |
| 1389 | # up to date with the latest release version of Kubernetes. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1390 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1391 | "projectId": "A String", # Deprecated. The Google Developers Console [project ID or project |
| 1392 | # number](https://support.google.com/cloud/answer/6158840). |
| 1393 | # This field has been deprecated and replaced by the name field. |
| 1394 | "clusterId": "A String", # Deprecated. The name of the cluster to update. |
| 1395 | # This field has been deprecated and replaced by the name field. |
| 1396 | "nodePoolId": "A String", # Deprecated. The name of the node pool to update. |
| 1397 | # This field has been deprecated and replaced by the name field. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1398 | } |
| 1399 | |
| 1400 | x__xgafv: string, V1 error format. |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1401 | Allowed values |
| 1402 | 1 - v1 error format |
| 1403 | 2 - v2 error format |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1404 | |
| 1405 | Returns: |
| 1406 | An object of the form: |
| 1407 | |
Sai Cheemalapati | 4ba8c23 | 2017-06-06 18:46:08 -0400 | [diff] [blame] | 1408 | { # This operation resource represents operations that may have happened or are |
| 1409 | # happening on the cluster. All fields are output only. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1410 | "clusterConditions": [ # Which conditions caused the current cluster state. |
| 1411 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 1412 | # (e.g., ERROR or DEGRADED). |
| 1413 | "code": "A String", # Machine-friendly representation of the condition |
| 1414 | "message": "A String", # Human-friendly representation of the condition |
| 1415 | }, |
| 1416 | ], |
| 1417 | "progress": { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation. |
| 1418 | "name": "A String", # A non-parameterized string describing an operation stage. |
| 1419 | # Unset for single-stage operations. |
| 1420 | "stages": [ # Substages of an operation or a stage. |
| 1421 | # Object with schema name: OperationProgress |
| 1422 | ], |
| 1423 | "metrics": [ # Progress metric bundle, for example: |
| 1424 | # metrics: [{name: "nodes done", int_value: 15}, |
| 1425 | # {name: "nodes total", int_value: 32}] |
| 1426 | # or |
| 1427 | # metrics: [{name: "progress", double_value: 0.56}, |
| 1428 | # {name: "progress scale", double_value: 1.0}] |
| 1429 | { # Progress metric is (string, int|float|string) pair. |
| 1430 | "name": "A String", # Required. Metric name, e.g., "nodes total", "percent done". |
| 1431 | "doubleValue": 3.14, # For metrics with floating point value. |
| 1432 | "intValue": "A String", # For metrics with integer value. |
| 1433 | "stringValue": "A String", # For metrics with custom values (ratios, visual progress, etc.). |
| 1434 | }, |
| 1435 | ], |
| 1436 | "status": "A String", # Status of an operation stage. |
| 1437 | # Unset for single-stage operations. |
| 1438 | }, |
| 1439 | "zone": "A String", # The name of the Google Compute Engine |
| 1440 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1441 | # operation is taking place. This field is deprecated, use location instead. |
| 1442 | "statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error. |
| 1443 | "selfLink": "A String", # Server-defined URL for the resource. |
| 1444 | "detail": "A String", # Detailed operation progress, if available. |
| 1445 | "targetLink": "A String", # Server-defined URL for the target of the operation. |
| 1446 | "operationType": "A String", # The operation type. |
| 1447 | "status": "A String", # The current status of the operation. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1448 | "name": "A String", # The server-assigned ID for the operation. |
| 1449 | "nodepoolConditions": [ # Which conditions caused the current node pool state. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1450 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 1451 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1452 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1453 | "message": "A String", # Human-friendly representation of the condition |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1454 | }, |
| 1455 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1456 | "endTime": "A String", # [Output only] The time the operation completed, in |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1457 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1458 | "location": "A String", # [Output only] The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1459 | # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 1460 | # or |
| 1461 | # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 1462 | # in which the cluster resides. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1463 | "startTime": "A String", # [Output only] The time the operation started, in |
| 1464 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1465 | }</pre> |
| 1466 | </div> |
| 1467 | |
| 1468 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1469 | <code class="details" id="setSize">setSize(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1470 | <pre>Sets the size for a specific node pool. |
| 1471 | |
| 1472 | Args: |
| 1473 | projectId: string, Deprecated. The Google Developers Console [project ID or project |
| 1474 | number](https://support.google.com/cloud/answer/6158840). |
| 1475 | This field has been deprecated and replaced by the name field. (required) |
| 1476 | zone: string, Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1477 | [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1478 | cluster resides. This field has been deprecated and replaced by the name |
| 1479 | field. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1480 | clusterId: string, Deprecated. The name of the cluster to update. |
| 1481 | This field has been deprecated and replaced by the name field. (required) |
| 1482 | nodePoolId: string, Deprecated. The name of the node pool to update. |
| 1483 | This field has been deprecated and replaced by the name field. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1484 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1485 | The object takes the form of: |
| 1486 | |
| 1487 | { # SetNodePoolSizeRequest sets the size a node |
| 1488 | # pool. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1489 | "zone": "A String", # Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1490 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1491 | # cluster resides. This field has been deprecated and replaced by the name |
| 1492 | # field. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1493 | "nodeCount": 42, # Required. The desired node count for the pool. |
| 1494 | "name": "A String", # The name (project, location, cluster, node pool id) of the node pool to set |
| 1495 | # size. |
| 1496 | # Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`. |
| 1497 | "projectId": "A String", # Deprecated. The Google Developers Console [project ID or project |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1498 | # number](https://support.google.com/cloud/answer/6158840). |
| 1499 | # This field has been deprecated and replaced by the name field. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1500 | "clusterId": "A String", # Deprecated. The name of the cluster to update. |
| 1501 | # This field has been deprecated and replaced by the name field. |
| 1502 | "nodePoolId": "A String", # Deprecated. The name of the node pool to update. |
| 1503 | # This field has been deprecated and replaced by the name field. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1504 | } |
| 1505 | |
| 1506 | x__xgafv: string, V1 error format. |
| 1507 | Allowed values |
| 1508 | 1 - v1 error format |
| 1509 | 2 - v2 error format |
| 1510 | |
| 1511 | Returns: |
| 1512 | An object of the form: |
| 1513 | |
| 1514 | { # This operation resource represents operations that may have happened or are |
| 1515 | # happening on the cluster. All fields are output only. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1516 | "clusterConditions": [ # Which conditions caused the current cluster state. |
| 1517 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 1518 | # (e.g., ERROR or DEGRADED). |
| 1519 | "code": "A String", # Machine-friendly representation of the condition |
| 1520 | "message": "A String", # Human-friendly representation of the condition |
| 1521 | }, |
| 1522 | ], |
| 1523 | "progress": { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation. |
| 1524 | "name": "A String", # A non-parameterized string describing an operation stage. |
| 1525 | # Unset for single-stage operations. |
| 1526 | "stages": [ # Substages of an operation or a stage. |
| 1527 | # Object with schema name: OperationProgress |
| 1528 | ], |
| 1529 | "metrics": [ # Progress metric bundle, for example: |
| 1530 | # metrics: [{name: "nodes done", int_value: 15}, |
| 1531 | # {name: "nodes total", int_value: 32}] |
| 1532 | # or |
| 1533 | # metrics: [{name: "progress", double_value: 0.56}, |
| 1534 | # {name: "progress scale", double_value: 1.0}] |
| 1535 | { # Progress metric is (string, int|float|string) pair. |
| 1536 | "name": "A String", # Required. Metric name, e.g., "nodes total", "percent done". |
| 1537 | "doubleValue": 3.14, # For metrics with floating point value. |
| 1538 | "intValue": "A String", # For metrics with integer value. |
| 1539 | "stringValue": "A String", # For metrics with custom values (ratios, visual progress, etc.). |
| 1540 | }, |
| 1541 | ], |
| 1542 | "status": "A String", # Status of an operation stage. |
| 1543 | # Unset for single-stage operations. |
| 1544 | }, |
| 1545 | "zone": "A String", # The name of the Google Compute Engine |
| 1546 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1547 | # operation is taking place. This field is deprecated, use location instead. |
| 1548 | "statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error. |
| 1549 | "selfLink": "A String", # Server-defined URL for the resource. |
| 1550 | "detail": "A String", # Detailed operation progress, if available. |
| 1551 | "targetLink": "A String", # Server-defined URL for the target of the operation. |
| 1552 | "operationType": "A String", # The operation type. |
| 1553 | "status": "A String", # The current status of the operation. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1554 | "name": "A String", # The server-assigned ID for the operation. |
| 1555 | "nodepoolConditions": [ # Which conditions caused the current node pool state. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1556 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 1557 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1558 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1559 | "message": "A String", # Human-friendly representation of the condition |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1560 | }, |
| 1561 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1562 | "endTime": "A String", # [Output only] The time the operation completed, in |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1563 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1564 | "location": "A String", # [Output only] The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1565 | # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 1566 | # or |
| 1567 | # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 1568 | # in which the cluster resides. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1569 | "startTime": "A String", # [Output only] The time the operation started, in |
| 1570 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1571 | }</pre> |
| 1572 | </div> |
| 1573 | |
| 1574 | <div class="method"> |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1575 | <code class="details" id="update">update(projectId, zone, clusterId, nodePoolId, body=None, x__xgafv=None)</code> |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1576 | <pre>Updates the version and/or image type for the specified node pool. |
| 1577 | |
| 1578 | Args: |
| 1579 | projectId: string, Deprecated. The Google Developers Console [project ID or project |
| 1580 | number](https://support.google.com/cloud/answer/6158840). |
| 1581 | This field has been deprecated and replaced by the name field. (required) |
| 1582 | zone: string, Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1583 | [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1584 | cluster resides. This field has been deprecated and replaced by the name |
| 1585 | field. (required) |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1586 | clusterId: string, Deprecated. The name of the cluster to upgrade. |
| 1587 | This field has been deprecated and replaced by the name field. (required) |
| 1588 | nodePoolId: string, Deprecated. The name of the node pool to upgrade. |
| 1589 | This field has been deprecated and replaced by the name field. (required) |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1590 | body: object, The request body. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1591 | The object takes the form of: |
| 1592 | |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1593 | { # UpdateNodePoolRequests update a node pool's image and/or version. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1594 | "imageType": "A String", # Required. The desired image type for the node pool. |
| 1595 | "zone": "A String", # Deprecated. The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1596 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1597 | # cluster resides. This field has been deprecated and replaced by the name |
| 1598 | # field. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1599 | "nodeVersion": "A String", # Required. The Kubernetes version to change the nodes to (typically an |
| 1600 | # upgrade). |
| 1601 | # |
| 1602 | # Users may specify either explicit versions offered by Kubernetes Engine or |
| 1603 | # version aliases, which have the following behavior: |
| 1604 | # |
| 1605 | # - "latest": picks the highest valid Kubernetes version |
| 1606 | # - "1.X": picks the highest valid patch+gke.N patch in the 1.X version |
| 1607 | # - "1.X.Y": picks the highest valid gke.N patch in the 1.X.Y version |
| 1608 | # - "1.X.Y-gke.N": picks an explicit Kubernetes version |
| 1609 | # - "-": picks the Kubernetes master version |
| 1610 | "name": "A String", # The name (project, location, cluster, node pool) of the node pool to |
| 1611 | # update. Specified in the format |
| 1612 | # `projects/*/locations/*/clusters/*/nodePools/*`. |
| 1613 | "projectId": "A String", # Deprecated. The Google Developers Console [project ID or project |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1614 | # number](https://support.google.com/cloud/answer/6158840). |
| 1615 | # This field has been deprecated and replaced by the name field. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1616 | "locations": [ # The desired list of Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1617 | # [zones](https://cloud.google.com/compute/docs/zones#available) in which the |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1618 | # node pool's nodes should be located. Changing the locations for a node pool |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1619 | # will result in nodes being either created or removed from the node pool, |
| 1620 | # depending on whether locations are being added or removed. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1621 | "A String", |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1622 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1623 | "upgradeSettings": { # These upgrade settings control the level of parallelism and the level of # Upgrade settings control disruption and speed of the upgrade. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1624 | # disruption caused by an upgrade. |
| 1625 | # |
| 1626 | # maxUnavailable controls the number of nodes that can be simultaneously |
| 1627 | # unavailable. |
| 1628 | # |
| 1629 | # maxSurge controls the number of additional nodes that can be added to the |
| 1630 | # node pool temporarily for the time of the upgrade to increase the number of |
| 1631 | # available nodes. |
| 1632 | # |
| 1633 | # (maxUnavailable + maxSurge) determines the level of parallelism (how many |
| 1634 | # nodes are being upgraded at the same time). |
| 1635 | # |
| 1636 | # Note: upgrades inevitably introduce some disruption since workloads need to |
| 1637 | # be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, |
| 1638 | # this holds true. (Disruption stays within the limits of |
| 1639 | # PodDisruptionBudget, if it is configured.) |
| 1640 | # |
| 1641 | # Consider a hypothetical node pool with 5 nodes having maxSurge=2, |
| 1642 | # maxUnavailable=1. This means the upgrade process upgrades 3 nodes |
| 1643 | # simultaneously. It creates 2 additional (upgraded) nodes, then it brings |
| 1644 | # down 3 old (not yet upgraded) nodes at the same time. This ensures that |
| 1645 | # there are always at least 4 nodes available. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1646 | "maxUnavailable": 42, # The maximum number of nodes that can be simultaneously unavailable during |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1647 | # the upgrade process. A node is considered available if its status is |
| 1648 | # Ready. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1649 | "maxSurge": 42, # The maximum number of nodes that can be created beyond the current size |
| 1650 | # of the node pool during the upgrade process. |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1651 | }, |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1652 | "clusterId": "A String", # Deprecated. The name of the cluster to upgrade. |
| 1653 | # This field has been deprecated and replaced by the name field. |
| 1654 | "workloadMetadataConfig": { # WorkloadMetadataConfig defines the metadata configuration to expose to # The desired workload metadata config for the node pool. |
| 1655 | # workloads on the node pool. |
| 1656 | "mode": "A String", # Mode is the configuration for how to expose metadata to workloads running |
| 1657 | # on the node pool. |
| 1658 | }, |
| 1659 | "nodePoolId": "A String", # Deprecated. The name of the node pool to upgrade. |
| 1660 | # This field has been deprecated and replaced by the name field. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1661 | } |
| 1662 | |
| 1663 | x__xgafv: string, V1 error format. |
| 1664 | Allowed values |
| 1665 | 1 - v1 error format |
| 1666 | 2 - v2 error format |
| 1667 | |
| 1668 | Returns: |
| 1669 | An object of the form: |
| 1670 | |
| 1671 | { # This operation resource represents operations that may have happened or are |
| 1672 | # happening on the cluster. All fields are output only. |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1673 | "clusterConditions": [ # Which conditions caused the current cluster state. |
| 1674 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 1675 | # (e.g., ERROR or DEGRADED). |
| 1676 | "code": "A String", # Machine-friendly representation of the condition |
| 1677 | "message": "A String", # Human-friendly representation of the condition |
| 1678 | }, |
| 1679 | ], |
| 1680 | "progress": { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation. |
| 1681 | "name": "A String", # A non-parameterized string describing an operation stage. |
| 1682 | # Unset for single-stage operations. |
| 1683 | "stages": [ # Substages of an operation or a stage. |
| 1684 | # Object with schema name: OperationProgress |
| 1685 | ], |
| 1686 | "metrics": [ # Progress metric bundle, for example: |
| 1687 | # metrics: [{name: "nodes done", int_value: 15}, |
| 1688 | # {name: "nodes total", int_value: 32}] |
| 1689 | # or |
| 1690 | # metrics: [{name: "progress", double_value: 0.56}, |
| 1691 | # {name: "progress scale", double_value: 1.0}] |
| 1692 | { # Progress metric is (string, int|float|string) pair. |
| 1693 | "name": "A String", # Required. Metric name, e.g., "nodes total", "percent done". |
| 1694 | "doubleValue": 3.14, # For metrics with floating point value. |
| 1695 | "intValue": "A String", # For metrics with integer value. |
| 1696 | "stringValue": "A String", # For metrics with custom values (ratios, visual progress, etc.). |
| 1697 | }, |
| 1698 | ], |
| 1699 | "status": "A String", # Status of an operation stage. |
| 1700 | # Unset for single-stage operations. |
| 1701 | }, |
| 1702 | "zone": "A String", # The name of the Google Compute Engine |
| 1703 | # [zone](https://cloud.google.com/compute/docs/zones#available) in which the |
| 1704 | # operation is taking place. This field is deprecated, use location instead. |
| 1705 | "statusMessage": "A String", # Output only. If an error has occurred, a textual description of the error. |
| 1706 | "selfLink": "A String", # Server-defined URL for the resource. |
| 1707 | "detail": "A String", # Detailed operation progress, if available. |
| 1708 | "targetLink": "A String", # Server-defined URL for the target of the operation. |
| 1709 | "operationType": "A String", # The operation type. |
| 1710 | "status": "A String", # The current status of the operation. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1711 | "name": "A String", # The server-assigned ID for the operation. |
| 1712 | "nodepoolConditions": [ # Which conditions caused the current node pool state. |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1713 | { # StatusCondition describes why a cluster or a node pool has a certain status |
| 1714 | # (e.g., ERROR or DEGRADED). |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1715 | "code": "A String", # Machine-friendly representation of the condition |
Bu Sun Kim | 4ed7d3f | 2020-05-27 12:20:54 -0700 | [diff] [blame^] | 1716 | "message": "A String", # Human-friendly representation of the condition |
Bu Sun Kim | 715bd7f | 2019-06-14 16:50:42 -0700 | [diff] [blame] | 1717 | }, |
| 1718 | ], |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1719 | "endTime": "A String", # [Output only] The time the operation completed, in |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1720 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1721 | "location": "A String", # [Output only] The name of the Google Compute Engine |
Dan O'Meara | dd49464 | 2020-05-01 07:42:23 -0700 | [diff] [blame] | 1722 | # [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 1723 | # or |
| 1724 | # [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) |
| 1725 | # in which the cluster resides. |
Bu Sun Kim | 6502091 | 2020-05-20 12:08:20 -0700 | [diff] [blame] | 1726 | "startTime": "A String", # [Output only] The time the operation started, in |
| 1727 | # [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format. |
Sai Cheemalapati | c30d2b5 | 2017-03-13 12:12:03 -0400 | [diff] [blame] | 1728 | }</pre> |
| 1729 | </div> |
| 1730 | |
Jon Wayne Parrott | 0a471d3 | 2016-05-19 10:54:38 -0700 | [diff] [blame] | 1731 | </body></html> |