summaryrefslogtreecommitdiff
path: root/vendor/google.golang.org/api/container/v1/container-api.json
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/google.golang.org/api/container/v1/container-api.json')
-rw-r--r--vendor/google.golang.org/api/container/v1/container-api.json1069
1 files changed, 966 insertions, 103 deletions
diff --git a/vendor/google.golang.org/api/container/v1/container-api.json b/vendor/google.golang.org/api/container/v1/container-api.json
index cdd66cc0d..256998113 100644
--- a/vendor/google.golang.org/api/container/v1/container-api.json
+++ b/vendor/google.golang.org/api/container/v1/container-api.json
@@ -175,7 +175,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
@@ -207,7 +207,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -275,7 +275,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
@@ -315,7 +315,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
@@ -343,7 +343,7 @@
],
"parameters": {
"parent": {
- "description": "The cluster (project, location, cluster id) to get keys for. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The cluster (project, location, cluster name) to get keys for. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -372,7 +372,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
},
@@ -428,7 +428,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -512,7 +512,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -596,7 +596,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -624,7 +624,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -652,7 +652,7 @@
],
"parameters": {
"name": {
- "description": "The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -730,6 +730,34 @@
"resources": {
"nodePools": {
"methods": {
+ "completeUpgrade": {
+ "description": "CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.",
+ "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:completeUpgrade",
+ "httpMethod": "POST",
+ "id": "container.projects.locations.clusters.nodePools.completeUpgrade",
+ "parameterOrder": [
+ "name"
+ ],
+ "parameters": {
+ "name": {
+ "description": "The name (project, location, cluster, node pool id) of the node pool to complete upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
+ "location": "path",
+ "pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1/{+name}:completeUpgrade",
+ "request": {
+ "$ref": "CompleteNodePoolUpgradeRequest"
+ },
+ "response": {
+ "$ref": "Empty"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
+ },
"create": {
"description": "Creates a node pool for a cluster.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools",
@@ -740,7 +768,7 @@
],
"parameters": {
"parent": {
- "description": "The parent (project, location, cluster id) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -785,7 +813,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
@@ -830,7 +858,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
@@ -863,14 +891,14 @@
"type": "string"
},
"parent": {
- "description": "The parent (project, location, cluster id) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
- "description": "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 parent field.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
},
@@ -1042,7 +1070,7 @@
],
"parameters": {
"parent": {
- "description": "The cluster (project, location, cluster id) to get the discovery document for. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The cluster (project, location, cluster name) to get the discovery document for. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
@@ -1110,7 +1138,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
@@ -1145,7 +1173,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
},
@@ -1185,7 +1213,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1227,7 +1255,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1268,7 +1296,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1302,7 +1330,7 @@
],
"parameters": {
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
@@ -1348,7 +1376,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1391,7 +1419,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1429,7 +1457,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1468,7 +1496,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
@@ -1506,7 +1534,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1547,7 +1575,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1588,7 +1616,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1629,7 +1657,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1670,7 +1698,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1711,7 +1739,7 @@
"type": "string"
},
"projectId": {
- "description": "Required. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).",
+ "description": "Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).",
"location": "path",
"required": true,
"type": "string"
@@ -1752,7 +1780,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1793,7 +1821,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1834,7 +1862,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1875,7 +1903,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1927,7 +1955,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -1968,7 +1996,7 @@
"type": "string"
},
"projectId": {
- "description": "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 parent field.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
@@ -2021,7 +2049,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -2071,7 +2099,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -2109,12 +2137,12 @@
"type": "string"
},
"parent": {
- "description": "The parent (project, location, cluster id) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "query",
"type": "string"
},
"projectId": {
- "description": "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 parent field.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
@@ -2159,7 +2187,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -2207,7 +2235,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -2255,7 +2283,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -2303,7 +2331,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -2350,7 +2378,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -2396,7 +2424,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
@@ -2432,7 +2460,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
@@ -2459,7 +2487,7 @@
}
}
},
- "revision": "20211014",
+ "revision": "20230222",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
@@ -2478,6 +2506,10 @@
"gpuPartitionSize": {
"description": "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).",
"type": "string"
+ },
+ "gpuSharingConfig": {
+ "$ref": "GPUSharingConfig",
+ "description": "The configuration for GPU sharing options."
}
},
"type": "object"
@@ -2506,6 +2538,10 @@
"$ref": "GcpFilestoreCsiDriverConfig",
"description": "Configuration for the GCP Filestore CSI driver."
},
+ "gkeBackupAgentConfig": {
+ "$ref": "GkeBackupAgentConfig",
+ "description": "Configuration for the Backup for GKE agent addon."
+ },
"horizontalPodAutoscaling": {
"$ref": "HorizontalPodAutoscaling",
"description": "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."
@@ -2596,7 +2632,7 @@
"type": "string"
},
"imageType": {
- "description": "The image type to use for NAP created node.",
+ "description": "The image type to use for NAP created node. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.",
"type": "string"
},
"management": {
@@ -2604,7 +2640,7 @@
"description": "Specifies the node management options for NAP created node-pools."
},
"minCpuPlatform": {
- "description": "Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. 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 \"automatic\" as field value.",
+ "description": "Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). This field is deprecated, min_cpu_platform should be specified using `cloud.google.com/requested-min-cpu-platform` label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.",
"type": "string"
},
"oauthScopes": {
@@ -2645,8 +2681,91 @@
"id": "BinaryAuthorization",
"properties": {
"enabled": {
- "description": "Enable Binary Authorization for this cluster. If enabled, all container images will be validated by Binary Authorization.",
+ "description": "This field is deprecated. Leave this unset and instead configure BinaryAuthorization using evaluation_mode. If evaluation_mode is set to anything other than EVALUATION_MODE_UNSPECIFIED, this field is ignored.",
"type": "boolean"
+ },
+ "evaluationMode": {
+ "description": "Mode of operation for binauthz policy evaluation. If unspecified, defaults to DISABLED.",
+ "enum": [
+ "EVALUATION_MODE_UNSPECIFIED",
+ "DISABLED",
+ "PROJECT_SINGLETON_POLICY_ENFORCE"
+ ],
+ "enumDescriptions": [
+ "Default value",
+ "Disable BinaryAuthorization",
+ "Enforce Kubernetes admission requests with BinaryAuthorization using the project's singleton policy. This is equivalent to setting the enabled boolean to true."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BlueGreenInfo": {
+ "description": "Information relevant to blue-green upgrade.",
+ "id": "BlueGreenInfo",
+ "properties": {
+ "blueInstanceGroupUrls": {
+ "description": "The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with blue pool.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "bluePoolDeletionStartTime": {
+ "description": "Time to start deleting blue pool to complete blue-green upgrade, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
+ "type": "string"
+ },
+ "greenInstanceGroupUrls": {
+ "description": "The resource URLs of the [managed instance groups] (/compute/docs/instance-groups/creating-groups-of-managed-instances) associated with green pool.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "greenPoolVersion": {
+ "description": "Version of green pool.",
+ "type": "string"
+ },
+ "phase": {
+ "description": "Current blue-green upgrade phase.",
+ "enum": [
+ "PHASE_UNSPECIFIED",
+ "UPDATE_STARTED",
+ "CREATING_GREEN_POOL",
+ "CORDONING_BLUE_POOL",
+ "DRAINING_BLUE_POOL",
+ "NODE_POOL_SOAKING",
+ "DELETING_BLUE_POOL",
+ "ROLLBACK_STARTED"
+ ],
+ "enumDescriptions": [
+ "Unspecified phase.",
+ "blue-green upgrade has been initiated.",
+ "Start creating green pool nodes.",
+ "Start cordoning blue pool nodes.",
+ "Start draining blue pool nodes.",
+ "Start soaking time after draining entire blue pool.",
+ "Start deleting blue nodes.",
+ "Rollback has been initiated."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "BlueGreenSettings": {
+ "description": "Settings for blue-green upgrade.",
+ "id": "BlueGreenSettings",
+ "properties": {
+ "nodePoolSoakDuration": {
+ "description": "Time needed after draining entire blue pool. After this period, blue pool will be cleaned up.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "standardRolloutPolicy": {
+ "$ref": "StandardRolloutPolicy",
+ "description": "Standard policy for the blue-green upgrade."
}
},
"type": "object"
@@ -2664,7 +2783,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -2762,7 +2881,11 @@
},
"confidentialNodes": {
"$ref": "ConfidentialNodes",
- "description": "Configuration of Confidential Nodes"
+ "description": "Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled."
+ },
+ "costManagementConfig": {
+ "$ref": "CostManagementConfig",
+ "description": "Configuration for the fine-grained cost management feature."
},
"createTime": {
"description": "[Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
@@ -2805,6 +2928,10 @@
"description": "[Output only] The IP address of this cluster'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.",
"type": "string"
},
+ "etag": {
+ "description": "This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.",
+ "type": "string"
+ },
"expireTime": {
"description": "[Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"type": "string"
@@ -2814,6 +2941,10 @@
"readOnly": true,
"type": "string"
},
+ "identityServiceConfig": {
+ "$ref": "IdentityServiceConfig",
+ "description": "Configuration for Identity Service component."
+ },
"initialClusterVersion": {
"description": "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: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"\",\"-\": picks the default Kubernetes version",
"type": "string"
@@ -2910,6 +3041,10 @@
"format": "int32",
"type": "integer"
},
+ "nodePoolAutoConfig": {
+ "$ref": "NodePoolAutoConfig",
+ "description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
+ },
"nodePoolDefaults": {
"$ref": "NodePoolDefaults",
"description": "Default NodePool settings for the entire cluster. These settings are overridden if specified on the specific NodePool object."
@@ -3068,6 +3203,10 @@
"$ref": "ClusterAutoscaling",
"description": "Cluster-level autoscaling configuration."
},
+ "desiredCostManagementConfig": {
+ "$ref": "CostManagementConfig",
+ "description": "The desired configuration for the fine-grained cost management feature."
+ },
"desiredDatabaseEncryption": {
"$ref": "DatabaseEncryption",
"description": "Configuration of etcd encryption."
@@ -3094,10 +3233,22 @@
"$ref": "DNSConfig",
"description": "DNSConfig contains clusterDNS config for this cluster."
},
+ "desiredEnablePrivateEndpoint": {
+ "description": "Enable/Disable private endpoint for the cluster's master.",
+ "type": "boolean"
+ },
+ "desiredGatewayApiConfig": {
+ "$ref": "GatewayAPIConfig",
+ "description": "The desired config of Gateway API on this cluster."
+ },
"desiredGcfsConfig": {
"$ref": "GcfsConfig",
"description": "The desired GCFS config for the cluster"
},
+ "desiredIdentityServiceConfig": {
+ "$ref": "IdentityServiceConfig",
+ "description": "The desired Identity Service component configuration."
+ },
"desiredImageType": {
"description": "The desired image type for the node pool. NOTE: Set the \"desired_node_pool\" field as well.",
"type": "string"
@@ -3145,6 +3296,10 @@
"description": "The monitoring service the cluster should use to write metrics. Currently available options: * \"monitoring.googleapis.com/kubernetes\" - 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.",
"type": "string"
},
+ "desiredNodePoolAutoConfigNetworkTags": {
+ "$ref": "NetworkTags",
+ "description": "The desired network tags that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
+ },
"desiredNodePoolAutoscaling": {
"$ref": "NodePoolAutoscaling",
"description": "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."
@@ -3153,6 +3308,10 @@
"description": "The node pool to be upgraded. This field is mandatory if \"desired_node_version\", \"desired_image_family\" or \"desired_node_pool_autoscaling\" is specified and there is more than one node pool on the cluster.",
"type": "string"
},
+ "desiredNodePoolLoggingConfig": {
+ "$ref": "NodePoolLoggingConfig",
+ "description": "The desired node pool logging configuration defaults for the cluster."
+ },
"desiredNodeVersion": {
"description": "The Kubernetes version to change the nodes to (typically an upgrade). Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"latest\": picks the highest valid Kubernetes version - \"1.X\": picks the highest valid patch+gke.N patch in the 1.X version - \"1.X.Y\": picks the highest valid gke.N patch in the 1.X.Y version - \"1.X.Y-gke.N\": picks an explicit Kubernetes version - \"-\": picks the Kubernetes master version",
"type": "string"
@@ -3177,7 +3336,7 @@
"Default value. Same as DISABLED",
"No private access to or from Google Services",
"Enables private IPv6 access to Google Services from GKE",
- "Enables priate IPv6 access to and from Google Services"
+ "Enables private IPv6 access to and from Google Services"
],
"type": "string"
},
@@ -3189,10 +3348,28 @@
"$ref": "ResourceUsageExportConfig",
"description": "The desired configuration for exporting resource usage."
},
+ "desiredServiceExternalIpsConfig": {
+ "$ref": "ServiceExternalIPsConfig",
+ "description": "ServiceExternalIPsConfig specifies the config for the use of Services with ExternalIPs field."
+ },
"desiredShieldedNodes": {
"$ref": "ShieldedNodes",
"description": "Configuration for Shielded Nodes."
},
+ "desiredStackType": {
+ "description": "The desired stack type of the cluster. If a stack type is provided and does not match the current stack type of the cluster, update will attempt to change the stack type to the new type.",
+ "enum": [
+ "STACK_TYPE_UNSPECIFIED",
+ "IPV4",
+ "IPV4_IPV6"
+ ],
+ "enumDescriptions": [
+ "Default value, will be defaulted as IPV4 only",
+ "Cluster is IPV4 only",
+ "Cluster can use both IPv4 and IPv6"
+ ],
+ "type": "string"
+ },
"desiredVerticalPodAutoscaling": {
"$ref": "VerticalPodAutoscaling",
"description": "Cluster-level Vertical Pod Autoscaling configuration."
@@ -3200,6 +3377,10 @@
"desiredWorkloadIdentityConfig": {
"$ref": "WorkloadIdentityConfig",
"description": "Configuration for Workload Identity."
+ },
+ "etag": {
+ "description": "The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.",
+ "type": "string"
}
},
"type": "object"
@@ -3213,11 +3394,11 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -3227,12 +3408,18 @@
},
"type": "object"
},
+ "CompleteNodePoolUpgradeRequest": {
+ "description": "CompleteNodePoolUpgradeRequest sets the name of target node pool to complete upgrade.",
+ "id": "CompleteNodePoolUpgradeRequest",
+ "properties": {},
+ "type": "object"
+ },
"ConfidentialNodes": {
"description": "ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.",
"id": "ConfidentialNodes",
"properties": {
"enabled": {
- "description": "Whether Confidential Nodes feature is enabled for all nodes in this cluster.",
+ "description": "Whether Confidential Nodes feature is enabled.",
"type": "boolean"
}
},
@@ -3260,6 +3447,17 @@
},
"type": "object"
},
+ "CostManagementConfig": {
+ "description": "Configuration for fine-grained cost management feature.",
+ "id": "CostManagementConfig",
+ "properties": {
+ "enabled": {
+ "description": "Whether the feature is enabled or not.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"CreateClusterRequest": {
"description": "CreateClusterRequest creates a cluster.",
"id": "CreateClusterRequest",
@@ -3273,7 +3471,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"type": "string"
},
"zone": {
@@ -3296,11 +3494,11 @@
"description": "Required. The node pool to create."
},
"parent": {
- "description": "The parent (project, location, cluster id) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
- "description": "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 parent field.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the parent field.",
"type": "string"
},
"zone": {
@@ -3336,10 +3534,12 @@
"description": "cluster_dns_scope indicates the scope of access to cluster DNS records.",
"enum": [
"DNS_SCOPE_UNSPECIFIED",
+ "CLUSTER_SCOPE",
"VPC_SCOPE"
],
"enumDescriptions": [
"Default value, will be inferred as cluster scope.",
+ "DNS records are accessible from within the cluster.",
"DNS records are accessible from within the VPC."
],
"type": "string"
@@ -3410,11 +3610,107 @@
"type": "object"
},
"Empty": {
- "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
+ "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
"id": "Empty",
"properties": {},
"type": "object"
},
+ "EphemeralStorageLocalSsdConfig": {
+ "description": "EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSD.",
+ "id": "EphemeralStorageLocalSsdConfig",
+ "properties": {
+ "localSsdCount": {
+ "description": "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. 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.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "FastSocket": {
+ "description": "Configuration of Fast Socket feature.",
+ "id": "FastSocket",
+ "properties": {
+ "enabled": {
+ "description": "Whether Fast Socket features are enabled in the node pool.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "Filter": {
+ "description": "Allows filtering to one or more specific event types. If event types are present, those and only those event types will be transmitted to the cluster. Other types will be skipped. If no filter is specified, or no event types are present, all event types will be sent",
+ "id": "Filter",
+ "properties": {
+ "eventType": {
+ "description": "Event types to allowlist.",
+ "items": {
+ "enum": [
+ "EVENT_TYPE_UNSPECIFIED",
+ "UPGRADE_AVAILABLE_EVENT",
+ "UPGRADE_EVENT",
+ "SECURITY_BULLETIN_EVENT"
+ ],
+ "enumDescriptions": [
+ "Not set, will be ignored.",
+ "Corresponds with UpgradeAvailableEvent.",
+ "Corresponds with UpgradeEvent.",
+ "Corresponds with SecurityBulletinEvent."
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "GPUSharingConfig": {
+ "description": "GPUSharingConfig represents the GPU sharing configuration for Hardware Accelerators.",
+ "id": "GPUSharingConfig",
+ "properties": {
+ "gpuSharingStrategy": {
+ "description": "The type of GPU sharing strategy to enable on the GPU node.",
+ "enum": [
+ "GPU_SHARING_STRATEGY_UNSPECIFIED",
+ "TIME_SHARING"
+ ],
+ "enumDescriptions": [
+ "Default value.",
+ "GPUs are time-shared between containers."
+ ],
+ "type": "string"
+ },
+ "maxSharedClientsPerGpu": {
+ "description": "The max number of containers that can share a physical GPU.",
+ "format": "int64",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "GatewayAPIConfig": {
+ "description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster.",
+ "id": "GatewayAPIConfig",
+ "properties": {
+ "channel": {
+ "description": "The Gateway API release channel to use for Gateway API.",
+ "enum": [
+ "CHANNEL_UNSPECIFIED",
+ "CHANNEL_DISABLED",
+ "CHANNEL_EXPERIMENTAL",
+ "CHANNEL_STANDARD"
+ ],
+ "enumDescriptions": [
+ "Default value.",
+ "Gateway API support is disabled",
+ "Gateway API support is enabled, experimental CRDs are installed",
+ "Gateway API support is enabled, standard CRDs are installed"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"GcePersistentDiskCsiDriverConfig": {
"description": "Configuration for the Compute Engine PD CSI driver.",
"id": "GcePersistentDiskCsiDriverConfig",
@@ -3520,6 +3816,17 @@
},
"type": "object"
},
+ "GkeBackupAgentConfig": {
+ "description": "Configuration for the Backup for GKE Agent.",
+ "id": "GkeBackupAgentConfig",
+ "properties": {
+ "enabled": {
+ "description": "Whether the Backup for GKE agent is enabled for this cluster.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"HorizontalPodAutoscaling": {
"description": "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.",
"id": "HorizontalPodAutoscaling",
@@ -3593,6 +3900,20 @@
"description": "Whether a new subnetwork will be created automatically for the cluster. This field is only applicable when `use_ip_aliases` is true.",
"type": "boolean"
},
+ "ipv6AccessType": {
+ "description": "The ipv6 access type (internal or external) when create_subnetwork is true",
+ "enum": [
+ "IPV6_ACCESS_TYPE_UNSPECIFIED",
+ "INTERNAL",
+ "EXTERNAL"
+ ],
+ "enumDescriptions": [
+ "Default value, will be defaulted as type external.",
+ "Access type internal (all v6 addresses are internal IPs)",
+ "Access type external (all v6 addresses are external IPs)"
+ ],
+ "type": "string"
+ },
"nodeIpv4Cidr": {
"description": "This field is deprecated, use node_ipv4_cidr_block.",
"type": "string"
@@ -3609,10 +3930,34 @@
"description": "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.",
"type": "string"
},
+ "servicesIpv6CidrBlock": {
+ "description": "Output only. [Output only] The services IPv6 CIDR block for the cluster.",
+ "readOnly": true,
+ "type": "string"
+ },
"servicesSecondaryRangeName": {
"description": "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 is true and create_subnetwork is false.",
"type": "string"
},
+ "stackType": {
+ "description": "The IP stack type of the cluster",
+ "enum": [
+ "STACK_TYPE_UNSPECIFIED",
+ "IPV4",
+ "IPV4_IPV6"
+ ],
+ "enumDescriptions": [
+ "Default value, will be defaulted as IPV4 only",
+ "Cluster is IPV4 only",
+ "Cluster can use both IPv4 and IPv6"
+ ],
+ "type": "string"
+ },
+ "subnetIpv6CidrBlock": {
+ "description": "Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.",
+ "readOnly": true,
+ "type": "string"
+ },
"subnetworkName": {
"description": "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.",
"type": "string"
@@ -3632,6 +3977,17 @@
},
"type": "object"
},
+ "IdentityServiceConfig": {
+ "description": "IdentityServiceConfig is configuration for Identity Service which allows customers to use external identity providers with the K8S API",
+ "id": "IdentityServiceConfig",
+ "properties": {
+ "enabled": {
+ "description": "Whether to enable the Identity Service component",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"IntraNodeVisibilityConfig": {
"description": "IntraNodeVisibilityConfig contains the desired config of the intra-node visibility on this cluster.",
"id": "IntraNodeVisibilityConfig",
@@ -3712,11 +4068,25 @@
"description": "Parameters that can be configured on Linux nodes.",
"id": "LinuxNodeConfig",
"properties": {
+ "cgroupMode": {
+ "description": "cgroup_mode specifies the cgroup mode to be used on the node.",
+ "enum": [
+ "CGROUP_MODE_UNSPECIFIED",
+ "CGROUP_MODE_V1",
+ "CGROUP_MODE_V2"
+ ],
+ "enumDescriptions": [
+ "CGROUP_MODE_UNSPECIFIED is when unspecified cgroup configuration is used. The default for the GKE node OS image will be used.",
+ "CGROUP_MODE_V1 specifies to use cgroupv1 for the cgroup configuration on the node image.",
+ "CGROUP_MODE_V2 specifies to use cgroupv2 for the cgroup configuration on the node image."
+ ],
+ "type": "string"
+ },
"sysctls": {
"additionalProperties": {
"type": "string"
},
- "description": "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",
+ "description": "The Linux kernel parameters to be applied to the nodes and all pods running on the nodes. The following parameters are supported. net.core.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.wmem_default net.core.wmem_max net.core.optmem_max net.core.somaxconn net.ipv4.tcp_rmem net.ipv4.tcp_wmem net.ipv4.tcp_tw_reuse",
"type": "object"
}
},
@@ -3796,6 +4166,18 @@
},
"type": "object"
},
+ "LocalNvmeSsdBlockConfig": {
+ "description": "LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSD.",
+ "id": "LocalNvmeSsdBlockConfig",
+ "properties": {
+ "localSsdCount": {
+ "description": "The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe 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.",
+ "format": "int32",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
"LoggingComponentConfig": {
"description": "LoggingComponentConfig is cluster logging component configuration.",
"id": "LoggingComponentConfig",
@@ -3806,12 +4188,18 @@
"enum": [
"COMPONENT_UNSPECIFIED",
"SYSTEM_COMPONENTS",
- "WORKLOADS"
+ "WORKLOADS",
+ "APISERVER",
+ "SCHEDULER",
+ "CONTROLLER_MANAGER"
],
"enumDescriptions": [
"Default value. This shouldn't be used.",
"system components",
- "workloads"
+ "workloads",
+ "kube-apiserver",
+ "kube-scheduler",
+ "kube-controller-manager"
],
"type": "string"
},
@@ -3831,6 +4219,48 @@
},
"type": "object"
},
+ "LoggingVariantConfig": {
+ "description": "LoggingVariantConfig specifies the behaviour of the logging component.",
+ "id": "LoggingVariantConfig",
+ "properties": {
+ "variant": {
+ "description": "Logging variant deployed on nodes.",
+ "enum": [
+ "VARIANT_UNSPECIFIED",
+ "DEFAULT",
+ "MAX_THROUGHPUT"
+ ],
+ "enumDescriptions": [
+ "Default value. This shouldn't be used.",
+ "default logging variant.",
+ "maximum logging throughput variant."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "MaintenanceExclusionOptions": {
+ "description": "Represents the Maintenance exclusion option.",
+ "id": "MaintenanceExclusionOptions",
+ "properties": {
+ "scope": {
+ "description": "Scope specifies the upgrade scope which upgrades are blocked by the exclusion.",
+ "enum": [
+ "NO_UPGRADES",
+ "NO_MINOR_UPGRADES",
+ "NO_MINOR_OR_NODE_UPGRADES"
+ ],
+ "enumDescriptions": [
+ "NO_UPGRADES excludes all upgrades, including patch upgrades and minor upgrades across control planes and nodes. This is the default exclusion behavior.",
+ "NO_MINOR_UPGRADES excludes all minor upgrades for the cluster, only patches are allowed.",
+ "NO_MINOR_OR_NODE_UPGRADES excludes all minor upgrades for the cluster, and also exclude all node pool upgrades. Only control plane patches are allowed."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"MaintenancePolicy": {
"description": "MaintenancePolicy defines the maintenance policy to be used for the cluster.",
"id": "MaintenancePolicy",
@@ -3868,6 +4298,17 @@
},
"type": "object"
},
+ "ManagedPrometheusConfig": {
+ "description": "ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.",
+ "id": "ManagedPrometheusConfig",
+ "properties": {
+ "enabled": {
+ "description": "Enable Managed Collection.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"MasterAuth": {
"description": "The authentication information for accessing the master endpoint. Authentication can be done using HTTP basic auth or using client certificates.",
"id": "MasterAuth",
@@ -3913,6 +4354,10 @@
"enabled": {
"description": "Whether or not master authorized networks is enabled.",
"type": "boolean"
+ },
+ "gcpPublicCidrsAccessEnabled": {
+ "description": "Whether master is accessbile via Google Compute Engine Public IP addresses.",
+ "type": "boolean"
}
},
"type": "object"
@@ -3974,11 +4419,17 @@
"items": {
"enum": [
"COMPONENT_UNSPECIFIED",
- "SYSTEM_COMPONENTS"
+ "SYSTEM_COMPONENTS",
+ "APISERVER",
+ "SCHEDULER",
+ "CONTROLLER_MANAGER"
],
"enumDescriptions": [
"Default value. This shouldn't be used.",
- "system components"
+ "system components",
+ "kube-apiserver",
+ "kube-scheduler",
+ "kube-controller-manager"
],
"type": "string"
},
@@ -3994,6 +4445,10 @@
"componentConfig": {
"$ref": "MonitoringComponentConfig",
"description": "Monitoring components configuration"
+ },
+ "managedPrometheusConfig": {
+ "$ref": "ManagedPrometheusConfig",
+ "description": "Enable Google Cloud Managed Service for Prometheus in the cluster."
}
},
"type": "object"
@@ -4032,6 +4487,10 @@
"description": "Whether L4ILB Subsetting is enabled for this cluster.",
"type": "boolean"
},
+ "gatewayApiConfig": {
+ "$ref": "GatewayAPIConfig",
+ "description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster."
+ },
"network": {
"description": "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",
"type": "string"
@@ -4048,10 +4507,14 @@
"Default value. Same as DISABLED",
"No private access to or from Google Services",
"Enables private IPv6 access to Google Services from GKE",
- "Enables priate IPv6 access to and from Google Services"
+ "Enables private IPv6 access to and from Google Services"
],
"type": "string"
},
+ "serviceExternalIpsConfig": {
+ "$ref": "ServiceExternalIPsConfig",
+ "description": "ServiceExternalIPsConfig specifies if services with externalIPs field are blocked or not."
+ },
"subnetwork": {
"description": "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",
"type": "string"
@@ -4059,6 +4522,25 @@
},
"type": "object"
},
+ "NetworkPerformanceConfig": {
+ "description": "Configuration of all network bandwidth tiers",
+ "id": "NetworkPerformanceConfig",
+ "properties": {
+ "totalEgressBandwidthTier": {
+ "description": "Specifies the total network bandwidth tier for the NodePool.",
+ "enum": [
+ "TIER_UNSPECIFIED",
+ "TIER_1"
+ ],
+ "enumDescriptions": [
+ "Default value",
+ "Higher bandwidth, actual values based on VM size."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"NetworkPolicy": {
"description": "Configuration options for the NetworkPolicy feature. https://kubernetes.io/docs/concepts/services-networking/networkpolicies/",
"id": "NetworkPolicy",
@@ -4093,8 +4575,22 @@
},
"type": "object"
},
+ "NetworkTags": {
+ "description": "Collection of Compute Engine network tags that can be applied to a node's underlying VM instance.",
+ "id": "NetworkTags",
+ "properties": {
+ "tags": {
+ "description": "List of network tags.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"NodeConfig": {
- "description": "Parameters that describe the nodes in a cluster.",
+ "description": "Parameters that describe the nodes in a cluster. GKE Autopilot clusters do not recognize parameters in `NodeConfig`. Use AutoprovisioningNodePoolDefaults instead.",
"id": "NodeConfig",
"properties": {
"accelerators": {
@@ -4112,6 +4608,10 @@
"description": " 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",
"type": "string"
},
+ "confidentialNodes": {
+ "$ref": "ConfidentialNodes",
+ "description": "Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled."
+ },
"diskSizeGb": {
"description": "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.",
"format": "int32",
@@ -4121,6 +4621,14 @@
"description": "Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'",
"type": "string"
},
+ "ephemeralStorageLocalSsdConfig": {
+ "$ref": "EphemeralStorageLocalSsdConfig",
+ "description": "Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk."
+ },
+ "fastSocket": {
+ "$ref": "FastSocket",
+ "description": "Enable or disable NCCL fast socket for the node pool."
+ },
"gcfsConfig": {
"$ref": "GcfsConfig",
"description": "Google Container File System (image streaming) configs."
@@ -4130,7 +4638,7 @@
"description": "Enable or disable gvnic in the node pool."
},
"imageType": {
- "description": "The image type to use for this node. Note that for a given image type, the latest version of it will be used.",
+ "description": "The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.",
"type": "string"
},
"kubeletConfig": {
@@ -4148,11 +4656,19 @@
"$ref": "LinuxNodeConfig",
"description": "Parameters that can be configured on Linux nodes."
},
+ "localNvmeSsdBlockConfig": {
+ "$ref": "LocalNvmeSsdBlockConfig",
+ "description": "Parameters for using raw-block Local NVMe SSDs."
+ },
"localSsdCount": {
"description": "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.",
"format": "int32",
"type": "integer"
},
+ "loggingConfig": {
+ "$ref": "NodePoolLoggingConfig",
+ "description": "Logging configuration."
+ },
"machineType": {
"description": "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`.",
"type": "string"
@@ -4187,6 +4703,13 @@
"$ref": "ReservationAffinity",
"description": "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."
},
+ "resourceLabels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources.",
+ "type": "object"
+ },
"sandboxConfig": {
"$ref": "SandboxConfig",
"description": "Sandbox configuration for this node."
@@ -4199,6 +4722,10 @@
"$ref": "ShieldedInstanceConfig",
"description": "Shielded Instance options."
},
+ "spot": {
+ "description": "Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.",
+ "type": "boolean"
+ },
"tags": {
"description": "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.",
"items": {
@@ -4213,6 +4740,10 @@
},
"type": "array"
},
+ "windowsNodeConfig": {
+ "$ref": "WindowsNodeConfig",
+ "description": "Parameters that can be configured on Windows nodes."
+ },
"workloadMetadataConfig": {
"$ref": "WorkloadMetadataConfig",
"description": "The workload metadata configuration for this node."
@@ -4226,7 +4757,11 @@
"properties": {
"gcfsConfig": {
"$ref": "GcfsConfig",
- "description": "GCFS (Google Container File System, a.k.a Riptide) options."
+ "description": "GCFS (Google Container File System, also known as Riptide) options."
+ },
+ "loggingConfig": {
+ "$ref": "NodePoolLoggingConfig",
+ "description": "Logging configuration for node pools."
}
},
"type": "object"
@@ -4244,12 +4779,31 @@
"type": "string"
},
"cpuManagerPolicy": {
- "description": "Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. - \"none\": the default, which represents the existing scheduling behavior. - \"static\": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.",
+ "description": "Control the CPU management policy on the node. See https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/ The following values are allowed. * \"none\": the default, which represents the existing scheduling behavior. * \"static\": allows pods with certain resource characteristics to be granted increased CPU affinity and exclusivity on the node. The default value is 'none' if unspecified.",
+ "type": "string"
+ },
+ "podPidsLimit": {
+ "description": "Set the Pod PID limits. See https://kubernetes.io/docs/concepts/policy/pid-limiting/#pod-pid-limits Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.",
+ "format": "int64",
"type": "string"
}
},
"type": "object"
},
+ "NodeLabels": {
+ "description": "Collection of node-level [Kubernetes labels](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels).",
+ "id": "NodeLabels",
+ "properties": {
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Map of node label keys and node label values.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"NodeManagement": {
"description": "NodeManagement defines the set of node management services turned on for the node pool.",
"id": "NodeManagement",
@@ -4277,6 +4831,14 @@
"description": "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.",
"type": "boolean"
},
+ "enablePrivateNodes": {
+ "description": "Whether nodes have internal IP addresses only. If enable_private_nodes is not specified, then the value is derived from cluster.privateClusterConfig.enablePrivateNodes",
+ "type": "boolean"
+ },
+ "networkPerformanceConfig": {
+ "$ref": "NetworkPerformanceConfig",
+ "description": "Network bandwidth tier configuration."
+ },
"podIpv4CidrBlock": {
"description": "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.",
"type": "string"
@@ -4307,13 +4869,17 @@
"$ref": "NodeConfig",
"description": "The node configuration of the pool."
},
+ "etag": {
+ "description": "This checksum is computed by the server based on the value of node pool fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.",
+ "type": "string"
+ },
"initialNodeCount": {
"description": "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.",
"format": "int32",
"type": "integer"
},
"instanceGroupUrls": {
- "description": "[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.",
+ "description": "[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. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.",
"items": {
"type": "string"
},
@@ -4342,6 +4908,10 @@
"$ref": "NodeNetworkConfig",
"description": "Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults."
},
+ "placementPolicy": {
+ "$ref": "PlacementPolicy",
+ "description": "Specifies the node placement policy."
+ },
"podIpv4CidrSize": {
"description": "[Output only] The pod CIDR block size per node in this node pool.",
"format": "int32",
@@ -4377,17 +4947,33 @@
"description": "[Output only] Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.",
"type": "string"
},
+ "updateInfo": {
+ "$ref": "UpdateInfo",
+ "description": "Output only. [Output only] Update info contains relevant information during a node pool update.",
+ "readOnly": true
+ },
"upgradeSettings": {
"$ref": "UpgradeSettings",
"description": "Upgrade settings control disruption and speed of the upgrade."
},
"version": {
- "description": "The version of the Kubernetes of this node.",
+ "description": "The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).",
"type": "string"
}
},
"type": "object"
},
+ "NodePoolAutoConfig": {
+ "description": "Node pool configs that apply to all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters.",
+ "id": "NodePoolAutoConfig",
+ "properties": {
+ "networkTags": {
+ "$ref": "NetworkTags",
+ "description": "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 creation. Each tag within the list must comply with RFC1035."
+ }
+ },
+ "type": "object"
+ },
"NodePoolAutoscaling": {
"description": "NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster usage.",
"id": "NodePoolAutoscaling",
@@ -4400,6 +4986,20 @@
"description": "Is autoscaling enabled for this node pool.",
"type": "boolean"
},
+ "locationPolicy": {
+ "description": "Location policy used when scaling up a nodepool.",
+ "enum": [
+ "LOCATION_POLICY_UNSPECIFIED",
+ "BALANCED",
+ "ANY"
+ ],
+ "enumDescriptions": [
+ "Not set.",
+ "BALANCED is a best effort policy that aims to balance the sizes of different zones.",
+ "ANY policy picks zones that have the highest capacity available."
+ ],
+ "type": "string"
+ },
"maxNodeCount": {
"description": "Maximum number of nodes for one location in the NodePool. Must be \u003e= min_node_count. There has to be enough quota to scale up the cluster.",
"format": "int32",
@@ -4409,6 +5009,16 @@
"description": "Minimum number of nodes for one location in the NodePool. Must be \u003e= 1 and \u003c= max_node_count.",
"format": "int32",
"type": "integer"
+ },
+ "totalMaxNodeCount": {
+ "description": "Maximum number of nodes in the node pool. Must be greater than total_min_node_count. There has to be enough quota to scale up the cluster. The total_*_node_count fields are mutually exclusive with the *_node_count fields.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "totalMinNodeCount": {
+ "description": "Minimum number of nodes in the node pool. Must be greater than 1 less than total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -4424,8 +5034,19 @@
},
"type": "object"
},
+ "NodePoolLoggingConfig": {
+ "description": "NodePoolLoggingConfig specifies logging configuration for nodepools.",
+ "id": "NodePoolLoggingConfig",
+ "properties": {
+ "variantConfig": {
+ "$ref": "LoggingVariantConfig",
+ "description": "Logging variant configuration."
+ }
+ },
+ "type": "object"
+ },
"NodeTaint": {
- "description": "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.",
+ "description": "Kubernetes taint is composed 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.",
"id": "NodeTaint",
"properties": {
"effect": {
@@ -4455,6 +5076,20 @@
},
"type": "object"
},
+ "NodeTaints": {
+ "description": "Collection of Kubernetes [node taints](https://kubernetes.io/docs/concepts/configuration/taint-and-toleration).",
+ "id": "NodeTaints",
+ "properties": {
+ "taints": {
+ "description": "List of node taints.",
+ "items": {
+ "$ref": "NodeTaint"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
"NotificationConfig": {
"description": "NotificationConfig is the configuration of notifications.",
"id": "NotificationConfig",
@@ -4636,6 +5271,25 @@
},
"type": "object"
},
+ "PlacementPolicy": {
+ "description": "PlacementPolicy defines the placement policy used by the node pool.",
+ "id": "PlacementPolicy",
+ "properties": {
+ "type": {
+ "description": "The type of placement.",
+ "enum": [
+ "TYPE_UNSPECIFIED",
+ "COMPACT"
+ ],
+ "enumDescriptions": [
+ "TYPE_UNSPECIFIED specifies no requirements on nodes placement.",
+ "COMPACT specifies node placement in the same availability domain to ensure low communication latency."
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"PrivateClusterConfig": {
"description": "Configuration options for private clusters.",
"id": "PrivateClusterConfig",
@@ -4664,6 +5318,10 @@
"description": "Output only. The internal IP address of this cluster's master endpoint.",
"type": "string"
},
+ "privateEndpointSubnetwork": {
+ "description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format.",
+ "type": "string"
+ },
"publicEndpoint": {
"description": "Output only. The external IP address of this cluster's master endpoint.",
"type": "string"
@@ -4690,6 +5348,10 @@
"description": "Enable notifications for Pub/Sub.",
"type": "boolean"
},
+ "filter": {
+ "$ref": "Filter",
+ "description": "Allows filtering to one or more specific event types. If no filter is specified, or if a filter is specified with no event types, all event types will be sent"
+ },
"topic": {
"description": "The desired Pub/Sub topic to which notifications will be sent by GKE. Format is `projects/{project}/topics/{topic}`.",
"type": "string"
@@ -4790,7 +5452,7 @@
"type": "string"
},
"key": {
- "description": "Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify \"googleapis.com/reservation-name\" as the key and specify the name of your reservation as its value.",
+ "description": "Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify \"compute.googleapis.com/reservation-name\" as the key and specify the name of your reservation as its value.",
"type": "string"
},
"values": {
@@ -4803,6 +5465,20 @@
},
"type": "object"
},
+ "ResourceLabels": {
+ "description": "Collection of [GCP labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels).",
+ "id": "ResourceLabels",
+ "properties": {
+ "labels": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Map of node label keys and node label values.",
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
"ResourceLimit": {
"description": "Contains information about amount of some resource in the cluster. For memory, value should be in GB.",
"id": "ResourceLimit",
@@ -4860,9 +5536,13 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
+ "respectPdb": {
+ "description": "Option for rollback to ignore the PodDisruptionBudget. Default value is false.",
+ "type": "boolean"
+ },
"zone": {
"description": "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.",
"type": "string"
@@ -4889,6 +5569,62 @@
},
"type": "object"
},
+ "SecurityBulletinEvent": {
+ "description": "SecurityBulletinEvent is a notification sent to customers when a security bulletin has been posted that they are vulnerable to.",
+ "id": "SecurityBulletinEvent",
+ "properties": {
+ "affectedSupportedMinors": {
+ "description": "The GKE minor versions affected by this vulnerability.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "briefDescription": {
+ "description": "A brief description of the bulletin. See the bulletin pointed to by the bulletin_uri field for an expanded description.",
+ "type": "string"
+ },
+ "bulletinId": {
+ "description": "The ID of the bulletin corresponding to the vulnerability.",
+ "type": "string"
+ },
+ "bulletinUri": {
+ "description": "The URI link to the bulletin on the website for more information.",
+ "type": "string"
+ },
+ "cveIds": {
+ "description": "The CVEs associated with this bulletin.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "manualStepsRequired": {
+ "description": "If this field is specified, it means there are manual steps that the user must take to make their clusters safe.",
+ "type": "boolean"
+ },
+ "patchedVersions": {
+ "description": "The GKE versions where this vulnerability is patched.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resourceTypeAffected": {
+ "description": "The resource type (node/control plane) that has the vulnerability. Multiple notifications (1 notification per resource type) will be sent for a vulnerability that affects \u003e 1 resource type.",
+ "type": "string"
+ },
+ "severity": {
+ "description": "The severity of this bulletin as it relates to GKE.",
+ "type": "string"
+ },
+ "suggestedUpgradeTarget": {
+ "description": "This represents a version selected from the patched_versions field that the cluster receiving this notification should most likely want to upgrade to based on its current version. Note that if this notification is being received by a given cluster, it means that this version is currently available as an upgrade target in that cluster's location.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"ServerConfig": {
"description": "Kubernetes Engine service configuration.",
"id": "ServerConfig",
@@ -4932,6 +5668,17 @@
},
"type": "object"
},
+ "ServiceExternalIPsConfig": {
+ "description": "Config to block services with externalIPs field.",
+ "id": "ServiceExternalIPsConfig",
+ "properties": {
+ "enabled": {
+ "description": "Whether Services with ExternalIPs field are allowed or not.",
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
"SetAddonsConfigRequest": {
"description": "SetAddonsConfigRequest sets the addons associated with the cluster.",
"id": "SetAddonsConfigRequest",
@@ -4949,7 +5696,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -4972,11 +5719,11 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"resourceLabels": {
@@ -5006,11 +5753,11 @@
"type": "boolean"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -5040,7 +5787,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -5067,7 +5814,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -5090,11 +5837,11 @@
"description": "Required. The maintenance policy to be set for the cluster. An empty field clears the existing maintenance policy."
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to set maintenance policy. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
- "description": "Required. The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).",
+ "description": "Required. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects).",
"type": "string"
},
"zone": {
@@ -5133,7 +5880,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"update": {
@@ -5164,7 +5911,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -5183,7 +5930,7 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"networkPolicy": {
@@ -5191,7 +5938,7 @@
"description": "Required. Configuration options for the NetworkPolicy feature."
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -5222,7 +5969,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -5253,7 +6000,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -5285,7 +6032,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -5321,6 +6068,28 @@
},
"type": "object"
},
+ "StandardRolloutPolicy": {
+ "description": "Standard rollout policy is the default policy for blue-green.",
+ "id": "StandardRolloutPolicy",
+ "properties": {
+ "batchNodeCount": {
+ "description": "Number of blue nodes to drain in a batch.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "batchPercentage": {
+ "description": "Percentage of the blue pool nodes to drain in a batch. The range of this field should be (0.0, 1.0].",
+ "format": "float",
+ "type": "number"
+ },
+ "batchSoakDuration": {
+ "description": "Soak time after each batch gets drained. Default to zero.",
+ "format": "google-duration",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"StartIPRotationRequest": {
"description": "StartIPRotationRequest creates a new IP for the cluster and then performs a node upgrade on each node pool to point to the new IP.",
"id": "StartIPRotationRequest",
@@ -5330,11 +6099,11 @@
"type": "string"
},
"name": {
- "description": "The name (project, location, cluster id) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
+ "description": "The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"rotateCredentials": {
@@ -5401,7 +6170,7 @@
"DATA_LOSS"
],
"enumDescriptions": [
- "Not an error; returned on success HTTP Mapping: 200 OK",
+ "Not an error; returned on success. HTTP Mapping: 200 OK",
"The operation was cancelled, typically by the caller. HTTP Mapping: 499 Client Closed Request",
"Unknown error. For example, this error may be returned when a `Status` value received from another address space belongs to an error space that is not known in this address space. Also errors raised by APIs that do not return enough error information may be converted to this error. HTTP Mapping: 500 Internal Server Error",
"The client specified an invalid argument. Note that this differs from `FAILED_PRECONDITION`. `INVALID_ARGUMENT` indicates arguments that are problematic regardless of the state of the system (e.g., a malformed file name). HTTP Mapping: 400 Bad Request",
@@ -5459,6 +6228,10 @@
"format": "google-datetime",
"type": "string"
},
+ "maintenanceExclusionOptions": {
+ "$ref": "MaintenanceExclusionOptions",
+ "description": "MaintenanceExclusionOptions provides maintenance exclusion related options."
+ },
"startTime": {
"description": "The time that the window first starts.",
"format": "google-datetime",
@@ -5480,7 +6253,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"update": {
@@ -5494,6 +6267,17 @@
},
"type": "object"
},
+ "UpdateInfo": {
+ "description": "UpdateInfo contains resource (instance groups, etc), status and other intermediate information relevant to a node pool upgrade.",
+ "id": "UpdateInfo",
+ "properties": {
+ "blueGreenInfo": {
+ "$ref": "BlueGreenInfo",
+ "description": "Information of a blue-green upgrade."
+ }
+ },
+ "type": "object"
+ },
"UpdateMasterRequest": {
"description": "UpdateMasterRequest updates the master of the cluster.",
"id": "UpdateMasterRequest",
@@ -5511,7 +6295,7 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
"zone": {
@@ -5529,6 +6313,18 @@
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
+ "confidentialNodes": {
+ "$ref": "ConfidentialNodes",
+ "description": "Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled."
+ },
+ "etag": {
+ "description": "The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.",
+ "type": "string"
+ },
+ "fastSocket": {
+ "$ref": "FastSocket",
+ "description": "Enable or disable NCCL fast socket for the node pool."
+ },
"gcfsConfig": {
"$ref": "GcfsConfig",
"description": "GCFS config."
@@ -5538,13 +6334,17 @@
"description": "Enable or disable gvnic on the node pool."
},
"imageType": {
- "description": "Required. The desired image type for the node pool.",
+ "description": "Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.",
"type": "string"
},
"kubeletConfig": {
"$ref": "NodeKubeletConfig",
"description": "Node kubelet configs."
},
+ "labels": {
+ "$ref": "NodeLabels",
+ "description": "The desired node labels to be applied to all nodes in the node pool. If this field is not present, the labels will not be changed. Otherwise, the existing node labels will be *replaced* with the provided labels."
+ },
"linuxNodeConfig": {
"$ref": "LinuxNodeConfig",
"description": "Parameters that can be configured on Linux nodes."
@@ -5556,10 +6356,18 @@
},
"type": "array"
},
+ "loggingConfig": {
+ "$ref": "NodePoolLoggingConfig",
+ "description": "Logging configuration."
+ },
"name": {
"description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
+ "nodeNetworkConfig": {
+ "$ref": "NodeNetworkConfig",
+ "description": "Node network config."
+ },
"nodePoolId": {
"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
@@ -5569,13 +6377,29 @@
"type": "string"
},
"projectId": {
- "description": "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.",
+ "description": "Deprecated. The Google Developers Console [project ID or project number](https://cloud.google.com/resource-manager/docs/creating-managing-projects). This field has been deprecated and replaced by the name field.",
"type": "string"
},
+ "resourceLabels": {
+ "$ref": "ResourceLabels",
+ "description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources."
+ },
+ "tags": {
+ "$ref": "NetworkTags",
+ "description": "The desired network tags to be applied to all nodes in the node pool. If this field is not present, the tags will not be changed. Otherwise, the existing network tags will be *replaced* with the provided tags."
+ },
+ "taints": {
+ "$ref": "NodeTaints",
+ "description": "The desired node taints to be applied to all nodes in the node pool. If this field is not present, the taints will not be changed. Otherwise, the existing node taints will be *replaced* with the provided taints."
+ },
"upgradeSettings": {
"$ref": "UpgradeSettings",
"description": "Upgrade settings control disruption and speed of the upgrade."
},
+ "windowsNodeConfig": {
+ "$ref": "WindowsNodeConfig",
+ "description": "Parameters that can be configured on Windows nodes."
+ },
"workloadMetadataConfig": {
"$ref": "WorkloadMetadataConfig",
"description": "The desired workload metadata config for the node pool."
@@ -5663,9 +6487,13 @@
"type": "object"
},
"UpgradeSettings": {
- "description": "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.",
+ "description": "These upgrade settings control the level of parallelism and the level of disruption caused by an upgrade. maxUnavailable controls the number of nodes that can be simultaneously unavailable. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). Note: upgrades inevitably introduce some disruption since workloads need to be moved from old nodes to new, upgraded ones. Even if maxUnavailable=0, this holds true. (Disruption stays within the limits of PodDisruptionBudget, if it is configured.) Consider a hypothetical node pool with 5 nodes having maxSurge=2, maxUnavailable=1. This means the upgrade process upgrades 3 nodes simultaneously. It creates 2 additional (upgraded) nodes, then it brings down 3 old (not yet upgraded) nodes at the same time. This ensures that there are always at least 4 nodes available. These upgrade settings configure the upgrade strategy for the node pool. Use strategy to switch between the strategies applied to the node pool. If the strategy is ROLLING, use max_surge and max_unavailable to control the level of parallelism and the level of disruption caused by upgrade. 1. maxSurge controls the number of additional nodes that can be added to the node pool temporarily for the time of the upgrade to increase the number of available nodes. 2. maxUnavailable controls the number of nodes that can be simultaneously unavailable. 3. (maxUnavailable + maxSurge) determines the level of parallelism (how many nodes are being upgraded at the same time). If the strategy is BLUE_GREEN, use blue_green_settings to configure the blue-green upgrade related settings. 1. standard_rollout_policy is the default policy. The policy is used to control the way blue pool gets drained. The draining is executed in the batch mode. The batch size could be specified as either percentage of the node pool size or the number of nodes. batch_soak_duration is the soak time after each batch gets drained. 2. node_pool_soak_duration is the soak time after all blue nodes are drained. After this period, the blue pool nodes will be deleted.",
"id": "UpgradeSettings",
"properties": {
+ "blueGreenSettings": {
+ "$ref": "BlueGreenSettings",
+ "description": "Settings for blue-green upgrade strategy."
+ },
"maxSurge": {
"description": "The maximum number of nodes that can be created beyond the current size of the node pool during the upgrade process.",
"format": "int32",
@@ -5675,6 +6503,20 @@
"description": "The maximum number of nodes that can be simultaneously unavailable during the upgrade process. A node is considered available if its status is Ready.",
"format": "int32",
"type": "integer"
+ },
+ "strategy": {
+ "description": "Update strategy of the node pool.",
+ "enum": [
+ "NODE_POOL_UPDATE_STRATEGY_UNSPECIFIED",
+ "BLUE_GREEN",
+ "SURGE"
+ ],
+ "enumDescriptions": [
+ "Default value if unset. GKE internally defaults the update strategy to SURGE for unspecified strategies.",
+ "blue-green upgrade.",
+ "SURGE is the traditional way of upgrade a node pool. max_surge and max_unavailable determines the level of upgrade parallelism."
+ ],
+ "type": "string"
}
},
"type": "object"
@@ -5764,6 +6606,27 @@
},
"type": "object"
},
+ "WindowsNodeConfig": {
+ "description": "Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings",
+ "id": "WindowsNodeConfig",
+ "properties": {
+ "osVersion": {
+ "description": "OSVersion specifies the Windows node config to be used on the node",
+ "enum": [
+ "OS_VERSION_UNSPECIFIED",
+ "OS_VERSION_LTSC2019",
+ "OS_VERSION_LTSC2022"
+ ],
+ "enumDescriptions": [
+ "When OSVersion is not specified",
+ "LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image",
+ "LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"WorkloadIdentityConfig": {
"description": "Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.",
"id": "WorkloadIdentityConfig",