blob: fbb296f87a68b38dbcbb60d759bec6fd19ea62dd [file] [log] [blame]
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001<html><body>
2<style>
3
4body, 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
15body {
16 font-size: 13px;
17 padding: 1em;
18}
19
20h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23}
24
25h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28}
29
30h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34}
35
36pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42 margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46 font-family: Arial, sans serif;
47}
48
49h1, 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
75<h1><a href="container_v1beta1.html">Kubernetes Engine API</a> . <a href="container_v1beta1.projects.html">projects</a> . <a href="container_v1beta1.projects.locations.html">locations</a> . <a href="container_v1beta1.projects.locations.clusters.html">clusters</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78 <code><a href="container_v1beta1.projects.locations.clusters.nodePools.html">nodePools()</a></code>
79</p>
80<p class="firstline">Returns the nodePools Resource.</p>
81
82<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070083 <code><a href="container_v1beta1.projects.locations.clusters.well_known.html">well_known()</a></code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070084</p>
Dan O'Mearadd494642020-05-01 07:42:23 -070085<p class="firstline">Returns the well_known Resource.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070086
87<p class="toc_element">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070088 <code><a href="#close">close()</a></code></p>
89<p class="firstline">Close httplib2 connections.</p>
90<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070091 <code><a href="#completeIpRotation">completeIpRotation(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070092<p class="firstline">Completes master IP rotation.</p>
93<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -070094 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070095<p class="firstline">Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070096<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -080097 <code><a href="#delete">delete(name, clusterId=None, projectId=None, x__xgafv=None, zone=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -070098<p class="firstline">Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -070099<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800100 <code><a href="#get">get(name, clusterId=None, projectId=None, x__xgafv=None, zone=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700101<p class="firstline">Gets the details for a specific cluster.</p>
102<p class="toc_element">
103 <code><a href="#getJwks">getJwks(parent, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700104<p class="firstline">Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700105<p class="toc_element">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800106 <code><a href="#list">list(parent, projectId=None, x__xgafv=None, zone=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700107<p class="firstline">Lists all clusters owned by a project in either the specified zone or all zones.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700108<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700109 <code><a href="#setAddons">setAddons(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700110<p class="firstline">Sets the addons for a specific cluster.</p>
111<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700112 <code><a href="#setLegacyAbac">setLegacyAbac(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700113<p class="firstline">Enables or disables the ABAC authorization mechanism on a cluster.</p>
114<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700115 <code><a href="#setLocations">setLocations(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700116<p class="firstline">Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700117<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700118 <code><a href="#setLogging">setLogging(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700119<p class="firstline">Sets the logging service for a specific cluster.</p>
120<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700121 <code><a href="#setMaintenancePolicy">setMaintenancePolicy(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700122<p class="firstline">Sets the maintenance policy for a cluster.</p>
123<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700124 <code><a href="#setMasterAuth">setMasterAuth(name, body=None, x__xgafv=None)</a></code></p>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700125<p class="firstline">Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.</p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700126<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700127 <code><a href="#setMonitoring">setMonitoring(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700128<p class="firstline">Sets the monitoring service for a specific cluster.</p>
129<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700130 <code><a href="#setNetworkPolicy">setNetworkPolicy(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700131<p class="firstline">Enables or disables Network Policy for a cluster.</p>
132<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700133 <code><a href="#setResourceLabels">setResourceLabels(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700134<p class="firstline">Sets labels on a cluster.</p>
135<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700136 <code><a href="#startIpRotation">startIpRotation(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700137<p class="firstline">Starts master IP rotation.</p>
138<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700139 <code><a href="#update">update(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700140<p class="firstline">Updates the settings for a specific cluster.</p>
141<p class="toc_element">
Dan O'Mearadd494642020-05-01 07:42:23 -0700142 <code><a href="#updateMaster">updateMaster(name, body=None, x__xgafv=None)</a></code></p>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700143<p class="firstline">Updates the master for a specific cluster.</p>
144<h3>Method Details</h3>
145<div class="method">
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700146 <code class="details" id="close">close()</code>
147 <pre>Close httplib2 connections.</pre>
148</div>
149
150<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700151 <code class="details" id="completeIpRotation">completeIpRotation(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700152 <pre>Completes master IP rotation.
153
154Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700155 name: string, The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700156 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700157 The object takes the form of:
158
159{ # CompleteIPRotationRequest moves the cluster master back into single-IP mode.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800160 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
161 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.
162 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.
163 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
164}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700165
166 x__xgafv: string, V1 error format.
167 Allowed values
168 1 - v1 error format
169 2 - v2 error format
170
171Returns:
172 An object of the form:
173
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700174 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800175 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
176 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
177 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
178 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
179 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
180 },
181 ],
182 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
183 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
184 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
185 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
186 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
187 {
188 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -0800189 },
190 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800191 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
192 },
193 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
194 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
195 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
196 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
197 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
198 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
199 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800200 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800201 ],
202 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
203 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
204 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
205 { # Progress metric is (string, int|float|string) pair.
206 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
207 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
208 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
209 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800210 },
211 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800212 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
213 &quot;stages&quot;: [ # Substages of an operation or a stage.
214 # Object with schema name: OperationProgress
215 ],
216 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
217 },
218 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
219 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
220 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
221 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
222 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
223 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
224}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700225</div>
226
227<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -0700228 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700229 <pre>Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project&#x27;s [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the Kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project&#x27;s global metadata indicating which CIDR range the cluster is using.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700230
231Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -0700232 parent: string, The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -0700233 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -0700234 The object takes the form of:
235
236{ # CreateClusterRequest creates a cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800237 &quot;cluster&quot;: { # A Google Kubernetes Engine cluster. # Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)
238 &quot;addonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. # Configurations for the various addons available to run in the cluster.
239 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time.
240 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
241 &quot;loadBalancerType&quot;: &quot;A String&quot;, # Which load balancer type is installed for Cloud Run.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800242 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800243 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
244 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800245 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800246 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
247 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800248 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800249 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. # Configuration for the Compute Engine Persistent Disk CSI driver.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800250 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800251 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800252 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods. # Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
253 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800254 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800255 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster. # Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
256 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
257 },
258 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure microservices.
259 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
260 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
261 },
262 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s applications.
263 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
264 },
265 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
266 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
267 },
268 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes. # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
269 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
270 },
271 },
272 &quot;authenticatorGroupsConfig&quot;: { # Configuration for returning group information from authenticators. # Configuration controlling RBAC group membership information.
273 &quot;enabled&quot;: True or False, # Whether this cluster should return group membership lookups during authentication using a group of security groups.
274 &quot;securityGroup&quot;: &quot;A String&quot;, # The name of the security group-of-groups to be used. Only relevant if enabled = true.
275 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700276 &quot;autopilot&quot;: { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800277 &quot;enabled&quot;: True or False, # Enable Autopilot
278 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800279 &quot;autoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs. # Cluster-level autoscaling configuration.
280 &quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool&#x27;s nodes can be created by NAP.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800281 &quot;A String&quot;,
282 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800283 &quot;autoprovisioningNodePoolDefaults&quot;: { # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP. # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
284 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800285 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800286 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
yoshi-code-bot87595382021-06-05 00:38:05 -0700287 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for NAP created node.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800288 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the node pool. # NodeManagement configuration for this NodePool.
289 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
290 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
291 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed. # Specifies the Auto Upgrade knobs for the node pool.
292 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
293 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the description of the upgrade.
294 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800295 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800296 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) To unset the min cpu platform field pass &quot;automatic&quot; as field value.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800297 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
298 &quot;A String&quot;,
299 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800300 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
301 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
302 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
303 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800304 },
yoshi-code-bot87595382021-06-05 00:38:05 -0700305 &quot;upgradeSettings&quot;: { # Upgrade settings control disruption and speed of the upgrade.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800306 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
307 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800308 },
309 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800310 &quot;autoscalingProfile&quot;: &quot;A String&quot;, # Defines autoscaling behaviour.
311 &quot;enableNodeAutoprovisioning&quot;: True or False, # Enables automatic node pool creation and deletion.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800312 &quot;resourceLimits&quot;: [ # Contains global constraints regarding minimum and maximum amount of resources in the cluster.
313 { # Contains information about amount of some resource in the cluster. For memory, value should be in GB.
314 &quot;maximum&quot;: &quot;A String&quot;, # Maximum amount of the resource in the cluster.
315 &quot;minimum&quot;: &quot;A String&quot;, # Minimum amount of the resource in the cluster.
316 &quot;resourceType&quot;: &quot;A String&quot;, # Resource name &quot;cpu&quot;, &quot;memory&quot; or gpu-specific string.
317 },
318 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800319 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800320 &quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
321 &quot;enabled&quot;: True or False, # Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Google Binauthz.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800322 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800323 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
324 &quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
325 &quot;type&quot;: &quot;A String&quot;, # Type of the integration.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800326 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800327 &quot;conditions&quot;: [ # Which conditions caused the current cluster state.
328 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
329 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
330 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
331 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
332 },
333 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800334 &quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Configuration of Confidential Nodes
335 &quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
336 },
337 &quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
338 &quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800339 &quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800340 &quot;currentNodeVersion&quot;: &quot;A String&quot;, # [Output only] Deprecated, use [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools) instead. The current version of the node software components. If they are currently at multiple versions because they&#x27;re in the process of being upgraded, this reflects the minimum version of all nodes.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800341 &quot;databaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800342 &quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800343 &quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800344 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800345 &quot;defaultMaxPodsConstraint&quot;: { # Constraints applied to pods. # The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
346 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800347 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800348 &quot;description&quot;: &quot;A String&quot;, # An optional description of this cluster.
349 &quot;enableKubernetesAlpha&quot;: True or False, # Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
350 &quot;enableTpu&quot;: True or False, # Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
351 &quot;endpoint&quot;: &quot;A String&quot;, # [Output only] The IP address of this cluster&#x27;s master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
352 &quot;expireTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
yoshi-code-bot3dd15272021-04-21 15:07:48 -0700353 &quot;id&quot;: &quot;A String&quot;, # Output only. Unique id for the cluster.
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -0700354 &quot;identityServiceConfig&quot;: { # IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API # Configuration for Identity Service component.
355 &quot;enabled&quot;: True or False, # Whether to enable the Identity Service component
356 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800357 &quot;initialClusterVersion&quot;: &quot;A String&quot;, # The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - &quot;latest&quot;: picks the highest valid Kubernetes version - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version - &quot;&quot;,&quot;-&quot;: picks the default Kubernetes version
358 &quot;initialNodeCount&quot;: 42, # The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a &quot;node_pool&quot; object, since this configuration (along with the &quot;node_config&quot;) will be used to create a &quot;NodePool&quot; object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
359 &quot;instanceGroupUrls&quot;: [ # Deprecated. Use node_pools.instance_group_urls.
360 &quot;A String&quot;,
361 ],
362 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the cluster. # Configuration for cluster IP allocation.
363 &quot;allowRouteOverlap&quot;: True or False, # If true, allow allocation of cluster CIDR ranges that overlap with certain kinds of network routes. By default we do not allow cluster CIDR ranges to intersect with any user declared routes. With allow_route_overlap == true, we allow overlapping with CIDR ranges that are larger than the cluster CIDR range. If this field is set to true, then cluster and services CIDRs must be fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be fully-specified.
364 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use cluster_ipv4_cidr_block.
365 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range for the cluster pod IPs. If this field is set, then `cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
366 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.
367 &quot;createSubnetwork&quot;: True or False, # Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true.
368 &quot;nodeIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use node_ipv4_cidr_block.
369 &quot;nodeIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the instance IPs in this cluster. This is applicable only if `create_subnetwork` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
370 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use services_ipv4_cidr_block.
371 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
372 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.
373 &quot;subnetworkName&quot;: &quot;A String&quot;, # A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.
374 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. If unspecified, the range will use the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
375 &quot;useIpAliases&quot;: True or False, # Whether alias IPs will be used for pod IPs in the cluster. This is used in conjunction with use_routes. It cannot be true if use_routes is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode
376 &quot;useRoutes&quot;: True or False, # Whether routes will be used for pod IPs in the cluster. This is used in conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode
377 },
378 &quot;labelFingerprint&quot;: &quot;A String&quot;, # The fingerprint of the set of labels for this cluster.
379 &quot;legacyAbac&quot;: { # Configuration for the legacy Attribute Based Access Control authorization mode. # Configuration for the legacy ABAC authorization mode.
380 &quot;enabled&quot;: True or False, # Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.
381 },
382 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
383 &quot;locations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster&#x27;s nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.
384 &quot;A String&quot;,
385 ],
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -0700386 &quot;loggingConfig&quot;: { # LoggingConfig is cluster logging configuration. # Logging configuration for the cluster.
387 &quot;componentConfig&quot;: { # LoggingComponentConfig is cluster logging component configuration. # Logging components configuration
388 &quot;enableComponents&quot;: [ # Select components to collect logs. An empty set would disable all logging.
389 &quot;A String&quot;,
390 ],
391 },
392 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800393 &quot;loggingService&quot;: &quot;A String&quot;, # The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
394 &quot;maintenancePolicy&quot;: { # MaintenancePolicy defines the maintenance policy to be used for the cluster. # Configure the maintenance policy for this cluster.
395 &quot;resourceVersion&quot;: &quot;A String&quot;, # A hash identifying the version of this policy, so that updates to fields of the policy won&#x27;t accidentally undo intermediate changes (and so that users of the API unaware of some fields won&#x27;t accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.
396 &quot;window&quot;: { # MaintenanceWindow defines the maintenance window to be used for the cluster. # Specifies the maintenance window in which maintenance may be performed.
397 &quot;dailyMaintenanceWindow&quot;: { # Time window specified for daily maintenance operations. # DailyMaintenanceWindow specifies a daily maintenance operation window.
398 &quot;duration&quot;: &quot;A String&quot;, # [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
399 &quot;startTime&quot;: &quot;A String&quot;, # Time within the maintenance window to start the maintenance operations. It must be in format &quot;HH:MM&quot;, where HH : [00-23] and MM : [00-59] GMT.
400 },
401 &quot;maintenanceExclusions&quot;: { # Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.
402 &quot;a_key&quot;: { # Represents an arbitrary window of time.
403 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the start time.
404 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
405 },
406 },
407 &quot;recurringWindow&quot;: { # Represents an arbitrary window of time that recurs. # RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.
408 &quot;recurrence&quot;: &quot;A String&quot;, # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you&#x27;d use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you&#x27;d use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA ``` Note the start and end time&#x27;s specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
409 &quot;window&quot;: { # Represents an arbitrary window of time. # The window of the first recurrence.
410 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the start time.
411 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
412 },
413 },
414 },
415 },
416 &quot;master&quot;: { # Master is the configuration for components on master. # Configuration for master components.
417 },
418 &quot;masterAuth&quot;: { # The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. # The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to &quot;admin&quot;, a random password will be generated, and a client certificate will be issued.
419 &quot;clientCertificate&quot;: &quot;A String&quot;, # [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
420 &quot;clientCertificateConfig&quot;: { # Configuration for client certificates on the cluster. # Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
421 &quot;issueClientCertificate&quot;: True or False, # Issue a client certificate.
422 },
423 &quot;clientKey&quot;: &quot;A String&quot;, # [Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
424 &quot;clusterCaCertificate&quot;: &quot;A String&quot;,
425 &quot;password&quot;: &quot;A String&quot;, # The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
426 &quot;username&quot;: &quot;A String&quot;, # The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
427 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800428 &quot;masterAuthorizedNetworksConfig&quot;: { # Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. # The configuration options for master authorized networks feature.
429 &quot;cidrBlocks&quot;: [ # cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
430 { # CidrBlock contains an optional name and one CIDR block.
431 &quot;cidrBlock&quot;: &quot;A String&quot;, # cidr_block must be specified in CIDR notation.
432 &quot;displayName&quot;: &quot;A String&quot;, # display_name is an optional field for users to identify CIDR blocks.
433 },
434 ],
435 &quot;enabled&quot;: True or False, # Whether or not master authorized networks is enabled.
436 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800437 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -0700438 &quot;monitoringConfig&quot;: { # MonitoringConfig is cluster monitoring configuration. # Monitoring configuration for the cluster.
439 &quot;componentConfig&quot;: { # MonitoringComponentConfig is cluster monitoring component configuration. # Monitoring components configuration
440 &quot;enableComponents&quot;: [ # Select components to collect metrics. An empty set would disable all monitoring.
441 &quot;A String&quot;,
442 ],
443 },
444 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800445 &quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
446 &quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
447 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name.
448 &quot;networkConfig&quot;: { # NetworkConfig reports the relative names of network &amp; subnetwork. # Configuration for cluster networking.
449 &quot;datapathProvider&quot;: &quot;A String&quot;, # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
450 &quot;defaultSnatStatus&quot;: { # DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster. # Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
451 &quot;disabled&quot;: True or False, # Disables cluster default sNAT rules.
452 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -0700453 &quot;dnsConfig&quot;: { # DNSConfig contains the desired set of options for configuring clusterDNS. # DNSConfig contains clusterDNS config for this cluster.
454 &quot;clusterDns&quot;: &quot;A String&quot;, # cluster_dns indicates which in-cluster DNS provider should be used.
455 &quot;clusterDnsDomain&quot;: &quot;A String&quot;, # cluster_dns_domain is the suffix used for all cluster service records.
456 &quot;clusterDnsScope&quot;: &quot;A String&quot;, # cluster_dns_scope indicates the scope of access to cluster DNS records.
457 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800458 &quot;enableIntraNodeVisibility&quot;: True or False, # Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700459 &quot;enableL4ilbSubsetting&quot;: True or False, # Whether L4ILB Subsetting is enabled for this cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800460 &quot;network&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800461 &quot;privateIpv6GoogleAccess&quot;: &quot;A String&quot;, # The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
yoshi-code-bot04bafe12021-06-29 00:20:25 -0700462 &quot;serviceExternalIpsConfig&quot;: { # Config to block services with externalIPs field. # ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
463 &quot;enabled&quot;: True or False, # Whether Services with ExternalIPs field are allowed or not.
464 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800465 &quot;subnetwork&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
466 },
467 &quot;networkPolicy&quot;: { # Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ # Configuration options for the NetworkPolicy feature.
468 &quot;enabled&quot;: True or False, # Whether network policy is enabled on the cluster.
469 &quot;provider&quot;: &quot;A String&quot;, # The selected network policy provider.
470 },
471 &quot;nodeConfig&quot;: { # Parameters that describe the nodes in a cluster. # Parameters used in creating the cluster&#x27;s nodes. For requests, this field should only be used in lieu of a &quot;node_pool&quot; object, since this configuration (along with the &quot;initial_node_count&quot;) will be used to create a &quot;NodePool&quot; object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead.
472 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
473 { # AcceleratorConfig represents a Hardware Accelerator request.
474 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
475 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)
yoshi-code-bot64143a02021-04-27 05:08:04 -0700476 &quot;gpuPartitionSize&quot;: &quot;A String&quot;, # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800477 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800478 ],
479 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
480 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800481 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800482 &quot;ephemeralStorageConfig&quot;: { # EphemeralStorageConfig contains configuration for the ephemeral storage filesystem. # Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
483 &quot;localSsdCount&quot;: 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage.
484 },
yoshi-code-bot96afc042021-08-24 00:22:31 -0700485 &quot;gvnic&quot;: { # Configuration of gVNIC feature. # Enable or disable gvnic on the node pool.
486 &quot;enabled&quot;: True or False, # Whether gVNIC features are enabled in the node pool.
487 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800488 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type, the latest version of it will be used.
489 &quot;kubeletConfig&quot;: { # Node kubelet configs. # Node kubelet configs.
490 &quot;cpuCfsQuota&quot;: True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is &#x27;true&#x27; if unspecified.
491 &quot;cpuCfsQuotaPeriod&quot;: &quot;A String&quot;, # Set the CPU CFS quota period value &#x27;cpu.cfs_period_us&#x27;. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as &quot;300ms&quot;. Valid time units are &quot;ns&quot;, &quot;us&quot; (or &quot;µs&quot;), &quot;ms&quot;, &quot;s&quot;, &quot;m&quot;, &quot;h&quot;. The value must be a positive duration.
492 &quot;cpuManagerPolicy&quot;: &quot;A String&quot;, # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. - &quot;none&quot;: the default, which represents the existing scheduling behavior. - &quot;static&quot;: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is &#x27;none&#x27; if unspecified.
493 },
494 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it&#x27;s best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
495 &quot;a_key&quot;: &quot;A String&quot;,
496 },
497 &quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
498 &quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
499 &quot;a_key&quot;: &quot;A String&quot;,
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800500 },
501 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800502 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
503 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types). If unspecified, the default machine type is `e2-medium`.
yoshi-code-bot8bb904c2021-08-31 00:28:27 -0700504 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-oslogin&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value&#x27;s size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800505 &quot;a_key&quot;: &quot;A String&quot;,
506 },
507 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
508 &quot;nodeGroup&quot;: &quot;A String&quot;, # Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
509 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
510 &quot;A String&quot;,
511 ],
512 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.
513 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from. # The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
514 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
515 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as the key and specify the name of your reservation as its value.
516 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
517 &quot;A String&quot;,
518 ],
519 },
520 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
521 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
522 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
523 },
524 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
525 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
526 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
527 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
528 },
529 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
530 &quot;A String&quot;,
531 ],
532 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
533 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.
534 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
535 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
536 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
537 },
538 ],
539 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The workload metadata configuration for this node.
540 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.
541 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.
542 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800543 },
544 &quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
yoshi-code-bot31fbcc02021-06-02 00:52:03 -0700545 &quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
546 &quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
547 },
548 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800549 &quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
yoshi-code-bot87595382021-06-05 00:38:05 -0700550 { # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload. These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800551 &quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
552 &quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800553 &quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
yoshi-code-bot07708072021-07-20 00:20:24 -0700554 &quot;maxNodeCount&quot;: 42, # Maximum number of nodes in the NodePool. Must be &gt;= min_node_count. There has to be enough quota to scale up the cluster.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800555 &quot;minNodeCount&quot;: 42, # Minimum number of nodes in the NodePool. Must be &gt;= 1 and &lt;= max_node_count.
556 },
557 &quot;conditions&quot;: [ # Which conditions caused the current node pool state.
558 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
559 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
560 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
561 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
562 },
563 ],
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800564 &quot;config&quot;: { # Parameters that describe the nodes in a cluster. # The node configuration of the pool.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800565 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
566 { # AcceleratorConfig represents a Hardware Accelerator request.
567 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
568 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)
yoshi-code-bot64143a02021-04-27 05:08:04 -0700569 &quot;gpuPartitionSize&quot;: &quot;A String&quot;, # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800570 },
571 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800572 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
573 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800574 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800575 &quot;ephemeralStorageConfig&quot;: { # EphemeralStorageConfig contains configuration for the ephemeral storage filesystem. # Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
576 &quot;localSsdCount&quot;: 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800577 },
yoshi-code-bot96afc042021-08-24 00:22:31 -0700578 &quot;gvnic&quot;: { # Configuration of gVNIC feature. # Enable or disable gvnic on the node pool.
579 &quot;enabled&quot;: True or False, # Whether gVNIC features are enabled in the node pool.
580 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800581 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type, the latest version of it will be used.
582 &quot;kubeletConfig&quot;: { # Node kubelet configs. # Node kubelet configs.
583 &quot;cpuCfsQuota&quot;: True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is &#x27;true&#x27; if unspecified.
584 &quot;cpuCfsQuotaPeriod&quot;: &quot;A String&quot;, # Set the CPU CFS quota period value &#x27;cpu.cfs_period_us&#x27;. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as &quot;300ms&quot;. Valid time units are &quot;ns&quot;, &quot;us&quot; (or &quot;µs&quot;), &quot;ms&quot;, &quot;s&quot;, &quot;m&quot;, &quot;h&quot;. The value must be a positive duration.
585 &quot;cpuManagerPolicy&quot;: &quot;A String&quot;, # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. - &quot;none&quot;: the default, which represents the existing scheduling behavior. - &quot;static&quot;: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is &#x27;none&#x27; if unspecified.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800586 },
587 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it&#x27;s best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
588 &quot;a_key&quot;: &quot;A String&quot;,
589 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800590 &quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
591 &quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
592 &quot;a_key&quot;: &quot;A String&quot;,
593 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800594 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800595 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
596 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types). If unspecified, the default machine type is `e2-medium`.
yoshi-code-bot8bb904c2021-08-31 00:28:27 -0700597 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-oslogin&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value&#x27;s size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800598 &quot;a_key&quot;: &quot;A String&quot;,
599 },
600 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
601 &quot;nodeGroup&quot;: &quot;A String&quot;, # Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
602 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
603 &quot;A String&quot;,
604 ],
605 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.
606 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from. # The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
607 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
608 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as the key and specify the name of your reservation as its value.
609 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
610 &quot;A String&quot;,
611 ],
612 },
613 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
614 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
615 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
616 },
617 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
618 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
619 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
620 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
621 },
622 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
623 &quot;A String&quot;,
624 ],
625 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
626 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.
627 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
628 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
629 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
630 },
631 ],
632 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The workload metadata configuration for this node.
633 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.
634 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.
635 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800636 },
637 &quot;initialNodeCount&quot;: 42, # The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800638 &quot;instanceGroupUrls&quot;: [ # [Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool.
639 &quot;A String&quot;,
640 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800641 &quot;locations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool&#x27;s nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
642 &quot;A String&quot;,
643 ],
644 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the node pool. # NodeManagement configuration for this NodePool.
645 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
646 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
647 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed. # Specifies the Auto Upgrade knobs for the node pool.
648 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
649 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the description of the upgrade.
650 },
651 },
652 &quot;maxPodsConstraint&quot;: { # Constraints applied to pods. # The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
653 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
654 },
655 &quot;name&quot;: &quot;A String&quot;, # The name of the node pool.
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -0700656 &quot;networkConfig&quot;: { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
657 &quot;createPodRange&quot;: True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
658 &quot;podIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range for pod IPs in this node pool. Only applicable if `create_pod_range` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
659 &quot;podRange&quot;: &quot;A String&quot;, # The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
yoshi-code-bot69706592021-03-03 03:54:02 -0800660 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800661 &quot;podIpv4CidrSize&quot;: 42, # [Output only] The pod CIDR block size per node in this node pool.
662 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
663 &quot;status&quot;: &quot;A String&quot;, # [Output only] The status of the nodes in this pool instance.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800664 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
yoshi-code-bot87595382021-06-05 00:38:05 -0700665 &quot;upgradeSettings&quot;: { # Upgrade settings control disruption and speed of the upgrade.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800666 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
667 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
668 },
669 &quot;version&quot;: &quot;A String&quot;, # The version of the Kubernetes of this node.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -0800670 },
671 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800672 &quot;notificationConfig&quot;: { # NotificationConfig is the configuration of notifications. # Notification configuration of the cluster.
673 &quot;pubsub&quot;: { # Pub/Sub specific notification config. # Notification config for Pub/Sub.
674 &quot;enabled&quot;: True or False, # Enable notifications for Pub/Sub.
675 &quot;topic&quot;: &quot;A String&quot;, # The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800676 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800677 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800678 &quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
679 &quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -0800680 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800681 &quot;privateCluster&quot;: True or False, # If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
682 &quot;privateClusterConfig&quot;: { # Configuration options for private clusters. # Configuration for private cluster.
683 &quot;enablePrivateEndpoint&quot;: True or False, # Whether the master&#x27;s internal IP address is used as the cluster endpoint.
684 &quot;enablePrivateNodes&quot;: True or False, # Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
685 &quot;masterGlobalAccessConfig&quot;: { # Configuration for controlling master global access settings. # Controls master global access settings.
686 &quot;enabled&quot;: True or False, # Whenever master is accessible globally or not.
687 },
688 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster&#x27;s network.
689 &quot;peeringName&quot;: &quot;A String&quot;, # Output only. The peering name in the customer VPC used by this cluster.
690 &quot;privateEndpoint&quot;: &quot;A String&quot;, # Output only. The internal IP address of this cluster&#x27;s master endpoint.
691 &quot;publicEndpoint&quot;: &quot;A String&quot;, # Output only. The external IP address of this cluster&#x27;s master endpoint.
692 },
693 &quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # Release channel configuration.
694 &quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
695 },
696 &quot;resourceLabels&quot;: { # The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
697 &quot;a_key&quot;: &quot;A String&quot;,
698 },
699 &quot;resourceUsageExportConfig&quot;: { # Configuration for exporting cluster resource usages. # Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
700 &quot;bigqueryDestination&quot;: { # Parameters for using BigQuery as the destination of resource usage export. # Configuration to use BigQuery as usage export destination.
701 &quot;datasetId&quot;: &quot;A String&quot;, # The ID of a BigQuery Dataset.
702 },
703 &quot;consumptionMeteringConfig&quot;: { # Parameters for controlling consumption metering. # Configuration to enable resource consumption metering.
704 &quot;enabled&quot;: True or False, # Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records.
705 },
706 &quot;enableNetworkEgressMetering&quot;: True or False, # Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.
707 },
708 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
709 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
710 &quot;shieldedNodes&quot;: { # Configuration of Shielded Nodes feature. # Shielded Nodes configuration.
711 &quot;enabled&quot;: True or False, # Whether Shielded Nodes features are enabled on all nodes in this cluster.
712 },
713 &quot;status&quot;: &quot;A String&quot;, # [Output only] The current status of this cluster.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800714 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800715 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
716 &quot;tpuConfig&quot;: { # Configuration for Cloud TPU. # Configuration for Cloud TPU support;
717 &quot;enabled&quot;: True or False, # Whether Cloud TPU integration is enabled or not.
718 &quot;ipv4CidrBlock&quot;: &quot;A String&quot;, # IPv4 CIDR block reserved for Cloud TPU in the VPC.
719 &quot;useServiceNetworking&quot;: True or False, # Whether to use service networking for Cloud TPU or not.
720 },
721 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`).
722 &quot;verticalPodAutoscaling&quot;: { # VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it. # Cluster-level Vertical Pod Autoscaling configuration.
723 &quot;enabled&quot;: True or False, # Enables vertical pod autoscaling.
724 },
yoshi-code-bot3dd15272021-04-21 15:07:48 -0700725 &quot;workloadCertificates&quot;: { # Configuration for issuance of mTLS keys and certificates to Kubernetes pods. # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
726 &quot;enableCertificates&quot;: True or False, # enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).
727 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800728 &quot;workloadIdentityConfig&quot;: { # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
729 &quot;identityNamespace&quot;: &quot;A String&quot;, # IAM Identity Namespace to attach all Kubernetes Service Accounts to.
730 &quot;identityProvider&quot;: &quot;A String&quot;, # identity provider is the third party identity provider.
731 &quot;workloadPool&quot;: &quot;A String&quot;, # The workload pool to attach all Kubernetes service accounts to.
732 },
733 &quot;zone&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.
734 },
735 &quot;parent&quot;: &quot;A String&quot;, # The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.
736 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the parent field.
737 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the parent field.
738}
739
740 x__xgafv: string, V1 error format.
741 Allowed values
742 1 - v1 error format
743 2 - v2 error format
744
745Returns:
746 An object of the form:
747
748 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
749 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
750 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
751 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
752 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
753 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
754 },
755 ],
756 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
757 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
758 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
759 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
760 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
761 {
762 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
763 },
764 ],
765 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
766 },
767 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
768 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
769 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
770 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
771 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
772 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
773 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
774 },
775 ],
776 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
777 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
778 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
779 { # Progress metric is (string, int|float|string) pair.
780 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
781 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
782 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
783 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
784 },
785 ],
786 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
787 &quot;stages&quot;: [ # Substages of an operation or a stage.
788 # Object with schema name: OperationProgress
789 ],
790 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
791 },
792 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
793 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
794 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
795 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
796 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
797 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
798}</pre>
799</div>
800
801<div class="method">
802 <code class="details" id="delete">delete(name, clusterId=None, projectId=None, x__xgafv=None, zone=None)</code>
803 <pre>Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster, such as load balancer resources, are not deleted if they weren&#x27;t present when the cluster was initially created.
804
805Args:
806 name: string, The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`. (required)
807 clusterId: string, Required. Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.
808 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
809 x__xgafv: string, V1 error format.
810 Allowed values
811 1 - v1 error format
812 2 - v2 error format
813 zone: string, Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
814
815Returns:
816 An object of the form:
817
818 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
819 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
820 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
821 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
822 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
823 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
824 },
825 ],
826 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
827 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
828 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
829 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
830 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
831 {
832 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
833 },
834 ],
835 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
836 },
837 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
838 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
839 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
840 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
841 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
842 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
843 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
844 },
845 ],
846 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
847 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
848 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
849 { # Progress metric is (string, int|float|string) pair.
850 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
851 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
852 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
853 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
854 },
855 ],
856 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
857 &quot;stages&quot;: [ # Substages of an operation or a stage.
858 # Object with schema name: OperationProgress
859 ],
860 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
861 },
862 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
863 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
864 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
865 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
866 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
867 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
868}</pre>
869</div>
870
871<div class="method">
872 <code class="details" id="get">get(name, clusterId=None, projectId=None, x__xgafv=None, zone=None)</code>
873 <pre>Gets the details for a specific cluster.
874
875Args:
876 name: string, The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`. (required)
877 clusterId: string, Required. Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.
878 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
879 x__xgafv: string, V1 error format.
880 Allowed values
881 1 - v1 error format
882 2 - v2 error format
883 zone: string, Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
884
885Returns:
886 An object of the form:
887
888 { # A Google Kubernetes Engine cluster.
889 &quot;addonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. # Configurations for the various addons available to run in the cluster.
890 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time.
891 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
892 &quot;loadBalancerType&quot;: &quot;A String&quot;, # Which load balancer type is installed for Cloud Run.
893 },
894 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
895 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
896 },
897 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
898 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
899 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800900 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. # Configuration for the Compute Engine Persistent Disk CSI driver.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800901 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
902 },
903 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods. # Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
904 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
905 },
906 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster. # Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
907 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
908 },
909 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure microservices.
910 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
911 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
912 },
913 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s applications.
914 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
915 },
916 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
917 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
918 },
919 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes. # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
920 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
921 },
922 },
923 &quot;authenticatorGroupsConfig&quot;: { # Configuration for returning group information from authenticators. # Configuration controlling RBAC group membership information.
924 &quot;enabled&quot;: True or False, # Whether this cluster should return group membership lookups during authentication using a group of security groups.
925 &quot;securityGroup&quot;: &quot;A String&quot;, # The name of the security group-of-groups to be used. Only relevant if enabled = true.
926 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -0700927 &quot;autopilot&quot;: { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800928 &quot;enabled&quot;: True or False, # Enable Autopilot
929 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800930 &quot;autoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs. # Cluster-level autoscaling configuration.
931 &quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool&#x27;s nodes can be created by NAP.
932 &quot;A String&quot;,
933 ],
934 &quot;autoprovisioningNodePoolDefaults&quot;: { # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP. # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
935 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
936 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -0800937 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
yoshi-code-bot87595382021-06-05 00:38:05 -0700938 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for NAP created node.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800939 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the node pool. # NodeManagement configuration for this NodePool.
940 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
941 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
942 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed. # Specifies the Auto Upgrade knobs for the node pool.
943 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
944 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the description of the upgrade.
945 },
946 },
947 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) To unset the min cpu platform field pass &quot;automatic&quot; as field value.
948 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
949 &quot;A String&quot;,
950 ],
951 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
952 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
953 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
954 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
955 },
yoshi-code-bot87595382021-06-05 00:38:05 -0700956 &quot;upgradeSettings&quot;: { # Upgrade settings control disruption and speed of the upgrade.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -0800957 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
958 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
959 },
960 },
961 &quot;autoscalingProfile&quot;: &quot;A String&quot;, # Defines autoscaling behaviour.
962 &quot;enableNodeAutoprovisioning&quot;: True or False, # Enables automatic node pool creation and deletion.
963 &quot;resourceLimits&quot;: [ # Contains global constraints regarding minimum and maximum amount of resources in the cluster.
964 { # Contains information about amount of some resource in the cluster. For memory, value should be in GB.
965 &quot;maximum&quot;: &quot;A String&quot;, # Maximum amount of the resource in the cluster.
966 &quot;minimum&quot;: &quot;A String&quot;, # Minimum amount of the resource in the cluster.
967 &quot;resourceType&quot;: &quot;A String&quot;, # Resource name &quot;cpu&quot;, &quot;memory&quot; or gpu-specific string.
968 },
969 ],
970 },
971 &quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
972 &quot;enabled&quot;: True or False, # Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Google Binauthz.
973 },
974 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
975 &quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
976 &quot;type&quot;: &quot;A String&quot;, # Type of the integration.
977 },
978 &quot;conditions&quot;: [ # Which conditions caused the current cluster state.
979 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
980 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
981 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
982 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
983 },
984 ],
985 &quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Configuration of Confidential Nodes
986 &quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
987 },
988 &quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
989 &quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
990 &quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
991 &quot;currentNodeVersion&quot;: &quot;A String&quot;, # [Output only] Deprecated, use [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools) instead. The current version of the node software components. If they are currently at multiple versions because they&#x27;re in the process of being upgraded, this reflects the minimum version of all nodes.
992 &quot;databaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
993 &quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
994 &quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.
995 },
996 &quot;defaultMaxPodsConstraint&quot;: { # Constraints applied to pods. # The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
997 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
998 },
999 &quot;description&quot;: &quot;A String&quot;, # An optional description of this cluster.
1000 &quot;enableKubernetesAlpha&quot;: True or False, # Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
1001 &quot;enableTpu&quot;: True or False, # Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
1002 &quot;endpoint&quot;: &quot;A String&quot;, # [Output only] The IP address of this cluster&#x27;s master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
1003 &quot;expireTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
yoshi-code-bot3dd15272021-04-21 15:07:48 -07001004 &quot;id&quot;: &quot;A String&quot;, # Output only. Unique id for the cluster.
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07001005 &quot;identityServiceConfig&quot;: { # IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API # Configuration for Identity Service component.
1006 &quot;enabled&quot;: True or False, # Whether to enable the Identity Service component
1007 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001008 &quot;initialClusterVersion&quot;: &quot;A String&quot;, # The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - &quot;latest&quot;: picks the highest valid Kubernetes version - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version - &quot;&quot;,&quot;-&quot;: picks the default Kubernetes version
1009 &quot;initialNodeCount&quot;: 42, # The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a &quot;node_pool&quot; object, since this configuration (along with the &quot;node_config&quot;) will be used to create a &quot;NodePool&quot; object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
1010 &quot;instanceGroupUrls&quot;: [ # Deprecated. Use node_pools.instance_group_urls.
1011 &quot;A String&quot;,
1012 ],
1013 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the cluster. # Configuration for cluster IP allocation.
1014 &quot;allowRouteOverlap&quot;: True or False, # If true, allow allocation of cluster CIDR ranges that overlap with certain kinds of network routes. By default we do not allow cluster CIDR ranges to intersect with any user declared routes. With allow_route_overlap == true, we allow overlapping with CIDR ranges that are larger than the cluster CIDR range. If this field is set to true, then cluster and services CIDRs must be fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be fully-specified.
1015 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use cluster_ipv4_cidr_block.
1016 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range for the cluster pod IPs. If this field is set, then `cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
1017 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.
1018 &quot;createSubnetwork&quot;: True or False, # Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true.
1019 &quot;nodeIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use node_ipv4_cidr_block.
1020 &quot;nodeIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the instance IPs in this cluster. This is applicable only if `create_subnetwork` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
1021 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use services_ipv4_cidr_block.
1022 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
1023 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.
1024 &quot;subnetworkName&quot;: &quot;A String&quot;, # A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.
1025 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. If unspecified, the range will use the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
1026 &quot;useIpAliases&quot;: True or False, # Whether alias IPs will be used for pod IPs in the cluster. This is used in conjunction with use_routes. It cannot be true if use_routes is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode
1027 &quot;useRoutes&quot;: True or False, # Whether routes will be used for pod IPs in the cluster. This is used in conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode
1028 },
1029 &quot;labelFingerprint&quot;: &quot;A String&quot;, # The fingerprint of the set of labels for this cluster.
1030 &quot;legacyAbac&quot;: { # Configuration for the legacy Attribute Based Access Control authorization mode. # Configuration for the legacy ABAC authorization mode.
1031 &quot;enabled&quot;: True or False, # Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.
1032 },
1033 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
1034 &quot;locations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster&#x27;s nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.
1035 &quot;A String&quot;,
1036 ],
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07001037 &quot;loggingConfig&quot;: { # LoggingConfig is cluster logging configuration. # Logging configuration for the cluster.
1038 &quot;componentConfig&quot;: { # LoggingComponentConfig is cluster logging component configuration. # Logging components configuration
1039 &quot;enableComponents&quot;: [ # Select components to collect logs. An empty set would disable all logging.
1040 &quot;A String&quot;,
1041 ],
1042 },
1043 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001044 &quot;loggingService&quot;: &quot;A String&quot;, # The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
1045 &quot;maintenancePolicy&quot;: { # MaintenancePolicy defines the maintenance policy to be used for the cluster. # Configure the maintenance policy for this cluster.
1046 &quot;resourceVersion&quot;: &quot;A String&quot;, # A hash identifying the version of this policy, so that updates to fields of the policy won&#x27;t accidentally undo intermediate changes (and so that users of the API unaware of some fields won&#x27;t accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.
1047 &quot;window&quot;: { # MaintenanceWindow defines the maintenance window to be used for the cluster. # Specifies the maintenance window in which maintenance may be performed.
1048 &quot;dailyMaintenanceWindow&quot;: { # Time window specified for daily maintenance operations. # DailyMaintenanceWindow specifies a daily maintenance operation window.
1049 &quot;duration&quot;: &quot;A String&quot;, # [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
1050 &quot;startTime&quot;: &quot;A String&quot;, # Time within the maintenance window to start the maintenance operations. It must be in format &quot;HH:MM&quot;, where HH : [00-23] and MM : [00-59] GMT.
1051 },
1052 &quot;maintenanceExclusions&quot;: { # Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.
1053 &quot;a_key&quot;: { # Represents an arbitrary window of time.
1054 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the start time.
1055 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
1056 },
1057 },
1058 &quot;recurringWindow&quot;: { # Represents an arbitrary window of time that recurs. # RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.
1059 &quot;recurrence&quot;: &quot;A String&quot;, # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you&#x27;d use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you&#x27;d use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA ``` Note the start and end time&#x27;s specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
1060 &quot;window&quot;: { # Represents an arbitrary window of time. # The window of the first recurrence.
1061 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the start time.
1062 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
1063 },
1064 },
1065 },
1066 },
1067 &quot;master&quot;: { # Master is the configuration for components on master. # Configuration for master components.
1068 },
1069 &quot;masterAuth&quot;: { # The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. # The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to &quot;admin&quot;, a random password will be generated, and a client certificate will be issued.
1070 &quot;clientCertificate&quot;: &quot;A String&quot;, # [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
1071 &quot;clientCertificateConfig&quot;: { # Configuration for client certificates on the cluster. # Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
1072 &quot;issueClientCertificate&quot;: True or False, # Issue a client certificate.
1073 },
1074 &quot;clientKey&quot;: &quot;A String&quot;, # [Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
1075 &quot;clusterCaCertificate&quot;: &quot;A String&quot;,
1076 &quot;password&quot;: &quot;A String&quot;, # The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
1077 &quot;username&quot;: &quot;A String&quot;, # The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
1078 },
1079 &quot;masterAuthorizedNetworksConfig&quot;: { # Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. # The configuration options for master authorized networks feature.
1080 &quot;cidrBlocks&quot;: [ # cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
1081 { # CidrBlock contains an optional name and one CIDR block.
1082 &quot;cidrBlock&quot;: &quot;A String&quot;, # cidr_block must be specified in CIDR notation.
1083 &quot;displayName&quot;: &quot;A String&quot;, # display_name is an optional field for users to identify CIDR blocks.
1084 },
1085 ],
1086 &quot;enabled&quot;: True or False, # Whether or not master authorized networks is enabled.
1087 },
1088 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07001089 &quot;monitoringConfig&quot;: { # MonitoringConfig is cluster monitoring configuration. # Monitoring configuration for the cluster.
1090 &quot;componentConfig&quot;: { # MonitoringComponentConfig is cluster monitoring component configuration. # Monitoring components configuration
1091 &quot;enableComponents&quot;: [ # Select components to collect metrics. An empty set would disable all monitoring.
1092 &quot;A String&quot;,
1093 ],
1094 },
1095 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001096 &quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
1097 &quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
1098 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name.
1099 &quot;networkConfig&quot;: { # NetworkConfig reports the relative names of network &amp; subnetwork. # Configuration for cluster networking.
1100 &quot;datapathProvider&quot;: &quot;A String&quot;, # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
1101 &quot;defaultSnatStatus&quot;: { # DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster. # Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
1102 &quot;disabled&quot;: True or False, # Disables cluster default sNAT rules.
1103 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001104 &quot;dnsConfig&quot;: { # DNSConfig contains the desired set of options for configuring clusterDNS. # DNSConfig contains clusterDNS config for this cluster.
1105 &quot;clusterDns&quot;: &quot;A String&quot;, # cluster_dns indicates which in-cluster DNS provider should be used.
1106 &quot;clusterDnsDomain&quot;: &quot;A String&quot;, # cluster_dns_domain is the suffix used for all cluster service records.
1107 &quot;clusterDnsScope&quot;: &quot;A String&quot;, # cluster_dns_scope indicates the scope of access to cluster DNS records.
1108 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001109 &quot;enableIntraNodeVisibility&quot;: True or False, # Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001110 &quot;enableL4ilbSubsetting&quot;: True or False, # Whether L4ILB Subsetting is enabled for this cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001111 &quot;network&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001112 &quot;privateIpv6GoogleAccess&quot;: &quot;A String&quot;, # The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
yoshi-code-bot04bafe12021-06-29 00:20:25 -07001113 &quot;serviceExternalIpsConfig&quot;: { # Config to block services with externalIPs field. # ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
1114 &quot;enabled&quot;: True or False, # Whether Services with ExternalIPs field are allowed or not.
1115 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001116 &quot;subnetwork&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
1117 },
1118 &quot;networkPolicy&quot;: { # Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ # Configuration options for the NetworkPolicy feature.
1119 &quot;enabled&quot;: True or False, # Whether network policy is enabled on the cluster.
1120 &quot;provider&quot;: &quot;A String&quot;, # The selected network policy provider.
1121 },
1122 &quot;nodeConfig&quot;: { # Parameters that describe the nodes in a cluster. # Parameters used in creating the cluster&#x27;s nodes. For requests, this field should only be used in lieu of a &quot;node_pool&quot; object, since this configuration (along with the &quot;initial_node_count&quot;) will be used to create a &quot;NodePool&quot; object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead.
1123 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
1124 { # AcceleratorConfig represents a Hardware Accelerator request.
1125 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
1126 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)
yoshi-code-bot64143a02021-04-27 05:08:04 -07001127 &quot;gpuPartitionSize&quot;: &quot;A String&quot;, # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001128 },
1129 ],
1130 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
1131 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001132 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001133 &quot;ephemeralStorageConfig&quot;: { # EphemeralStorageConfig contains configuration for the ephemeral storage filesystem. # Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
1134 &quot;localSsdCount&quot;: 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage.
1135 },
yoshi-code-bot96afc042021-08-24 00:22:31 -07001136 &quot;gvnic&quot;: { # Configuration of gVNIC feature. # Enable or disable gvnic on the node pool.
1137 &quot;enabled&quot;: True or False, # Whether gVNIC features are enabled in the node pool.
1138 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001139 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type, the latest version of it will be used.
1140 &quot;kubeletConfig&quot;: { # Node kubelet configs. # Node kubelet configs.
1141 &quot;cpuCfsQuota&quot;: True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is &#x27;true&#x27; if unspecified.
1142 &quot;cpuCfsQuotaPeriod&quot;: &quot;A String&quot;, # Set the CPU CFS quota period value &#x27;cpu.cfs_period_us&#x27;. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as &quot;300ms&quot;. Valid time units are &quot;ns&quot;, &quot;us&quot; (or &quot;µs&quot;), &quot;ms&quot;, &quot;s&quot;, &quot;m&quot;, &quot;h&quot;. The value must be a positive duration.
1143 &quot;cpuManagerPolicy&quot;: &quot;A String&quot;, # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. - &quot;none&quot;: the default, which represents the existing scheduling behavior. - &quot;static&quot;: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is &#x27;none&#x27; if unspecified.
1144 },
1145 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it&#x27;s best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1146 &quot;a_key&quot;: &quot;A String&quot;,
1147 },
1148 &quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
1149 &quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
1150 &quot;a_key&quot;: &quot;A String&quot;,
1151 },
1152 },
1153 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
1154 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types). If unspecified, the default machine type is `e2-medium`.
yoshi-code-bot8bb904c2021-08-31 00:28:27 -07001155 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-oslogin&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value&#x27;s size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001156 &quot;a_key&quot;: &quot;A String&quot;,
1157 },
1158 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
1159 &quot;nodeGroup&quot;: &quot;A String&quot;, # Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
1160 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
1161 &quot;A String&quot;,
1162 ],
1163 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.
1164 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from. # The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
1165 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
1166 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as the key and specify the name of your reservation as its value.
1167 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
1168 &quot;A String&quot;,
1169 ],
1170 },
1171 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
1172 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
1173 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
1174 },
1175 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
1176 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
1177 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
1178 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
1179 },
1180 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
1181 &quot;A String&quot;,
1182 ],
1183 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1184 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.
1185 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
1186 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
1187 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
1188 },
1189 ],
1190 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The workload metadata configuration for this node.
1191 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.
1192 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.
1193 },
1194 },
1195 &quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
yoshi-code-bot31fbcc02021-06-02 00:52:03 -07001196 &quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
1197 &quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
1198 },
1199 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001200 &quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
yoshi-code-bot87595382021-06-05 00:38:05 -07001201 { # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload. These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001202 &quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
1203 &quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
1204 &quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
yoshi-code-bot07708072021-07-20 00:20:24 -07001205 &quot;maxNodeCount&quot;: 42, # Maximum number of nodes in the NodePool. Must be &gt;= min_node_count. There has to be enough quota to scale up the cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001206 &quot;minNodeCount&quot;: 42, # Minimum number of nodes in the NodePool. Must be &gt;= 1 and &lt;= max_node_count.
1207 },
1208 &quot;conditions&quot;: [ # Which conditions caused the current node pool state.
1209 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
1210 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
1211 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
1212 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
1213 },
1214 ],
1215 &quot;config&quot;: { # Parameters that describe the nodes in a cluster. # The node configuration of the pool.
1216 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
1217 { # AcceleratorConfig represents a Hardware Accelerator request.
1218 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
1219 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)
yoshi-code-bot64143a02021-04-27 05:08:04 -07001220 &quot;gpuPartitionSize&quot;: &quot;A String&quot;, # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001221 },
1222 ],
1223 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
1224 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001225 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001226 &quot;ephemeralStorageConfig&quot;: { # EphemeralStorageConfig contains configuration for the ephemeral storage filesystem. # Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
1227 &quot;localSsdCount&quot;: 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage.
1228 },
yoshi-code-bot96afc042021-08-24 00:22:31 -07001229 &quot;gvnic&quot;: { # Configuration of gVNIC feature. # Enable or disable gvnic on the node pool.
1230 &quot;enabled&quot;: True or False, # Whether gVNIC features are enabled in the node pool.
1231 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001232 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type, the latest version of it will be used.
1233 &quot;kubeletConfig&quot;: { # Node kubelet configs. # Node kubelet configs.
1234 &quot;cpuCfsQuota&quot;: True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is &#x27;true&#x27; if unspecified.
1235 &quot;cpuCfsQuotaPeriod&quot;: &quot;A String&quot;, # Set the CPU CFS quota period value &#x27;cpu.cfs_period_us&#x27;. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as &quot;300ms&quot;. Valid time units are &quot;ns&quot;, &quot;us&quot; (or &quot;µs&quot;), &quot;ms&quot;, &quot;s&quot;, &quot;m&quot;, &quot;h&quot;. The value must be a positive duration.
1236 &quot;cpuManagerPolicy&quot;: &quot;A String&quot;, # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. - &quot;none&quot;: the default, which represents the existing scheduling behavior. - &quot;static&quot;: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is &#x27;none&#x27; if unspecified.
1237 },
1238 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it&#x27;s best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1239 &quot;a_key&quot;: &quot;A String&quot;,
1240 },
1241 &quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
1242 &quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
1243 &quot;a_key&quot;: &quot;A String&quot;,
1244 },
1245 },
1246 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
1247 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types). If unspecified, the default machine type is `e2-medium`.
yoshi-code-bot8bb904c2021-08-31 00:28:27 -07001248 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-oslogin&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value&#x27;s size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001249 &quot;a_key&quot;: &quot;A String&quot;,
1250 },
1251 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
1252 &quot;nodeGroup&quot;: &quot;A String&quot;, # Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
1253 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
1254 &quot;A String&quot;,
1255 ],
1256 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.
1257 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from. # The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
1258 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
1259 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as the key and specify the name of your reservation as its value.
1260 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
1261 &quot;A String&quot;,
1262 ],
1263 },
1264 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
1265 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
1266 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
1267 },
1268 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
1269 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
1270 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
1271 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
1272 },
1273 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
1274 &quot;A String&quot;,
1275 ],
1276 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1277 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.
1278 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
1279 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
1280 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
1281 },
1282 ],
1283 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The workload metadata configuration for this node.
1284 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.
1285 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.
1286 },
1287 },
1288 &quot;initialNodeCount&quot;: 42, # The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.
1289 &quot;instanceGroupUrls&quot;: [ # [Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool.
1290 &quot;A String&quot;,
1291 ],
1292 &quot;locations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool&#x27;s nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
1293 &quot;A String&quot;,
1294 ],
1295 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the node pool. # NodeManagement configuration for this NodePool.
1296 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
1297 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
1298 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed. # Specifies the Auto Upgrade knobs for the node pool.
1299 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1300 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the description of the upgrade.
1301 },
1302 },
1303 &quot;maxPodsConstraint&quot;: { # Constraints applied to pods. # The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
1304 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
1305 },
1306 &quot;name&quot;: &quot;A String&quot;, # The name of the node pool.
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07001307 &quot;networkConfig&quot;: { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
1308 &quot;createPodRange&quot;: True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
1309 &quot;podIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range for pod IPs in this node pool. Only applicable if `create_pod_range` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
1310 &quot;podRange&quot;: &quot;A String&quot;, # The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
yoshi-code-bot69706592021-03-03 03:54:02 -08001311 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001312 &quot;podIpv4CidrSize&quot;: 42, # [Output only] The pod CIDR block size per node in this node pool.
1313 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
1314 &quot;status&quot;: &quot;A String&quot;, # [Output only] The status of the nodes in this pool instance.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001315 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
yoshi-code-bot87595382021-06-05 00:38:05 -07001316 &quot;upgradeSettings&quot;: { # Upgrade settings control disruption and speed of the upgrade.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001317 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
1318 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
1319 },
1320 &quot;version&quot;: &quot;A String&quot;, # The version of the Kubernetes of this node.
1321 },
1322 ],
1323 &quot;notificationConfig&quot;: { # NotificationConfig is the configuration of notifications. # Notification configuration of the cluster.
1324 &quot;pubsub&quot;: { # Pub/Sub specific notification config. # Notification config for Pub/Sub.
1325 &quot;enabled&quot;: True or False, # Enable notifications for Pub/Sub.
1326 &quot;topic&quot;: &quot;A String&quot;, # The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`.
1327 },
1328 },
1329 &quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
1330 &quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
1331 },
1332 &quot;privateCluster&quot;: True or False, # If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
1333 &quot;privateClusterConfig&quot;: { # Configuration options for private clusters. # Configuration for private cluster.
1334 &quot;enablePrivateEndpoint&quot;: True or False, # Whether the master&#x27;s internal IP address is used as the cluster endpoint.
1335 &quot;enablePrivateNodes&quot;: True or False, # Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
1336 &quot;masterGlobalAccessConfig&quot;: { # Configuration for controlling master global access settings. # Controls master global access settings.
1337 &quot;enabled&quot;: True or False, # Whenever master is accessible globally or not.
1338 },
1339 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster&#x27;s network.
1340 &quot;peeringName&quot;: &quot;A String&quot;, # Output only. The peering name in the customer VPC used by this cluster.
1341 &quot;privateEndpoint&quot;: &quot;A String&quot;, # Output only. The internal IP address of this cluster&#x27;s master endpoint.
1342 &quot;publicEndpoint&quot;: &quot;A String&quot;, # Output only. The external IP address of this cluster&#x27;s master endpoint.
1343 },
1344 &quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # Release channel configuration.
1345 &quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
1346 },
1347 &quot;resourceLabels&quot;: { # The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
1348 &quot;a_key&quot;: &quot;A String&quot;,
1349 },
1350 &quot;resourceUsageExportConfig&quot;: { # Configuration for exporting cluster resource usages. # Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
1351 &quot;bigqueryDestination&quot;: { # Parameters for using BigQuery as the destination of resource usage export. # Configuration to use BigQuery as usage export destination.
1352 &quot;datasetId&quot;: &quot;A String&quot;, # The ID of a BigQuery Dataset.
1353 },
1354 &quot;consumptionMeteringConfig&quot;: { # Parameters for controlling consumption metering. # Configuration to enable resource consumption metering.
1355 &quot;enabled&quot;: True or False, # Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records.
1356 },
1357 &quot;enableNetworkEgressMetering&quot;: True or False, # Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.
1358 },
1359 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
1360 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
1361 &quot;shieldedNodes&quot;: { # Configuration of Shielded Nodes feature. # Shielded Nodes configuration.
1362 &quot;enabled&quot;: True or False, # Whether Shielded Nodes features are enabled on all nodes in this cluster.
1363 },
1364 &quot;status&quot;: &quot;A String&quot;, # [Output only] The current status of this cluster.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001365 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001366 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
1367 &quot;tpuConfig&quot;: { # Configuration for Cloud TPU. # Configuration for Cloud TPU support;
1368 &quot;enabled&quot;: True or False, # Whether Cloud TPU integration is enabled or not.
1369 &quot;ipv4CidrBlock&quot;: &quot;A String&quot;, # IPv4 CIDR block reserved for Cloud TPU in the VPC.
1370 &quot;useServiceNetworking&quot;: True or False, # Whether to use service networking for Cloud TPU or not.
1371 },
1372 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`).
1373 &quot;verticalPodAutoscaling&quot;: { # VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it. # Cluster-level Vertical Pod Autoscaling configuration.
1374 &quot;enabled&quot;: True or False, # Enables vertical pod autoscaling.
1375 },
yoshi-code-bot3dd15272021-04-21 15:07:48 -07001376 &quot;workloadCertificates&quot;: { # Configuration for issuance of mTLS keys and certificates to Kubernetes pods. # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
1377 &quot;enableCertificates&quot;: True or False, # enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).
1378 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001379 &quot;workloadIdentityConfig&quot;: { # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
1380 &quot;identityNamespace&quot;: &quot;A String&quot;, # IAM Identity Namespace to attach all Kubernetes Service Accounts to.
1381 &quot;identityProvider&quot;: &quot;A String&quot;, # identity provider is the third party identity provider.
1382 &quot;workloadPool&quot;: &quot;A String&quot;, # The workload pool to attach all Kubernetes service accounts to.
1383 },
1384 &quot;zone&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.
1385}</pre>
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001386</div>
1387
1388<div class="method">
1389 <code class="details" id="getJwks">getJwks(parent, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001390 <pre>Gets the public component of the cluster signing keys in JSON Web Key format. This API is not yet intended for general use, and is not available for all clusters.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001391
1392Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001393 parent: string, The cluster (project, location, cluster id) to get keys for. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001394 x__xgafv: string, V1 error format.
1395 Allowed values
1396 1 - v1 error format
1397 2 - v2 error format
1398
1399Returns:
1400 An object of the form:
1401
1402 { # GetJSONWebKeysResponse is a valid JSON Web Key Set as specififed in rfc 7517
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001403 &quot;cacheHeader&quot;: { # RFC-2616: cache control support # OnePlatform automatically extracts this field and uses it to set the HTTP Cache-Control header.
1404 &quot;age&quot;: &quot;A String&quot;, # 14.6 response cache age, in seconds since the response is generated
1405 &quot;directive&quot;: &quot;A String&quot;, # 14.9 request and response directives
1406 &quot;expires&quot;: &quot;A String&quot;, # 14.21 response cache expires, in RFC 1123 date format
1407 },
1408 &quot;keys&quot;: [ # The public component of the keys used by the cluster to sign token requests.
1409 { # Jwk is a JSON Web Key as specified in RFC 7517
1410 &quot;alg&quot;: &quot;A String&quot;, # Algorithm.
1411 &quot;crv&quot;: &quot;A String&quot;, # Used for ECDSA keys.
1412 &quot;e&quot;: &quot;A String&quot;, # Used for RSA keys.
1413 &quot;kid&quot;: &quot;A String&quot;, # Key ID.
1414 &quot;kty&quot;: &quot;A String&quot;, # Key Type.
1415 &quot;n&quot;: &quot;A String&quot;, # Used for RSA keys.
1416 &quot;use&quot;: &quot;A String&quot;, # Permitted uses for the public keys.
1417 &quot;x&quot;: &quot;A String&quot;, # Used for ECDSA keys.
1418 &quot;y&quot;: &quot;A String&quot;, # Used for ECDSA keys.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001419 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001420 ],
1421}</pre>
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001422</div>
1423
1424<div class="method">
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001425 <code class="details" id="list">list(parent, projectId=None, x__xgafv=None, zone=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001426 <pre>Lists all clusters owned by a project in either the specified zone or all zones.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001427
1428Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001429 parent: string, The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location &quot;-&quot; matches all zones and all regions. (required)
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07001430 projectId: string, Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the parent field.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001431 x__xgafv: string, V1 error format.
1432 Allowed values
1433 1 - v1 error format
1434 2 - v2 error format
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001435 zone: string, Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or &quot;-&quot; for all zones. This field has been deprecated and replaced by the parent field.
Bu Sun Kimd059ad82020-07-22 17:02:09 -07001436
1437Returns:
1438 An object of the form:
1439
1440 { # ListClustersResponse is the result of ListClustersRequest.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001441 &quot;clusters&quot;: [ # A list of clusters in the project in the specified zone, or across all ones.
1442 { # A Google Kubernetes Engine cluster.
1443 &quot;addonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. # Configurations for the various addons available to run in the cluster.
1444 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time.
1445 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
1446 &quot;loadBalancerType&quot;: &quot;A String&quot;, # Which load balancer type is installed for Cloud Run.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001447 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001448 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
1449 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001450 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001451 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
1452 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001453 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001454 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. # Configuration for the Compute Engine Persistent Disk CSI driver.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001455 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001456 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001457 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods. # Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
1458 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001459 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001460 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster. # Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
1461 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
1462 },
1463 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure microservices.
1464 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
1465 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
1466 },
1467 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s applications.
1468 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
1469 },
1470 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
1471 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
1472 },
1473 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes. # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
1474 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
1475 },
1476 },
1477 &quot;authenticatorGroupsConfig&quot;: { # Configuration for returning group information from authenticators. # Configuration controlling RBAC group membership information.
1478 &quot;enabled&quot;: True or False, # Whether this cluster should return group membership lookups during authentication using a group of security groups.
1479 &quot;securityGroup&quot;: &quot;A String&quot;, # The name of the security group-of-groups to be used. Only relevant if enabled = true.
1480 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001481 &quot;autopilot&quot;: { # Autopilot is the configuration for Autopilot settings on the cluster. # Autopilot configuration for the cluster.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001482 &quot;enabled&quot;: True or False, # Enable Autopilot
1483 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001484 &quot;autoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs. # Cluster-level autoscaling configuration.
1485 &quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool&#x27;s nodes can be created by NAP.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001486 &quot;A String&quot;,
1487 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001488 &quot;autoprovisioningNodePoolDefaults&quot;: { # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP. # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
1489 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001490 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001491 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
yoshi-code-bot87595382021-06-05 00:38:05 -07001492 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for NAP created node.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001493 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the node pool. # NodeManagement configuration for this NodePool.
1494 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
1495 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
1496 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed. # Specifies the Auto Upgrade knobs for the node pool.
1497 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1498 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the description of the upgrade.
1499 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001500 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001501 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) To unset the min cpu platform field pass &quot;automatic&quot; as field value.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001502 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
1503 &quot;A String&quot;,
1504 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001505 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
1506 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
1507 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
1508 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001509 },
yoshi-code-bot87595382021-06-05 00:38:05 -07001510 &quot;upgradeSettings&quot;: { # Upgrade settings control disruption and speed of the upgrade.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001511 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
1512 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001513 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001514 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001515 &quot;autoscalingProfile&quot;: &quot;A String&quot;, # Defines autoscaling behaviour.
1516 &quot;enableNodeAutoprovisioning&quot;: True or False, # Enables automatic node pool creation and deletion.
1517 &quot;resourceLimits&quot;: [ # Contains global constraints regarding minimum and maximum amount of resources in the cluster.
1518 { # Contains information about amount of some resource in the cluster. For memory, value should be in GB.
1519 &quot;maximum&quot;: &quot;A String&quot;, # Maximum amount of the resource in the cluster.
1520 &quot;minimum&quot;: &quot;A String&quot;, # Minimum amount of the resource in the cluster.
1521 &quot;resourceType&quot;: &quot;A String&quot;, # Resource name &quot;cpu&quot;, &quot;memory&quot; or gpu-specific string.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001522 },
1523 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001524 },
1525 &quot;binaryAuthorization&quot;: { # Configuration for Binary Authorization. # Configuration for Binary Authorization.
1526 &quot;enabled&quot;: True or False, # Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Google Binauthz.
1527 },
1528 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.
1529 &quot;clusterTelemetry&quot;: { # Telemetry integration for the cluster. # Telemetry integration for the cluster.
1530 &quot;type&quot;: &quot;A String&quot;, # Type of the integration.
1531 },
1532 &quot;conditions&quot;: [ # Which conditions caused the current cluster state.
1533 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
1534 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
1535 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
1536 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001537 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001538 ],
1539 &quot;confidentialNodes&quot;: { # ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs. # Configuration of Confidential Nodes
1540 &quot;enabled&quot;: True or False, # Whether Confidential Nodes feature is enabled for all nodes in this cluster.
1541 },
1542 &quot;createTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1543 &quot;currentMasterVersion&quot;: &quot;A String&quot;, # [Output only] The current software version of the master endpoint.
1544 &quot;currentNodeCount&quot;: 42, # [Output only] The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.
1545 &quot;currentNodeVersion&quot;: &quot;A String&quot;, # [Output only] Deprecated, use [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools) instead. The current version of the node software components. If they are currently at multiple versions because they&#x27;re in the process of being upgraded, this reflects the minimum version of all nodes.
1546 &quot;databaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
1547 &quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
1548 &quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.
1549 },
1550 &quot;defaultMaxPodsConstraint&quot;: { # Constraints applied to pods. # The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support.
1551 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
1552 },
1553 &quot;description&quot;: &quot;A String&quot;, # An optional description of this cluster.
1554 &quot;enableKubernetesAlpha&quot;: True or False, # Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.
1555 &quot;enableTpu&quot;: True or False, # Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead.
1556 &quot;endpoint&quot;: &quot;A String&quot;, # [Output only] The IP address of this cluster&#x27;s master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.
1557 &quot;expireTime&quot;: &quot;A String&quot;, # [Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
yoshi-code-bot3dd15272021-04-21 15:07:48 -07001558 &quot;id&quot;: &quot;A String&quot;, # Output only. Unique id for the cluster.
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07001559 &quot;identityServiceConfig&quot;: { # IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API # Configuration for Identity Service component.
1560 &quot;enabled&quot;: True or False, # Whether to enable the Identity Service component
1561 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001562 &quot;initialClusterVersion&quot;: &quot;A String&quot;, # The initial Kubernetes version for this cluster. Valid versions are those found in validMasterVersions returned by getServerConfig. The version can be upgraded over time; such upgrades are reflected in currentMasterVersion and currentNodeVersion. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - &quot;latest&quot;: picks the highest valid Kubernetes version - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version - &quot;&quot;,&quot;-&quot;: picks the default Kubernetes version
1563 &quot;initialNodeCount&quot;: 42, # The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a &quot;node_pool&quot; object, since this configuration (along with the &quot;node_config&quot;) will be used to create a &quot;NodePool&quot; object with an auto-generated name. Do not use this and a node_pool at the same time. This field is deprecated, use node_pool.initial_node_count instead.
1564 &quot;instanceGroupUrls&quot;: [ # Deprecated. Use node_pools.instance_group_urls.
1565 &quot;A String&quot;,
1566 ],
1567 &quot;ipAllocationPolicy&quot;: { # Configuration for controlling how IPs are allocated in the cluster. # Configuration for cluster IP allocation.
1568 &quot;allowRouteOverlap&quot;: True or False, # If true, allow allocation of cluster CIDR ranges that overlap with certain kinds of network routes. By default we do not allow cluster CIDR ranges to intersect with any user declared routes. With allow_route_overlap == true, we allow overlapping with CIDR ranges that are larger than the cluster CIDR range. If this field is set to true, then cluster and services CIDRs must be fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be fully-specified.
1569 &quot;clusterIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use cluster_ipv4_cidr_block.
1570 &quot;clusterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range for the cluster pod IPs. If this field is set, then `cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
1571 &quot;clusterSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.
1572 &quot;createSubnetwork&quot;: True or False, # Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true.
1573 &quot;nodeIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use node_ipv4_cidr_block.
1574 &quot;nodeIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the instance IPs in this cluster. This is applicable only if `create_subnetwork` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
1575 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # This field is deprecated, use services_ipv4_cidr_block.
1576 &quot;servicesIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.
1577 &quot;servicesSecondaryRangeName&quot;: &quot;A String&quot;, # The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.
1578 &quot;subnetworkName&quot;: &quot;A String&quot;, # A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.
1579 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. If unspecified, the range will use the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.
1580 &quot;useIpAliases&quot;: True or False, # Whether alias IPs will be used for pod IPs in the cluster. This is used in conjunction with use_routes. It cannot be true if use_routes is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode
1581 &quot;useRoutes&quot;: True or False, # Whether routes will be used for pod IPs in the cluster. This is used in conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode
1582 },
1583 &quot;labelFingerprint&quot;: &quot;A String&quot;, # The fingerprint of the set of labels for this cluster.
1584 &quot;legacyAbac&quot;: { # Configuration for the legacy Attribute Based Access Control authorization mode. # Configuration for the legacy ABAC authorization mode.
1585 &quot;enabled&quot;: True or False, # Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.
1586 },
1587 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
1588 &quot;locations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster&#x27;s nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.
1589 &quot;A String&quot;,
1590 ],
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07001591 &quot;loggingConfig&quot;: { # LoggingConfig is cluster logging configuration. # Logging configuration for the cluster.
1592 &quot;componentConfig&quot;: { # LoggingComponentConfig is cluster logging component configuration. # Logging components configuration
1593 &quot;enableComponents&quot;: [ # Select components to collect logs. An empty set would disable all logging.
1594 &quot;A String&quot;,
1595 ],
1596 },
1597 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001598 &quot;loggingService&quot;: &quot;A String&quot;, # The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
1599 &quot;maintenancePolicy&quot;: { # MaintenancePolicy defines the maintenance policy to be used for the cluster. # Configure the maintenance policy for this cluster.
1600 &quot;resourceVersion&quot;: &quot;A String&quot;, # A hash identifying the version of this policy, so that updates to fields of the policy won&#x27;t accidentally undo intermediate changes (and so that users of the API unaware of some fields won&#x27;t accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.
1601 &quot;window&quot;: { # MaintenanceWindow defines the maintenance window to be used for the cluster. # Specifies the maintenance window in which maintenance may be performed.
1602 &quot;dailyMaintenanceWindow&quot;: { # Time window specified for daily maintenance operations. # DailyMaintenanceWindow specifies a daily maintenance operation window.
1603 &quot;duration&quot;: &quot;A String&quot;, # [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
1604 &quot;startTime&quot;: &quot;A String&quot;, # Time within the maintenance window to start the maintenance operations. It must be in format &quot;HH:MM&quot;, where HH : [00-23] and MM : [00-59] GMT.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001605 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001606 &quot;maintenanceExclusions&quot;: { # Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.
1607 &quot;a_key&quot;: { # Represents an arbitrary window of time.
1608 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the start time.
1609 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001610 },
1611 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001612 &quot;recurringWindow&quot;: { # Represents an arbitrary window of time that recurs. # RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.
1613 &quot;recurrence&quot;: &quot;A String&quot;, # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you&#x27;d use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you&#x27;d use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA ``` Note the start and end time&#x27;s specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
1614 &quot;window&quot;: { # Represents an arbitrary window of time. # The window of the first recurrence.
1615 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the start time.
1616 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
1617 },
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08001618 },
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08001619 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001620 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001621 &quot;master&quot;: { # Master is the configuration for components on master. # Configuration for master components.
1622 },
1623 &quot;masterAuth&quot;: { # The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. # The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to &quot;admin&quot;, a random password will be generated, and a client certificate will be issued.
1624 &quot;clientCertificate&quot;: &quot;A String&quot;, # [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
1625 &quot;clientCertificateConfig&quot;: { # Configuration for client certificates on the cluster. # Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
1626 &quot;issueClientCertificate&quot;: True or False, # Issue a client certificate.
1627 },
1628 &quot;clientKey&quot;: &quot;A String&quot;, # [Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
1629 &quot;clusterCaCertificate&quot;: &quot;A String&quot;,
1630 &quot;password&quot;: &quot;A String&quot;, # The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
1631 &quot;username&quot;: &quot;A String&quot;, # The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
1632 },
1633 &quot;masterAuthorizedNetworksConfig&quot;: { # Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. # The configuration options for master authorized networks feature.
1634 &quot;cidrBlocks&quot;: [ # cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
1635 { # CidrBlock contains an optional name and one CIDR block.
1636 &quot;cidrBlock&quot;: &quot;A String&quot;, # cidr_block must be specified in CIDR notation.
1637 &quot;displayName&quot;: &quot;A String&quot;, # display_name is an optional field for users to identify CIDR blocks.
1638 },
1639 ],
1640 &quot;enabled&quot;: True or False, # Whether or not master authorized networks is enabled.
1641 },
1642 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07001643 &quot;monitoringConfig&quot;: { # MonitoringConfig is cluster monitoring configuration. # Monitoring configuration for the cluster.
1644 &quot;componentConfig&quot;: { # MonitoringComponentConfig is cluster monitoring component configuration. # Monitoring components configuration
1645 &quot;enableComponents&quot;: [ # Select components to collect metrics. An empty set would disable all monitoring.
1646 &quot;A String&quot;,
1647 ],
1648 },
1649 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001650 &quot;monitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
1651 &quot;name&quot;: &quot;A String&quot;, # The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.
1652 &quot;network&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name.
1653 &quot;networkConfig&quot;: { # NetworkConfig reports the relative names of network &amp; subnetwork. # Configuration for cluster networking.
1654 &quot;datapathProvider&quot;: &quot;A String&quot;, # The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.
1655 &quot;defaultSnatStatus&quot;: { # DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster. # Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic.
1656 &quot;disabled&quot;: True or False, # Disables cluster default sNAT rules.
1657 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07001658 &quot;dnsConfig&quot;: { # DNSConfig contains the desired set of options for configuring clusterDNS. # DNSConfig contains clusterDNS config for this cluster.
1659 &quot;clusterDns&quot;: &quot;A String&quot;, # cluster_dns indicates which in-cluster DNS provider should be used.
1660 &quot;clusterDnsDomain&quot;: &quot;A String&quot;, # cluster_dns_domain is the suffix used for all cluster service records.
1661 &quot;clusterDnsScope&quot;: &quot;A String&quot;, # cluster_dns_scope indicates the scope of access to cluster DNS records.
1662 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001663 &quot;enableIntraNodeVisibility&quot;: True or False, # Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.
yoshi-code-bota8b35b92021-03-31 13:33:30 -07001664 &quot;enableL4ilbSubsetting&quot;: True or False, # Whether L4ILB Subsetting is enabled for this cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001665 &quot;network&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine network(https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. Example: projects/my-project/global/networks/my-network
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001666 &quot;privateIpv6GoogleAccess&quot;: &quot;A String&quot;, # The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)
yoshi-code-bot04bafe12021-06-29 00:20:25 -07001667 &quot;serviceExternalIpsConfig&quot;: { # Config to block services with externalIPs field. # ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not.
1668 &quot;enabled&quot;: True or False, # Whether Services with ExternalIPs field are allowed or not.
1669 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001670 &quot;subnetwork&quot;: &quot;A String&quot;, # Output only. The relative name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/vpc) to which the cluster is connected. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet
1671 },
1672 &quot;networkPolicy&quot;: { # Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ # Configuration options for the NetworkPolicy feature.
1673 &quot;enabled&quot;: True or False, # Whether network policy is enabled on the cluster.
1674 &quot;provider&quot;: &quot;A String&quot;, # The selected network policy provider.
1675 },
1676 &quot;nodeConfig&quot;: { # Parameters that describe the nodes in a cluster. # Parameters used in creating the cluster&#x27;s nodes. For requests, this field should only be used in lieu of a &quot;node_pool&quot; object, since this configuration (along with the &quot;initial_node_count&quot;) will be used to create a &quot;NodePool&quot; object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead.
1677 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
1678 { # AcceleratorConfig represents a Hardware Accelerator request.
1679 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
1680 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)
yoshi-code-bot64143a02021-04-27 05:08:04 -07001681 &quot;gpuPartitionSize&quot;: &quot;A String&quot;, # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001682 },
1683 ],
1684 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
1685 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001686 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001687 &quot;ephemeralStorageConfig&quot;: { # EphemeralStorageConfig contains configuration for the ephemeral storage filesystem. # Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
1688 &quot;localSsdCount&quot;: 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage.
1689 },
yoshi-code-bot96afc042021-08-24 00:22:31 -07001690 &quot;gvnic&quot;: { # Configuration of gVNIC feature. # Enable or disable gvnic on the node pool.
1691 &quot;enabled&quot;: True or False, # Whether gVNIC features are enabled in the node pool.
1692 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001693 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type, the latest version of it will be used.
1694 &quot;kubeletConfig&quot;: { # Node kubelet configs. # Node kubelet configs.
1695 &quot;cpuCfsQuota&quot;: True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is &#x27;true&#x27; if unspecified.
1696 &quot;cpuCfsQuotaPeriod&quot;: &quot;A String&quot;, # Set the CPU CFS quota period value &#x27;cpu.cfs_period_us&#x27;. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as &quot;300ms&quot;. Valid time units are &quot;ns&quot;, &quot;us&quot; (or &quot;µs&quot;), &quot;ms&quot;, &quot;s&quot;, &quot;m&quot;, &quot;h&quot;. The value must be a positive duration.
1697 &quot;cpuManagerPolicy&quot;: &quot;A String&quot;, # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. - &quot;none&quot;: the default, which represents the existing scheduling behavior. - &quot;static&quot;: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is &#x27;none&#x27; if unspecified.
1698 },
1699 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it&#x27;s best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1700 &quot;a_key&quot;: &quot;A String&quot;,
1701 },
1702 &quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
1703 &quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
1704 &quot;a_key&quot;: &quot;A String&quot;,
1705 },
1706 },
1707 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
1708 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types). If unspecified, the default machine type is `e2-medium`.
yoshi-code-bot8bb904c2021-08-31 00:28:27 -07001709 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-oslogin&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value&#x27;s size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001710 &quot;a_key&quot;: &quot;A String&quot;,
1711 },
1712 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
1713 &quot;nodeGroup&quot;: &quot;A String&quot;, # Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
1714 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
1715 &quot;A String&quot;,
1716 ],
1717 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.
1718 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from. # The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
1719 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
1720 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as the key and specify the name of your reservation as its value.
1721 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
1722 &quot;A String&quot;,
1723 ],
1724 },
1725 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
1726 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
1727 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
1728 },
1729 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
1730 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
1731 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
1732 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
1733 },
1734 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
1735 &quot;A String&quot;,
1736 ],
1737 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1738 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.
1739 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
1740 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
1741 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
1742 },
1743 ],
1744 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The workload metadata configuration for this node.
1745 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.
1746 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.
1747 },
1748 },
1749 &quot;nodeIpv4CidrSize&quot;: 42, # [Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range. This field will only be set when cluster is in route-based network mode.
yoshi-code-bot31fbcc02021-06-02 00:52:03 -07001750 &quot;nodePoolDefaults&quot;: { # Subset of Nodepool message that has defaults. # Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object.
1751 &quot;nodeConfigDefaults&quot;: { # Subset of NodeConfig message that has defaults. # Subset of NodeConfig message that has defaults.
1752 },
1753 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001754 &quot;nodePools&quot;: [ # The node pools associated with this cluster. This field should not be set if &quot;node_config&quot; or &quot;initial_node_count&quot; are specified.
yoshi-code-bot87595382021-06-05 00:38:05 -07001755 { # NodePool contains the name and configuration for a cluster&#x27;s node pool. Node pools are a set of nodes (i.e. VM&#x27;s), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload. These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001756 &quot;autoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present.
1757 &quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
1758 &quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
yoshi-code-bot07708072021-07-20 00:20:24 -07001759 &quot;maxNodeCount&quot;: 42, # Maximum number of nodes in the NodePool. Must be &gt;= min_node_count. There has to be enough quota to scale up the cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001760 &quot;minNodeCount&quot;: 42, # Minimum number of nodes in the NodePool. Must be &gt;= 1 and &lt;= max_node_count.
1761 },
1762 &quot;conditions&quot;: [ # Which conditions caused the current node pool state.
1763 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
1764 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
1765 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
1766 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
1767 },
1768 ],
1769 &quot;config&quot;: { # Parameters that describe the nodes in a cluster. # The node configuration of the pool.
1770 &quot;accelerators&quot;: [ # A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.
1771 { # AcceleratorConfig represents a Hardware Accelerator request.
1772 &quot;acceleratorCount&quot;: &quot;A String&quot;, # The number of the accelerator cards exposed to an instance.
1773 &quot;acceleratorType&quot;: &quot;A String&quot;, # The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)
yoshi-code-bot64143a02021-04-27 05:08:04 -07001774 &quot;gpuPartitionSize&quot;: &quot;A String&quot;, # Size of partitions to create on the GPU. Valid values are described in the NVIDIA [mig user guide](https://docs.nvidia.com/datacenter/tesla/mig-user-guide/#partitioning).
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001775 },
1776 ],
1777 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
1778 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001779 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001780 &quot;ephemeralStorageConfig&quot;: { # EphemeralStorageConfig contains configuration for the ephemeral storage filesystem. # Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk.
1781 &quot;localSsdCount&quot;: 42, # Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage.
1782 },
yoshi-code-bot96afc042021-08-24 00:22:31 -07001783 &quot;gvnic&quot;: { # Configuration of gVNIC feature. # Enable or disable gvnic on the node pool.
1784 &quot;enabled&quot;: True or False, # Whether gVNIC features are enabled in the node pool.
1785 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001786 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for this node. Note that for a given image type, the latest version of it will be used.
1787 &quot;kubeletConfig&quot;: { # Node kubelet configs. # Node kubelet configs.
1788 &quot;cpuCfsQuota&quot;: True or False, # Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is &#x27;true&#x27; if unspecified.
1789 &quot;cpuCfsQuotaPeriod&quot;: &quot;A String&quot;, # Set the CPU CFS quota period value &#x27;cpu.cfs_period_us&#x27;. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as &quot;300ms&quot;. Valid time units are &quot;ns&quot;, &quot;us&quot; (or &quot;µs&quot;), &quot;ms&quot;, &quot;s&quot;, &quot;m&quot;, &quot;h&quot;. The value must be a positive duration.
1790 &quot;cpuManagerPolicy&quot;: &quot;A String&quot;, # Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. - &quot;none&quot;: the default, which represents the existing scheduling behavior. - &quot;static&quot;: allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is &#x27;none&#x27; if unspecified.
1791 },
1792 &quot;labels&quot;: { # The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it&#x27;s best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
1793 &quot;a_key&quot;: &quot;A String&quot;,
1794 },
1795 &quot;linuxNodeConfig&quot;: { # Parameters that can be configured on Linux nodes. # Parameters that can be configured on Linux nodes.
1796 &quot;sysctls&quot;: { # The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse
1797 &quot;a_key&quot;: &quot;A String&quot;,
1798 },
1799 },
1800 &quot;localSsdCount&quot;: 42, # The number of local SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.
1801 &quot;machineType&quot;: &quot;A String&quot;, # The name of a Google Compute Engine [machine type](https://cloud.google.com/compute/docs/machine-types). If unspecified, the default machine type is `e2-medium`.
yoshi-code-bot8bb904c2021-08-31 00:28:27 -07001802 &quot;metadata&quot;: { # The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp `[a-zA-Z0-9-_]+` and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the reserved keys: - &quot;cluster-location&quot; - &quot;cluster-name&quot; - &quot;cluster-uid&quot; - &quot;configure-sh&quot; - &quot;containerd-configure-sh&quot; - &quot;enable-oslogin&quot; - &quot;gci-ensure-gke-docker&quot; - &quot;gci-metrics-enabled&quot; - &quot;gci-update-strategy&quot; - &quot;instance-template&quot; - &quot;kube-env&quot; - &quot;startup-script&quot; - &quot;user-data&quot; - &quot;disable-address-manager&quot; - &quot;windows-startup-script-ps1&quot; - &quot;common-psm1&quot; - &quot;k8s-node-setup-psm1&quot; - &quot;install-ssh-psm1&quot; - &quot;user-profile-psm1&quot; Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value&#x27;s size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001803 &quot;a_key&quot;: &quot;A String&quot;,
1804 },
1805 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform)
1806 &quot;nodeGroup&quot;: &quot;A String&quot;, # Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).
1807 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
1808 &quot;A String&quot;,
1809 ],
1810 &quot;preemptible&quot;: True or False, # Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.
1811 &quot;reservationAffinity&quot;: { # [ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from. # The optional reservation affinity. Setting this field will apply the specified [Zonal Compute Reservation](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) to this node pool.
1812 &quot;consumeReservationType&quot;: &quot;A String&quot;, # Corresponds to the type of reservation consumption.
1813 &quot;key&quot;: &quot;A String&quot;, # Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify &quot;googleapis.com/reservation-name&quot; as the key and specify the name of your reservation as its value.
1814 &quot;values&quot;: [ # Corresponds to the label value(s) of reservation resource(s).
1815 &quot;A String&quot;,
1816 ],
1817 },
1818 &quot;sandboxConfig&quot;: { # SandboxConfig contains configurations of the sandbox to use for the node. # Sandbox configuration for this node.
1819 &quot;sandboxType&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node (e.g. &#x27;gvisor&#x27;)
1820 &quot;type&quot;: &quot;A String&quot;, # Type of the sandbox to use for the node.
1821 },
1822 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
1823 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
1824 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
1825 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
1826 },
1827 &quot;tags&quot;: [ # The list of instance tags applied to all nodes. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag within the list must comply with RFC1035.
1828 &quot;A String&quot;,
1829 ],
1830 &quot;taints&quot;: [ # List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
1831 { # Kubernetes taint is comprised of three fields: key, value, and effect. Effect can only be one of three types: NoSchedule, PreferNoSchedule or NoExecute. See [here](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration) for more information, including usage and the valid values.
1832 &quot;effect&quot;: &quot;A String&quot;, # Effect for taint.
1833 &quot;key&quot;: &quot;A String&quot;, # Key for taint.
1834 &quot;value&quot;: &quot;A String&quot;, # Value for taint.
1835 },
1836 ],
1837 &quot;workloadMetadataConfig&quot;: { # WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool. # The workload metadata configuration for this node.
1838 &quot;mode&quot;: &quot;A String&quot;, # Mode is the configuration for how to expose metadata to workloads running on the node pool.
1839 &quot;nodeMetadata&quot;: &quot;A String&quot;, # NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.
1840 },
1841 },
1842 &quot;initialNodeCount&quot;: 42, # The initial node count for the pool. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota.
1843 &quot;instanceGroupUrls&quot;: [ # [Output only] The resource URLs of the [managed instance groups](https://cloud.google.com/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with this node pool.
1844 &quot;A String&quot;,
1845 ],
1846 &quot;locations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool&#x27;s nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.
1847 &quot;A String&quot;,
1848 ],
1849 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the node pool. # NodeManagement configuration for this NodePool.
1850 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
1851 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
1852 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed. # Specifies the Auto Upgrade knobs for the node pool.
1853 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
1854 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the description of the upgrade.
1855 },
1856 },
1857 &quot;maxPodsConstraint&quot;: { # Constraints applied to pods. # The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool.
1858 &quot;maxPodsPerNode&quot;: &quot;A String&quot;, # Constraint enforced on the max num of pods per node.
1859 },
1860 &quot;name&quot;: &quot;A String&quot;, # The name of the node pool.
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07001861 &quot;networkConfig&quot;: { # Parameters for node pool-level network config. # Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults.
1862 &quot;createPodRange&quot;: True or False, # Input only. Whether to create a new range for pod IPs in this node pool. Defaults are provided for `pod_range` and `pod_ipv4_cidr_block` if they are not specified. If neither `create_pod_range` or `pod_range` are specified, the cluster-level default (`ip_allocation_policy.cluster_ipv4_cidr_block`) is used. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
1863 &quot;podIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP address range for pod IPs in this node pool. Only applicable if `create_pod_range` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) to pick a specific range to use. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
1864 &quot;podRange&quot;: &quot;A String&quot;, # The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.
yoshi-code-bot69706592021-03-03 03:54:02 -08001865 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001866 &quot;podIpv4CidrSize&quot;: 42, # [Output only] The pod CIDR block size per node in this node pool.
1867 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
1868 &quot;status&quot;: &quot;A String&quot;, # [Output only] The status of the nodes in this pool instance.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001869 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.
yoshi-code-bot87595382021-06-05 00:38:05 -07001870 &quot;upgradeSettings&quot;: { # Upgrade settings control disruption and speed of the upgrade.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001871 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
1872 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
1873 },
1874 &quot;version&quot;: &quot;A String&quot;, # The version of the Kubernetes of this node.
1875 },
1876 ],
1877 &quot;notificationConfig&quot;: { # NotificationConfig is the configuration of notifications. # Notification configuration of the cluster.
1878 &quot;pubsub&quot;: { # Pub/Sub specific notification config. # Notification config for Pub/Sub.
1879 &quot;enabled&quot;: True or False, # Enable notifications for Pub/Sub.
1880 &quot;topic&quot;: &quot;A String&quot;, # The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`.
1881 },
1882 },
1883 &quot;podSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # Configuration for the PodSecurityPolicy feature.
1884 &quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
1885 },
1886 &quot;privateCluster&quot;: True or False, # If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.
1887 &quot;privateClusterConfig&quot;: { # Configuration options for private clusters. # Configuration for private cluster.
1888 &quot;enablePrivateEndpoint&quot;: True or False, # Whether the master&#x27;s internal IP address is used as the cluster endpoint.
1889 &quot;enablePrivateNodes&quot;: True or False, # Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
1890 &quot;masterGlobalAccessConfig&quot;: { # Configuration for controlling master global access settings. # Controls master global access settings.
1891 &quot;enabled&quot;: True or False, # Whenever master is accessible globally or not.
1892 },
1893 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster&#x27;s network.
1894 &quot;peeringName&quot;: &quot;A String&quot;, # Output only. The peering name in the customer VPC used by this cluster.
1895 &quot;privateEndpoint&quot;: &quot;A String&quot;, # Output only. The internal IP address of this cluster&#x27;s master endpoint.
1896 &quot;publicEndpoint&quot;: &quot;A String&quot;, # Output only. The external IP address of this cluster&#x27;s master endpoint.
1897 },
1898 &quot;releaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # Release channel configuration.
1899 &quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
1900 },
1901 &quot;resourceLabels&quot;: { # The resource labels for the cluster to use to annotate any related Google Compute Engine resources.
1902 &quot;a_key&quot;: &quot;A String&quot;,
1903 },
1904 &quot;resourceUsageExportConfig&quot;: { # Configuration for exporting cluster resource usages. # Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified.
1905 &quot;bigqueryDestination&quot;: { # Parameters for using BigQuery as the destination of resource usage export. # Configuration to use BigQuery as usage export destination.
1906 &quot;datasetId&quot;: &quot;A String&quot;, # The ID of a BigQuery Dataset.
1907 },
1908 &quot;consumptionMeteringConfig&quot;: { # Parameters for controlling consumption metering. # Configuration to enable resource consumption metering.
1909 &quot;enabled&quot;: True or False, # Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records.
1910 },
1911 &quot;enableNetworkEgressMetering&quot;: True or False, # Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.
1912 },
1913 &quot;selfLink&quot;: &quot;A String&quot;, # [Output only] Server-defined URL for the resource.
1914 &quot;servicesIpv4Cidr&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.
1915 &quot;shieldedNodes&quot;: { # Configuration of Shielded Nodes feature. # Shielded Nodes configuration.
1916 &quot;enabled&quot;: True or False, # Whether Shielded Nodes features are enabled on all nodes in this cluster.
1917 },
1918 &quot;status&quot;: &quot;A String&quot;, # [Output only] The current status of this cluster.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001919 &quot;statusMessage&quot;: &quot;A String&quot;, # [Output only] Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001920 &quot;subnetwork&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected. On output this shows the subnetwork ID instead of the name.
1921 &quot;tpuConfig&quot;: { # Configuration for Cloud TPU. # Configuration for Cloud TPU support;
1922 &quot;enabled&quot;: True or False, # Whether Cloud TPU integration is enabled or not.
1923 &quot;ipv4CidrBlock&quot;: &quot;A String&quot;, # IPv4 CIDR block reserved for Cloud TPU in the VPC.
1924 &quot;useServiceNetworking&quot;: True or False, # Whether to use service networking for Cloud TPU or not.
1925 },
1926 &quot;tpuIpv4CidrBlock&quot;: &quot;A String&quot;, # [Output only] The IP address range of the Cloud TPUs in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`).
1927 &quot;verticalPodAutoscaling&quot;: { # VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it. # Cluster-level Vertical Pod Autoscaling configuration.
1928 &quot;enabled&quot;: True or False, # Enables vertical pod autoscaling.
1929 },
yoshi-code-bot3dd15272021-04-21 15:07:48 -07001930 &quot;workloadCertificates&quot;: { # Configuration for issuance of mTLS keys and certificates to Kubernetes pods. # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
1931 &quot;enableCertificates&quot;: True or False, # enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).
1932 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001933 &quot;workloadIdentityConfig&quot;: { # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.
1934 &quot;identityNamespace&quot;: &quot;A String&quot;, # IAM Identity Namespace to attach all Kubernetes Service Accounts to.
1935 &quot;identityProvider&quot;: &quot;A String&quot;, # identity provider is the third party identity provider.
1936 &quot;workloadPool&quot;: &quot;A String&quot;, # The workload pool to attach all Kubernetes service accounts to.
1937 },
1938 &quot;zone&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.
1939 },
1940 ],
1941 &quot;missingZones&quot;: [ # If any zones are listed here, the list of clusters returned may be missing those zones.
1942 &quot;A String&quot;,
1943 ],
1944}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001945</div>
1946
1947<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07001948 <code class="details" id="setAddons">setAddons(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001949 <pre>Sets the addons for a specific cluster.
1950
1951Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07001952 name: string, The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07001953 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001954 The object takes the form of:
1955
1956{ # SetAddonsRequest sets the addons associated with the cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001957 &quot;addonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. # Required. The desired configurations for the various addons available to run in the cluster.
1958 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time.
1959 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
1960 &quot;loadBalancerType&quot;: &quot;A String&quot;, # Which load balancer type is installed for Cloud Run.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001961 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001962 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
1963 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
1964 },
1965 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
1966 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
1967 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08001968 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. # Configuration for the Compute Engine Persistent Disk CSI driver.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08001969 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
1970 },
1971 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods. # Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
1972 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
1973 },
1974 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster. # Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
1975 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
1976 },
1977 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure microservices.
1978 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
1979 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
1980 },
1981 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s applications.
1982 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
1983 },
1984 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
1985 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
1986 },
1987 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes. # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
1988 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
1989 },
1990 },
1991 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
1992 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`.
1993 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
1994 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
1995}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07001996
1997 x__xgafv: string, V1 error format.
1998 Allowed values
1999 1 - v1 error format
2000 2 - v2 error format
2001
2002Returns:
2003 An object of the form:
2004
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002005 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002006 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2007 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2008 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2009 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2010 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2011 },
2012 ],
2013 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2014 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2015 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2016 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2017 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2018 {
2019 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002020 },
2021 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002022 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2023 },
2024 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2025 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2026 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2027 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2028 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2029 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2030 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002031 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002032 ],
2033 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2034 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2035 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2036 { # Progress metric is (string, int|float|string) pair.
2037 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2038 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2039 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2040 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002041 },
2042 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002043 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2044 &quot;stages&quot;: [ # Substages of an operation or a stage.
2045 # Object with schema name: OperationProgress
2046 ],
2047 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2048 },
2049 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2050 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2051 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2052 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2053 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2054 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2055}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002056</div>
2057
2058<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002059 <code class="details" id="setLegacyAbac">setLegacyAbac(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002060 <pre>Enables or disables the ABAC authorization mechanism on a cluster.
2061
2062Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002063 name: string, The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002064 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002065 The object takes the form of:
2066
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002067{ # SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002068 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.
2069 &quot;enabled&quot;: True or False, # Required. Whether ABAC authorization will be enabled in the cluster.
2070 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.
2071 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
2072 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
2073}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002074
2075 x__xgafv: string, V1 error format.
2076 Allowed values
2077 1 - v1 error format
2078 2 - v2 error format
2079
2080Returns:
2081 An object of the form:
2082
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002083 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002084 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2085 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2086 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2087 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2088 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2089 },
2090 ],
2091 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2092 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2093 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2094 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2095 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2096 {
2097 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002098 },
2099 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002100 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2101 },
2102 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2103 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2104 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2105 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2106 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2107 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2108 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002109 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002110 ],
2111 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2112 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2113 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2114 { # Progress metric is (string, int|float|string) pair.
2115 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2116 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2117 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2118 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002119 },
2120 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002121 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2122 &quot;stages&quot;: [ # Substages of an operation or a stage.
2123 # Object with schema name: OperationProgress
2124 ],
2125 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2126 },
2127 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2128 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2129 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2130 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2131 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2132 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2133}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002134</div>
2135
2136<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002137 <code class="details" id="setLocations">setLocations(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002138 <pre>Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002139
2140Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002141 name: string, The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002142 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002143 The object takes the form of:
2144
2145{ # SetLocationsRequest sets the locations of the cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002146 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
2147 &quot;locations&quot;: [ # Required. The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster&#x27;s nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster&#x27;s primary zone.
2148 &quot;A String&quot;,
2149 ],
2150 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`.
2151 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
2152 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
2153}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002154
2155 x__xgafv: string, V1 error format.
2156 Allowed values
2157 1 - v1 error format
2158 2 - v2 error format
2159
2160Returns:
2161 An object of the form:
2162
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002163 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002164 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2165 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2166 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2167 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2168 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2169 },
2170 ],
2171 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2172 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2173 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2174 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2175 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2176 {
2177 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002178 },
2179 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002180 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2181 },
2182 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2183 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2184 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2185 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2186 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2187 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2188 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002189 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002190 ],
2191 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2192 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2193 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2194 { # Progress metric is (string, int|float|string) pair.
2195 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2196 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2197 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2198 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002199 },
2200 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002201 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2202 &quot;stages&quot;: [ # Substages of an operation or a stage.
2203 # Object with schema name: OperationProgress
2204 ],
2205 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2206 },
2207 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2208 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2209 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2210 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2211 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2212 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2213}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002214</div>
2215
2216<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002217 <code class="details" id="setLogging">setLogging(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002218 <pre>Sets the logging service for a specific cluster.
2219
2220Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002221 name: string, The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002222 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002223 The object takes the form of:
2224
2225{ # SetLoggingServiceRequest sets the logging service of a cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002226 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
2227 &quot;loggingService&quot;: &quot;A String&quot;, # Required. The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
2228 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`.
2229 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
2230 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
2231}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002232
2233 x__xgafv: string, V1 error format.
2234 Allowed values
2235 1 - v1 error format
2236 2 - v2 error format
2237
2238Returns:
2239 An object of the form:
2240
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002241 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002242 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2243 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2244 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2245 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2246 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2247 },
2248 ],
2249 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2250 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2251 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2252 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2253 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2254 {
2255 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002256 },
2257 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002258 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2259 },
2260 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2261 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2262 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2263 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2264 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2265 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2266 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002267 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002268 ],
2269 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2270 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2271 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2272 { # Progress metric is (string, int|float|string) pair.
2273 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2274 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2275 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2276 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002277 },
2278 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002279 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2280 &quot;stages&quot;: [ # Substages of an operation or a stage.
2281 # Object with schema name: OperationProgress
2282 ],
2283 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2284 },
2285 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2286 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2287 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2288 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2289 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2290 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2291}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002292</div>
2293
2294<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002295 <code class="details" id="setMaintenancePolicy">setMaintenancePolicy(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002296 <pre>Sets the maintenance policy for a cluster.
2297
2298Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002299 name: string, The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002300 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002301 The object takes the form of:
2302
2303{ # SetMaintenancePolicyRequest sets the maintenance policy for a cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002304 &quot;clusterId&quot;: &quot;A String&quot;, # Required. The name of the cluster to update.
2305 &quot;maintenancePolicy&quot;: { # MaintenancePolicy defines the maintenance policy to be used for the cluster. # Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy.
2306 &quot;resourceVersion&quot;: &quot;A String&quot;, # A hash identifying the version of this policy, so that updates to fields of the policy won&#x27;t accidentally undo intermediate changes (and so that users of the API unaware of some fields won&#x27;t accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.
2307 &quot;window&quot;: { # MaintenanceWindow defines the maintenance window to be used for the cluster. # Specifies the maintenance window in which maintenance may be performed.
2308 &quot;dailyMaintenanceWindow&quot;: { # Time window specified for daily maintenance operations. # DailyMaintenanceWindow specifies a daily maintenance operation window.
2309 &quot;duration&quot;: &quot;A String&quot;, # [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario.
2310 &quot;startTime&quot;: &quot;A String&quot;, # Time within the maintenance window to start the maintenance operations. It must be in format &quot;HH:MM&quot;, where HH : [00-23] and MM : [00-59] GMT.
2311 },
2312 &quot;maintenanceExclusions&quot;: { # Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.
2313 &quot;a_key&quot;: { # Represents an arbitrary window of time.
2314 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the start time.
2315 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
Dan O'Mearadd494642020-05-01 07:42:23 -07002316 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002317 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002318 &quot;recurringWindow&quot;: { # Represents an arbitrary window of time that recurs. # RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time.
2319 &quot;recurrence&quot;: &quot;A String&quot;, # An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you&#x27;d use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you&#x27;d use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA ``` Note the start and end time&#x27;s specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
2320 &quot;window&quot;: { # Represents an arbitrary window of time. # The window of the first recurrence.
2321 &quot;endTime&quot;: &quot;A String&quot;, # The time that the window ends. The end time should take place after the start time.
2322 &quot;startTime&quot;: &quot;A String&quot;, # The time that the window first starts.
2323 },
2324 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002325 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002326 },
2327 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.
2328 &quot;projectId&quot;: &quot;A String&quot;, # Required. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).
2329 &quot;zone&quot;: &quot;A String&quot;, # Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.
2330}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002331
2332 x__xgafv: string, V1 error format.
2333 Allowed values
2334 1 - v1 error format
2335 2 - v2 error format
2336
2337Returns:
2338 An object of the form:
2339
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002340 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002341 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2342 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2343 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2344 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2345 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2346 },
2347 ],
2348 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2349 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2350 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2351 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2352 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2353 {
2354 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002355 },
2356 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002357 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2358 },
2359 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2360 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2361 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2362 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2363 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2364 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2365 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002366 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002367 ],
2368 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2369 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2370 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2371 { # Progress metric is (string, int|float|string) pair.
2372 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2373 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2374 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2375 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002376 },
2377 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002378 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2379 &quot;stages&quot;: [ # Substages of an operation or a stage.
2380 # Object with schema name: OperationProgress
2381 ],
2382 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2383 },
2384 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2385 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2386 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2387 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2388 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2389 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2390}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002391</div>
2392
2393<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002394 <code class="details" id="setMasterAuth">setMasterAuth(name, body=None, x__xgafv=None)</code>
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002395 <pre>Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002396
2397Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002398 name: string, The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002399 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002400 The object takes the form of:
2401
2402{ # SetMasterAuthRequest updates the admin password of a cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002403 &quot;action&quot;: &quot;A String&quot;, # Required. The exact form of action to be taken on the master auth.
2404 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
2405 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.
2406 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
2407 &quot;update&quot;: { # The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates. # Required. A description of the update.
2408 &quot;clientCertificate&quot;: &quot;A String&quot;, # [Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.
2409 &quot;clientCertificateConfig&quot;: { # Configuration for client certificates on the cluster. # Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued.
2410 &quot;issueClientCertificate&quot;: True or False, # Issue a client certificate.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002411 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002412 &quot;clientKey&quot;: &quot;A String&quot;, # [Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.
2413 &quot;clusterCaCertificate&quot;: &quot;A String&quot;,
2414 &quot;password&quot;: &quot;A String&quot;, # The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
2415 &quot;username&quot;: &quot;A String&quot;, # The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication
2416 },
2417 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
2418}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002419
2420 x__xgafv: string, V1 error format.
2421 Allowed values
2422 1 - v1 error format
2423 2 - v2 error format
2424
2425Returns:
2426 An object of the form:
2427
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002428 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002429 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2430 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2431 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2432 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2433 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2434 },
2435 ],
2436 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2437 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2438 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2439 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2440 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2441 {
2442 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002443 },
2444 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002445 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2446 },
2447 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2448 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2449 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2450 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2451 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2452 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2453 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002454 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002455 ],
2456 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2457 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2458 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2459 { # Progress metric is (string, int|float|string) pair.
2460 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2461 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2462 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2463 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002464 },
2465 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002466 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2467 &quot;stages&quot;: [ # Substages of an operation or a stage.
2468 # Object with schema name: OperationProgress
2469 ],
2470 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2471 },
2472 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2473 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2474 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2475 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2476 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2477 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2478}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002479</div>
2480
2481<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002482 <code class="details" id="setMonitoring">setMonitoring(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002483 <pre>Sets the monitoring service for a specific cluster.
2484
2485Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002486 name: string, The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002487 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002488 The object takes the form of:
2489
2490{ # SetMonitoringServiceRequest sets the monitoring service of a cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002491 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
2492 &quot;monitoringService&quot;: &quot;A String&quot;, # Required. The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
2493 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.
2494 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
2495 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
2496}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002497
2498 x__xgafv: string, V1 error format.
2499 Allowed values
2500 1 - v1 error format
2501 2 - v2 error format
2502
2503Returns:
2504 An object of the form:
2505
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002506 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002507 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2508 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2509 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2510 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2511 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2512 },
2513 ],
2514 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2515 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2516 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2517 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2518 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2519 {
2520 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002521 },
2522 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002523 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2524 },
2525 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2526 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2527 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2528 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2529 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2530 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2531 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002532 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002533 ],
2534 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2535 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2536 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2537 { # Progress metric is (string, int|float|string) pair.
2538 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2539 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2540 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2541 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002542 },
2543 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002544 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2545 &quot;stages&quot;: [ # Substages of an operation or a stage.
2546 # Object with schema name: OperationProgress
2547 ],
2548 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2549 },
2550 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2551 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2552 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2553 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2554 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2555 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2556}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002557</div>
2558
2559<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002560 <code class="details" id="setNetworkPolicy">setNetworkPolicy(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002561 <pre>Enables or disables Network Policy for a cluster.
2562
2563Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002564 name: string, The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002565 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002566 The object takes the form of:
2567
2568{ # SetNetworkPolicyRequest enables/disables network policy for a cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002569 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
2570 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.
2571 &quot;networkPolicy&quot;: { # Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/ # Required. Configuration options for the NetworkPolicy feature.
2572 &quot;enabled&quot;: True or False, # Whether network policy is enabled on the cluster.
2573 &quot;provider&quot;: &quot;A String&quot;, # The selected network policy provider.
2574 },
2575 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.
2576 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
2577}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002578
2579 x__xgafv: string, V1 error format.
2580 Allowed values
2581 1 - v1 error format
2582 2 - v2 error format
2583
2584Returns:
2585 An object of the form:
2586
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002587 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002588 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2589 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2590 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2591 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2592 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2593 },
2594 ],
2595 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2596 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2597 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2598 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2599 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2600 {
2601 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002602 },
2603 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002604 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2605 },
2606 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2607 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2608 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2609 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2610 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2611 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2612 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002613 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002614 ],
2615 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2616 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2617 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2618 { # Progress metric is (string, int|float|string) pair.
2619 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2620 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2621 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2622 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002623 },
2624 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002625 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2626 &quot;stages&quot;: [ # Substages of an operation or a stage.
2627 # Object with schema name: OperationProgress
2628 ],
2629 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2630 },
2631 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2632 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2633 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2634 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2635 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2636 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2637}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002638</div>
2639
2640<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002641 <code class="details" id="setResourceLabels">setResourceLabels(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002642 <pre>Sets labels on a cluster.
2643
2644Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002645 name: string, The name (project, location, cluster id) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002646 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002647 The object takes the form of:
2648
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002649{ # SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002650 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
2651 &quot;labelFingerprint&quot;: &quot;A String&quot;, # Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a `get()` request to the resource to get the latest fingerprint.
2652 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.
2653 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.
2654 &quot;resourceLabels&quot;: { # Required. The labels to set for that cluster.
2655 &quot;a_key&quot;: &quot;A String&quot;,
2656 },
2657 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
2658}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002659
2660 x__xgafv: string, V1 error format.
2661 Allowed values
2662 1 - v1 error format
2663 2 - v2 error format
2664
2665Returns:
2666 An object of the form:
2667
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002668 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002669 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2670 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2671 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2672 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2673 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2674 },
2675 ],
2676 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2677 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2678 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2679 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2680 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2681 {
2682 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002683 },
2684 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002685 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2686 },
2687 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2688 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2689 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2690 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2691 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2692 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2693 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002694 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002695 ],
2696 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2697 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2698 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2699 { # Progress metric is (string, int|float|string) pair.
2700 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2701 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2702 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2703 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002704 },
2705 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002706 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2707 &quot;stages&quot;: [ # Substages of an operation or a stage.
2708 # Object with schema name: OperationProgress
2709 ],
2710 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2711 },
2712 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2713 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2714 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2715 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2716 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2717 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2718}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002719</div>
2720
2721<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002722 <code class="details" id="startIpRotation">startIpRotation(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002723 <pre>Starts master IP rotation.
2724
2725Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002726 name: string, The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002727 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002728 The object takes the form of:
2729
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002730{ # StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002731 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.
2732 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.
2733 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber). This field has been deprecated and replaced by the name field.
2734 &quot;rotateCredentials&quot;: True or False, # Whether to rotate credentials during IP rotation.
2735 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
2736}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002737
2738 x__xgafv: string, V1 error format.
2739 Allowed values
2740 1 - v1 error format
2741 2 - v2 error format
2742
2743Returns:
2744 An object of the form:
2745
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002746 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002747 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
2748 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2749 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2750 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2751 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
2752 },
2753 ],
2754 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
2755 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2756 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
2757 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
2758 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
2759 {
2760 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002761 },
2762 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002763 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
2764 },
2765 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
2766 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
2767 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
2768 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
2769 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
2770 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
2771 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002772 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002773 ],
2774 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
2775 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
2776 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
2777 { # Progress metric is (string, int|float|string) pair.
2778 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
2779 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
2780 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
2781 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002782 },
2783 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002784 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
2785 &quot;stages&quot;: [ # Substages of an operation or a stage.
2786 # Object with schema name: OperationProgress
2787 ],
2788 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
2789 },
2790 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
2791 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2792 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
2793 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
2794 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
2795 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
2796}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002797</div>
2798
2799<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07002800 <code class="details" id="update">update(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002801 <pre>Updates the settings for a specific cluster.
2802
2803Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07002804 name: string, The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07002805 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002806 The object takes the form of:
2807
2808{ # UpdateClusterRequest updates the settings of a cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002809 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
2810 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.
2811 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
2812 &quot;update&quot;: { # ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided. # Required. A description of the update.
2813 &quot;desiredAddonsConfig&quot;: { # Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality. # Configurations for the various addons available to run in the cluster.
2814 &quot;cloudRunConfig&quot;: { # Configuration options for the Cloud Run feature. # Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time.
2815 &quot;disabled&quot;: True or False, # Whether Cloud Run addon is enabled for this cluster.
2816 &quot;loadBalancerType&quot;: &quot;A String&quot;, # Which load balancer type is installed for Cloud Run.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08002817 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002818 &quot;configConnectorConfig&quot;: { # Configuration options for the Config Connector add-on. # Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted GCP services through the Kubernetes API
2819 &quot;enabled&quot;: True or False, # Whether Cloud Connector is enabled for this cluster.
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002820 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002821 &quot;dnsCacheConfig&quot;: { # Configuration for NodeLocal DNSCache # Configuration for NodeLocalDNS, a dns cache running on cluster nodes
2822 &quot;enabled&quot;: True or False, # Whether NodeLocal DNSCache is enabled for this cluster.
Bu Sun Kim673ec5c2020-11-16 11:05:03 -07002823 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002824 &quot;gcePersistentDiskCsiDriverConfig&quot;: { # Configuration for the Compute Engine PD CSI driver. # Configuration for the Compute Engine Persistent Disk CSI driver.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002825 &quot;enabled&quot;: True or False, # Whether the Compute Engine PD CSI driver is enabled for this cluster.
Yoshi Automation Botc2228be2020-11-24 15:48:03 -08002826 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002827 &quot;horizontalPodAutoscaling&quot;: { # Configuration options for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods. # Configuration for the horizontal pod autoscaling feature, which increases or decreases the number of replica pods a replication controller has based on the resource usage of the existing pods.
2828 &quot;disabled&quot;: True or False, # Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002829 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002830 &quot;httpLoadBalancing&quot;: { # Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster. # Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.
2831 &quot;disabled&quot;: True or False, # Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002832 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002833 &quot;istioConfig&quot;: { # Configuration options for Istio addon. # Configuration for Istio, an open platform to connect, manage, and secure microservices.
2834 &quot;auth&quot;: &quot;A String&quot;, # The specified Istio auth mode, either none, or mutual TLS.
2835 &quot;disabled&quot;: True or False, # Whether Istio is enabled for this cluster.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002836 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002837 &quot;kalmConfig&quot;: { # Configuration options for the KALM addon. # Configuration for the KALM addon, which manages the lifecycle of k8s applications.
2838 &quot;enabled&quot;: True or False, # Whether KALM is enabled for this cluster.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002839 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002840 &quot;kubernetesDashboard&quot;: { # Configuration for the Kubernetes Dashboard. # Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards
2841 &quot;disabled&quot;: True or False, # Whether the Kubernetes Dashboard is enabled for this cluster.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002842 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002843 &quot;networkPolicyConfig&quot;: { # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes. # Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.
2844 &quot;disabled&quot;: True or False, # Whether NetworkPolicy is enabled for this cluster.
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08002845 },
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07002846 },
yoshi-code-bota933dad2021-07-06 00:26:24 -07002847 &quot;desiredAuthenticatorGroupsConfig&quot;: { # Configuration for returning group information from authenticators. # AuthenticatorGroupsConfig specifies the config for the cluster security groups settings.
2848 &quot;enabled&quot;: True or False, # Whether this cluster should return group membership lookups during authentication using a group of security groups.
2849 &quot;securityGroup&quot;: &quot;A String&quot;, # The name of the security group-of-groups to be used. Only relevant if enabled = true.
2850 },
yoshi-code-bot9e2cde22021-04-29 03:48:05 -07002851 &quot;desiredAutopilot&quot;: { # Autopilot is the configuration for Autopilot settings on the cluster. # The desired Autopilot configuration for the cluster.
2852 &quot;enabled&quot;: True or False, # Enable Autopilot
2853 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002854 &quot;desiredBinaryAuthorization&quot;: { # Configuration for Binary Authorization. # The desired configuration options for the Binary Authorization feature.
2855 &quot;enabled&quot;: True or False, # Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Google Binauthz.
2856 },
2857 &quot;desiredClusterAutoscaling&quot;: { # ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs. # Cluster-level autoscaling configuration.
2858 &quot;autoprovisioningLocations&quot;: [ # The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool&#x27;s nodes can be created by NAP.
2859 &quot;A String&quot;,
2860 ],
2861 &quot;autoprovisioningNodePoolDefaults&quot;: { # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP. # AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.
2862 &quot;bootDiskKmsKey&quot;: &quot;A String&quot;, # The Customer Managed Encryption Key used to encrypt the boot disk attached to each node in the node pool. This should be of the form projects/[KEY_PROJECT_ID]/locations/[LOCATION]/keyRings/[RING_NAME]/cryptoKeys/[KEY_NAME]. For more information about protecting resources with Cloud KMS Keys please see: https://cloud.google.com/compute/docs/disks/customer-managed-encryption
2863 &quot;diskSizeGb&quot;: 42, # Size of the disk attached to each node, specified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002864 &quot;diskType&quot;: &quot;A String&quot;, # Type of the disk attached to each node (e.g. &#x27;pd-standard&#x27;, &#x27;pd-ssd&#x27; or &#x27;pd-balanced&#x27;) If unspecified, the default disk type is &#x27;pd-standard&#x27;
yoshi-code-bot87595382021-06-05 00:38:05 -07002865 &quot;imageType&quot;: &quot;A String&quot;, # The image type to use for NAP created node.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002866 &quot;management&quot;: { # NodeManagement defines the set of node management services turned on for the node pool. # NodeManagement configuration for this NodePool.
2867 &quot;autoRepair&quot;: True or False, # Whether the nodes will be automatically repaired.
2868 &quot;autoUpgrade&quot;: True or False, # Whether the nodes will be automatically upgraded.
2869 &quot;upgradeOptions&quot;: { # AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed. # Specifies the Auto Upgrade knobs for the node pool.
2870 &quot;autoUpgradeStartTime&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
2871 &quot;description&quot;: &quot;A String&quot;, # [Output only] This field is set when upgrades are about to commence with the description of the upgrade.
2872 },
2873 },
2874 &quot;minCpuPlatform&quot;: &quot;A String&quot;, # Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: &quot;Intel Haswell&quot;` or `minCpuPlatform: &quot;Intel Sandy Bridge&quot;`. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform) To unset the min cpu platform field pass &quot;automatic&quot; as field value.
2875 &quot;oauthScopes&quot;: [ # The set of Google API scopes to be made available on all of the node VMs under the &quot;default&quot; service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](https://cloud.google.com/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.
2876 &quot;A String&quot;,
2877 ],
2878 &quot;serviceAccount&quot;: &quot;A String&quot;, # The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the &quot;default&quot; service account is used.
2879 &quot;shieldedInstanceConfig&quot;: { # A set of Shielded Instance options. # Shielded Instance options.
2880 &quot;enableIntegrityMonitoring&quot;: True or False, # Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.
2881 &quot;enableSecureBoot&quot;: True or False, # Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.
2882 },
yoshi-code-bot87595382021-06-05 00:38:05 -07002883 &quot;upgradeSettings&quot;: { # Upgrade settings control disruption and speed of the upgrade.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002884 &quot;maxSurge&quot;: 42, # The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.
2885 &quot;maxUnavailable&quot;: 42, # The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.
2886 },
2887 },
2888 &quot;autoscalingProfile&quot;: &quot;A String&quot;, # Defines autoscaling behaviour.
2889 &quot;enableNodeAutoprovisioning&quot;: True or False, # Enables automatic node pool creation and deletion.
2890 &quot;resourceLimits&quot;: [ # Contains global constraints regarding minimum and maximum amount of resources in the cluster.
2891 { # Contains information about amount of some resource in the cluster. For memory, value should be in GB.
2892 &quot;maximum&quot;: &quot;A String&quot;, # Maximum amount of the resource in the cluster.
2893 &quot;minimum&quot;: &quot;A String&quot;, # Minimum amount of the resource in the cluster.
2894 &quot;resourceType&quot;: &quot;A String&quot;, # Resource name &quot;cpu&quot;, &quot;memory&quot; or gpu-specific string.
2895 },
2896 ],
2897 },
2898 &quot;desiredClusterTelemetry&quot;: { # Telemetry integration for the cluster. # The desired telemetry integration for the cluster.
2899 &quot;type&quot;: &quot;A String&quot;, # Type of the integration.
2900 },
2901 &quot;desiredDatabaseEncryption&quot;: { # Configuration of etcd encryption. # Configuration of etcd encryption.
2902 &quot;keyName&quot;: &quot;A String&quot;, # Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key
2903 &quot;state&quot;: &quot;A String&quot;, # Denotes the state of etcd encryption.
2904 },
2905 &quot;desiredDatapathProvider&quot;: &quot;A String&quot;, # The desired datapath provider for the cluster.
2906 &quot;desiredDefaultSnatStatus&quot;: { # DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster. # The desired status of whether to disable default sNAT for this cluster.
2907 &quot;disabled&quot;: True or False, # Disables cluster default sNAT rules.
2908 },
yoshi-code-botc2cd3262021-05-16 02:16:04 -07002909 &quot;desiredDnsConfig&quot;: { # DNSConfig contains the desired set of options for configuring clusterDNS. # DNSConfig contains clusterDNS config for this cluster.
2910 &quot;clusterDns&quot;: &quot;A String&quot;, # cluster_dns indicates which in-cluster DNS provider should be used.
2911 &quot;clusterDnsDomain&quot;: &quot;A String&quot;, # cluster_dns_domain is the suffix used for all cluster service records.
2912 &quot;clusterDnsScope&quot;: &quot;A String&quot;, # cluster_dns_scope indicates the scope of access to cluster DNS records.
2913 },
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07002914 &quot;desiredIdentityServiceConfig&quot;: { # IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API # The desired Identity Service component configuration.
2915 &quot;enabled&quot;: True or False, # Whether to enable the Identity Service component
2916 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002917 &quot;desiredImageType&quot;: &quot;A String&quot;, # The desired image type for the node pool. NOTE: Set the &quot;desired_node_pool&quot; field as well.
2918 &quot;desiredIntraNodeVisibilityConfig&quot;: { # IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster. # The desired config of Intra-node visibility.
2919 &quot;enabled&quot;: True or False, # Enables intra node visibility for this cluster.
2920 },
yoshi-code-bota8b35b92021-03-31 13:33:30 -07002921 &quot;desiredL4ilbSubsettingConfig&quot;: { # ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster. # The desired L4 Internal Load Balancer Subsetting configuration.
2922 &quot;enabled&quot;: True or False, # Enables l4 ILB subsetting for this cluster
2923 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002924 &quot;desiredLocations&quot;: [ # The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster&#x27;s nodes should be located. This list must always include the cluster&#x27;s primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.
2925 &quot;A String&quot;,
2926 ],
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07002927 &quot;desiredLoggingConfig&quot;: { # LoggingConfig is cluster logging configuration. # The desired logging configuration.
2928 &quot;componentConfig&quot;: { # LoggingComponentConfig is cluster logging component configuration. # Logging components configuration
2929 &quot;enableComponents&quot;: [ # Select components to collect logs. An empty set would disable all logging.
2930 &quot;A String&quot;,
2931 ],
2932 },
2933 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002934 &quot;desiredLoggingService&quot;: &quot;A String&quot;, # The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.
2935 &quot;desiredMaster&quot;: { # Master is the configuration for components on master. # Configuration for master components.
2936 },
2937 &quot;desiredMasterAuthorizedNetworksConfig&quot;: { # Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs. # The desired configuration options for master authorized networks feature.
2938 &quot;cidrBlocks&quot;: [ # cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
2939 { # CidrBlock contains an optional name and one CIDR block.
2940 &quot;cidrBlock&quot;: &quot;A String&quot;, # cidr_block must be specified in CIDR notation.
2941 &quot;displayName&quot;: &quot;A String&quot;, # display_name is an optional field for users to identify CIDR blocks.
2942 },
2943 ],
2944 &quot;enabled&quot;: True or False, # Whether or not master authorized networks is enabled.
2945 },
2946 &quot;desiredMasterVersion&quot;: &quot;A String&quot;, # The Kubernetes version to change the master to. The only valid value is the latest supported version. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - &quot;latest&quot;: picks the highest valid Kubernetes version - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version - &quot;-&quot;: picks the default Kubernetes version
yoshi-code-bot3e4b5db2021-08-10 00:22:29 -07002947 &quot;desiredMonitoringConfig&quot;: { # MonitoringConfig is cluster monitoring configuration. # The desired monitoring configuration.
2948 &quot;componentConfig&quot;: { # MonitoringComponentConfig is cluster monitoring component configuration. # Monitoring components configuration
2949 &quot;enableComponents&quot;: [ # Select components to collect metrics. An empty set would disable all monitoring.
2950 &quot;A String&quot;,
2951 ],
2952 },
2953 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002954 &quot;desiredMonitoringService&quot;: &quot;A String&quot;, # The monitoring service the cluster should use to write metrics. Currently available options: * &quot;monitoring.googleapis.com/kubernetes&quot; - The Cloud Monitoring service with a Kubernetes-native resource model * `monitoring.googleapis.com` - The legacy Cloud Monitoring service (no longer available as of GKE 1.15). * `none` - No metrics will be exported from the cluster. If left as an empty string,`monitoring.googleapis.com/kubernetes` will be used for GKE 1.14+ or `monitoring.googleapis.com` for earlier versions.
2955 &quot;desiredNodePoolAutoscaling&quot;: { # NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage. # Autoscaler configuration for the node pool specified in desired_node_pool_id. If there is only one pool in the cluster and desired_node_pool_id is not provided then the change applies to that single node pool.
2956 &quot;autoprovisioned&quot;: True or False, # Can this node pool be deleted automatically.
2957 &quot;enabled&quot;: True or False, # Is autoscaling enabled for this node pool.
yoshi-code-bot07708072021-07-20 00:20:24 -07002958 &quot;maxNodeCount&quot;: 42, # Maximum number of nodes in the NodePool. Must be &gt;= min_node_count. There has to be enough quota to scale up the cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002959 &quot;minNodeCount&quot;: 42, # Minimum number of nodes in the NodePool. Must be &gt;= 1 and &lt;= max_node_count.
2960 },
2961 &quot;desiredNodePoolId&quot;: &quot;A String&quot;, # The node pool to be upgraded. This field is mandatory if &quot;desired_node_version&quot;, &quot;desired_image_family&quot;, &quot;desired_node_pool_autoscaling&quot;, or &quot;desired_workload_metadata_config&quot; is specified and there is more than one node pool on the cluster.
2962 &quot;desiredNodeVersion&quot;: &quot;A String&quot;, # The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - &quot;latest&quot;: picks the highest valid Kubernetes version - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version - &quot;-&quot;: picks the Kubernetes master version
2963 &quot;desiredNotificationConfig&quot;: { # NotificationConfig is the configuration of notifications. # The desired notification configuration.
2964 &quot;pubsub&quot;: { # Pub/Sub specific notification config. # Notification config for Pub/Sub.
2965 &quot;enabled&quot;: True or False, # Enable notifications for Pub/Sub.
2966 &quot;topic&quot;: &quot;A String&quot;, # The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`.
2967 },
2968 },
2969 &quot;desiredPodSecurityPolicyConfig&quot;: { # Configuration for the PodSecurityPolicy feature. # The desired configuration options for the PodSecurityPolicy feature.
2970 &quot;enabled&quot;: True or False, # Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.
2971 },
2972 &quot;desiredPrivateClusterConfig&quot;: { # Configuration options for private clusters. # The desired private cluster configuration.
2973 &quot;enablePrivateEndpoint&quot;: True or False, # Whether the master&#x27;s internal IP address is used as the cluster endpoint.
2974 &quot;enablePrivateNodes&quot;: True or False, # Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking.
2975 &quot;masterGlobalAccessConfig&quot;: { # Configuration for controlling master global access settings. # Controls master global access settings.
2976 &quot;enabled&quot;: True or False, # Whenever master is accessible globally or not.
2977 },
2978 &quot;masterIpv4CidrBlock&quot;: &quot;A String&quot;, # The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster&#x27;s network.
2979 &quot;peeringName&quot;: &quot;A String&quot;, # Output only. The peering name in the customer VPC used by this cluster.
2980 &quot;privateEndpoint&quot;: &quot;A String&quot;, # Output only. The internal IP address of this cluster&#x27;s master endpoint.
2981 &quot;publicEndpoint&quot;: &quot;A String&quot;, # Output only. The external IP address of this cluster&#x27;s master endpoint.
2982 },
yoshi-code-botb6dc1b92021-03-02 11:49:08 -08002983 &quot;desiredPrivateIpv6GoogleAccess&quot;: &quot;A String&quot;, # The desired state of IPv6 connectivity to Google Services.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002984 &quot;desiredReleaseChannel&quot;: { # ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled. # The desired release channel configuration.
2985 &quot;channel&quot;: &quot;A String&quot;, # channel specifies which release channel the cluster is subscribed to.
2986 },
2987 &quot;desiredResourceUsageExportConfig&quot;: { # Configuration for exporting cluster resource usages. # The desired configuration for exporting resource usage.
2988 &quot;bigqueryDestination&quot;: { # Parameters for using BigQuery as the destination of resource usage export. # Configuration to use BigQuery as usage export destination.
2989 &quot;datasetId&quot;: &quot;A String&quot;, # The ID of a BigQuery Dataset.
2990 },
2991 &quot;consumptionMeteringConfig&quot;: { # Parameters for controlling consumption metering. # Configuration to enable resource consumption metering.
2992 &quot;enabled&quot;: True or False, # Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records.
2993 },
2994 &quot;enableNetworkEgressMetering&quot;: True or False, # Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.
2995 },
yoshi-code-bot1a4514d2021-07-13 00:20:24 -07002996 &quot;desiredServiceExternalIpsConfig&quot;: { # Config to block services with externalIPs field. # ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field.
2997 &quot;enabled&quot;: True or False, # Whether Services with ExternalIPs field are allowed or not.
2998 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08002999 &quot;desiredShieldedNodes&quot;: { # Configuration of Shielded Nodes feature. # Configuration for Shielded Nodes.
3000 &quot;enabled&quot;: True or False, # Whether Shielded Nodes features are enabled on all nodes in this cluster.
3001 },
3002 &quot;desiredTpuConfig&quot;: { # Configuration for Cloud TPU. # The desired Cloud TPU configuration.
3003 &quot;enabled&quot;: True or False, # Whether Cloud TPU integration is enabled or not.
3004 &quot;ipv4CidrBlock&quot;: &quot;A String&quot;, # IPv4 CIDR block reserved for Cloud TPU in the VPC.
3005 &quot;useServiceNetworking&quot;: True or False, # Whether to use service networking for Cloud TPU or not.
3006 },
3007 &quot;desiredVerticalPodAutoscaling&quot;: { # VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it. # Cluster-level Vertical Pod Autoscaling configuration.
3008 &quot;enabled&quot;: True or False, # Enables vertical pod autoscaling.
3009 },
yoshi-code-bot3dd15272021-04-21 15:07:48 -07003010 &quot;desiredWorkloadCertificates&quot;: { # Configuration for issuance of mTLS keys and certificates to Kubernetes pods. # Configuration for issuance of mTLS keys and certificates to Kubernetes pods.
3011 &quot;enableCertificates&quot;: True or False, # enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).
3012 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003013 &quot;desiredWorkloadIdentityConfig&quot;: { # Configuration for the use of Kubernetes Service Accounts in GCP IAM policies. # Configuration for Workload Identity.
3014 &quot;identityNamespace&quot;: &quot;A String&quot;, # IAM Identity Namespace to attach all Kubernetes Service Accounts to.
3015 &quot;identityProvider&quot;: &quot;A String&quot;, # identity provider is the third party identity provider.
3016 &quot;workloadPool&quot;: &quot;A String&quot;, # The workload pool to attach all Kubernetes service accounts to.
3017 },
3018 },
3019 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
3020}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003021
3022 x__xgafv: string, V1 error format.
3023 Allowed values
3024 1 - v1 error format
3025 2 - v2 error format
3026
3027Returns:
3028 An object of the form:
3029
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003030 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003031 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
3032 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
3033 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
3034 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
3035 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
3036 },
3037 ],
3038 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
3039 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3040 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
3041 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
3042 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
3043 {
3044 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003045 },
3046 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003047 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
3048 },
3049 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
3050 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
3051 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
3052 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
3053 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
3054 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
3055 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003056 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003057 ],
3058 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
3059 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
3060 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
3061 { # Progress metric is (string, int|float|string) pair.
3062 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
3063 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
3064 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
3065 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003066 },
3067 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003068 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
3069 &quot;stages&quot;: [ # Substages of an operation or a stage.
3070 # Object with schema name: OperationProgress
3071 ],
3072 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
3073 },
3074 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
3075 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3076 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
3077 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
3078 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
3079 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
3080}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003081</div>
3082
3083<div class="method">
Dan O'Mearadd494642020-05-01 07:42:23 -07003084 <code class="details" id="updateMaster">updateMaster(name, body=None, x__xgafv=None)</code>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003085 <pre>Updates the master for a specific cluster.
3086
3087Args:
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003088 name: string, The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`. (required)
Dan O'Mearadd494642020-05-01 07:42:23 -07003089 body: object, The request body.
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003090 The object takes the form of:
3091
3092{ # UpdateMasterRequest updates the master of the cluster.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003093 &quot;clusterId&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.
3094 &quot;masterVersion&quot;: &quot;A String&quot;, # Required. The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - &quot;latest&quot;: picks the highest valid Kubernetes version - &quot;1.X&quot;: picks the highest valid patch+gke.N patch in the 1.X version - &quot;1.X.Y&quot;: picks the highest valid gke.N patch in the 1.X.Y version - &quot;1.X.Y-gke.N&quot;: picks an explicit Kubernetes version - &quot;-&quot;: picks the default Kubernetes version
3095 &quot;name&quot;: &quot;A String&quot;, # The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.
3096 &quot;projectId&quot;: &quot;A String&quot;, # Required. Deprecated. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840). This field has been deprecated and replaced by the name field.
3097 &quot;zone&quot;: &quot;A String&quot;, # Required. Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field has been deprecated and replaced by the name field.
3098}
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003099
3100 x__xgafv: string, V1 error format.
3101 Allowed values
3102 1 - v1 error format
3103 2 - v2 error format
3104
3105Returns:
3106 An object of the form:
3107
Dmitry Frenkel3e17f892020-10-06 16:46:05 -07003108 { # This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003109 &quot;clusterConditions&quot;: [ # Which conditions caused the current cluster state. Deprecated. Use field error instead.
3110 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
3111 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
3112 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
3113 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
3114 },
3115 ],
3116 &quot;detail&quot;: &quot;A String&quot;, # Detailed operation progress, if available.
3117 &quot;endTime&quot;: &quot;A String&quot;, # [Output only] The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3118 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure.
3119 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
3120 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
3121 {
3122 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
Yoshi Automation Bot0d561ef2020-11-25 07:50:41 -08003123 },
3124 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003125 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
3126 },
3127 &quot;location&quot;: &quot;A String&quot;, # [Output only] The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.
3128 &quot;name&quot;: &quot;A String&quot;, # The server-assigned ID for the operation.
3129 &quot;nodepoolConditions&quot;: [ # Which conditions caused the current node pool state. Deprecated. Use field error instead.
3130 { # StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).
3131 &quot;canonicalCode&quot;: &quot;A String&quot;, # Canonical code of the condition.
3132 &quot;code&quot;: &quot;A String&quot;, # Machine-friendly representation of the condition Deprecated. Use canonical_code instead.
3133 &quot;message&quot;: &quot;A String&quot;, # Human-friendly representation of the condition
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08003134 },
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003135 ],
3136 &quot;operationType&quot;: &quot;A String&quot;, # The operation type.
3137 &quot;progress&quot;: { # Information about operation (or operation stage) progress. # Output only. [Output only] Progress information for an operation.
3138 &quot;metrics&quot;: [ # Progress metric bundle, for example: metrics: [{name: &quot;nodes done&quot;, int_value: 15}, {name: &quot;nodes total&quot;, int_value: 32}] or metrics: [{name: &quot;progress&quot;, double_value: 0.56}, {name: &quot;progress scale&quot;, double_value: 1.0}]
3139 { # Progress metric is (string, int|float|string) pair.
3140 &quot;doubleValue&quot;: 3.14, # For metrics with floating point value.
3141 &quot;intValue&quot;: &quot;A String&quot;, # For metrics with integer value.
3142 &quot;name&quot;: &quot;A String&quot;, # Required. Metric name, e.g., &quot;nodes total&quot;, &quot;percent done&quot;.
3143 &quot;stringValue&quot;: &quot;A String&quot;, # For metrics with custom values (ratios, visual progress, etc.).
Yoshi Automation Bot0bf565c2020-12-09 08:56:03 -08003144 },
3145 ],
Yoshi Automation Botcc94ec82021-01-15 07:10:04 -08003146 &quot;name&quot;: &quot;A String&quot;, # A non-parameterized string describing an operation stage. Unset for single-stage operations.
3147 &quot;stages&quot;: [ # Substages of an operation or a stage.
3148 # Object with schema name: OperationProgress
3149 ],
3150 &quot;status&quot;: &quot;A String&quot;, # Status of an operation stage. Unset for single-stage operations.
3151 },
3152 &quot;selfLink&quot;: &quot;A String&quot;, # Server-defined URL for the resource.
3153 &quot;startTime&quot;: &quot;A String&quot;, # [Output only] The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
3154 &quot;status&quot;: &quot;A String&quot;, # The current status of the operation.
3155 &quot;statusMessage&quot;: &quot;A String&quot;, # Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.
3156 &quot;targetLink&quot;: &quot;A String&quot;, # Server-defined URL for the target of the operation.
3157 &quot;zone&quot;: &quot;A String&quot;, # The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.
3158}</pre>
Bu Sun Kim715bd7f2019-06-14 16:50:42 -07003159</div>
3160
3161</body></html>