Index: discovery/googleapis/container__v1.json |
diff --git a/discovery/googleapis/container__v1.json b/discovery/googleapis/container__v1.json |
index 21917c984af57c318fe935fd77f1c2d2835f9521..393ee17c3918431eacddc1b51ae4cc58aee41fab 100644 |
--- a/discovery/googleapis/container__v1.json |
+++ b/discovery/googleapis/container__v1.json |
@@ -11,10 +11,9 @@ |
"basePath": "", |
"baseUrl": "https://container.googleapis.com/", |
"batchPath": "batch", |
- "description": "Builds and manages clusters that run container-based applications, powered by open source Kubernetes technology.", |
+ "description": "The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.", |
"discoveryVersion": "v1", |
"documentationLink": "https://cloud.google.com/container-engine/", |
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/aTs6tIgXySgjqhtr4EU6PD-kvdQ\"", |
"icons": { |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
@@ -25,29 +24,29 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "access_token": { |
- "description": "OAuth access token.", |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
"location": "query", |
"type": "string" |
}, |
- "alt": { |
- "default": "json", |
- "description": "Data format for response.", |
- "enumDescriptions": [ |
- "Responses with Content-Type of application/json", |
- "Media download with context-dependent Content-Type", |
- "Responses with Content-Type of application/x-protobuf" |
- ], |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
"location": "query", |
"type": "string" |
}, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
+ "upload_protocol": { |
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
+ "prettyPrint": { |
+ "default": "true", |
+ "description": "Returns response with indentations and line breaks.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
@@ -56,51 +55,60 @@ |
"location": "query", |
"type": "string" |
}, |
- "key": { |
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
+ "$.xgafv": { |
+ "description": "V1 error format.", |
+ "enum": [ |
+ "1", |
+ "2" |
+ ], |
+ "enumDescriptions": [ |
+ "v1 error format", |
+ "v2 error format" |
+ ], |
"location": "query", |
"type": "string" |
}, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
+ "callback": { |
+ "description": "JSONP", |
"location": "query", |
"type": "string" |
}, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "prettyPrint": { |
- "default": "true", |
- "description": "Returns response with indentations and line breaks.", |
+ "alt": { |
+ "default": "json", |
+ "description": "Data format for response.", |
+ "enum": [ |
+ "json", |
+ "media", |
+ "proto" |
+ ], |
+ "enumDescriptions": [ |
+ "Responses with Content-Type of application/json", |
+ "Media download with context-dependent Content-Type", |
+ "Responses with Content-Type of application/x-protobuf" |
+ ], |
"location": "query", |
- "type": "boolean" |
+ "type": "string" |
}, |
- "quotaUser": { |
- "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
+ "key": { |
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
"location": "query", |
"type": "string" |
}, |
- "upload_protocol": { |
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
+ "access_token": { |
+ "description": "OAuth access token.", |
"location": "query", |
"type": "string" |
}, |
- "uploadType": { |
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "quotaUser": { |
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
"location": "query", |
"type": "string" |
}, |
- "$.xgafv": { |
- "description": "V1 error format.", |
- "enumDescriptions": [ |
- "v1 error format", |
- "v2 error format" |
- ], |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
"location": "query", |
- "type": "string" |
+ "type": "boolean" |
} |
}, |
"protocol": "rest", |
@@ -119,13 +127,13 @@ |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) to return operations for.", |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available)\nto return operations for.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -143,31 +151,41 @@ |
"resources": { |
"clusters": { |
"methods": { |
- "list": { |
- "description": "Lists all clusters owned by a project in either the specified zone or all zones.", |
- "httpMethod": "GET", |
- "id": "container.projects.zones.clusters.list", |
+ "legacyAbac": { |
+ "description": "Enables or disables the ABAC authorization mechanism on a cluster.", |
+ "httpMethod": "POST", |
+ "id": "container.projects.zones.clusters.legacyAbac", |
"parameterOrder": [ |
"projectId", |
- "zone" |
+ "zone", |
+ "clusterId" |
], |
"parameters": { |
- "projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones.", |
+ "clusterId": { |
+ "description": "The name of the cluster to update.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "projectId": { |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/clusters", |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac", |
+ "request": { |
+ "$ref": "SetLegacyAbacRequest" |
+ }, |
"response": { |
- "$ref": "ListClustersResponse" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
@@ -184,13 +202,13 @@ |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -210,31 +228,38 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "create": { |
- "description": "Creates a cluster, consisting of the specified number and type of Google Compute Engine instances. By default, the cluster is created in the project's [default network](/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the cluster creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range is being used by the cluster.", |
- "httpMethod": "POST", |
- "id": "container.projects.zones.clusters.create", |
+ "update": { |
+ "description": "Updates the settings of a specific cluster.", |
+ "httpMethod": "PUT", |
+ "id": "container.projects.zones.clusters.update", |
"parameterOrder": [ |
"projectId", |
- "zone" |
+ "zone", |
+ "clusterId" |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "clusterId": { |
+ "description": "The name of the cluster to upgrade.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/clusters", |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", |
"request": { |
- "$ref": "CreateClusterRequest" |
+ "$ref": "UpdateClusterRequest" |
}, |
"response": { |
"$ref": "Operation" |
@@ -243,10 +268,10 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "update": { |
- "description": "Updates the settings of a specific cluster.", |
- "httpMethod": "PUT", |
- "id": "container.projects.zones.clusters.update", |
+ "setMasterAuth": { |
+ "description": "Used to set master auth materials. Currently supports :-\nChanging the admin password of a specific cluster.\nThis can be either via password generation or explicitly set the password.", |
+ "httpMethod": "POST", |
+ "id": "container.projects.zones.clusters.setMasterAuth", |
"parameterOrder": [ |
"projectId", |
"zone", |
@@ -254,13 +279,13 @@ |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -272,9 +297,9 @@ |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth", |
"request": { |
- "$ref": "UpdateClusterRequest" |
+ "$ref": "SetMasterAuthRequest" |
}, |
"response": { |
"$ref": "Operation" |
@@ -284,7 +309,7 @@ |
] |
}, |
"delete": { |
- "description": "Deletes the cluster, including the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster (e.g. load balancer resources) will not be deleted if they weren't present at the initial create time.", |
+ "description": "Deletes the cluster, including the Kubernetes endpoint and all worker\nnodes.\n\nFirewalls and routes that were configured during cluster creation\nare also deleted.\n\nOther Google Compute Engine resources that might be in use by the cluster\n(e.g. load balancer resources) will not be deleted if they weren't present\nat the initial create time.", |
"httpMethod": "DELETE", |
"id": "container.projects.zones.clusters.delete", |
"parameterOrder": [ |
@@ -293,26 +318,129 @@ |
"clusterId" |
], |
"parameters": { |
+ "clusterId": { |
+ "description": "The name of the cluster to delete.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
+ "list": { |
+ "description": "Lists all clusters owned by a project in either the specified zone or all\nzones.", |
+ "httpMethod": "GET", |
+ "id": "container.projects.zones.clusters.list", |
+ "parameterOrder": [ |
+ "projectId", |
+ "zone" |
+ ], |
+ "parameters": { |
+ "projectId": { |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
+ "zone": { |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides, or \"-\" for all zones.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters", |
+ "response": { |
+ "$ref": "ListClustersResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
+ "resourceLabels": { |
+ "description": "Sets labels on a cluster.", |
+ "httpMethod": "POST", |
+ "id": "container.projects.zones.clusters.resourceLabels", |
+ "parameterOrder": [ |
+ "projectId", |
+ "zone", |
+ "clusterId" |
+ ], |
+ "parameters": { |
"clusterId": { |
- "description": "The name of the cluster to delete.", |
+ "description": "The name of the cluster.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "projectId": { |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "zone": { |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}", |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels", |
+ "request": { |
+ "$ref": "SetLabelsRequest" |
+ }, |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
+ "create": { |
+ "description": "Creates a cluster, consisting of the specified number and type of Google\nCompute Engine instances.\n\nBy default, the cluster is created in the project's\n[default network](/compute/docs/networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. After cluster creation,\nthe cluster creates routes for each node to allow the containers\non that node to communicate with all other instances in the\ncluster.\n\nFinally, an entry is added to the project's global metadata indicating\nwhich CIDR range is being used by the cluster.", |
+ "httpMethod": "POST", |
+ "id": "container.projects.zones.clusters.create", |
+ "parameterOrder": [ |
+ "projectId", |
+ "zone" |
+ ], |
+ "parameters": { |
+ "projectId": { |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "zone": { |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters", |
+ "request": { |
+ "$ref": "CreateClusterRequest" |
+ }, |
"response": { |
"$ref": "Operation" |
}, |
@@ -335,13 +463,13 @@ |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -361,10 +489,10 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "get": { |
- "description": "Retrieves the node pool requested.", |
- "httpMethod": "GET", |
- "id": "container.projects.zones.clusters.nodePools.get", |
+ "rollback": { |
+ "description": "Roll back the previously Aborted or Failed NodePool upgrade.\nThis will be an no-op if the last upgrade successfully completed.", |
+ "httpMethod": "POST", |
+ "id": "container.projects.zones.clusters.nodePools.rollback", |
"parameterOrder": [ |
"projectId", |
"zone", |
@@ -373,33 +501,36 @@ |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"clusterId": { |
- "description": "The name of the cluster.", |
+ "description": "The name of the cluster to rollback.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"nodePoolId": { |
- "description": "The name of the node pool.", |
+ "description": "The name of the node pool to rollback.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", |
+ "request": { |
+ "$ref": "RollbackNodePoolUpgradeRequest" |
+ }, |
"response": { |
- "$ref": "NodePool" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
@@ -415,20 +546,20 @@ |
"clusterId" |
], |
"parameters": { |
- "projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "clusterId": { |
+ "description": "The name of the cluster.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "clusterId": { |
- "description": "The name of the cluster.", |
+ "projectId": { |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -445,37 +576,37 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "delete": { |
- "description": "Deletes a node pool from a cluster.", |
- "httpMethod": "DELETE", |
- "id": "container.projects.zones.clusters.nodePools.delete", |
- "parameterOrder": [ |
+ "get": { |
+ "description": "Retrieves the node pool requested.", |
+ "httpMethod": "GET", |
+ "id": "container.projects.zones.clusters.nodePools.get", |
+ "parameterOrder": [ |
"projectId", |
"zone", |
"clusterId", |
"nodePoolId" |
], |
"parameters": { |
- "projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://developers.google.com/console/help/new/#projectnumber).", |
+ "clusterId": { |
+ "description": "The name of the cluster.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "nodePoolId": { |
+ "description": "The name of the node pool.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "clusterId": { |
- "description": "The name of the cluster.", |
+ "projectId": { |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "nodePoolId": { |
- "description": "The name of the node pool to delete.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -483,16 +614,16 @@ |
}, |
"path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "NodePool" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "rollback": { |
- "description": "Roll back the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.", |
+ "setManagement": { |
+ "description": "Sets the NodeManagement options for a node pool.", |
"httpMethod": "POST", |
- "id": "container.projects.zones.clusters.nodePools.rollback", |
+ "id": "container.projects.zones.clusters.nodePools.setManagement", |
"parameterOrder": [ |
"projectId", |
"zone", |
@@ -500,34 +631,34 @@ |
"nodePoolId" |
], |
"parameters": { |
- "projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "clusterId": { |
+ "description": "The name of the cluster to update.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "nodePoolId": { |
+ "description": "The name of the node pool to update.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "clusterId": { |
- "description": "The name of the cluster to rollback.", |
+ "projectId": { |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "nodePoolId": { |
- "description": "The name of the node pool to rollback.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", |
"request": { |
- "$ref": "RollbackNodePoolUpgradeRequest" |
+ "$ref": "SetNodePoolManagementRequest" |
}, |
"response": { |
"$ref": "Operation" |
@@ -536,10 +667,10 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "setManagement": { |
- "description": "Sets the NodeManagement options for a node pool.", |
- "httpMethod": "POST", |
- "id": "container.projects.zones.clusters.nodePools.setManagement", |
+ "delete": { |
+ "description": "Deletes a node pool from a cluster.", |
+ "httpMethod": "DELETE", |
+ "id": "container.projects.zones.clusters.nodePools.delete", |
"parameterOrder": [ |
"projectId", |
"zone", |
@@ -548,34 +679,31 @@ |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://developers.google.com/console/help/new/#projectnumber).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"clusterId": { |
- "description": "The name of the cluster to update.", |
+ "description": "The name of the cluster.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"nodePoolId": { |
- "description": "The name of the node pool to update.", |
+ "description": "The name of the node pool to delete.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", |
- "request": { |
- "$ref": "SetNodePoolManagementRequest" |
- }, |
+ "path": "v1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", |
"response": { |
"$ref": "Operation" |
}, |
@@ -589,108 +717,108 @@ |
}, |
"operations": { |
"methods": { |
- "list": { |
- "description": "Lists all operations in a project in a specific zone or all zones.", |
- "httpMethod": "GET", |
- "id": "container.projects.zones.operations.list", |
+ "cancel": { |
+ "description": "Cancels the specified operation.", |
+ "httpMethod": "POST", |
+ "id": "container.projects.zones.operations.cancel", |
"parameterOrder": [ |
"projectId", |
- "zone" |
+ "zone", |
+ "operationId" |
], |
"parameters": { |
+ "operationId": { |
+ "description": "The server-assigned `name` of the operation.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) to return operations for, or `-` for all zones.", |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the operation resides.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/operations", |
+ "path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel", |
+ "request": { |
+ "$ref": "CancelOperationRequest" |
+ }, |
"response": { |
- "$ref": "ListOperationsResponse" |
+ "$ref": "Empty" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "get": { |
- "description": "Gets the specified operation.", |
+ "list": { |
+ "description": "Lists all operations in a project in a specific zone or all zones.", |
"httpMethod": "GET", |
- "id": "container.projects.zones.operations.get", |
+ "id": "container.projects.zones.operations.list", |
"parameterOrder": [ |
"projectId", |
- "zone", |
- "operationId" |
+ "zone" |
], |
"parameters": { |
"projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "operationId": { |
- "description": "The server-assigned `name` of the operation.", |
+ "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available)\nto return operations for, or `-` for all zones.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}", |
+ "path": "v1/projects/{projectId}/zones/{zone}/operations", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "ListOperationsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "cancel": { |
- "description": "Cancels the specified operation.", |
- "httpMethod": "POST", |
- "id": "container.projects.zones.operations.cancel", |
+ "get": { |
+ "description": "Gets the specified operation.", |
+ "httpMethod": "GET", |
+ "id": "container.projects.zones.operations.get", |
"parameterOrder": [ |
"projectId", |
"zone", |
"operationId" |
], |
"parameters": { |
- "projectId": { |
- "description": "The Google Developers Console [project ID or project number](https://support.google.com/cloud/answer/6158840).", |
+ "operationId": { |
+ "description": "The server-assigned `name` of the operation.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation resides.", |
+ "projectId": { |
+ "description": "The Google Developers Console [project ID or project\nnumber](https://support.google.com/cloud/answer/6158840).", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "operationId": { |
- "description": "The server-assigned `name` of the operation.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel", |
- "request": { |
- "$ref": "CancelOperationRequest" |
- }, |
+ "path": "v1/projects/{projectId}/zones/{zone}/operations/{operationId}", |
"response": { |
- "$ref": "Empty" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
@@ -703,523 +831,483 @@ |
} |
} |
}, |
- "revision": "20161024", |
+ "revision": "20170406", |
"rootUrl": "https://container.googleapis.com/", |
"schemas": { |
- "ListClustersResponse": { |
- "description": "ListClustersResponse is the result of ListClustersRequest.", |
- "id": "ListClustersResponse", |
+ "SetNodePoolManagementRequest": { |
+ "description": "SetNodePoolManagementRequest sets the node management properties of a node\npool.", |
+ "id": "SetNodePoolManagementRequest", |
"properties": { |
- "clusters": { |
- "description": "A list of clusters in the project in the specified zone, or across all ones.", |
+ "management": { |
+ "$ref": "NodeManagement", |
+ "description": "NodeManagement configuration for the node pool." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Empty": { |
+ "description": "A generic empty message that you can re-use to avoid defining duplicated\nempty messages in your APIs. A typical example is to use it as the request\nor the response type of an API method. For instance:\n\n service Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
+ "id": "Empty", |
+ "properties": {}, |
+ "type": "object" |
+ }, |
+ "CreateClusterRequest": { |
+ "description": "CreateClusterRequest creates a cluster.", |
+ "id": "CreateClusterRequest", |
+ "properties": { |
+ "cluster": { |
+ "$ref": "Cluster", |
+ "description": "A [cluster\nresource](/container-engine/reference/rest/v1/projects.zones.clusters)" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListNodePoolsResponse": { |
+ "description": "ListNodePoolsResponse is the result of ListNodePoolsRequest.", |
+ "id": "ListNodePoolsResponse", |
+ "properties": { |
+ "nodePools": { |
+ "description": "A list of node pools for a cluster.", |
"items": { |
- "$ref": "Cluster" |
+ "$ref": "NodePool" |
}, |
"type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Item": { |
+ "description": "A label to be applied to Google Compute Engine resources. It must comply\nwith RFC1035 for each key and value.", |
+ "id": "Item", |
+ "properties": { |
+ "value": { |
+ "description": "The Value for this label.", |
+ "type": "string" |
}, |
- "missingZones": { |
- "description": "If any zones are listed here, the list of clusters returned may be missing those zones.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "key": { |
+ "description": "The Key for this label.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "Cluster": { |
- "description": "A Google Container Engine cluster.", |
- "id": "Cluster", |
+ "LegacyAbac": { |
+ "description": "Configuration for the legacy Attribute Based Access Control authorization\nmode.", |
+ "id": "LegacyAbac", |
"properties": { |
- "name": { |
- "description": "The name of this cluster. The name must be unique within this project and zone, and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.", |
+ "enabled": { |
+ "description": "Whether the ABAC authorizer is enabled for this cluster. When enabled,\nidentities in the system, including service accounts, nodes, and\ncontrollers, will have statically granted permissions beyond those\nprovided by the RBAC configuration or IAM.", |
+ "type": "boolean" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "NodePool": { |
+ "description": "NodePool contains the name and configuration for a cluster's node pool.\nNode pools are a set of nodes (i.e. VM's), with a common configuration and\nspecification, under the control of the cluster master. They may have a set\nof Kubernetes labels applied to them, which may be used to reference them\nduring pod scheduling. They may also be resized up or down, to accommodate\nthe workload.", |
+ "id": "NodePool", |
+ "properties": { |
+ "statusMessage": { |
+ "description": "[Output only] Additional information about the current status of this\nnode pool instance, if available.", |
"type": "string" |
}, |
- "description": { |
- "description": "An optional description of this cluster.", |
+ "name": { |
+ "description": "The name of the node pool.", |
"type": "string" |
}, |
+ "autoscaling": { |
+ "$ref": "NodePoolAutoscaling", |
+ "description": "Autoscaler configuration for this NodePool. Autoscaler is enabled\nonly if a valid configuration is present." |
+ }, |
"initialNodeCount": { |
- "description": "The number of nodes to create in this cluster. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a \"node_pool\" object, since this configuration (along with the \"node_config\") will be used to create a \"NodePool\" object with an auto-generated name. Do not use this and a node_pool at the same time.", |
+ "description": "The initial node count for the pool. You must ensure that your\nCompute Engine <a href=\"/compute/docs/resource-quotas\">resource quota</a>\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.", |
"format": "int32", |
"type": "integer" |
}, |
- "nodeConfig": { |
- "$ref": "NodeConfig", |
- "description": "Parameters used in creating the cluster's nodes. See `nodeConfig` for the description of its properties. For requests, this field should only be used in lieu of a \"node_pool\" object, since this configuration (along with the \"initial_node_count\") will be used to create a \"NodePool\" object with an auto-generated name. Do not use this and a node_pool at the same time. For responses, this field will be populated with the node configuration of the first node pool. If unspecified, the defaults are used." |
- }, |
- "masterAuth": { |
- "$ref": "MasterAuth", |
- "description": "The authentication information for accessing the master endpoint." |
- }, |
- "loggingService": { |
- "description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com` - the Google Cloud Logging service. * `none` - no logs will be exported from the cluster. * if left as an empty string,`logging.googleapis.com` will be used.", |
- "type": "string" |
- }, |
- "monitoringService": { |
- "description": "The monitoring service the cluster should use to write metrics. Currently available options: * `monitoring.googleapis.com` - the Google Cloud Monitoring service. * `none` - no metrics will be exported from the cluster. * if left as an empty string, `monitoring.googleapis.com` will be used.", |
- "type": "string" |
- }, |
- "network": { |
- "description": "The name of the Google Compute Engine [network](/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used.", |
- "type": "string" |
+ "management": { |
+ "$ref": "NodeManagement", |
+ "description": "NodeManagement configuration for this NodePool." |
}, |
- "clusterIpv4Cidr": { |
- "description": "The IP address range of the container pods in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically chosen or specify a `/14` block in `10.0.0.0/8`.", |
+ "selfLink": { |
+ "description": "[Output only] Server-defined URL for the resource.", |
"type": "string" |
}, |
- "addonsConfig": { |
- "$ref": "AddonsConfig", |
- "description": "Configurations for the various addons available to run in the cluster." |
- }, |
- "subnetwork": { |
- "description": "The name of the Google Compute Engine [subnetwork](/compute/docs/subnetworks) to which the cluster is connected.", |
+ "version": { |
+ "description": "[Output only] The version of the Kubernetes of this node.", |
"type": "string" |
}, |
- "nodePools": { |
- "description": "The node pools associated with this cluster. This field should not be set if \"node_config\" or \"initial_node_count\" are specified.", |
- "items": { |
- "$ref": "NodePool" |
- }, |
- "type": "array" |
- }, |
- "locations": { |
- "description": "The list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located.", |
+ "instanceGroupUrls": { |
+ "description": "[Output only] The resource URLs of [instance\ngroups](/compute/docs/instance-groups/) associated with this\nnode pool.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
}, |
- "enableKubernetesAlpha": { |
- "description": "Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.", |
- "type": "boolean" |
- }, |
- "selfLink": { |
- "description": "[Output only] Server-defined URL for the resource.", |
- "type": "string" |
- }, |
- "zone": { |
- "description": "[Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.", |
- "type": "string" |
- }, |
- "endpoint": { |
- "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" |
- }, |
- "initialClusterVersion": { |
- "description": "[Output only] The software version of the master endpoint and kubelets used in the cluster when it was first created. The version can be upgraded over time.", |
- "type": "string" |
- }, |
- "currentMasterVersion": { |
- "description": "[Output only] The current software version of the master endpoint.", |
- "type": "string" |
- }, |
- "currentNodeVersion": { |
- "description": "[Output only] The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.", |
- "type": "string" |
- }, |
- "createTime": { |
- "description": "[Output only] The time the cluster was created, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
- "type": "string" |
- }, |
"status": { |
- "description": "[Output only] The current status of this cluster.", |
+ "description": "[Output only] The status of the nodes in this pool instance.", |
"enum": [ |
"STATUS_UNSPECIFIED", |
"PROVISIONING", |
"RUNNING", |
+ "RUNNING_WITH_ERROR", |
"RECONCILING", |
"STOPPING", |
"ERROR" |
], |
+ "enumDescriptions": [ |
+ "Not set.", |
+ "The PROVISIONING state indicates the node pool is being created.", |
+ "The RUNNING state indicates the node pool has been created\nand is fully usable.", |
+ "The RUNNING_WITH_ERROR state indicates the node pool has been created\nand is partially usable. Some error state has occurred and some\nfunctionality may be impaired. Customer may need to reissue a request\nor trigger a new update.", |
+ "The RECONCILING state indicates that some work is actively being done on\nthe node pool, such as upgrading node software. Details can\nbe found in the `statusMessage` field.", |
+ "The STOPPING state indicates the node pool is being deleted.", |
+ "The ERROR state indicates the node pool may be unusable. Details\ncan be found in the `statusMessage` field." |
+ ], |
"type": "string" |
}, |
- "statusMessage": { |
- "description": "[Output only] Additional information about the current status of this cluster, if available.", |
- "type": "string" |
- }, |
- "nodeIpv4CidrSize": { |
- "description": "[Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `container_ipv4_cidr` range.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "servicesIpv4Cidr": { |
- "description": "[Output only] The IP address range of the Kubernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are typically put in the last `/16` from the container CIDR.", |
- "type": "string" |
- }, |
- "instanceGroupUrls": { |
- "description": "[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "currentNodeCount": { |
- "description": "[Output only] The number of nodes currently in the cluster.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "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" |
+ "config": { |
+ "$ref": "NodeConfig", |
+ "description": "The node configuration of the pool." |
} |
}, |
"type": "object" |
}, |
- "NodeConfig": { |
- "description": "Parameters that describe the nodes in a cluster.", |
- "id": "NodeConfig", |
+ "SetLabelsRequest": { |
+ "description": "SetLabelsRequest sets the Google Cloud Platform labels on a Google Container\nEngine cluster, which will in turn set them for Google Compute Engine\nresources used by that cluster", |
+ "id": "SetLabelsRequest", |
"properties": { |
- "machineType": { |
- "description": "The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.", |
- "type": "string" |
+ "resourceLabels": { |
+ "$ref": "ResourceLabels", |
+ "description": "The labels to set for that cluster." |
}, |
- "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", |
- "type": "integer" |
- }, |
- "oauthScopes": { |
- "description": "The set of Google API scopes to be made available on all of the node VMs under the \"default\" service account. The following scopes are recommended, but not required, and by default are not included: * `https://www.googleapis.com/auth/compute` is required for mounting persistent storage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](/container-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "serviceAccount": { |
- "description": "The Google Cloud Platform Service Account to be used by the node VMs. If no Service Account is specified, the \"default\" service account is used.", |
+ "labelFingerprint": { |
+ "description": "The fingerprint of the previous set of labels for this resource,\nused to detect conflicts. The fingerprint is initially generated by\nContainer Engine and changes after every request to modify or update\nlabels. You must always provide an up-to-date fingerprint hash when\nupdating or changing labels. Make a <code>get()</code> request to the\nresource to get the latest fingerprint.", |
"type": "string" |
- }, |
- "metadata": { |
- "additionalProperties": { |
- "type": "string" |
- }, |
- "description": "The metadata key/value pairs assigned to instances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: \"instance-template\", \"kube-env\", \"startup-script\", and \"user-data\" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.", |
- "type": "object" |
- }, |
- "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.", |
- "type": "string" |
- }, |
- "labels": { |
- "additionalProperties": { |
- "type": "string" |
- }, |
- "description": "The map of Kubernetes labels (key/value pairs) to be applied to each node. These will added in addition to any default label(s) that Kubernetes may apply to the node. In case of conflict in label keys, the applied set may differ depending on the Kubernetes version -- it's best to assume the behavior is undefined and conflicts should be avoided. For more information, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/user-guide/labels.html", |
- "type": "object" |
- }, |
- "localSsdCount": { |
- "description": "The number of local SSD disks to be attached to the node. The limit for this value is dependant upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits for more information.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "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": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "preemptible": { |
- "description": "Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.", |
- "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", |
+ "NodeManagement": { |
+ "description": "NodeManagement defines the set of node management services turned on for the\nnode pool.", |
+ "id": "NodeManagement", |
"properties": { |
- "username": { |
- "description": "The username to use for HTTP basic authentication to the master endpoint.", |
- "type": "string" |
- }, |
- "password": { |
- "description": "The password to use for HTTP basic authentication to the master endpoint. Because the master endpoint is open to the Internet, you should create a strong password.", |
- "type": "string" |
- }, |
- "clusterCaCertificate": { |
- "description": "[Output only] Base64-encoded public certificate that is the root of trust for the cluster.", |
- "type": "string" |
+ "autoUpgrade": { |
+ "description": "A flag that specifies whether node auto-upgrade is enabled for the node\npool. If enabled, node auto-upgrade helps keep the nodes in your node pool\nup to date with the latest release version of Kubernetes.", |
+ "type": "boolean" |
}, |
- "clientCertificate": { |
- "description": "[Output only] Base64-encoded public certificate used by clients to authenticate to the cluster endpoint.", |
- "type": "string" |
+ "autoRepair": { |
+ "description": "A flag that specifies whether the node auto-repair is enabled for the node\npool. If enabled, the nodes in this node pool will be monitored and, if\nthey fail health checks too many times, an automatic repair action will be\ntriggered.", |
+ "type": "boolean" |
}, |
- "clientKey": { |
- "description": "[Output only] Base64-encoded private key used by clients to authenticate to the cluster endpoint.", |
- "type": "string" |
+ "upgradeOptions": { |
+ "$ref": "AutoUpgradeOptions", |
+ "description": "Specifies the Auto Upgrade knobs for the node pool." |
} |
}, |
"type": "object" |
}, |
- "AddonsConfig": { |
- "description": "Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.", |
- "id": "AddonsConfig", |
+ "ResourceLabels": { |
+ "description": "The set of Google Compute Engine labels that will be applied to any\nunderlying resources that the Google Container Cluster creates or uses.\nThese are merely metadata on the resources, and do not change the behavior\nof the cluster.", |
+ "id": "ResourceLabels", |
"properties": { |
- "httpLoadBalancing": { |
- "$ref": "HttpLoadBalancing", |
- "description": "Configuration for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster." |
- }, |
- "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." |
+ "items": { |
+ "description": "The list of labels.", |
+ "items": { |
+ "$ref": "Item" |
+ }, |
+ "type": "array" |
} |
}, |
"type": "object" |
}, |
- "HttpLoadBalancing": { |
- "description": "Configuration options for the HTTP (L7) load balancing controller addon, which makes it easy to set up HTTP load balancers for services in a cluster.", |
- "id": "HttpLoadBalancing", |
- "properties": { |
- "disabled": { |
- "description": "Whether the HTTP Load Balancing controller is enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.", |
- "type": "boolean" |
- } |
- }, |
+ "CancelOperationRequest": { |
+ "description": "CancelOperationRequest cancels a single operation.", |
+ "id": "CancelOperationRequest", |
+ "properties": {}, |
"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", |
+ "SetLegacyAbacRequest": { |
+ "description": "SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for\na cluster.", |
+ "id": "SetLegacyAbacRequest", |
"properties": { |
- "disabled": { |
- "description": "Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that a Heapster pod is running in the cluster, which is also used by the Cloud Monitoring service.", |
+ "enabled": { |
+ "description": "Whether ABAC authorization will be enabled in the cluster.", |
"type": "boolean" |
} |
}, |
"type": "object" |
}, |
- "NodePool": { |
- "description": "NodePool contains the name and configuration for a cluster's node pool. Node pools are a set of nodes (i.e. VM's), with a common configuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.", |
- "id": "NodePool", |
+ "Operation": { |
+ "description": "This operation resource represents operations that may have happened or are\nhappening on the cluster. All fields are output only.", |
+ "id": "Operation", |
"properties": { |
- "name": { |
- "description": "The name of the node pool.", |
+ "status": { |
+ "description": "The current status of the operation.", |
+ "enum": [ |
+ "STATUS_UNSPECIFIED", |
+ "PENDING", |
+ "RUNNING", |
+ "DONE", |
+ "ABORTING" |
+ ], |
+ "enumDescriptions": [ |
+ "Not set.", |
+ "The operation has been created.", |
+ "The operation is currently running.", |
+ "The operation is done, either cancelled or completed.", |
+ "The operation is aborting." |
+ ], |
"type": "string" |
}, |
- "config": { |
- "$ref": "NodeConfig", |
- "description": "The node configuration of the pool." |
+ "statusMessage": { |
+ "description": "If an error has occurred, a textual description of the error.", |
+ "type": "string" |
}, |
- "initialNodeCount": { |
- "description": "The initial node count for the pool. You must ensure that your Compute Engine resource quota is sufficient for this number of instances. You must also have available firewall and routes quota.", |
- "format": "int32", |
- "type": "integer" |
+ "name": { |
+ "description": "The server-assigned ID for the operation.", |
+ "type": "string" |
}, |
"selfLink": { |
- "description": "[Output only] Server-defined URL for the resource.", |
+ "description": "Server-defined URL for the resource.", |
"type": "string" |
}, |
- "version": { |
- "description": "[Output only] The version of the Kubernetes of this node.", |
+ "detail": { |
+ "description": "Detailed operation progress, if available.", |
"type": "string" |
}, |
- "instanceGroupUrls": { |
- "description": "[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this node pool.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "targetLink": { |
+ "description": "Server-defined URL for the target of the operation.", |
+ "type": "string" |
}, |
- "status": { |
- "description": "[Output only] The status of the nodes in this pool instance.", |
+ "operationType": { |
+ "description": "The operation type.", |
"enum": [ |
- "STATUS_UNSPECIFIED", |
- "PROVISIONING", |
- "RUNNING", |
- "RUNNING_WITH_ERROR", |
- "RECONCILING", |
- "STOPPING", |
- "ERROR" |
+ "TYPE_UNSPECIFIED", |
+ "CREATE_CLUSTER", |
+ "DELETE_CLUSTER", |
+ "UPGRADE_MASTER", |
+ "UPGRADE_NODES", |
+ "REPAIR_CLUSTER", |
+ "UPDATE_CLUSTER", |
+ "CREATE_NODE_POOL", |
+ "DELETE_NODE_POOL", |
+ "SET_NODE_POOL_MANAGEMENT", |
+ "AUTO_REPAIR_NODES", |
+ "AUTO_UPGRADE_NODES", |
+ "SET_LABELS", |
+ "SET_MASTER_AUTH" |
+ ], |
+ "enumDescriptions": [ |
+ "Not set.", |
+ "Cluster create.", |
+ "Cluster delete.", |
+ "A master upgrade.", |
+ "A node upgrade.", |
+ "Cluster repair.", |
+ "Cluster update.", |
+ "Node pool create.", |
+ "Node pool delete.", |
+ "Set node pool management.", |
+ "Automatic node pool repair.", |
+ "Automatic node upgrade.", |
+ "Set labels.", |
+ "Set/generate master auth materials" |
], |
"type": "string" |
}, |
- "statusMessage": { |
- "description": "[Output only] Additional information about the current status of this node pool instance, if available.", |
+ "zone": { |
+ "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the operation\nis taking place.", |
"type": "string" |
- }, |
- "autoscaling": { |
- "$ref": "NodePoolAutoscaling", |
- "description": "Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present." |
- }, |
- "management": { |
- "$ref": "NodeManagement", |
- "description": "NodeManagement configuration for this NodePool." |
- } |
- }, |
- "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", |
- "properties": { |
- "enabled": { |
- "description": "Is autoscaling enabled for this node pool.", |
- "type": "boolean" |
- }, |
- "minNodeCount": { |
- "description": "Minimum number of nodes in the NodePool. Must be >= 1 and <= max_node_count.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "maxNodeCount": { |
- "description": "Maximum number of nodes in the NodePool. Must be >= min_node_count. There has to enough quota to scale up the cluster.", |
- "format": "int32", |
- "type": "integer" |
} |
}, |
"type": "object" |
}, |
- "NodeManagement": { |
- "description": "NodeManagement defines the set of node management services turned on for the node pool.", |
- "id": "NodeManagement", |
+ "AddonsConfig": { |
+ "description": "Configuration for the addons that can be automatically spun up in the\ncluster, enabling additional functionality.", |
+ "id": "AddonsConfig", |
"properties": { |
- "autoUpgrade": { |
- "description": "Whether the nodes will be automatically upgraded.", |
- "type": "boolean" |
+ "horizontalPodAutoscaling": { |
+ "$ref": "HorizontalPodAutoscaling", |
+ "description": "Configuration for the horizontal pod autoscaling feature, which\nincreases or decreases the number of replica pods a replication controller\nhas based on the resource usage of the existing pods." |
}, |
- "upgradeOptions": { |
- "$ref": "AutoUpgradeOptions", |
- "description": "Specifies the Auto Upgrade knobs for the node pool." |
+ "httpLoadBalancing": { |
+ "$ref": "HttpLoadBalancing", |
+ "description": "Configuration for the HTTP (L7) load balancing controller addon, which\nmakes it easy to set up HTTP load balancers for services in a cluster." |
} |
}, |
"type": "object" |
}, |
- "AutoUpgradeOptions": { |
- "description": "AutoUpgradeOptions defines the set of options for the user to control how the Auto Upgrades will proceed.", |
- "id": "AutoUpgradeOptions", |
- "properties": { |
- "autoUpgradeStartTime": { |
- "description": "[Output only] This field is set when upgrades are about to commence with the approximate start time for the upgrades, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
- "type": "string" |
- }, |
- "description": { |
- "description": "[Output only] This field is set when upgrades are about to commence with the description of the upgrade.", |
- "type": "string" |
- } |
- }, |
+ "RollbackNodePoolUpgradeRequest": { |
+ "description": "RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed\nNodePool upgrade. This will be an no-op if the last upgrade successfully\ncompleted.", |
+ "id": "RollbackNodePoolUpgradeRequest", |
+ "properties": {}, |
"type": "object" |
}, |
- "CreateClusterRequest": { |
- "description": "CreateClusterRequest creates a cluster.", |
- "id": "CreateClusterRequest", |
+ "UpdateClusterRequest": { |
+ "description": "UpdateClusterRequest updates the settings of a cluster.", |
+ "id": "UpdateClusterRequest", |
"properties": { |
- "cluster": { |
- "$ref": "Cluster", |
- "description": "A [cluster resource](/container-engine/reference/rest/v1/projects.zones.clusters)" |
+ "update": { |
+ "$ref": "ClusterUpdate", |
+ "description": "A description of the update." |
} |
}, |
"type": "object" |
}, |
- "Operation": { |
- "description": "This operation resource represents operations that may have happened or are happening on the cluster. All fields are output only.", |
- "id": "Operation", |
+ "Cluster": { |
+ "description": "A Google Container Engine cluster.", |
+ "id": "Cluster", |
"properties": { |
- "name": { |
- "description": "The server-assigned ID for the operation.", |
+ "currentMasterVersion": { |
+ "description": "[Output only] The current software version of the master endpoint.", |
"type": "string" |
}, |
- "zone": { |
- "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the operation is taking place.", |
- "type": "string" |
+ "nodeConfig": { |
+ "$ref": "NodeConfig", |
+ "description": "Parameters used in creating the cluster's nodes.\nSee `nodeConfig` for the description of its properties.\nFor requests, this field should only be used in lieu of a\n\"node_pool\" object, since this configuration (along with the\n\"initial_node_count\") will be used to create a \"NodePool\" object with an\nauto-generated name. Do not use this and a node_pool at the same time.\nFor responses, this field will be populated with the node configuration of\nthe first node pool.\n\nIf unspecified, the defaults are used." |
}, |
- "operationType": { |
- "description": "The operation type.", |
- "enum": [ |
- "TYPE_UNSPECIFIED", |
- "CREATE_CLUSTER", |
- "DELETE_CLUSTER", |
- "UPGRADE_MASTER", |
- "UPGRADE_NODES", |
- "REPAIR_CLUSTER", |
- "UPDATE_CLUSTER", |
- "CREATE_NODE_POOL", |
- "DELETE_NODE_POOL", |
- "SET_NODE_POOL_MANAGEMENT" |
- ], |
- "type": "string" |
+ "addonsConfig": { |
+ "$ref": "AddonsConfig", |
+ "description": "Configurations for the various addons available to run in the cluster." |
}, |
"status": { |
- "description": "The current status of the operation.", |
+ "description": "[Output only] The current status of this cluster.", |
"enum": [ |
"STATUS_UNSPECIFIED", |
- "PENDING", |
+ "PROVISIONING", |
"RUNNING", |
- "DONE", |
- "ABORTING" |
+ "RECONCILING", |
+ "STOPPING", |
+ "ERROR" |
+ ], |
+ "enumDescriptions": [ |
+ "Not set.", |
+ "The PROVISIONING state indicates the cluster is being created.", |
+ "The RUNNING state indicates the cluster has been created and is fully\nusable.", |
+ "The RECONCILING state indicates that some work is actively being done on\nthe cluster, such as upgrading the master or node software. Details can\nbe found in the `statusMessage` field.", |
+ "The STOPPING state indicates the cluster is being deleted.", |
+ "The ERROR state indicates the cluster may be unusable. Details\ncan be found in the `statusMessage` field." |
], |
"type": "string" |
}, |
- "detail": { |
- "description": "Detailed operation progress, if available.", |
+ "currentNodeVersion": { |
+ "description": "[Output only] The current version of the node software components.\nIf they are currently at multiple versions because they're in the process\nof being upgraded, this reflects the minimum version of all nodes.", |
"type": "string" |
}, |
- "statusMessage": { |
- "description": "If an error has occurred, a textual description of the error.", |
+ "subnetwork": { |
+ "description": "The name of the Google Compute Engine\n[subnetwork](/compute/docs/subnetworks) to which the\ncluster is connected.", |
"type": "string" |
}, |
+ "resourceLabels": { |
+ "$ref": "ResourceLabels", |
+ "description": "The resource labels for the cluster to use to annotate any related GCE\nresources." |
+ }, |
+ "name": { |
+ "description": "The name of this cluster. The name must be unique within this project\nand zone, and can be up to 40 characters with the following restrictions:\n\n* Lowercase letters, numbers, and hyphens only.\n* Must start with a letter.\n* Must end with a number or a letter.", |
+ "type": "string" |
+ }, |
+ "initialClusterVersion": { |
+ "description": "[Output only] The software version of the master endpoint and kubelets used\nin the cluster when it was first created. The version can be upgraded over\ntime.", |
+ "type": "string" |
+ }, |
+ "endpoint": { |
+ "description": "[Output only] The IP address of this cluster's master endpoint.\nThe endpoint can be accessed from the internet at\n`https://username:password@endpoint/`.\n\nSee the `masterAuth` property of this resource for username and\npassword information.", |
+ "type": "string" |
+ }, |
+ "legacyAbac": { |
+ "$ref": "LegacyAbac", |
+ "description": "Configuration for the legacy ABAC authorization mode." |
+ }, |
+ "createTime": { |
+ "description": "[Output only] The time the cluster was created, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
+ "type": "string" |
+ }, |
+ "clusterIpv4Cidr": { |
+ "description": "The IP address range of the container pods in this cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0.0/14`). Leave blank to have\none automatically chosen or specify a `/14` block in `10.0.0.0/8`.", |
+ "type": "string" |
+ }, |
+ "initialNodeCount": { |
+ "description": "The number of nodes to create in this cluster. You must ensure that your\nCompute Engine <a href=\"/compute/docs/resource-quotas\">resource quota</a>\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.\nFor requests, this field should only be used in lieu of a\n\"node_pool\" object, since this configuration (along with the\n\"node_config\") will be used to create a \"NodePool\" object with an\nauto-generated name. Do not use this and a node_pool at the same time.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
"selfLink": { |
- "description": "Server-defined URL for the resource.", |
+ "description": "[Output only] Server-defined URL for the resource.", |
"type": "string" |
}, |
- "targetLink": { |
- "description": "Server-defined URL for the target of the operation.", |
+ "locations": { |
+ "description": "The list of Google Compute Engine\n[locations](/compute/docs/zones#available) in which the cluster's nodes\nshould be located.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "nodePools": { |
+ "description": "The node pools associated with this cluster.\nThis field should not be set if \"node_config\" or \"initial_node_count\" are\nspecified.", |
+ "items": { |
+ "$ref": "NodePool" |
+ }, |
+ "type": "array" |
+ }, |
+ "instanceGroupUrls": { |
+ "description": "[Output only] The resource URLs of [instance\ngroups](/compute/docs/instance-groups/) associated with this\ncluster.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "servicesIpv4Cidr": { |
+ "description": "[Output only] The IP address range of the Kubernetes services in\nthis cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `1.2.3.4/29`). Service addresses are\ntypically put in the last `/16` from the container CIDR.", |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "UpdateClusterRequest": { |
- "description": "UpdateClusterRequest updates the settings of a cluster.", |
- "id": "UpdateClusterRequest", |
- "properties": { |
- "update": { |
- "$ref": "ClusterUpdate", |
- "description": "A description of the update." |
- } |
- }, |
- "type": "object" |
- }, |
- "ClusterUpdate": { |
- "description": "ClusterUpdate describes an update to the cluster. Exactly one update can be applied to a cluster with each request, so at most one field can be provided.", |
- "id": "ClusterUpdate", |
- "properties": { |
- "desiredNodeVersion": { |
- "description": "The Kubernetes version to change the nodes to (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.", |
+ }, |
+ "enableKubernetesAlpha": { |
+ "description": "Kubernetes alpha features are enabled on this cluster. This includes alpha\nAPI groups (e.g. v1alpha1) and features that may not be production ready in\nthe kubernetes version of the master and nodes.\nThe cluster has no SLA for uptime and master/node upgrades are disabled.\nAlpha enabled clusters are automatically deleted thirty days after\ncreation.", |
+ "type": "boolean" |
+ }, |
+ "description": { |
+ "description": "An optional description of this cluster.", |
+ "type": "string" |
+ }, |
+ "currentNodeCount": { |
+ "description": "[Output only] The number of nodes currently in the cluster.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "monitoringService": { |
+ "description": "The monitoring service the cluster should use to write metrics.\nCurrently available options:\n\n* `monitoring.googleapis.com` - the Google Cloud Monitoring service.\n* `none` - no metrics will be exported from the cluster.\n* if left as an empty string, `monitoring.googleapis.com` will be used.", |
"type": "string" |
}, |
- "desiredMonitoringService": { |
- "description": "The monitoring service the cluster should use to write metrics. Currently available options: * \"monitoring.googleapis.com\" - the Google Cloud Monitoring service * \"none\" - no metrics will be exported from the cluster", |
+ "network": { |
+ "description": "The name of the Google Compute Engine\n[network](/compute/docs/networks-and-firewalls#networks) to which the\ncluster is connected. If left unspecified, the `default` network\nwill be used.", |
"type": "string" |
}, |
- "desiredAddonsConfig": { |
- "$ref": "AddonsConfig", |
- "description": "Configurations for the various addons available to run in the cluster." |
+ "labelFingerprint": { |
+ "description": "The fingerprint of the set of labels for this cluster.", |
+ "type": "string" |
}, |
- "desiredNodePoolId": { |
- "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.", |
+ "zone": { |
+ "description": "[Output only] The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
"type": "string" |
}, |
- "desiredImageType": { |
- "description": "The desired image type for the node pool. NOTE: Set the \"desired_node_pool\" field as well.", |
+ "expireTime": { |
+ "description": "[Output only] The time the cluster will be automatically\ndeleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
"type": "string" |
}, |
- "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." |
+ "nodeIpv4CidrSize": { |
+ "description": "[Output only] The size of the address space on each node for hosting\ncontainers. This is provisioned from within the `container_ipv4_cidr`\nrange.", |
+ "format": "int32", |
+ "type": "integer" |
}, |
- "desiredLocations": { |
- "description": "The desired list of Google Compute Engine [locations](/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being either created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
+ "loggingService": { |
+ "description": "The logging service the cluster should use to write logs.\nCurrently available options:\n\n* `logging.googleapis.com` - the Google Cloud Logging service.\n* `none` - no logs will be exported from the cluster.\n* if left as an empty string,`logging.googleapis.com` will be used.", |
+ "type": "string" |
}, |
- "desiredMasterVersion": { |
- "description": "The Kubernetes version to change the master to. The only valid value is the latest supported version. Use \"-\" to have the server automatically select the latest version.", |
+ "statusMessage": { |
+ "description": "[Output only] Additional information about the current status of this\ncluster, if available.", |
"type": "string" |
+ }, |
+ "masterAuth": { |
+ "$ref": "MasterAuth", |
+ "description": "The authentication information for accessing the master endpoint." |
} |
}, |
"type": "object" |
@@ -1228,41 +1316,53 @@ |
"description": "ListOperationsResponse is the result of ListOperationsRequest.", |
"id": "ListOperationsResponse", |
"properties": { |
- "operations": { |
- "description": "A list of operations in the project in the specified zone.", |
+ "missingZones": { |
+ "description": "If any zones are listed here, the list of operations returned\nmay be missing the operations from those zones.", |
"items": { |
- "$ref": "Operation" |
+ "type": "string" |
}, |
"type": "array" |
}, |
- "missingZones": { |
- "description": "If any zones are listed here, the list of operations returned may be missing the operations from those zones.", |
+ "operations": { |
+ "description": "A list of operations in the project in the specified zone.", |
"items": { |
- "type": "string" |
+ "$ref": "Operation" |
}, |
"type": "array" |
} |
}, |
"type": "object" |
}, |
- "CancelOperationRequest": { |
- "description": "CancelOperationRequest cancels a single operation.", |
- "id": "CancelOperationRequest", |
- "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 `{}`.", |
- "id": "Empty", |
+ "CreateNodePoolRequest": { |
+ "description": "CreateNodePoolRequest creates a node pool for a cluster.", |
+ "id": "CreateNodePoolRequest", |
+ "properties": { |
+ "nodePool": { |
+ "$ref": "NodePool", |
+ "description": "The node pool to create." |
+ } |
+ }, |
"type": "object" |
}, |
"ServerConfig": { |
"description": "Container Engine service configuration.", |
"id": "ServerConfig", |
"properties": { |
+ "validMasterVersions": { |
+ "description": "List of valid master versions.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
"defaultClusterVersion": { |
"description": "Version of Kubernetes the service deploys by default.", |
"type": "string" |
}, |
+ "defaultImageType": { |
+ "description": "Default image type.", |
+ "type": "string" |
+ }, |
"validNodeVersions": { |
"description": "List of valid node upgrade target versions.", |
"items": { |
@@ -1270,64 +1370,246 @@ |
}, |
"type": "array" |
}, |
- "defaultImageType": { |
- "description": "Default image type.", |
- "type": "string" |
- }, |
"validImageTypes": { |
"description": "List of valid image types.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "NodeConfig": { |
+ "description": "Parameters that describe the nodes in a cluster.", |
+ "id": "NodeConfig", |
+ "properties": { |
+ "localSsdCount": { |
+ "description": "The number of local SSD disks to be attached to the node.\n\nThe limit for this value is dependant upon the maximum number of\ndisks available on a machine per zone. See:\nhttps://cloud.google.com/compute/docs/disks/local-ssd#local_ssd_limits\nfor more information.", |
+ "format": "int32", |
+ "type": "integer" |
}, |
- "validMasterVersions": { |
- "description": "List of valid master versions.", |
+ "metadata": { |
+ "additionalProperties": { |
+ "type": "string" |
+ }, |
+ "description": "The metadata key/value pairs assigned to instances in the cluster.\n\nKeys must conform to the regexp [a-zA-Z0-9-_]+ and be less than 128 bytes\nin length. These are reflected as part of a URL in the metadata server.\nAdditionally, to avoid ambiguity, keys must not conflict with any other\nmetadata keys for the project or be one of the four reserved keys:\n\"instance-template\", \"kube-env\", \"startup-script\", and \"user-data\"\n\nValues are free-form strings, and only have meaning as interpreted by\nthe image running in the instance. The only restriction placed on them is\nthat each value's size must be less than or equal to 32 KB.\n\nThe total size of all keys and values must be less than 512 KB.", |
+ "type": "object" |
+ }, |
+ "diskSizeGb": { |
+ "description": "Size of the disk attached to each node, specified in GB.\nThe smallest allowed disk size is 10GB.\n\nIf unspecified, the default disk size is 100GB.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "tags": { |
+ "description": "The list of instance tags applied to all nodes. Tags are used to identify\nvalid sources or targets for network firewalls and are specified by\nthe client during cluster or node pool creation. Each tag within the list\nmust comply with RFC1035.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "serviceAccount": { |
+ "description": "The Google Cloud Platform Service Account to be used by the node VMs. If\nno Service Account is specified, the \"default\" service account is used.", |
+ "type": "string" |
+ }, |
+ "machineType": { |
+ "description": "The name of a Google Compute Engine [machine\ntype](/compute/docs/machine-types) (e.g.\n`n1-standard-1`).\n\nIf unspecified, the default machine type is\n`n1-standard-1`.", |
+ "type": "string" |
+ }, |
+ "imageType": { |
+ "description": "The image type to use for this node. Note that for a given image type,\nthe latest version of it will be used.", |
+ "type": "string" |
+ }, |
+ "oauthScopes": { |
+ "description": "The set of Google API scopes to be made available on all of the\nnode VMs under the \"default\" service account.\n\nThe following scopes are recommended, but not required, and by default are\nnot included:\n\n* `https://www.googleapis.com/auth/compute` is required for mounting\npersistent storage on your nodes.\n* `https://www.googleapis.com/auth/devstorage.read_only` is required for\ncommunicating with **gcr.io**\n(the [Google Container Registry](/container-registry/)).\n\nIf unspecified, no scopes are added, unless Cloud Logging or Cloud\nMonitoring are enabled, in which case their required scopes will be added.", |
"items": { |
"type": "string" |
}, |
"type": "array" |
+ }, |
+ "preemptible": { |
+ "description": "Whether the nodes are created as preemptible VM instances. See:\nhttps://cloud.google.com/compute/docs/instances/preemptible for more\ninforamtion about preemptible VM instances.", |
+ "type": "boolean" |
+ }, |
+ "labels": { |
+ "additionalProperties": { |
+ "type": "string" |
+ }, |
+ "description": "The map of Kubernetes labels (key/value pairs) to be applied to each node.\nThese will added in addition to any default label(s) that\nKubernetes may apply to the node.\nIn case of conflict in label keys, the applied set may differ depending on\nthe Kubernetes version -- it's best to assume the behavior is undefined\nand conflicts should be avoided.\nFor more information, including usage and the valid values, see:\nhttp://kubernetes.io/v1.1/docs/user-guide/labels.html", |
+ "type": "object" |
} |
}, |
"type": "object" |
}, |
- "ListNodePoolsResponse": { |
- "description": "ListNodePoolsResponse is the result of ListNodePoolsRequest.", |
- "id": "ListNodePoolsResponse", |
+ "MasterAuth": { |
+ "description": "The authentication information for accessing the master endpoint.\nAuthentication can be done using HTTP basic auth or using client\ncertificates.", |
+ "id": "MasterAuth", |
"properties": { |
- "nodePools": { |
- "description": "A list of node pools for a cluster.", |
+ "password": { |
+ "description": "The password to use for HTTP basic authentication to the master endpoint.\nBecause the master endpoint is open to the Internet, you should create a\nstrong password.", |
+ "type": "string" |
+ }, |
+ "clientCertificate": { |
+ "description": "[Output only] Base64-encoded public certificate used by clients to\nauthenticate to the cluster endpoint.", |
+ "type": "string" |
+ }, |
+ "username": { |
+ "description": "The username to use for HTTP basic authentication to the master endpoint.", |
+ "type": "string" |
+ }, |
+ "clientKey": { |
+ "description": "[Output only] Base64-encoded private key used by clients to authenticate\nto the cluster endpoint.", |
+ "type": "string" |
+ }, |
+ "clusterCaCertificate": { |
+ "description": "[Output only] Base64-encoded public certificate that is the root of\ntrust for the cluster.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "AutoUpgradeOptions": { |
+ "description": "AutoUpgradeOptions defines the set of options for the user to control how\nthe Auto Upgrades will proceed.", |
+ "id": "AutoUpgradeOptions", |
+ "properties": { |
+ "description": { |
+ "description": "[Output only] This field is set when upgrades are about to commence\nwith the description of the upgrade.", |
+ "type": "string" |
+ }, |
+ "autoUpgradeStartTime": { |
+ "description": "[Output only] This field is set when upgrades are about to commence\nwith the approximate start time for the upgrades, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListClustersResponse": { |
+ "description": "ListClustersResponse is the result of ListClustersRequest.", |
+ "id": "ListClustersResponse", |
+ "properties": { |
+ "missingZones": { |
+ "description": "If any zones are listed here, the list of clusters returned\nmay be missing those zones.", |
"items": { |
- "$ref": "NodePool" |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "clusters": { |
+ "description": "A list of clusters in the project in the specified zone, or\nacross all ones.", |
+ "items": { |
+ "$ref": "Cluster" |
}, |
"type": "array" |
} |
}, |
"type": "object" |
}, |
- "CreateNodePoolRequest": { |
- "description": "CreateNodePoolRequest creates a node pool for a cluster.", |
- "id": "CreateNodePoolRequest", |
+ "HttpLoadBalancing": { |
+ "description": "Configuration options for the HTTP (L7) load balancing controller addon,\nwhich makes it easy to set up HTTP load balancers for services in a cluster.", |
+ "id": "HttpLoadBalancing", |
"properties": { |
- "nodePool": { |
- "$ref": "NodePool", |
- "description": "The node pool to create." |
+ "disabled": { |
+ "description": "Whether the HTTP Load Balancing controller is enabled in the cluster.\nWhen enabled, it runs a small pod in the cluster that manages the load\nbalancers.", |
+ "type": "boolean" |
} |
}, |
"type": "object" |
}, |
- "RollbackNodePoolUpgradeRequest": { |
- "description": "RollbackNodePoolUpgradeRequest rollbacks the previously Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrade successfully completed.", |
- "id": "RollbackNodePoolUpgradeRequest", |
+ "NodePoolAutoscaling": { |
+ "description": "NodePoolAutoscaling contains information required by cluster autoscaler to\nadjust the size of the node pool to the current cluster usage.", |
+ "id": "NodePoolAutoscaling", |
+ "properties": { |
+ "enabled": { |
+ "description": "Is autoscaling enabled for this node pool.", |
+ "type": "boolean" |
+ }, |
+ "maxNodeCount": { |
+ "description": "Maximum number of nodes in the NodePool. Must be >= min_node_count. There\nhas to enough quota to scale up the cluster.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "minNodeCount": { |
+ "description": "Minimum number of nodes in the NodePool. Must be >= 1 and <=\nmax_node_count.", |
+ "format": "int32", |
+ "type": "integer" |
+ } |
+ }, |
"type": "object" |
}, |
- "SetNodePoolManagementRequest": { |
- "description": "SetNodePoolManagementRequest sets the node management properties of a node pool.", |
- "id": "SetNodePoolManagementRequest", |
+ "SetMasterAuthRequest": { |
+ "description": "SetMasterAuthRequest updates the admin password of a cluster.", |
+ "id": "SetMasterAuthRequest", |
"properties": { |
- "management": { |
- "$ref": "NodeManagement", |
- "description": "NodeManagement configuration for the node pool." |
+ "update": { |
+ "$ref": "MasterAuth", |
+ "description": "A description of the update." |
+ }, |
+ "action": { |
+ "description": "The exact form of action to be taken on the master auth", |
+ "enum": [ |
+ "UNKNOWN", |
+ "SET_PASSWORD", |
+ "GENERATE_PASSWORD" |
+ ], |
+ "enumDescriptions": [ |
+ "Operation is unknown and will error out", |
+ "Set the password to a user generated value.", |
+ "Generate a new password and set it to that." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ClusterUpdate": { |
+ "description": "ClusterUpdate describes an update to the cluster. Exactly one update can\nbe applied to a cluster with each request, so at most one field can be\nprovided.", |
+ "id": "ClusterUpdate", |
+ "properties": { |
+ "desiredLocations": { |
+ "description": "The desired list of Google Compute Engine\n[locations](/compute/docs/zones#available) in which the cluster's nodes\nshould be located. Changing the locations a cluster is in will result\nin nodes being either created or removed from the cluster, depending on\nwhether locations are being added or removed.\n\nThis list must always include the cluster's primary zone.", |
+ "items": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "desiredNodePoolAutoscaling": { |
+ "$ref": "NodePoolAutoscaling", |
+ "description": "Autoscaler configuration for the node pool specified in\ndesired_node_pool_id. If there is only one pool in the\ncluster and desired_node_pool_id is not provided then\nthe change applies to that single node pool." |
+ }, |
+ "desiredMonitoringService": { |
+ "description": "The monitoring service the cluster should use to write metrics.\nCurrently available options:\n\n* \"monitoring.googleapis.com\" - the Google Cloud Monitoring service\n* \"none\" - no metrics will be exported from the cluster", |
+ "type": "string" |
+ }, |
+ "desiredImageType": { |
+ "description": "The desired image type for the node pool.\nNOTE: Set the \"desired_node_pool\" field as well.", |
+ "type": "string" |
+ }, |
+ "desiredAddonsConfig": { |
+ "$ref": "AddonsConfig", |
+ "description": "Configurations for the various addons available to run in the cluster." |
+ }, |
+ "desiredNodePoolId": { |
+ "description": "The node pool to be upgraded. This field is mandatory if\n\"desired_node_version\", \"desired_image_family\" or\n\"desired_node_pool_autoscaling\" is specified and there is more than one\nnode pool on the cluster.", |
+ "type": "string" |
+ }, |
+ "desiredNodeVersion": { |
+ "description": "The Kubernetes version to change the nodes to (typically an\nupgrade). Use `-` to upgrade to the latest version supported by\nthe server.", |
+ "type": "string" |
+ }, |
+ "desiredMasterVersion": { |
+ "description": "The Kubernetes version to change the master to. The only valid value is the\nlatest supported version. Use \"-\" to have the server automatically select\nthe latest version.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "HorizontalPodAutoscaling": { |
+ "description": "Configuration options for the horizontal pod autoscaling feature, which\nincreases or decreases the number of replica pods a replication controller\nhas based on the resource usage of the existing pods.", |
+ "id": "HorizontalPodAutoscaling", |
+ "properties": { |
+ "disabled": { |
+ "description": "Whether the Horizontal Pod Autoscaling feature is enabled in the cluster.\nWhen enabled, it ensures that a Heapster pod is running in the cluster,\nwhich is also used by the Cloud Monitoring service.", |
+ "type": "boolean" |
} |
}, |
"type": "object" |