{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
}
}
}
},
"basePath": "",
"baseUrl": "https://container.googleapis.com/",
"batchPath": "batch",
"canonicalName": "Container",
"description": "Builds and manages container-based applications, powered by the open source Kubernetes technology.",
"discoveryVersion": "v1",
"documentationLink": "https://cloud.google.com/kubernetes-engine/docs/",
"fullyEncodeReservedExpansion": true,
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"id": "container:v1beta1",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://container.mtls.googleapis.com/",
"name": "container",
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
"$.xgafv": {
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query",
"type": "string"
},
"access_token": {
"description": "OAuth access token.",
"location": "query",
"type": "string"
},
"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": "string"
},
"callback": {
"description": "JSONP",
"location": "query",
"type": "string"
},
"fields": {
"description": "Selector specifying which fields to include in a partial response.",
"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.",
"location": "query",
"type": "string"
},
"oauth_token": {
"description": "OAuth 2.0 token for the current user.",
"location": "query",
"type": "string"
},
"prettyPrint": {
"default": "true",
"description": "Returns response with indentations and line breaks.",
"location": "query",
"type": "boolean"
},
"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"
},
"uploadType": {
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
"type": "string"
}
},
"protocol": "rest",
"resources": {
"projects": {
"resources": {
"aggregated": {
"resources": {
"usableSubnetworks": {
"methods": {
"list": {
"description": "Lists subnetworks that can be used for creating clusters in a project.",
"flatPath": "v1beta1/projects/{projectsId}/aggregated/usableSubnetworks",
"httpMethod": "GET",
"id": "container.projects.aggregated.usableSubnetworks.list",
"parameterOrder": [
"parent"
],
"parameters": {
"filter": {
"description": "Filtering currently only supports equality on the networkProjectId and must be in the form: \"networkProjectId=[PROJECTID]\", where `networkProjectId` is the project which owns the listed subnetworks. This defaults to the parent project ID.",
"location": "query",
"type": "string"
},
"pageSize": {
"description": "The max number of results per page that should be returned. If the number of available results is larger than `page_size`, a `next_page_token` is returned which can be used to get the next page of results in subsequent requests. Acceptable values are 0 to 500, inclusive. (Default: 500)",
"format": "int32",
"location": "query",
"type": "integer"
},
"pageToken": {
"description": "Specifies a page token to use. Set this to the nextPageToken returned by previous list requests to get the next page of results.",
"location": "query",
"type": "string"
},
"parent": {
"description": "Required. The parent project where subnetworks are usable. Specified in the format `projects/*`.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/aggregated/usableSubnetworks",
"response": {
"$ref": "ListUsableSubnetworksResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"locations": {
"methods": {
"getServerConfig": {
"description": "Returns configuration info about the Google Kubernetes Engine service.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/serverConfig",
"httpMethod": "GET",
"id": "container.projects.locations.getServerConfig",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"deprecated": true,
"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"
},
"zone": {
"deprecated": true,
"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}/serverConfig",
"response": {
"$ref": "ServerConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Fetches locations that offer Google Kubernetes Engine.",
"flatPath": "v1beta1/projects/{projectsId}/locations",
"httpMethod": "GET",
"id": "container.projects.locations.list",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "Required. Contains the name of the resource requested. Specified in the format `projects/*`.",
"location": "path",
"pattern": "^projects/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/locations",
"response": {
"$ref": "ListLocationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"clusters": {
"methods": {
"checkAutopilotCompatibility": {
"description": "Checks the cluster compatibility with Autopilot mode, and returns a list of compatibility issues.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:checkAutopilotCompatibility",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.checkAutopilotCompatibility",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:checkAutopilotCompatibility",
"response": {
"$ref": "CheckAutopilotCompatibilityResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"completeControlPlaneUpgrade": {
"description": "CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:completeControlPlaneUpgrade",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.completeControlPlaneUpgrade",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to complete upgrade. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:completeControlPlaneUpgrade",
"request": {
"$ref": "CompleteControlPlaneUpgradeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"completeIpRotation": {
"description": "Completes master IP rotation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:completeIpRotation",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.completeIpRotation",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"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,
"type": "string"
}
},
"path": "v1beta1/{+name}:completeIpRotation",
"request": {
"$ref": "CompleteIPRotationRequest"
},
"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 Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+parent}/clusters",
"request": {
"$ref": "CreateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"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, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
"httpMethod": "DELETE",
"id": "container.projects.locations.clusters.delete",
"parameterOrder": [
"name"
],
"parameters": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"deprecated": true,
"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"
},
"zone": {
"deprecated": true,
"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.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"fetchClusterUpgradeInfo": {
"description": "Fetch upgrade information of a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:fetchClusterUpgradeInfo",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.fetchClusterUpgradeInfo",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name (project, location, cluster) of the cluster to get. Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/zones/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
},
"version": {
"description": "API request version that initiates this operation.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}:fetchClusterUpgradeInfo",
"response": {
"$ref": "ClusterUpgradeInfo"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the details for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.get",
"parameterOrder": [
"name"
],
"parameters": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"deprecated": true,
"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"
},
"zone": {
"deprecated": true,
"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.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Cluster"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"getJwks": {
"description": "Gets the public component of the cluster signing keys in JSON Web Key format.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/jwks",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.getJwks",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"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,
"type": "string"
}
},
"path": "v1beta1/{+parent}/jwks",
"response": {
"$ref": "GetJSONWebKeysResponse"
}
},
"list": {
"description": "Lists all clusters owned by a project in either the specified zone or all zones.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.list",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"deprecated": true,
"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"
},
"zone": {
"deprecated": true,
"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones. This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+parent}/clusters",
"response": {
"$ref": "ListClustersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setAddons": {
"description": "Sets the addons for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setAddons",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setAddons",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setAddons",
"request": {
"$ref": "SetAddonsConfigRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setLegacyAbac": {
"description": "Enables or disables the ABAC authorization mechanism on a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLegacyAbac",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setLegacyAbac",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"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,
"type": "string"
}
},
"path": "v1beta1/{+name}:setLegacyAbac",
"request": {
"$ref": "SetLegacyAbacRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setLocations": {
"deprecated": true,
"description": "Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLocations",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setLocations",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setLocations",
"request": {
"$ref": "SetLocationsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setLogging": {
"description": "Sets the logging service for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setLogging",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setLogging",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setLogging",
"request": {
"$ref": "SetLoggingServiceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMaintenancePolicy": {
"description": "Sets the maintenance policy for a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMaintenancePolicy",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setMaintenancePolicy",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"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,
"type": "string"
}
},
"path": "v1beta1/{+name}:setMaintenancePolicy",
"request": {
"$ref": "SetMaintenancePolicyRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMasterAuth": {
"description": "Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMasterAuth",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setMasterAuth",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setMasterAuth",
"request": {
"$ref": "SetMasterAuthRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMonitoring": {
"description": "Sets the monitoring service for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setMonitoring",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setMonitoring",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setMonitoring",
"request": {
"$ref": "SetMonitoringServiceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setNetworkPolicy": {
"description": "Enables or disables Network Policy for a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setNetworkPolicy",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setNetworkPolicy",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"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,
"type": "string"
}
},
"path": "v1beta1/{+name}:setNetworkPolicy",
"request": {
"$ref": "SetNetworkPolicyRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setResourceLabels": {
"description": "Sets labels on a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:setResourceLabels",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.setResourceLabels",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"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,
"type": "string"
}
},
"path": "v1beta1/{+name}:setResourceLabels",
"request": {
"$ref": "SetLabelsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"startIpRotation": {
"description": "Starts master IP rotation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:startIpRotation",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.startIpRotation",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"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,
"type": "string"
}
},
"path": "v1beta1/{+name}:startIpRotation",
"request": {
"$ref": "StartIPRotationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"description": "Updates the settings for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
"httpMethod": "PUT",
"id": "container.projects.locations.clusters.update",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"request": {
"$ref": "UpdateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"updateMaster": {
"description": "Updates the master for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:updateMaster",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.updateMaster",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:updateMaster",
"request": {
"$ref": "UpdateMasterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"nodePools": {
"methods": {
"completeUpgrade": {
"description": "CompleteNodePoolUpgrade will signal an on-going node pool upgrade to complete.",
"flatPath": "v1beta1/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": "v1beta1/{+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": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.create",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"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,
"type": "string"
}
},
"path": "v1beta1/{+parent}/nodePools",
"request": {
"$ref": "CreateNodePoolRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a node pool from a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
"httpMethod": "DELETE",
"id": "container.projects.locations.clusters.nodePools.delete",
"parameterOrder": [
"name"
],
"parameters": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
},
"nodePoolId": {
"deprecated": true,
"description": "Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"projectId": {
"deprecated": true,
"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"
},
"zone": {
"deprecated": true,
"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.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"fetchNodePoolUpgradeInfo": {
"description": "Fetch upgrade information of a specific nodepool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:fetchNodePoolUpgradeInfo",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.nodePools.fetchNodePoolUpgradeInfo",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*` or `projects/*/zones/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
},
"version": {
"description": "API request version that initiates this operation.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}:fetchNodePoolUpgradeInfo",
"response": {
"$ref": "NodePoolUpgradeInfo"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Retrieves the requested node pool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.nodePools.get",
"parameterOrder": [
"name"
],
"parameters": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
},
"nodePoolId": {
"deprecated": true,
"description": "Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"projectId": {
"deprecated": true,
"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"
},
"zone": {
"deprecated": true,
"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.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "NodePool"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists the node pools for a cluster.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.nodePools.list",
"parameterOrder": [
"parent"
],
"parameters": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
},
"parent": {
"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": {
"deprecated": true,
"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"
},
"zone": {
"deprecated": true,
"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 parent field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+parent}/nodePools",
"response": {
"$ref": "ListNodePoolsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rollback": {
"description": "Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:rollback",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.rollback",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:rollback",
"request": {
"$ref": "RollbackNodePoolUpgradeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setAutoscaling": {
"description": "Sets the autoscaling settings of a specific node pool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setAutoscaling",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.setAutoscaling",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setAutoscaling",
"request": {
"$ref": "SetNodePoolAutoscalingRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setManagement": {
"description": "Sets the NodeManagement options for a node pool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setManagement",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.setManagement",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setManagement",
"request": {
"$ref": "SetNodePoolManagementRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setSize": {
"description": "SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}:setSize",
"httpMethod": "POST",
"id": "container.projects.locations.clusters.nodePools.setSize",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:setSize",
"request": {
"$ref": "SetNodePoolSizeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"description": "Updates the version and/or image type of a specific node pool.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/nodePools/{nodePoolsId}",
"httpMethod": "PUT",
"id": "container.projects.locations.clusters.nodePools.update",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster, node pool) of the node pool to update. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}",
"request": {
"$ref": "UpdateNodePoolRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
"well-known": {
"methods": {
"getOpenid-configuration": {
"description": "Gets the OIDC discovery document for the cluster. See the [OpenID Connect Discovery 1.0 specification](https://openid.net/specs/openid-connect-discovery-1_0.html) for details.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}/.well-known/openid-configuration",
"httpMethod": "GET",
"id": "container.projects.locations.clusters.well-known.getOpenid-configuration",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"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,
"type": "string"
}
},
"path": "v1beta1/{+parent}/.well-known/openid-configuration",
"response": {
"$ref": "GetOpenIDConfigResponse"
}
}
}
}
}
},
"operations": {
"methods": {
"cancel": {
"description": "Cancels the specified operation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel",
"httpMethod": "POST",
"id": "container.projects.locations.operations.cancel",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*/locations/*/operations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:cancel",
"request": {
"$ref": "CancelOperationRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the specified operation.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}",
"httpMethod": "GET",
"id": "container.projects.locations.operations.get",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/operations/[^/]+$",
"required": true,
"type": "string"
},
"operationId": {
"deprecated": true,
"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.",
"location": "query",
"type": "string"
},
"projectId": {
"deprecated": true,
"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"
},
"zone": {
"deprecated": true,
"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.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all operations in a project in the specified zone or all zones.",
"flatPath": "v1beta1/projects/{projectsId}/locations/{locationsId}/operations",
"httpMethod": "GET",
"id": "container.projects.locations.operations.list",
"parameterOrder": [
"parent"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+$",
"required": true,
"type": "string"
},
"projectId": {
"deprecated": true,
"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"
},
"zone": {
"deprecated": true,
"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+parent}/operations",
"response": {
"$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"zones": {
"methods": {
"getServerconfig": {
"description": "Returns configuration info about the Google Kubernetes Engine service.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/serverconfig",
"httpMethod": "GET",
"id": "container.projects.zones.getServerconfig",
"parameterOrder": [
"projectId",
"zone"
],
"parameters": {
"name": {
"description": "The name (project and location) of the server config to get, specified in the format `projects/*/locations/*`.",
"location": "query",
"type": "string"
},
"projectId": {
"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"
},
"zone": {
"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/serverconfig",
"response": {
"$ref": "ServerConfig"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"clusters": {
"methods": {
"addons": {
"description": "Sets the addons for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.addons",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/addons",
"request": {
"$ref": "SetAddonsConfigRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"completeControlPlaneUpgrade": {
"description": "CompleteControlPlaneUpgrade completes the rollback-safe upgrade by performing the step two upgrade for a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/zones/{zonesId}/clusters/{clustersId}:completeControlPlaneUpgrade",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.completeControlPlaneUpgrade",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "The name (project, location, cluster) of the cluster to complete upgrade. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/zones/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1beta1/{+name}:completeControlPlaneUpgrade",
"request": {
"$ref": "CompleteControlPlaneUpgradeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"completeIpRotation": {
"description": "Completes master IP rotation.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.completeIpRotation",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:completeIpRotation",
"request": {
"$ref": "CompleteIPRotationRequest"
},
"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 Compute Engine instances. By default, the cluster is created in the project's [default network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks). One firewall is added for the cluster. After cluster creation, the kubelet creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an entry is added to the project's global metadata indicating which CIDR range the cluster is using.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.create",
"parameterOrder": [
"projectId",
"zone"
],
"parameters": {
"projectId": {
"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"
},
"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 parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters",
"request": {
"$ref": "CreateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"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, such as load balancer resources, are not deleted if they weren't present when the cluster was initially created.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"httpMethod": "DELETE",
"id": "container.projects.zones.clusters.delete",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to delete. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to delete. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "query",
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"fetchClusterUpgradeInfo": {
"description": "Fetch upgrade information of a specific cluster.",
"flatPath": "v1beta1/projects/{projectsId}/zones/{zonesId}/clusters/{clustersId}:fetchClusterUpgradeInfo",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.fetchClusterUpgradeInfo",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name (project, location, cluster) of the cluster to get. Specified in the format `projects/*/locations/*/clusters/*` or `projects/*/zones/*/clusters/*`.",
"location": "path",
"pattern": "^projects/[^/]+/zones/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
},
"version": {
"description": "API request version that initiates this operation.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}:fetchClusterUpgradeInfo",
"response": {
"$ref": "ClusterUpgradeInfo"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the details for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.get",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to retrieve. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.",
"location": "query",
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"response": {
"$ref": "Cluster"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"legacyAbac": {
"description": "Enables or disables the ABAC authorization mechanism on a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.legacyAbac",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/legacyAbac",
"request": {
"$ref": "SetLegacyAbacRequest"
},
"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 zones.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.list",
"parameterOrder": [
"projectId",
"zone"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.",
"location": "query",
"type": "string"
},
"projectId": {
"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"
},
"zone": {
"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides, or \"-\" for all zones. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters",
"response": {
"$ref": "ListClustersResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"locations": {
"deprecated": true,
"description": "Sets the locations for a specific cluster. Deprecated. Use [projects.locations.clusters.update](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters/update) instead.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.locations",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/locations",
"request": {
"$ref": "SetLocationsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"logging": {
"description": "Sets the logging service for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.logging",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/logging",
"request": {
"$ref": "SetLoggingServiceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"master": {
"description": "Updates the master for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.master",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/master",
"request": {
"$ref": "UpdateMasterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"monitoring": {
"description": "Sets the monitoring service for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.monitoring",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/monitoring",
"request": {
"$ref": "SetMonitoringServiceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"resourceLabels": {
"description": "Sets labels on a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.resourceLabels",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/resourceLabels",
"request": {
"$ref": "SetLabelsRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMaintenancePolicy": {
"description": "Sets the maintenance policy for a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.setMaintenancePolicy",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Required. The name of the cluster to update.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"zone": {
"description": "Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMaintenancePolicy",
"request": {
"$ref": "SetMaintenancePolicyRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setMasterAuth": {
"description": "Sets master auth materials. Currently supports changing the admin password or a specific cluster, either via password generation or explicitly setting the password.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.setMasterAuth",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setMasterAuth",
"request": {
"$ref": "SetMasterAuthRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setNetworkPolicy": {
"description": "Enables or disables Network Policy for a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.setNetworkPolicy",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:setNetworkPolicy",
"request": {
"$ref": "SetNetworkPolicyRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"startIpRotation": {
"description": "Starts master IP rotation.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.startIpRotation",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}:startIpRotation",
"request": {
"$ref": "StartIPRotationRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"description": "Updates the settings for a specific cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"httpMethod": "PUT",
"id": "container.projects.zones.clusters.update",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}",
"request": {
"$ref": "UpdateClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
},
"resources": {
"nodePools": {
"methods": {
"autoscaling": {
"description": "Sets the autoscaling settings of a specific node pool.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.autoscaling",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling",
"request": {
"$ref": "SetNodePoolAutoscalingRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"create": {
"description": "Creates a node pool for a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.create",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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 parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"request": {
"$ref": "CreateNodePoolRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"delete": {
"description": "Deletes a node pool from a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"httpMethod": "DELETE",
"id": "container.projects.zones.clusters.nodePools.delete",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to delete. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "query",
"type": "string"
},
"nodePoolId": {
"description": "Deprecated. The name of the node pool to delete. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"fetchNodePoolUpgradeInfo": {
"description": "Fetch upgrade information of a specific nodepool.",
"flatPath": "v1beta1/projects/{projectsId}/zones/{zonesId}/clusters/{clustersId}/nodePools/{nodePoolsId}:fetchNodePoolUpgradeInfo",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.nodePools.fetchNodePoolUpgradeInfo",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The name (project, location, cluster, nodepool) of the nodepool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*` or `projects/*/zones/*/clusters/*/nodePools/*`.",
"location": "path",
"pattern": "^projects/[^/]+/zones/[^/]+/clusters/[^/]+/nodePools/[^/]+$",
"required": true,
"type": "string"
},
"version": {
"description": "API request version that initiates this operation.",
"location": "query",
"type": "string"
}
},
"path": "v1beta1/{+name}:fetchNodePoolUpgradeInfo",
"response": {
"$ref": "NodePoolUpgradeInfo"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Retrieves the requested node pool.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.nodePools.get",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"location": "query",
"type": "string"
},
"nodePoolId": {
"description": "Deprecated. The name of the node pool. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
"response": {
"$ref": "NodePool"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists the node pools for a cluster.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"httpMethod": "GET",
"id": "container.projects.zones.clusters.nodePools.list",
"parameterOrder": [
"projectId",
"zone",
"clusterId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
},
"parent": {
"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://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"
},
"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 parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools",
"response": {
"$ref": "ListNodePoolsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rollback": {
"description": "Rolls back a previously Aborted or Failed NodePool upgrade. This makes no changes if the last upgrade successfully completed.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.rollback",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback",
"request": {
"$ref": "RollbackNodePoolUpgradeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setManagement": {
"description": "Sets the NodeManagement options for a node pool.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.setManagement",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement",
"request": {
"$ref": "SetNodePoolManagementRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"setSize": {
"description": "SetNodePoolSizeRequest sets the size of a node pool. The new size will be used for all replicas, including future replicas created by modifying NodePool.locations.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.setSize",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize",
"request": {
"$ref": "SetNodePoolSizeRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"update": {
"description": "Updates the version and/or image type of a specific node pool.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
"httpMethod": "POST",
"id": "container.projects.zones.clusters.nodePools.update",
"parameterOrder": [
"projectId",
"zone",
"clusterId",
"nodePoolId"
],
"parameters": {
"clusterId": {
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"nodePoolId": {
"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update",
"request": {
"$ref": "UpdateNodePoolRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
},
"operations": {
"methods": {
"cancel": {
"description": "Cancels the specified operation.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel",
"httpMethod": "POST",
"id": "container.projects.zones.operations.cancel",
"parameterOrder": [
"projectId",
"zone",
"operationId"
],
"parameters": {
"operationId": {
"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"zone": {
"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}:cancel",
"request": {
"$ref": "CancelOperationRequest"
},
"response": {
"$ref": "Empty"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets the specified operation.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}",
"httpMethod": "GET",
"id": "container.projects.zones.operations.get",
"parameterOrder": [
"projectId",
"zone",
"operationId"
],
"parameters": {
"name": {
"description": "The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.",
"location": "query",
"type": "string"
},
"operationId": {
"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.",
"location": "path",
"required": true,
"type": "string"
},
"projectId": {
"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"
},
"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.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/operations/{operationId}",
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"list": {
"description": "Lists all operations in a project in the specified zone or all zones.",
"flatPath": "v1beta1/projects/{projectId}/zones/{zone}/operations",
"httpMethod": "GET",
"id": "container.projects.zones.operations.list",
"parameterOrder": [
"projectId",
"zone"
],
"parameters": {
"parent": {
"description": "The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location \"-\" matches all zones and all regions.",
"location": "query",
"type": "string"
},
"projectId": {
"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"
},
"zone": {
"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) to return operations for, or `-` for all zones. This field has been deprecated and replaced by the parent field.",
"location": "path",
"required": true,
"type": "string"
}
},
"path": "v1beta1/projects/{projectId}/zones/{zone}/operations",
"response": {
"$ref": "ListOperationsResponse"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
}
}
}
}
}
},
"revision": "20260209",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
"description": "AcceleratorConfig represents a Hardware Accelerator request.",
"id": "AcceleratorConfig",
"properties": {
"acceleratorCount": {
"description": "The number of the accelerator cards exposed to an instance.",
"format": "int64",
"type": "string"
},
"acceleratorType": {
"description": "The accelerator type resource name. List of supported accelerators [here](https://cloud.google.com/compute/docs/gpus)",
"type": "string"
},
"gpuDriverInstallationConfig": {
"$ref": "GPUDriverInstallationConfig",
"description": "The configuration for auto installation of GPU driver."
},
"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."
},
"maxTimeSharedClientsPerGpu": {
"deprecated": true,
"description": "The number of time-shared GPU resources to expose for each physical GPU.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"AdditionalIPRangesConfig": {
"description": "AdditionalIPRangesConfig is the configuration for individual additional subnetwork attached to the cluster",
"id": "AdditionalIPRangesConfig",
"properties": {
"podIpv4RangeNames": {
"description": "List of secondary ranges names within this subnetwork that can be used for pod IPs. Example1: gke-pod-range1 Example2: gke-pod-range1,gke-pod-range2",
"items": {
"type": "string"
},
"type": "array"
},
"status": {
"description": "Draining status of the additional subnet.",
"enum": [
"STATUS_UNSPECIFIED",
"ACTIVE",
"DRAINING"
],
"enumDescriptions": [
"Not set, same as ACTIVE.",
"ACTIVE status indicates that the subnet is available for new node pool creation.",
"DRAINING status indicates that the subnet is not used for new node pool creation."
],
"type": "string"
},
"subnetwork": {
"description": "Name of the subnetwork. This can be the full path of the subnetwork or just the name. Example1: my-subnet Example2: projects/gke-project/regions/us-central1/subnetworks/my-subnet",
"type": "string"
}
},
"type": "object"
},
"AdditionalNodeNetworkConfig": {
"description": "AdditionalNodeNetworkConfig is the configuration for additional node networks within the NodeNetworkConfig message",
"id": "AdditionalNodeNetworkConfig",
"properties": {
"network": {
"description": "Name of the VPC where the additional interface belongs",
"type": "string"
},
"subnetwork": {
"description": "Name of the subnetwork where the additional interface belongs",
"type": "string"
}
},
"type": "object"
},
"AdditionalPodNetworkConfig": {
"description": "AdditionalPodNetworkConfig is the configuration for additional pod networks within the NodeNetworkConfig message",
"id": "AdditionalPodNetworkConfig",
"properties": {
"maxPodsPerNode": {
"$ref": "MaxPodsConstraint",
"description": "The maximum number of pods per node which use this pod network."
},
"networkAttachment": {
"description": "The name of the network attachment for pods to communicate to; cannot be specified along with subnetwork or secondary_pod_range.",
"type": "string"
},
"secondaryPodRange": {
"description": "The name of the secondary range on the subnet which provides IP address for this pod range.",
"type": "string"
},
"subnetwork": {
"description": "Name of the subnetwork where the additional pod network belongs.",
"type": "string"
}
},
"type": "object"
},
"AdditionalPodRangesConfig": {
"description": "AdditionalPodRangesConfig is the configuration for additional pod secondary ranges supporting the ClusterUpdate message.",
"id": "AdditionalPodRangesConfig",
"properties": {
"podRangeInfo": {
"description": "Output only. Information for additional pod range.",
"items": {
"$ref": "RangeInfo"
},
"readOnly": true,
"type": "array"
},
"podRangeNames": {
"description": "Name for pod secondary ipv4 range which has the actual range defined ahead.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"AddonsConfig": {
"description": "Configuration for the addons that can be automatically spun up in the cluster, enabling additional functionality.",
"id": "AddonsConfig",
"properties": {
"cloudRunConfig": {
"$ref": "CloudRunConfig",
"description": "Configuration for the Cloud Run addon. The `IstioConfig` addon must be enabled in order to enable Cloud Run addon. This option can only be enabled at cluster creation time."
},
"configConnectorConfig": {
"$ref": "ConfigConnectorConfig",
"description": "Configuration for the ConfigConnector add-on, a Kubernetes extension to manage hosted Google Cloud services through the Kubernetes API."
},
"dnsCacheConfig": {
"$ref": "DnsCacheConfig",
"description": "Configuration for NodeLocalDNS, a dns cache running on cluster nodes"
},
"gcePersistentDiskCsiDriverConfig": {
"$ref": "GcePersistentDiskCsiDriverConfig",
"description": "Configuration for the Compute Engine Persistent Disk CSI driver."
},
"gcpFilestoreCsiDriverConfig": {
"$ref": "GcpFilestoreCsiDriverConfig",
"description": "Configuration for the Filestore CSI driver."
},
"gcsFuseCsiDriverConfig": {
"$ref": "GcsFuseCsiDriverConfig",
"description": "Configuration for the Cloud Storage Fuse CSI driver."
},
"gkeBackupAgentConfig": {
"$ref": "GkeBackupAgentConfig",
"description": "Configuration for the Backup for GKE agent addon."
},
"highScaleCheckpointingConfig": {
"$ref": "HighScaleCheckpointingConfig",
"description": "Configuration for the High Scale Checkpointing add-on."
},
"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."
},
"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."
},
"istioConfig": {
"$ref": "IstioConfig",
"deprecated": true,
"description": "Configuration for Istio, an open platform to connect, manage, and secure microservices."
},
"kalmConfig": {
"$ref": "KalmConfig",
"deprecated": true,
"description": "Configuration for the KALM addon, which manages the lifecycle of k8s applications."
},
"kubernetesDashboard": {
"$ref": "KubernetesDashboard",
"deprecated": true,
"description": "Configuration for the Kubernetes Dashboard. This addon is deprecated, and will be disabled in 1.15. It is recommended to use the Cloud Console to manage and monitor your Kubernetes clusters, workloads and applications. For more information, see: https://cloud.google.com/kubernetes-engine/docs/concepts/dashboards"
},
"lustreCsiDriverConfig": {
"$ref": "LustreCsiDriverConfig",
"description": "Configuration for the Lustre CSI driver."
},
"networkPolicyConfig": {
"$ref": "NetworkPolicyConfig",
"description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes."
},
"parallelstoreCsiDriverConfig": {
"$ref": "ParallelstoreCsiDriverConfig",
"description": "Configuration for the Cloud Storage Parallelstore CSI driver."
},
"podSnapshotConfig": {
"$ref": "PodSnapshotConfig",
"description": "Configuration for the Pod Snapshot feature."
},
"rayOperatorConfig": {
"$ref": "RayOperatorConfig",
"description": "Optional. Configuration for Ray Operator addon."
},
"sliceControllerConfig": {
"$ref": "SliceControllerConfig",
"description": "Optional. Configuration for the slice controller add-on."
},
"statefulHaConfig": {
"$ref": "StatefulHAConfig",
"description": "Optional. Configuration for the StatefulHA add-on."
}
},
"type": "object"
},
"AdvancedDatapathObservabilityConfig": {
"description": "AdvancedDatapathObservabilityConfig specifies configuration of observability features of advanced datapath.",
"id": "AdvancedDatapathObservabilityConfig",
"properties": {
"enableMetrics": {
"description": "Expose flow metrics on nodes",
"type": "boolean"
},
"enableRelay": {
"description": "Enable Relay component",
"type": "boolean"
},
"relayMode": {
"description": "Method used to make Relay available",
"enum": [
"RELAY_MODE_UNSPECIFIED",
"DISABLED",
"INTERNAL_VPC_LB",
"EXTERNAL_LB"
],
"enumDescriptions": [
"Default value. This shouldn't be used.",
"disabled",
"exposed via internal load balancer",
"exposed via external load balancer"
],
"type": "string"
}
},
"type": "object"
},
"AdvancedMachineFeatures": {
"description": "Specifies options for controlling advanced machine features.",
"id": "AdvancedMachineFeatures",
"properties": {
"enableNestedVirtualization": {
"description": "Whether or not to enable nested virtualization (defaults to false).",
"type": "boolean"
},
"performanceMonitoringUnit": {
"description": "Type of Performance Monitoring Unit (PMU) requested on node pool instances. If unset, PMU will not be available to the node.",
"enum": [
"PERFORMANCE_MONITORING_UNIT_UNSPECIFIED",
"ARCHITECTURAL",
"STANDARD",
"ENHANCED"
],
"enumDescriptions": [
"PMU not enabled.",
"Architecturally defined non-LLC events.",
"Most documented core/L2 events.",
"Most documented core/L2 and LLC events."
],
"type": "string"
},
"threadsPerCore": {
"description": "The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"AnonymousAuthenticationConfig": {
"description": "AnonymousAuthenticationConfig defines the settings needed to limit endpoints that allow anonymous authentication.",
"id": "AnonymousAuthenticationConfig",
"properties": {
"mode": {
"description": "Defines the mode of limiting anonymous access in the cluster.",
"enum": [
"MODE_UNSPECIFIED",
"ENABLED",
"LIMITED"
],
"enumDescriptions": [
"Default value not specified.",
"Anonymous authentication is allowed for all endpoints.",
"Anonymous authentication is allowed for only health check endpoints."
],
"type": "string"
}
},
"type": "object"
},
"AuthenticatorGroupsConfig": {
"description": "Configuration for returning group information from authenticators.",
"id": "AuthenticatorGroupsConfig",
"properties": {
"enabled": {
"description": "Whether this cluster should return group membership lookups during authentication using a group of security groups.",
"type": "boolean"
},
"securityGroup": {
"description": "The name of the security group-of-groups to be used. Only relevant if enabled = true.",
"type": "string"
}
},
"type": "object"
},
"AutoIpamConfig": {
"description": "AutoIpamConfig contains all information related to Auto IPAM",
"id": "AutoIpamConfig",
"properties": {
"enabled": {
"description": "The flag that enables Auto IPAM on this cluster",
"type": "boolean"
}
},
"type": "object"
},
"AutoMonitoringConfig": {
"description": "AutoMonitoringConfig defines the configuration for GKE Workload Auto-Monitoring.",
"id": "AutoMonitoringConfig",
"properties": {
"scope": {
"description": "Scope for GKE Workload Auto-Monitoring.",
"enum": [
"SCOPE_UNSPECIFIED",
"ALL",
"NONE"
],
"enumDescriptions": [
"Not set.",
"Auto-Monitoring is enabled for all supported applications.",
"Disable Auto-Monitoring."
],
"type": "string"
}
},
"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.",
"readOnly": true,
"type": "string"
},
"description": {
"description": "Output only. This field is set when upgrades are about to commence with the description of the upgrade.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"Autopilot": {
"description": "Autopilot is the configuration for Autopilot settings on the cluster.",
"id": "Autopilot",
"properties": {
"conversionStatus": {
"$ref": "AutopilotConversionStatus",
"description": "Output only. ConversionStatus shows conversion status.",
"readOnly": true
},
"enabled": {
"description": "Enable Autopilot",
"type": "boolean"
},
"privilegedAdmissionConfig": {
"$ref": "PrivilegedAdmissionConfig",
"description": "PrivilegedAdmissionConfig is the configuration related to privileged admission control."
},
"workloadPolicyConfig": {
"$ref": "WorkloadPolicyConfig",
"description": "WorkloadPolicyConfig is the configuration related to GCW workload policy"
}
},
"type": "object"
},
"AutopilotCompatibilityIssue": {
"description": "AutopilotCompatibilityIssue contains information about a specific compatibility issue with Autopilot mode.",
"id": "AutopilotCompatibilityIssue",
"properties": {
"constraintType": {
"description": "The constraint type of the issue.",
"type": "string"
},
"description": {
"description": "The description of the issue.",
"type": "string"
},
"documentationUrl": {
"description": "A URL to a public documentation, which addresses resolving this issue.",
"type": "string"
},
"incompatibilityType": {
"description": "The incompatibility type of this issue.",
"enum": [
"UNSPECIFIED",
"INCOMPATIBILITY",
"ADDITIONAL_CONFIG_REQUIRED",
"PASSED_WITH_OPTIONAL_CONFIG"
],
"enumDescriptions": [
"Default value, should not be used.",
"Indicates that the issue is a known incompatibility between the cluster and Autopilot mode.",
"Indicates the issue is an incompatibility if customers take no further action to resolve.",
"Indicates the issue is not an incompatibility, but depending on the workloads business logic, there is a potential that they won't work on Autopilot."
],
"type": "string"
},
"lastObservation": {
"description": "The last time when this issue was observed.",
"format": "google-datetime",
"type": "string"
},
"subjects": {
"description": "The name of the resources which are subject to this issue.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"AutopilotConfig": {
"description": "AutopilotConfig contains configuration of autopilot feature for this nodepool.",
"id": "AutopilotConfig",
"properties": {
"enabled": {
"description": "Denotes that nodes belonging to this node pool are Autopilot nodes.",
"type": "boolean"
}
},
"type": "object"
},
"AutopilotConversionStatus": {
"description": "AutopilotConversionStatus represents conversion status.",
"id": "AutopilotConversionStatus",
"properties": {
"state": {
"description": "Output only. The current state of the conversion.",
"enum": [
"STATE_UNSPECIFIED",
"DONE"
],
"enumDescriptions": [
"STATE_UNSPECIFIED indicates the state is unspecified.",
"DONE indicates the conversion has been completed. Old node pools will continue being deleted in the background."
],
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"AutoprovisioningNodePoolDefaults": {
"description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP.",
"id": "AutoprovisioningNodePoolDefaults",
"properties": {
"bootDiskKmsKey": {
"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"
},
"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"
},
"diskType": {
"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"
},
"imageType": {
"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"
},
"insecureKubeletReadonlyPortEnabled": {
"description": "DEPRECATED. Use NodePoolAutoConfig.NodeKubeletConfig instead.",
"type": "boolean"
},
"management": {
"$ref": "NodeManagement",
"description": "NodeManagement configuration for this NodePool."
},
"minCpuPlatform": {
"deprecated": true,
"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": {
"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 [Artifact Registry](https://cloud.google.com/artifact-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. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the \"default\" service account is used.",
"type": "string"
},
"shieldedInstanceConfig": {
"$ref": "ShieldedInstanceConfig",
"description": "Shielded Instance options."
},
"upgradeSettings": {
"$ref": "UpgradeSettings",
"description": "Upgrade settings control disruption and speed of the upgrade."
}
},
"type": "object"
},
"AutoscaledRolloutPolicy": {
"description": "Autoscaled rollout policy utilizes the cluster autoscaler during blue-green upgrade to scale both the blue and green pools.",
"id": "AutoscaledRolloutPolicy",
"properties": {
"waitForDrainDuration": {
"description": "Optional. Time to wait after cordoning the blue pool before draining the nodes. Defaults to 3 days. The value can be set between 0 and 7 days, inclusive.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"AvailableVersion": {
"deprecated": true,
"description": "Deprecated.",
"id": "AvailableVersion",
"properties": {
"reason": {
"description": "Reason for availability.",
"type": "string"
},
"version": {
"description": "Kubernetes version.",
"type": "string"
}
},
"type": "object"
},
"BestEffortProvisioning": {
"description": "Best effort provisioning.",
"id": "BestEffortProvisioning",
"properties": {
"enabled": {
"description": "When this is enabled, cluster/node pool creations will ignore non-fatal errors like stockout to best provision as many nodes as possible right now and eventually bring up all target number of nodes",
"type": "boolean"
},
"minProvisionNodes": {
"description": "Minimum number of nodes to be provisioned to be considered as succeeded, and the rest of nodes will be provisioned gradually and eventually when stockout issue has been resolved.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"BigQueryDestination": {
"description": "Parameters for using BigQuery as the destination of resource usage export.",
"id": "BigQueryDestination",
"properties": {
"datasetId": {
"description": "The ID of a BigQuery Dataset.",
"type": "string"
}
},
"type": "object"
},
"BinaryAuthorization": {
"description": "Configuration for Binary Authorization.",
"id": "BinaryAuthorization",
"properties": {
"enabled": {
"deprecated": true,
"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",
"POLICY_BINDINGS",
"POLICY_BINDINGS_AND_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.",
"Use Binary Authorization Continuous Validation with the policies specified in policy_bindings.",
"Use Binary Authorization Continuous Validation with the policies specified in policy_bindings and enforce Kubernetes admission requests with Binary Authorization using the project's singleton policy."
],
"type": "string"
},
"policyBindings": {
"description": "Optional. Binauthz policies that apply to this cluster.",
"items": {
"$ref": "PolicyBinding"
},
"type": "array"
}
},
"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",
"WAITING_TO_DRAIN_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 waiting after cordoning the blue pool and before draining it.",
"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": {
"autoscaledRolloutPolicy": {
"$ref": "AutoscaledRolloutPolicy",
"description": "Autoscaled policy for cluster autoscaler enabled blue-green upgrade."
},
"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"
},
"BootDisk": {
"description": "BootDisk specifies the boot disk configuration for nodepools.",
"id": "BootDisk",
"properties": {
"diskType": {
"description": "Disk type of the boot disk. (i.e. Hyperdisk-Balanced, PD-Balanced, etc.)",
"type": "string"
},
"provisionedIops": {
"description": "For Hyperdisk-Balanced only, the provisioned IOPS config value.",
"format": "int64",
"type": "string"
},
"provisionedThroughput": {
"description": "For Hyperdisk-Balanced only, the provisioned throughput config value.",
"format": "int64",
"type": "string"
},
"sizeGb": {
"description": "Disk size in GB. Replaces NodeConfig.disk_size_gb",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"BootDiskProfile": {
"description": "Swap on the node's boot disk.",
"id": "BootDiskProfile",
"properties": {
"swapSizeGib": {
"description": "Specifies the size of the swap space in gibibytes (GiB).",
"format": "int64",
"type": "string"
},
"swapSizePercent": {
"description": "Specifies the size of the swap space as a percentage of the boot disk size.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"CancelOperationRequest": {
"description": "CancelOperationRequest cancels a single operation.",
"id": "CancelOperationRequest",
"properties": {
"name": {
"description": "The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*/locations/*/operations/*`.",
"type": "string"
},
"operationId": {
"deprecated": true,
"description": "Deprecated. The server-assigned `name` of the operation. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"description": "Deprecated. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation resides. This field has been deprecated and replaced by the name field.",
"type": "string"
}
},
"type": "object"
},
"CertificateAuthorityDomainConfig": {
"description": "CertificateAuthorityDomainConfig configures one or more fully qualified domain names (FQDN) to a specific certificate.",
"id": "CertificateAuthorityDomainConfig",
"properties": {
"fqdns": {
"description": "List of fully qualified domain names (FQDN). Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000",
"items": {
"type": "string"
},
"type": "array"
},
"gcpSecretManagerCertificateConfig": {
"$ref": "GCPSecretManagerCertificateConfig",
"description": "Secret Manager certificate configuration."
}
},
"type": "object"
},
"CertificateConfig": {
"description": "CertificateConfig configures certificate for the registry.",
"id": "CertificateConfig",
"properties": {
"gcpSecretManagerSecretUri": {
"description": "The URI configures a secret from [Secret Manager](https://cloud.google.com/secret-manager) in the format \"projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION\" for global secret or \"projects/$PROJECT_ID/locations/$REGION/secrets/$SECRET_NAME/versions/$VERSION\" for regional secret. Version can be fixed (e.g. \"2\") or \"latest\"",
"type": "string"
}
},
"type": "object"
},
"CertificateConfigPair": {
"description": "CertificateConfigPair configures pairs of certificates, which is used for client certificate and key pairs under a registry.",
"id": "CertificateConfigPair",
"properties": {
"cert": {
"$ref": "CertificateConfig",
"description": "Cert configures the client certificate."
},
"key": {
"$ref": "CertificateConfig",
"description": "Key configures the client private key. Optional."
}
},
"type": "object"
},
"CheckAutopilotCompatibilityResponse": {
"description": "CheckAutopilotCompatibilityResponse has a list of compatibility issues.",
"id": "CheckAutopilotCompatibilityResponse",
"properties": {
"issues": {
"description": "The list of issues for the given operation.",
"items": {
"$ref": "AutopilotCompatibilityIssue"
},
"type": "array"
},
"summary": {
"description": "The summary of the autopilot compatibility response.",
"type": "string"
}
},
"type": "object"
},
"CidrBlock": {
"description": "CidrBlock contains an optional name and one CIDR block.",
"id": "CidrBlock",
"properties": {
"cidrBlock": {
"description": "cidr_block must be specified in CIDR notation.",
"type": "string"
},
"displayName": {
"description": "display_name is an optional field for users to identify CIDR blocks.",
"type": "string"
}
},
"type": "object"
},
"ClientCertificateConfig": {
"description": "Configuration for client certificates on the cluster.",
"id": "ClientCertificateConfig",
"properties": {
"issueClientCertificate": {
"description": "Issue a client certificate.",
"type": "boolean"
}
},
"type": "object"
},
"CloudRunConfig": {
"description": "Configuration options for the Cloud Run feature.",
"id": "CloudRunConfig",
"properties": {
"disabled": {
"description": "Whether Cloud Run addon is enabled for this cluster.",
"type": "boolean"
},
"loadBalancerType": {
"description": "Which load balancer type is installed for Cloud Run.",
"enum": [
"LOAD_BALANCER_TYPE_UNSPECIFIED",
"LOAD_BALANCER_TYPE_EXTERNAL",
"LOAD_BALANCER_TYPE_INTERNAL"
],
"enumDescriptions": [
"Load balancer type for Cloud Run is unspecified.",
"Install external load balancer for Cloud Run.",
"Install internal load balancer for Cloud Run."
],
"type": "string"
}
},
"type": "object"
},
"Cluster": {
"description": "A Google Kubernetes Engine cluster.",
"id": "Cluster",
"properties": {
"addonsConfig": {
"$ref": "AddonsConfig",
"description": "Configurations for the various addons available to run in the cluster."
},
"alphaClusterFeatureGates": {
"description": "The list of user specified Kubernetes feature gates. Each string represents the activation status of a feature gate (e.g. \"featureX=true\" or \"featureX=false\")",
"items": {
"type": "string"
},
"type": "array"
},
"anonymousAuthenticationConfig": {
"$ref": "AnonymousAuthenticationConfig",
"description": "Configuration for limiting anonymous access to all endpoints except the health checks."
},
"authenticatorGroupsConfig": {
"$ref": "AuthenticatorGroupsConfig",
"description": "Configuration controlling RBAC group membership information."
},
"autopilot": {
"$ref": "Autopilot",
"description": "Autopilot configuration for the cluster."
},
"autoscaling": {
"$ref": "ClusterAutoscaling",
"description": "Cluster-level autoscaling configuration."
},
"binaryAuthorization": {
"$ref": "BinaryAuthorization",
"description": "Configuration for Binary Authorization."
},
"clusterIpv4Cidr": {
"description": "The IP address range of the container pods in this cluster, in [CIDR](https://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`.",
"type": "string"
},
"clusterTelemetry": {
"$ref": "ClusterTelemetry",
"description": "Telemetry integration for the cluster."
},
"compliancePostureConfig": {
"$ref": "CompliancePostureConfig",
"deprecated": true,
"description": "Optional. Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster."
},
"conditions": {
"description": "Which conditions caused the current cluster state.",
"items": {
"$ref": "StatusCondition"
},
"type": "array"
},
"confidentialNodes": {
"$ref": "ConfidentialNodes",
"description": "Configuration of Confidential Nodes. All the nodes in the cluster will be Confidential VM once enabled."
},
"controlPlaneEndpointsConfig": {
"$ref": "ControlPlaneEndpointsConfig",
"description": "Configuration for all cluster's control plane endpoints."
},
"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.",
"readOnly": true,
"type": "string"
},
"currentEmulatedVersion": {
"description": "Output only. The current emulated version of the master endpoint. The version is in minor version format, e.g. 1.30. No value or empty string means the cluster has no emulated version.",
"readOnly": true,
"type": "string"
},
"currentMasterVersion": {
"description": "Output only. The current software version of the master endpoint.",
"readOnly": true,
"type": "string"
},
"currentNodeCount": {
"deprecated": true,
"description": "Output only. The number of nodes currently in the cluster. Deprecated. Call Kubernetes API directly to retrieve node information.",
"format": "int32",
"readOnly": true,
"type": "integer"
},
"currentNodeVersion": {
"deprecated": true,
"description": "Output only. Deprecated, use [NodePool.version](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1beta1/projects.locations.clusters.nodePools) instead. The current version of the node software components. If they are currently at multiple versions because they're in the process of being upgraded, this reflects the minimum version of all nodes.",
"readOnly": true,
"type": "string"
},
"databaseEncryption": {
"$ref": "DatabaseEncryption",
"description": "Configuration of etcd encryption."
},
"defaultMaxPodsConstraint": {
"$ref": "MaxPodsConstraint",
"description": "The default constraint on the maximum number of pods that can be run simultaneously on a node in the node pool of this cluster. Only honored if cluster created with IP Alias support."
},
"description": {
"description": "An optional description of this cluster.",
"type": "string"
},
"enableK8sBetaApis": {
"$ref": "K8sBetaAPIConfig",
"description": "Kubernetes open source beta apis enabled on the cluster. Only beta apis."
},
"enableKubernetesAlpha": {
"description": "Kubernetes alpha features are enabled on this cluster. This includes alpha API groups (e.g. v1beta1) and features that may not be production ready in the kubernetes version of the master and nodes. The cluster has no SLA for uptime and master/node upgrades are disabled. Alpha enabled clusters are automatically deleted thirty days after creation.",
"type": "boolean"
},
"enableTpu": {
"deprecated": true,
"description": "Enable the ability to use Cloud TPUs in this cluster. This field is deprecated, use tpu_config.enabled instead. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.",
"type": "boolean"
},
"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.",
"readOnly": true,
"type": "string"
},
"enterpriseConfig": {
"$ref": "EnterpriseConfig",
"deprecated": true,
"description": "GKE Enterprise Configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier."
},
"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.",
"readOnly": true,
"type": "string"
},
"fleet": {
"$ref": "Fleet",
"description": "Fleet information for the cluster."
},
"gkeAutoUpgradeConfig": {
"$ref": "GkeAutoUpgradeConfig",
"description": "Configuration for GKE auto upgrades."
},
"id": {
"description": "Output only. Unique id for the cluster.",
"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"
},
"initialNodeCount": {
"deprecated": true,
"description": "The number of nodes to create in this cluster. You must ensure that your Compute Engine [resource quota](https://cloud.google.com/compute/quotas) is sufficient for this number of instances. You must also have available firewall and routes quota. For requests, this field should only be used in lieu of a \"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. This field is deprecated, use node_pool.initial_node_count instead.",
"format": "int32",
"type": "integer"
},
"instanceGroupUrls": {
"deprecated": true,
"description": "Output only. Deprecated. Use node_pools.instance_group_urls.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"ipAllocationPolicy": {
"$ref": "IPAllocationPolicy",
"description": "Configuration for cluster IP allocation."
},
"labelFingerprint": {
"description": "The fingerprint of the set of labels for this cluster.",
"type": "string"
},
"legacyAbac": {
"$ref": "LegacyAbac",
"description": "Configuration for the legacy ABAC authorization mode."
},
"location": {
"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.",
"readOnly": true,
"type": "string"
},
"locations": {
"description": "The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This field provides a default value if [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) are not specified during node pool creation. Warning: changing cluster locations will update the [NodePool.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters.nodePools#NodePool.FIELDS.locations) of all node pools and will result in nodes being added and/or removed.",
"items": {
"type": "string"
},
"type": "array"
},
"loggingConfig": {
"$ref": "LoggingConfig",
"description": "Logging configuration for the cluster."
},
"loggingService": {
"description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.",
"type": "string"
},
"maintenancePolicy": {
"$ref": "MaintenancePolicy",
"description": "Configure the maintenance policy for this cluster."
},
"managedOpentelemetryConfig": {
"$ref": "ManagedOpenTelemetryConfig",
"description": "Configuration for Managed OpenTelemetry pipeline."
},
"master": {
"$ref": "Master",
"description": "Configuration for master components."
},
"masterAuth": {
"$ref": "MasterAuth",
"description": "The authentication information for accessing the master endpoint. If unspecified, the defaults are used: For clusters before v1.12, if master_auth is unspecified, `username` will be set to \"admin\", a random password will be generated, and a client certificate will be issued."
},
"masterAuthorizedNetworksConfig": {
"$ref": "MasterAuthorizedNetworksConfig",
"deprecated": true,
"description": "The configuration options for master authorized networks feature. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.authorized_networks_config instead."
},
"masterIpv4CidrBlock": {
"deprecated": true,
"description": "The IP prefix in CIDR notation to use for the hosted master network. This prefix will be used for assigning private IP addresses to the master or set of masters, as well as the ILB VIP. This field is deprecated, use private_cluster_config.master_ipv4_cidr_block instead.",
"type": "string"
},
"meshCertificates": {
"$ref": "MeshCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
},
"monitoringConfig": {
"$ref": "MonitoringConfig",
"description": "Monitoring configuration for the cluster."
},
"monitoringService": {
"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"
},
"name": {
"description": "The name of this cluster. The name must be unique within this project and location (e.g. zone or region), and can be up to 40 characters with the following restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.",
"type": "string"
},
"network": {
"description": "The name of the Google Compute Engine [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks) to which the cluster is connected. If left unspecified, the `default` network will be used. On output this shows the network ID instead of the name.",
"type": "string"
},
"networkConfig": {
"$ref": "NetworkConfig",
"description": "Configuration for cluster networking."
},
"networkPolicy": {
"$ref": "NetworkPolicy",
"description": "Configuration options for the NetworkPolicy feature."
},
"nodeConfig": {
"$ref": "NodeConfig",
"deprecated": true,
"description": "Parameters used in creating the cluster's nodes. 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. (For configuration of each node pool, see `node_pool.config`) If unspecified, the defaults are used. This field is deprecated, use node_pool.config instead."
},
"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. This field will only be set when cluster is in route-based network mode.",
"format": "int32",
"readOnly": true,
"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."
},
"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"
},
"notificationConfig": {
"$ref": "NotificationConfig",
"description": "Notification configuration of the cluster."
},
"parentProductConfig": {
"$ref": "ParentProductConfig",
"description": "The configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of the GKE cluster and take the ownership of the cluster."
},
"podAutoscaling": {
"$ref": "PodAutoscaling",
"description": "The config for pod autoscaling."
},
"podSecurityPolicyConfig": {
"$ref": "PodSecurityPolicyConfig",
"description": "Configuration for the PodSecurityPolicy feature."
},
"privateCluster": {
"deprecated": true,
"description": "If this is a private cluster setup. Private clusters are clusters that, by default have no external IP addresses on the nodes and where nodes and the master communicate over private IP addresses. This field is deprecated, use private_cluster_config.enable_private_nodes instead.",
"type": "boolean"
},
"privateClusterConfig": {
"$ref": "PrivateClusterConfig",
"description": "Configuration for private cluster."
},
"protectConfig": {
"$ref": "ProtectConfig",
"deprecated": true,
"description": "Deprecated: Use SecurityPostureConfig instead. Enable/Disable Protect API features for the cluster."
},
"rbacBindingConfig": {
"$ref": "RBACBindingConfig",
"description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created."
},
"releaseChannel": {
"$ref": "ReleaseChannel",
"description": "Release channel configuration. If left unspecified on cluster creation and a version is specified, the cluster is enrolled in the most mature release channel where the version is available (first checking STABLE, then REGULAR, and finally RAPID). Otherwise, if no release channel configuration and no version is specified, the cluster is enrolled in the REGULAR channel with its default version."
},
"resourceLabels": {
"additionalProperties": {
"type": "string"
},
"description": "The resource labels for the cluster to use to annotate any related Google Compute Engine resources.",
"type": "object"
},
"resourceUsageExportConfig": {
"$ref": "ResourceUsageExportConfig",
"description": "Configuration for exporting resource usages. Resource usage export is disabled when this config unspecified."
},
"rollbackSafeUpgrade": {
"$ref": "RollbackSafeUpgrade",
"description": "The rollback safe upgrade information of the cluster. This field is used when user manually triggers a rollback safe upgrade."
},
"satisfiesPzi": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"secretManagerConfig": {
"$ref": "SecretManagerConfig",
"description": "Secret CSI driver configuration."
},
"secretSyncConfig": {
"$ref": "SecretSyncConfig",
"description": "Configuration for sync Secret Manager secrets as k8s secrets."
},
"securityPostureConfig": {
"$ref": "SecurityPostureConfig",
"description": "Optional. Enable/Disable Security Posture API features for the cluster."
},
"selfLink": {
"description": "Output only. Server-defined URL for the resource.",
"readOnly": true,
"type": "string"
},
"servicesIpv4Cidr": {
"description": "Output only. The IP address range of the Kubernetes services in this cluster, in [CIDR](https://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.",
"readOnly": true,
"type": "string"
},
"shieldedNodes": {
"$ref": "ShieldedNodes",
"description": "Shielded Nodes configuration."
},
"status": {
"description": "Output only. The current status of this cluster.",
"enum": [
"STATUS_UNSPECIFIED",
"PROVISIONING",
"RUNNING",
"RECONCILING",
"STOPPING",
"ERROR",
"DEGRADED"
],
"enumDescriptions": [
"Not set.",
"The PROVISIONING state indicates the cluster is being created.",
"The RUNNING state indicates the cluster has been created and is fully usable.",
"The RECONCILING state indicates that some work is actively being done on the cluster, such as upgrading the master or node software. Details can be found in the `statusMessage` field.",
"The STOPPING state indicates the cluster is being deleted.",
"The ERROR state indicates the cluster may be unusable. Details can be found in the `statusMessage` field.",
"The DEGRADED state indicates the cluster requires user action to restore full functionality. Details can be found in the `statusMessage` field."
],
"readOnly": true,
"type": "string"
},
"statusMessage": {
"deprecated": true,
"description": "Output only. Deprecated. Use conditions instead. Additional information about the current status of this cluster, if available.",
"readOnly": true,
"type": "string"
},
"subnetwork": {
"description": "The name of the Google Compute Engine [subnetwork](https://cloud.google.com/compute/docs/subnetworks) to which the cluster is connected. On output this shows the subnetwork ID instead of the name.",
"type": "string"
},
"tpuConfig": {
"$ref": "TpuConfig",
"deprecated": true,
"description": "Configuration for Cloud TPU support; This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25."
},
"tpuIpv4CidrBlock": {
"deprecated": true,
"description": "Output only. The IP address range of the Cloud TPUs in this cluster, in [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.",
"readOnly": true,
"type": "string"
},
"userManagedKeysConfig": {
"$ref": "UserManagedKeysConfig",
"description": "The Custom keys configuration for the cluster."
},
"verticalPodAutoscaling": {
"$ref": "VerticalPodAutoscaling",
"description": "Cluster-level Vertical Pod Autoscaling configuration."
},
"workloadAltsConfig": {
"$ref": "WorkloadALTSConfig",
"description": "Configuration for direct-path (via ALTS) with workload identity. This feature is not officially supported for external customers in Kubernetes Engine when using Workload Identity."
},
"workloadCertificates": {
"$ref": "WorkloadCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
},
"workloadIdentityConfig": {
"$ref": "WorkloadIdentityConfig",
"description": "Configuration for the use of Kubernetes Service Accounts in IAM policies."
},
"zone": {
"deprecated": true,
"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides. This field is deprecated, use location instead.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"ClusterAutoscaling": {
"description": "ClusterAutoscaling contains global, per-cluster information required by Cluster Autoscaler to automatically adjust the size of the cluster and create/delete node pools based on the current needs.",
"id": "ClusterAutoscaling",
"properties": {
"autopilotGeneralProfile": {
"description": "Autopilot general profile for the cluster, which defines the configuration for the cluster.",
"enum": [
"AUTOPILOT_GENERAL_PROFILE_UNSPECIFIED",
"NO_PERFORMANCE",
"NONE"
],
"enumDescriptions": [
"Use default configuration.",
"Avoid extra IP consumption.",
"Use default configuration."
],
"type": "string"
},
"autoprovisioningLocations": {
"description": "The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes can be created by NAP.",
"items": {
"type": "string"
},
"type": "array"
},
"autoprovisioningNodePoolDefaults": {
"$ref": "AutoprovisioningNodePoolDefaults",
"description": "AutoprovisioningNodePoolDefaults contains defaults for a node pool created by NAP."
},
"autoscalingProfile": {
"description": "Defines autoscaling behaviour.",
"enum": [
"PROFILE_UNSPECIFIED",
"OPTIMIZE_UTILIZATION",
"BALANCED"
],
"enumDescriptions": [
"No change to autoscaling configuration.",
"Prioritize optimizing utilization of resources.",
"Use default (balanced) autoscaling configuration."
],
"type": "string"
},
"defaultComputeClassConfig": {
"$ref": "DefaultComputeClassConfig",
"description": "Default compute class is a configuration for default compute class."
},
"enableNodeAutoprovisioning": {
"description": "Enables automatic node pool creation and deletion.",
"type": "boolean"
},
"resourceLimits": {
"description": "Contains global constraints regarding minimum and maximum amount of resources in the cluster.",
"items": {
"$ref": "ResourceLimit"
},
"type": "array"
}
},
"type": "object"
},
"ClusterNetworkPerformanceConfig": {
"description": "Configuration of all network bandwidth tiers",
"id": "ClusterNetworkPerformanceConfig",
"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"
},
"ClusterTelemetry": {
"description": "Telemetry integration for the cluster.",
"id": "ClusterTelemetry",
"properties": {
"type": {
"description": "Type of the integration.",
"enum": [
"UNSPECIFIED",
"DISABLED",
"ENABLED",
"SYSTEM_ONLY"
],
"enumDescriptions": [
"Not set.",
"Monitoring integration is disabled.",
"Monitoring integration is enabled.",
"Only system components are monitored and logged."
],
"type": "string"
}
},
"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": {
"additionalPodRangesConfig": {
"$ref": "AdditionalPodRangesConfig",
"description": "The additional pod ranges to be added to the cluster. These pod ranges can be used by node pools to allocate pod IPs."
},
"desiredAdditionalIpRangesConfig": {
"$ref": "DesiredAdditionalIPRangesConfig",
"description": "The desired config for additional subnetworks attached to the cluster."
},
"desiredAddonsConfig": {
"$ref": "AddonsConfig",
"description": "Configurations for the various addons available to run in the cluster."
},
"desiredAnonymousAuthenticationConfig": {
"$ref": "AnonymousAuthenticationConfig",
"description": "Configuration for limiting anonymous access to all endpoints except the health checks."
},
"desiredAuthenticatorGroupsConfig": {
"$ref": "AuthenticatorGroupsConfig",
"description": "AuthenticatorGroupsConfig specifies the config for the cluster security groups settings."
},
"desiredAutoIpamConfig": {
"$ref": "AutoIpamConfig",
"description": "AutoIpamConfig contains all information related to Auto IPAM"
},
"desiredAutopilotWorkloadPolicyConfig": {
"$ref": "WorkloadPolicyConfig",
"description": "WorkloadPolicyConfig is the configuration related to GCW workload policy"
},
"desiredBinaryAuthorization": {
"$ref": "BinaryAuthorization",
"description": "The desired configuration options for the Binary Authorization feature."
},
"desiredClusterAutoscaling": {
"$ref": "ClusterAutoscaling",
"description": "Cluster-level autoscaling configuration."
},
"desiredClusterTelemetry": {
"$ref": "ClusterTelemetry",
"description": "The desired telemetry integration for the cluster."
},
"desiredCompliancePostureConfig": {
"$ref": "CompliancePostureConfig",
"deprecated": true,
"description": "Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Enable/Disable Compliance Posture features for the cluster."
},
"desiredContainerdConfig": {
"$ref": "ContainerdConfig",
"description": "The desired containerd config for the cluster."
},
"desiredControlPlaneEndpointsConfig": {
"$ref": "ControlPlaneEndpointsConfig",
"description": "Control plane endpoints configuration."
},
"desiredCostManagementConfig": {
"$ref": "CostManagementConfig",
"description": "The desired configuration for the fine-grained cost management feature."
},
"desiredDatabaseEncryption": {
"$ref": "DatabaseEncryption",
"description": "Configuration of etcd encryption."
},
"desiredDatapathProvider": {
"description": "The desired datapath provider for the cluster.",
"enum": [
"DATAPATH_PROVIDER_UNSPECIFIED",
"LEGACY_DATAPATH",
"ADVANCED_DATAPATH"
],
"enumDescriptions": [
"Default value.",
"Use the IPTables implementation based on kube-proxy.",
"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more."
],
"type": "string"
},
"desiredDefaultEnablePrivateNodes": {
"description": "Override the default setting of whether future created nodes have private IP addresses only, namely NetworkConfig.default_enable_private_nodes",
"type": "boolean"
},
"desiredDefaultSnatStatus": {
"$ref": "DefaultSnatStatus",
"description": "The desired status of whether to disable default sNAT for this cluster."
},
"desiredDisableL4LbFirewallReconciliation": {
"description": "Enable/Disable L4 LB VPC firewall reconciliation for the cluster.",
"type": "boolean"
},
"desiredDnsConfig": {
"$ref": "DNSConfig",
"description": "DNSConfig contains clusterDNS config for this cluster."
},
"desiredEnableCiliumClusterwideNetworkPolicy": {
"description": "Enable/Disable Cilium Clusterwide Network Policy for the cluster.",
"type": "boolean"
},
"desiredEnableFqdnNetworkPolicy": {
"description": "Enable/Disable FQDN Network Policy for the cluster.",
"type": "boolean"
},
"desiredEnableMultiNetworking": {
"description": "Enable/Disable Multi-Networking for the cluster",
"type": "boolean"
},
"desiredEnablePrivateEndpoint": {
"deprecated": true,
"description": "Enable/Disable private endpoint for the cluster's master. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.",
"type": "boolean"
},
"desiredEnterpriseConfig": {
"$ref": "DesiredEnterpriseConfig",
"deprecated": true,
"description": "The desired enterprise configuration for the cluster. Deprecated: GKE Enterprise features are now available without an Enterprise tier."
},
"desiredFleet": {
"$ref": "Fleet",
"description": "The desired fleet configuration for the cluster."
},
"desiredGatewayApiConfig": {
"$ref": "GatewayAPIConfig",
"description": "The desired config of Gateway API on this cluster."
},
"desiredGcfsConfig": {
"$ref": "GcfsConfig",
"description": "The desired GCFS config for the cluster."
},
"desiredHostMaintenancePolicy": {
"$ref": "HostMaintenancePolicy",
"description": "HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts."
},
"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"
},
"desiredInTransitEncryptionConfig": {
"description": "Specify the details of in-transit encryption. Now named inter-node transparent encryption.",
"enum": [
"IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED",
"IN_TRANSIT_ENCRYPTION_DISABLED",
"IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT"
],
"enumDescriptions": [
"Unspecified, will be inferred as default - IN_TRANSIT_ENCRYPTION_UNSPECIFIED.",
"In-transit encryption is disabled.",
"Data in-transit is encrypted using inter-node transparent encryption."
],
"type": "string"
},
"desiredIntraNodeVisibilityConfig": {
"$ref": "IntraNodeVisibilityConfig",
"description": "The desired config of Intra-node visibility."
},
"desiredK8sBetaApis": {
"$ref": "K8sBetaAPIConfig",
"description": "Beta APIs enabled for cluster."
},
"desiredL4ilbSubsettingConfig": {
"$ref": "ILBSubsettingConfig",
"description": "The desired L4 Internal Load Balancer Subsetting configuration."
},
"desiredLocations": {
"description": "The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the cluster's nodes should be located. This list must always include the cluster's primary zone. Warning: changing cluster locations will update the locations of all node pools and will result in nodes being added and/or removed.",
"items": {
"type": "string"
},
"type": "array"
},
"desiredLoggingConfig": {
"$ref": "LoggingConfig",
"description": "The desired logging configuration."
},
"desiredLoggingService": {
"description": "The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.",
"type": "string"
},
"desiredManagedOpentelemetryConfig": {
"$ref": "ManagedOpenTelemetryConfig",
"description": "The desired managed open telemetry configuration."
},
"desiredMaster": {
"$ref": "Master",
"description": "Configuration for master components."
},
"desiredMasterAuthorizedNetworksConfig": {
"$ref": "MasterAuthorizedNetworksConfig",
"deprecated": true,
"description": "The desired configuration options for master authorized networks feature. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.authorized_networks_config instead."
},
"desiredMasterVersion": {
"description": "The Kubernetes version to change the master to. The only valid value is the latest supported version. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"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"
},
"desiredMeshCertificates": {
"$ref": "MeshCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
},
"desiredMonitoringConfig": {
"$ref": "MonitoringConfig",
"description": "The desired monitoring configuration."
},
"desiredMonitoringService": {
"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"
},
"desiredNetworkPerformanceConfig": {
"$ref": "ClusterNetworkPerformanceConfig",
"description": "The desired network performance config."
},
"desiredNetworkTierConfig": {
"$ref": "NetworkTierConfig",
"description": "The desired network tier configuration for the cluster."
},
"desiredNodeKubeletConfig": {
"$ref": "NodeKubeletConfig",
"description": "The desired node kubelet config for the cluster."
},
"desiredNodePoolAutoConfigKubeletConfig": {
"$ref": "NodeKubeletConfig",
"description": "The desired node kubelet config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters."
},
"desiredNodePoolAutoConfigLinuxNodeConfig": {
"$ref": "LinuxNodeConfig",
"description": "The desired Linux node config for all auto-provisioned node pools in autopilot clusters and node auto-provisioning enabled clusters. Currently only `cgroup_mode` can be set here."
},
"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."
},
"desiredNodePoolAutoConfigResourceManagerTags": {
"$ref": "ResourceManagerTags",
"description": "The desired resource manager 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."
},
"desiredNodePoolId": {
"description": "The node pool to be upgraded. This field is mandatory if \"desired_node_version\", \"desired_image_family\", \"desired_node_pool_autoscaling\", or \"desired_workload_metadata_config\" 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"
},
"desiredNotificationConfig": {
"$ref": "NotificationConfig",
"description": "The desired notification configuration."
},
"desiredParentProductConfig": {
"$ref": "ParentProductConfig",
"description": "The desired parent product config for the cluster."
},
"desiredPodAutoscaling": {
"$ref": "PodAutoscaling",
"description": "The desired config for pod autoscaling."
},
"desiredPodSecurityPolicyConfig": {
"$ref": "PodSecurityPolicyConfig",
"description": "The desired configuration options for the PodSecurityPolicy feature."
},
"desiredPrivateClusterConfig": {
"$ref": "PrivateClusterConfig",
"deprecated": true,
"description": "The desired private cluster configuration. master_global_access_config is the only field that can be changed via this field. See also ClusterUpdate.desired_enable_private_endpoint for modifying other fields within PrivateClusterConfig. Deprecated: Use desired_control_plane_endpoints_config.ip_endpoints_config.global_access instead."
},
"desiredPrivateIpv6GoogleAccess": {
"description": "The desired state of IPv6 connectivity to Google Services.",
"enum": [
"PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED",
"PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED",
"PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE",
"PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL"
],
"enumDescriptions": [
"Default value. Same as DISABLED",
"No private access to or from Google Services",
"Enables private IPv6 access to Google Services from GKE",
"Enables private IPv6 access to and from Google Services"
],
"type": "string"
},
"desiredPrivilegedAdmissionConfig": {
"$ref": "PrivilegedAdmissionConfig",
"description": "The desired privileged admission config for the cluster."
},
"desiredProtectConfig": {
"$ref": "ProtectConfig",
"deprecated": true,
"description": "Deprecated: Use DesiredSecurityPostureConfig instead. Enable/Disable Protect API features for the cluster."
},
"desiredRbacBindingConfig": {
"$ref": "RBACBindingConfig",
"description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created."
},
"desiredReleaseChannel": {
"$ref": "ReleaseChannel",
"description": "The desired release channel configuration."
},
"desiredResourceUsageExportConfig": {
"$ref": "ResourceUsageExportConfig",
"description": "The desired configuration for exporting resource usage."
},
"desiredRollbackSafeUpgrade": {
"$ref": "RollbackSafeUpgrade",
"description": "The desired rollback safe upgrade configuration."
},
"desiredSecretManagerConfig": {
"$ref": "SecretManagerConfig",
"description": "Enable/Disable Secret Manager Config."
},
"desiredSecretSyncConfig": {
"$ref": "SecretSyncConfig",
"description": "Configuration for sync Secret Manager secrets as k8s secrets."
},
"desiredSecurityPostureConfig": {
"$ref": "SecurityPostureConfig",
"description": "Enable/Disable Security Posture API features for the cluster."
},
"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": [
"By default, the clusters will be IPV4 only",
"The value used if the cluster is a IPV4 only",
"The value used if the cluster is a dual stack cluster"
],
"type": "string"
},
"desiredTpuConfig": {
"$ref": "TpuConfig",
"deprecated": true,
"description": "The desired Cloud TPU configuration. This field is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25."
},
"desiredUserManagedKeysConfig": {
"$ref": "UserManagedKeysConfig",
"description": "The desired user managed keys config for the cluster."
},
"desiredVerticalPodAutoscaling": {
"$ref": "VerticalPodAutoscaling",
"description": "Cluster-level Vertical Pod Autoscaling configuration."
},
"desiredWorkloadAltsConfig": {
"$ref": "WorkloadALTSConfig",
"description": "Configuration for direct-path (via ALTS) with workload identity. This feature is not officially supported for external customers in Kubernetes Engine when using Workload Identity."
},
"desiredWorkloadCertificates": {
"$ref": "WorkloadCertificates",
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods."
},
"desiredWorkloadIdentityConfig": {
"$ref": "WorkloadIdentityConfig",
"description": "Configuration for Workload Identity."
},
"enableK8sBetaApis": {
"$ref": "K8sBetaAPIConfig",
"description": "Kubernetes open source beta apis enabled on the cluster. Only beta apis"
},
"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"
},
"gkeAutoUpgradeConfig": {
"$ref": "GkeAutoUpgradeConfig",
"description": "Configuration for GKE auto upgrade."
},
"privateClusterConfig": {
"$ref": "PrivateClusterConfig",
"deprecated": true,
"description": "The desired private cluster configuration. Has no effect. Use desired_private_cluster_config instead."
},
"removedAdditionalPodRangesConfig": {
"$ref": "AdditionalPodRangesConfig",
"description": "The additional pod ranges that are to be removed from the cluster. The pod ranges specified here must have been specified earlier in the 'additional_pod_ranges_config' argument."
},
"userManagedKeysConfig": {
"$ref": "UserManagedKeysConfig",
"deprecated": true,
"description": "The Custom keys configuration for the cluster. This field is deprecated. Use ClusterUpdate.desired_user_managed_keys_config instead."
}
},
"type": "object"
},
"ClusterUpgradeInfo": {
"description": "ClusterUpgradeInfo contains the upgrade information of a cluster.",
"id": "ClusterUpgradeInfo",
"properties": {
"autoUpgradeStatus": {
"description": "The auto upgrade status.",
"items": {
"enum": [
"UNKNOWN",
"ACTIVE",
"MINOR_UPGRADE_PAUSED",
"UPGRADE_PAUSED"
],
"enumDescriptions": [
"UNKNOWN indicates an unknown status.",
"ACTIVE indicates an active status.",
"MINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.",
"UPGRADE_PAUSED indicates the upgrade is paused."
],
"type": "string"
},
"type": "array"
},
"endOfExtendedSupportTimestamp": {
"description": "The cluster's current minor version's end of extended support timestamp.",
"type": "string"
},
"endOfStandardSupportTimestamp": {
"description": "The cluster's current minor version's end of standard support timestamp.",
"type": "string"
},
"minorTargetVersion": {
"description": "minor_target_version indicates the target version for minor upgrade.",
"type": "string"
},
"patchTargetVersion": {
"description": "patch_target_version indicates the target version for patch upgrade.",
"type": "string"
},
"pausedReason": {
"description": "The auto upgrade paused reason.",
"items": {
"enum": [
"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED",
"MAINTENANCE_WINDOW",
"MAINTENANCE_EXCLUSION_NO_UPGRADES",
"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES",
"CLUSTER_DISRUPTION_BUDGET",
"CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE",
"SYSTEM_CONFIG"
],
"enumDescriptions": [
"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.",
"MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.",
"MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.",
"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.",
"CLUSTER_DISRUPTION_BUDGET indicates the cluster is outside the cluster disruption budget.",
"CLUSTER_DISRUPTION_BUDGET_MINOR_UPGRADE indicates the cluster is outside the cluster disruption budget for minor version upgrade.",
"SYSTEM_CONFIG indicates the cluster upgrade is paused by system config."
],
"type": "string"
},
"type": "array"
},
"rollbackSafeUpgradeStatus": {
"$ref": "RollbackSafeUpgradeStatus",
"description": "The cluster's rollback-safe upgrade status."
},
"upgradeDetails": {
"description": "The list of past auto upgrades.",
"items": {
"$ref": "UpgradeDetails"
},
"type": "array"
}
},
"type": "object"
},
"CompatibilityStatus": {
"description": "CompatibilityStatus is the status regarding the control plane's compatibility.",
"id": "CompatibilityStatus",
"properties": {
"downgradableVersion": {
"description": "Output only. The GKE version that the cluster can be safely downgraded to if the cluster is emulating the previous minor version. It is usually the cluster's previous version before a minor version upgrade.",
"readOnly": true,
"type": "string"
},
"emulatedVersionTime": {
"description": "Output only. Last time the control plane became available after a minor version binary upgrade with emulated version set. It indicates the last time the cluster entered the rollback safe mode.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"CompleteControlPlaneUpgradeRequest": {
"description": "CompleteControlPlaneUpgradeRequest sets the name of target cluster to complete upgrade.",
"id": "CompleteControlPlaneUpgradeRequest",
"properties": {
"version": {
"description": "API request version that initiates this operation.",
"type": "string"
}
},
"type": "object"
},
"CompleteIPRotationRequest": {
"description": "CompleteIPRotationRequest moves the cluster master back into single-IP mode.",
"id": "CompleteIPRotationRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster name) of the cluster to complete IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"CompleteNodePoolUpgradeRequest": {
"description": "CompleteNodePoolUpgradeRequest sets the name of target node pool to complete upgrade.",
"id": "CompleteNodePoolUpgradeRequest",
"properties": {},
"type": "object"
},
"CompliancePostureConfig": {
"deprecated": true,
"description": "Deprecated: Compliance Posture is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. CompliancePostureConfig defines the settings needed to enable/disable features for the Compliance Posture.",
"id": "CompliancePostureConfig",
"properties": {
"complianceStandards": {
"description": "List of enabled compliance standards.",
"items": {
"$ref": "ComplianceStandard"
},
"type": "array"
},
"mode": {
"description": "Defines the enablement mode for Compliance Posture.",
"enum": [
"MODE_UNSPECIFIED",
"DISABLED",
"ENABLED"
],
"enumDescriptions": [
"Default value not specified.",
"Disables Compliance Posture features on the cluster.",
"Enables Compliance Posture features on the cluster."
],
"type": "string"
}
},
"type": "object"
},
"ComplianceStandard": {
"description": "Defines the details of a compliance standard.",
"id": "ComplianceStandard",
"properties": {
"standard": {
"description": "Name of the compliance standard.",
"type": "string"
}
},
"type": "object"
},
"ConfidentialNodes": {
"description": "ConfidentialNodes is configuration for the confidential nodes feature, which makes nodes run on confidential VMs.",
"id": "ConfidentialNodes",
"properties": {
"confidentialInstanceType": {
"description": "Defines the type of technology used by the confidential node.",
"enum": [
"CONFIDENTIAL_INSTANCE_TYPE_UNSPECIFIED",
"SEV",
"SEV_SNP",
"TDX"
],
"enumDescriptions": [
"No type specified. Do not use this value.",
"AMD Secure Encrypted Virtualization.",
"AMD Secure Encrypted Virtualization - Secure Nested Paging.",
"Intel Trust Domain eXtension."
],
"type": "string"
},
"enabled": {
"description": "Whether Confidential Nodes feature is enabled.",
"type": "boolean"
}
},
"type": "object"
},
"ConfigConnectorConfig": {
"description": "Configuration options for the Config Connector add-on.",
"id": "ConfigConnectorConfig",
"properties": {
"enabled": {
"description": "Whether Cloud Connector is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"ConsumptionMeteringConfig": {
"description": "Parameters for controlling consumption metering.",
"id": "ConsumptionMeteringConfig",
"properties": {
"enabled": {
"description": "Whether to enable consumption metering for this cluster. If enabled, a second BigQuery table will be created to hold resource consumption records.",
"type": "boolean"
}
},
"type": "object"
},
"ContainerdConfig": {
"description": "ContainerdConfig contains configuration to customize containerd.",
"id": "ContainerdConfig",
"properties": {
"privateRegistryAccessConfig": {
"$ref": "PrivateRegistryAccessConfig",
"description": "PrivateRegistryAccessConfig is used to configure access configuration for private container registries."
},
"registryHosts": {
"description": "RegistryHostConfig configures containerd registry host configuration. Each registry_hosts represents a hosts.toml file. At most 25 registry_hosts are allowed.",
"items": {
"$ref": "RegistryHostConfig"
},
"type": "array"
},
"writableCgroups": {
"$ref": "WritableCgroups",
"description": "Optional. WritableCgroups defines writable cgroups configuration for the node pool."
}
},
"type": "object"
},
"ControlPlaneEndpointsConfig": {
"description": "Configuration for all of the cluster's control plane endpoints.",
"id": "ControlPlaneEndpointsConfig",
"properties": {
"dnsEndpointConfig": {
"$ref": "DNSEndpointConfig",
"description": "DNS endpoint configuration."
},
"ipEndpointsConfig": {
"$ref": "IPEndpointsConfig",
"description": "IP endpoints configuration."
}
},
"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"
},
"CrashLoopBackOffConfig": {
"description": "Contains config to modify node-level parameters for container restart behavior.",
"id": "CrashLoopBackOffConfig",
"properties": {
"maxContainerRestartPeriod": {
"description": "Optional. The maximum duration the backoff delay can accrue to for container restarts, minimum 1 second, maximum 300 seconds. If not set, defaults to the internal crashloopbackoff maximum. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". See https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#configurable-container-restart-delay for more details.",
"type": "string"
}
},
"type": "object"
},
"CreateClusterRequest": {
"description": "CreateClusterRequest creates a cluster.",
"id": "CreateClusterRequest",
"properties": {
"cluster": {
"$ref": "Cluster",
"description": "Required. A [cluster resource](https://cloud.google.com/container-engine/reference/rest/v1beta1/projects.locations.clusters)"
},
"parent": {
"description": "The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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 parent field.",
"type": "string"
}
},
"type": "object"
},
"CreateNodePoolRequest": {
"description": "CreateNodePoolRequest creates a node pool for a cluster.",
"id": "CreateNodePoolRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the parent field.",
"type": "string"
},
"nodePool": {
"$ref": "NodePool",
"description": "Required. The node pool to create."
},
"parent": {
"description": "The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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 parent field.",
"type": "string"
}
},
"type": "object"
},
"DNSConfig": {
"description": "DNSConfig contains the desired set of options for configuring clusterDNS.",
"id": "DNSConfig",
"properties": {
"additiveVpcScopeDnsDomain": {
"description": "Optional. The domain used in Additive VPC scope.",
"type": "string"
},
"clusterDns": {
"description": "cluster_dns indicates which in-cluster DNS provider should be used.",
"enum": [
"PROVIDER_UNSPECIFIED",
"PLATFORM_DEFAULT",
"CLOUD_DNS",
"KUBE_DNS"
],
"enumDescriptions": [
"Default value",
"Use GKE default DNS provider(kube-dns) for DNS resolution.",
"Use CloudDNS for DNS resolution.",
"Use KubeDNS for DNS resolution."
],
"type": "string"
},
"clusterDnsDomain": {
"description": "cluster_dns_domain is the suffix used for all cluster service records.",
"type": "string"
},
"clusterDnsScope": {
"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"
}
},
"type": "object"
},
"DNSEndpointConfig": {
"description": "Describes the configuration of a DNS endpoint.",
"id": "DNSEndpointConfig",
"properties": {
"allowExternalTraffic": {
"description": "Controls whether user traffic is allowed over this endpoint. Note that Google-managed services may still use the endpoint even if this is false.",
"type": "boolean"
},
"enableK8sCertsViaDns": {
"description": "Controls whether the k8s certs auth is allowed via DNS.",
"type": "boolean"
},
"enableK8sTokensViaDns": {
"description": "Controls whether the k8s token auth is allowed via DNS.",
"type": "boolean"
},
"endpoint": {
"description": "Output only. The cluster's DNS endpoint configuration. A DNS format address. This is accessible from the public internet. Ex: uid.us-central1.gke.goog. Always present, but the behavior may change according to the value of DNSEndpointConfig.allow_external_traffic.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"DailyMaintenanceWindow": {
"description": "Time window specified for daily maintenance operations.",
"id": "DailyMaintenanceWindow",
"properties": {
"duration": {
"description": "Output only. Duration of the time window, automatically chosen to be smallest possible in the given scenario.",
"readOnly": true,
"type": "string"
},
"startTime": {
"description": "Time within the maintenance window to start the maintenance operations. It must be in format \"HH:MM\", where HH : [00-23] and MM : [00-59] GMT.",
"type": "string"
}
},
"type": "object"
},
"DatabaseEncryption": {
"description": "Configuration of etcd encryption.",
"id": "DatabaseEncryption",
"properties": {
"currentState": {
"description": "Output only. The current state of etcd encryption.",
"enum": [
"CURRENT_STATE_UNSPECIFIED",
"CURRENT_STATE_ENCRYPTED",
"CURRENT_STATE_DECRYPTED",
"CURRENT_STATE_ENCRYPTION_PENDING",
"CURRENT_STATE_ENCRYPTION_ERROR",
"CURRENT_STATE_DECRYPTION_PENDING",
"CURRENT_STATE_DECRYPTION_ERROR"
],
"enumDescriptions": [
"Should never be set",
"Secrets in etcd are encrypted.",
"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption.",
"Encryption (or re-encryption with a different CloudKMS key) of Secrets is in progress.",
"Encryption (or re-encryption with a different CloudKMS key) of Secrets in etcd encountered an error.",
"De-crypting Secrets to plain text in etcd is in progress.",
"De-crypting Secrets to plain text in etcd encountered an error."
],
"readOnly": true,
"type": "string"
},
"decryptionKeys": {
"description": "Output only. Keys in use by the cluster for decrypting existing objects, in addition to the key in `key_name`. Each item is a CloudKMS key resource.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"keyName": {
"description": "Name of CloudKMS key to use for the encryption of secrets in etcd. Ex. projects/my-project/locations/global/keyRings/my-ring/cryptoKeys/my-key",
"type": "string"
},
"lastOperationErrors": {
"description": "Output only. Records errors seen during DatabaseEncryption update operations.",
"items": {
"$ref": "OperationError"
},
"readOnly": true,
"type": "array"
},
"state": {
"description": "The desired state of etcd encryption.",
"enum": [
"UNKNOWN",
"ENCRYPTED",
"DECRYPTED"
],
"enumDescriptions": [
"Should never be set",
"Secrets in etcd are encrypted.",
"Secrets in etcd are stored in plain text (at etcd level) - this is unrelated to Compute Engine level full disk encryption."
],
"type": "string"
}
},
"type": "object"
},
"Date": {
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
"id": "Date",
"properties": {
"day": {
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
"format": "int32",
"type": "integer"
},
"month": {
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
"format": "int32",
"type": "integer"
},
"year": {
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"DedicatedLocalSsdProfile": {
"description": "Provisions a new, separate local NVMe SSD exclusively for swap.",
"id": "DedicatedLocalSsdProfile",
"properties": {
"diskCount": {
"description": "The number of physical local NVMe SSD disks to attach.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"DefaultComputeClassConfig": {
"description": "DefaultComputeClassConfig defines default compute class configuration.",
"id": "DefaultComputeClassConfig",
"properties": {
"enabled": {
"description": "Enables default compute class.",
"type": "boolean"
}
},
"type": "object"
},
"DefaultSnatStatus": {
"description": "DefaultSnatStatus contains the desired state of whether default sNAT should be disabled on the cluster.",
"id": "DefaultSnatStatus",
"properties": {
"disabled": {
"description": "Disables cluster default sNAT rules.",
"type": "boolean"
}
},
"type": "object"
},
"DesiredAdditionalIPRangesConfig": {
"description": "DesiredAdditionalIPRangesConfig is a wrapper used for cluster update operation and contains multiple AdditionalIPRangesConfigs.",
"id": "DesiredAdditionalIPRangesConfig",
"properties": {
"additionalIpRangesConfigs": {
"description": "List of additional IP ranges configs where each AdditionalIPRangesConfig corresponds to one subnetwork's IP ranges",
"items": {
"$ref": "AdditionalIPRangesConfig"
},
"type": "array"
}
},
"type": "object"
},
"DesiredEnterpriseConfig": {
"deprecated": true,
"description": "DesiredEnterpriseConfig is a wrapper used for updating enterprise_config. Deprecated: GKE Enterprise features are now available without an Enterprise tier.",
"id": "DesiredEnterpriseConfig",
"properties": {
"desiredTier": {
"description": "desired_tier specifies the desired tier of the cluster.",
"enum": [
"CLUSTER_TIER_UNSPECIFIED",
"STANDARD",
"ENTERPRISE"
],
"enumDescriptions": [
"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.",
"STANDARD indicates a standard GKE cluster.",
"ENTERPRISE indicates a GKE Enterprise cluster."
],
"type": "string"
}
},
"type": "object"
},
"DisruptionBudget": {
"description": "DisruptionBudget defines the upgrade disruption budget for the cluster control plane.",
"id": "DisruptionBudget",
"properties": {
"lastDisruptionTime": {
"description": "Output only. The last time a disruption was performed on the control plane.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"lastMinorVersionDisruptionTime": {
"description": "Output only. The last time a minor version upgrade was performed on the control plane.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"minorVersionDisruptionInterval": {
"description": "Optional. The minimum duration between two minor version upgrades of the control plane.",
"format": "google-duration",
"type": "string"
},
"patchVersionDisruptionInterval": {
"description": "Optional. The minimum duration between two patch version upgrades of the control plane.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"DisruptionEvent": {
"description": "DisruptionEvent is a notification sent to customers about the disruption event of a resource.",
"id": "DisruptionEvent",
"properties": {
"disruptionType": {
"description": "The type of the disruption event.",
"enum": [
"DISRUPTION_TYPE_UNSPECIFIED",
"POD_NOT_ENOUGH_PDB",
"POD_PDB_VIOLATION"
],
"enumDescriptions": [
"DISRUPTION_TYPE_UNSPECIFIED indicates the disruption type is unspecified.",
"POD_NOT_ENOUGH_PDB indicates there are still running pods on the node during node drain because their evictions are blocked by PDB.",
"POD_PDB_VIOLATION indicates that there are force pod evictions during node drain which violate the PDB."
],
"type": "string"
},
"pdbBlockedNode": {
"description": "The node whose drain is blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.",
"type": "string"
},
"pdbBlockedPod": {
"description": "The pods whose evictions are blocked by PDB. This field is set for both POD_PDB_VIOLATION and POD_NOT_ENOUGH_PDB event.",
"items": {
"$ref": "PdbBlockedPod"
},
"type": "array"
},
"pdbViolationTimeout": {
"description": "The timeout in seconds for which the node drain is blocked by PDB. After this timeout, pods are forcefully evicted. This field is only populated when event_type is POD_PDB_VIOLATION.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"DnsCacheConfig": {
"description": "Configuration for NodeLocal DNSCache",
"id": "DnsCacheConfig",
"properties": {
"enabled": {
"description": "Whether NodeLocal DNSCache is enabled for this cluster.",
"type": "boolean"
}
},
"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); }",
"id": "Empty",
"properties": {},
"type": "object"
},
"EncryptionConfig": {
"description": "Defines encryption settings for the swap space.",
"id": "EncryptionConfig",
"properties": {
"disabled": {
"description": "Optional. If true, swap space will not be encrypted. Defaults to false (encrypted).",
"type": "boolean"
}
},
"type": "object"
},
"EnterpriseConfig": {
"deprecated": true,
"description": "EnterpriseConfig is the cluster enterprise configuration. Deprecated: GKE Enterprise features are now available without an Enterprise tier.",
"id": "EnterpriseConfig",
"properties": {
"clusterTier": {
"description": "Output only. cluster_tier indicates the effective tier of the cluster.",
"enum": [
"CLUSTER_TIER_UNSPECIFIED",
"STANDARD",
"ENTERPRISE"
],
"enumDescriptions": [
"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.",
"STANDARD indicates a standard GKE cluster.",
"ENTERPRISE indicates a GKE Enterprise cluster."
],
"readOnly": true,
"type": "string"
},
"desiredTier": {
"description": "desired_tier specifies the desired tier of the cluster.",
"enum": [
"CLUSTER_TIER_UNSPECIFIED",
"STANDARD",
"ENTERPRISE"
],
"enumDescriptions": [
"CLUSTER_TIER_UNSPECIFIED is when cluster_tier is not set.",
"STANDARD indicates a standard GKE cluster.",
"ENTERPRISE indicates a GKE Enterprise cluster."
],
"type": "string"
}
},
"type": "object"
},
"EphemeralLocalSsdProfile": {
"description": "Swap on the local SSD shared with pod ephemeral storage.",
"id": "EphemeralLocalSsdProfile",
"properties": {
"swapSizeGib": {
"description": "Specifies the size of the swap space in gibibytes (GiB).",
"format": "int64",
"type": "string"
},
"swapSizePercent": {
"description": "Specifies the size of the swap space as a percentage of the ephemeral local SSD capacity.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"EphemeralStorageConfig": {
"description": "EphemeralStorageConfig contains configuration for the ephemeral storage filesystem.",
"id": "EphemeralStorageConfig",
"properties": {
"localSsdCount": {
"description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"EphemeralStorageLocalSsdConfig": {
"description": "EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSDs.",
"id": "EphemeralStorageLocalSsdConfig",
"properties": {
"dataCacheCount": {
"description": "Number of local SSDs to use for GKE Data Cache.",
"format": "int32",
"type": "integer"
},
"localSsdCount": {
"description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"EvictionGracePeriod": {
"description": "Eviction grace periods are grace periods for each eviction signal.",
"id": "EvictionGracePeriod",
"properties": {
"imagefsAvailable": {
"description": "Optional. Grace period for eviction due to imagefs available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"imagefsInodesFree": {
"description": "Optional. Grace period for eviction due to imagefs inodes free signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"memoryAvailable": {
"description": "Optional. Grace period for eviction due to memory available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"nodefsAvailable": {
"description": "Optional. Grace period for eviction due to nodefs available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"nodefsInodesFree": {
"description": "Optional. Grace period for eviction due to nodefs inodes free signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"pidAvailable": {
"description": "Optional. Grace period for eviction due to pid available signal. Sample format: \"10s\". Must be >= 0. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
}
},
"type": "object"
},
"EvictionMinimumReclaim": {
"description": "Eviction minimum reclaims are the resource amounts of minimum reclaims for each eviction signal.",
"id": "EvictionMinimumReclaim",
"properties": {
"imagefsAvailable": {
"description": "Optional. Minimum reclaim for eviction due to imagefs available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"imagefsInodesFree": {
"description": "Optional. Minimum reclaim for eviction due to imagefs inodes free signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"memoryAvailable": {
"description": "Optional. Minimum reclaim for eviction due to memory available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"nodefsAvailable": {
"description": "Optional. Minimum reclaim for eviction due to nodefs available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"nodefsInodesFree": {
"description": "Optional. Minimum reclaim for eviction due to nodefs inodes free signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"pidAvailable": {
"description": "Optional. Minimum reclaim for eviction due to pid available signal. Only take percentage value for now. Sample format: \"10%\". Must be <=10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
}
},
"type": "object"
},
"EvictionSignals": {
"description": "Eviction signals are the current state of a particular resource at a specific point in time. The kubelet uses eviction signals to make eviction decisions by comparing the signals to eviction thresholds, which are the minimum amount of the resource that should be available on the node.",
"id": "EvictionSignals",
"properties": {
"imagefsAvailable": {
"description": "Optional. Amount of storage available on filesystem that container runtime uses for storing images layers. If the container filesystem and image filesystem are not separate, then imagefs can store both image layers and writeable layers. Defines the amount of \"imagefs.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. Sample format: \"30%\". Must be >= 15%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"imagefsInodesFree": {
"description": "Optional. Amount of inodes available on filesystem that container runtime uses for storing images layers. Defines the amount of \"imagefs.inodesFree\" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. Sample format: \"30%\". Must be >= 5%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"memoryAvailable": {
"description": "Optional. Memory available (i.e. capacity - workingSet), in bytes. Defines the amount of \"memory.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. Format: positive number + unit, e.g. 100Ki, 10Mi, 5Gi. Valid units are Ki, Mi, Gi. Must be >= 100Mi and <= 50% of the node's memory. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"nodefsAvailable": {
"description": "Optional. Amount of storage available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of \"nodefs.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. Sample format: \"30%\". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"nodefsInodesFree": {
"description": "Optional. Amount of inodes available on filesystem that kubelet uses for volumes, daemon logs, etc. Defines the amount of \"nodefs.inodesFree\" signal in kubelet. Default is unset, if not specified in the kubelet config. Linux only. It takses percentage value for now. Sample format: \"30%\". Must be >= 5% and <= 50%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
},
"pidAvailable": {
"description": "Optional. Amount of PID available for pod allocation. Defines the amount of \"pid.available\" signal in kubelet. Default is unset, if not specified in the kubelet config. Sample format: \"30%\". Must be >= 10%. See https://kubernetes.io/docs/concepts/scheduling-eviction/node-pressure-eviction/#eviction-signals",
"type": "string"
}
},
"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",
"UPGRADE_INFO_EVENT"
],
"enumDescriptions": [
"Not set, will be ignored.",
"Corresponds with UpgradeAvailableEvent.",
"Corresponds with UpgradeEvent.",
"Corresponds with SecurityBulletinEvent.",
"Corresponds with UpgradeInfoEvent."
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"Fleet": {
"description": "Fleet is the fleet configuration for the cluster.",
"id": "Fleet",
"properties": {
"membership": {
"description": "Output only. The full resource name of the registered fleet membership of the cluster, in the format `//gkehub.googleapis.com/projects/*/locations/*/memberships/*`.",
"readOnly": true,
"type": "string"
},
"membershipType": {
"description": "The type of the cluster's fleet membership.",
"enum": [
"MEMBERSHIP_TYPE_UNSPECIFIED",
"LIGHTWEIGHT"
],
"enumDescriptions": [
"The MembershipType is not set.",
"The membership supports only lightweight compatible features."
],
"type": "string"
},
"preRegistered": {
"description": "Output only. Whether the cluster has been registered through the fleet API.",
"readOnly": true,
"type": "boolean"
},
"project": {
"description": "The Fleet host project(project ID or project number) where this cluster will be registered to. This field cannot be changed after the cluster has been registered.",
"type": "string"
}
},
"type": "object"
},
"GCPSecretManagerCertificateConfig": {
"description": "GCPSecretManagerCertificateConfig configures a secret from [Secret Manager](https://cloud.google.com/secret-manager).",
"id": "GCPSecretManagerCertificateConfig",
"properties": {
"secretUri": {
"description": "Secret URI, in the form \"projects/$PROJECT_ID/secrets/$SECRET_NAME/versions/$VERSION\". Version can be fixed (e.g. \"2\") or \"latest\"",
"type": "string"
}
},
"type": "object"
},
"GPUDirectConfig": {
"description": "GPUDirectConfig specifies the GPU direct strategy on the node pool.",
"id": "GPUDirectConfig",
"properties": {
"gpuDirectStrategy": {
"description": "The type of GPU direct strategy to enable on the node pool.",
"enum": [
"GPU_DIRECT_STRATEGY_UNSPECIFIED",
"RDMA"
],
"enumDescriptions": [
"Default value. No GPU Direct strategy is enabled on the node.",
"GPUDirect-RDMA on A3 Ultra, and A4 machine types"
],
"type": "string"
}
},
"type": "object"
},
"GPUDriverInstallationConfig": {
"description": "GPUDriverInstallationConfig specifies the version of GPU driver to be auto installed.",
"id": "GPUDriverInstallationConfig",
"properties": {
"gpuDriverVersion": {
"description": "Mode for how the GPU driver is installed.",
"enum": [
"GPU_DRIVER_VERSION_UNSPECIFIED",
"INSTALLATION_DISABLED",
"DEFAULT",
"LATEST"
],
"enumDescriptions": [
"Default value is to not install any GPU driver.",
"Disable GPU driver auto installation and needs manual installation",
"\"Default\" GPU driver in COS and Ubuntu.",
"\"Latest\" GPU driver in COS."
],
"type": "string"
}
},
"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",
"MPS"
],
"enumDescriptions": [
"Default value.",
"GPUs are time-shared between containers.",
"GPUs are shared between containers with NVIDIA MPS."
],
"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"
],
"enumDeprecated": [
false,
false,
true,
false
],
"enumDescriptions": [
"Default value.",
"Gateway API support is disabled",
"Deprecated: use CHANNEL_STANDARD instead. 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",
"properties": {
"enabled": {
"description": "Whether the Compute Engine PD CSI driver is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"GcfsConfig": {
"description": "GcfsConfig contains configurations of Google Container File System.",
"id": "GcfsConfig",
"properties": {
"enabled": {
"description": "Whether to use GCFS.",
"type": "boolean"
}
},
"type": "object"
},
"GcpFilestoreCsiDriverConfig": {
"description": "Configuration for the Filestore CSI driver.",
"id": "GcpFilestoreCsiDriverConfig",
"properties": {
"enabled": {
"description": "Whether the Filestore CSI driver is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"GcsFuseCsiDriverConfig": {
"description": "Configuration for the Cloud Storage Fuse CSI driver.",
"id": "GcsFuseCsiDriverConfig",
"properties": {
"enabled": {
"description": "Whether the Cloud Storage Fuse CSI driver is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"GetJSONWebKeysResponse": {
"description": "GetJSONWebKeysResponse is a valid JSON Web Key Set as specified in rfc 7517",
"id": "GetJSONWebKeysResponse",
"properties": {
"cacheHeader": {
"$ref": "HttpCacheControlResponseHeader",
"description": "For HTTP requests, this field is automatically extracted into the Cache-Control HTTP header."
},
"keys": {
"description": "The public component of the keys used by the cluster to sign token requests.",
"items": {
"$ref": "Jwk"
},
"type": "array"
}
},
"type": "object"
},
"GetOpenIDConfigResponse": {
"description": "GetOpenIDConfigResponse is an OIDC discovery document for the cluster. See the OpenID Connect Discovery 1.0 specification for details.",
"id": "GetOpenIDConfigResponse",
"properties": {
"cacheHeader": {
"$ref": "HttpCacheControlResponseHeader",
"description": "For HTTP requests, this field is automatically extracted into the Cache-Control HTTP header."
},
"claims_supported": {
"description": "Supported claims.",
"items": {
"type": "string"
},
"type": "array"
},
"grant_types": {
"description": "Supported grant types.",
"items": {
"type": "string"
},
"type": "array"
},
"id_token_signing_alg_values_supported": {
"description": "supported ID Token signing Algorithms.",
"items": {
"type": "string"
},
"type": "array"
},
"issuer": {
"description": "OIDC Issuer.",
"type": "string"
},
"jwks_uri": {
"description": "JSON Web Key uri.",
"type": "string"
},
"response_types_supported": {
"description": "Supported response types.",
"items": {
"type": "string"
},
"type": "array"
},
"subject_types_supported": {
"description": "Supported subject types.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"GkeAutoUpgradeConfig": {
"description": "GkeAutoUpgradeConfig is the configuration for GKE auto upgrades.",
"id": "GkeAutoUpgradeConfig",
"properties": {
"patchMode": {
"description": "PatchMode specifies how auto upgrade patch builds should be selected.",
"enum": [
"PATCH_MODE_UNSPECIFIED",
"ACCELERATED"
],
"enumDescriptions": [
"PATCH_MODE_UNSPECIFIED defaults to using the upgrade target from the channel's patch upgrade targets as the upgrade target for the version.",
"ACCELERATED denotes that the latest patch build in the channel should be used as the upgrade target for the version."
],
"type": "string"
}
},
"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"
},
"HighScaleCheckpointingConfig": {
"description": "Configuration for the High Scale Checkpointing.",
"id": "HighScaleCheckpointingConfig",
"properties": {
"enabled": {
"description": "Whether the High Scale Checkpointing 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",
"properties": {
"disabled": {
"description": "Whether the Horizontal Pod Autoscaling feature is enabled in the cluster. When enabled, it ensures that metrics are collected into Stackdriver Monitoring.",
"type": "boolean"
}
},
"type": "object"
},
"HostConfig": {
"description": "HostConfig configures the registry host under a given Server.",
"id": "HostConfig",
"properties": {
"ca": {
"description": "CA configures the registry host certificate.",
"items": {
"$ref": "CertificateConfig"
},
"type": "array"
},
"capabilities": {
"description": "Capabilities represent the capabilities of the registry host, specifying what operations a host is capable of performing. If not set, containerd enables all capabilities by default.",
"items": {
"enum": [
"HOST_CAPABILITY_UNSPECIFIED",
"HOST_CAPABILITY_PULL",
"HOST_CAPABILITY_RESOLVE",
"HOST_CAPABILITY_PUSH"
],
"enumDescriptions": [
"UNKNOWN should never be set.",
"Pull represents the capability to fetch manifests and blobs by digest.",
"Resolve represents the capability to fetch manifests by name.",
"Push represents the capability to push blobs and manifests."
],
"type": "string"
},
"type": "array"
},
"client": {
"description": "Client configures the registry host client certificate and key.",
"items": {
"$ref": "CertificateConfigPair"
},
"type": "array"
},
"dialTimeout": {
"description": "Specifies the maximum duration allowed for a connection attempt to complete. A shorter timeout helps reduce delays when falling back to the original registry if the mirror is unreachable. Maximum allowed value is 180s. If not set, containerd sets default 30s. The value should be a decimal number of seconds with an `s` suffix.",
"format": "google-duration",
"type": "string"
},
"header": {
"description": "Header configures the registry host headers.",
"items": {
"$ref": "RegistryHeader"
},
"type": "array"
},
"host": {
"description": "Host configures the registry host/mirror. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000",
"type": "string"
},
"overridePath": {
"description": "OverridePath is used to indicate the host's API root endpoint is defined in the URL path rather than by the API specification. This may be used with non-compliant OCI registries which are missing the /v2 prefix. If not set, containerd sets default false.",
"type": "boolean"
}
},
"type": "object"
},
"HostMaintenancePolicy": {
"description": "HostMaintenancePolicy contains the maintenance policy for the hosts on which the GKE VMs run on.",
"id": "HostMaintenancePolicy",
"properties": {
"maintenanceInterval": {
"description": "Specifies the frequency of planned maintenance events.",
"enum": [
"MAINTENANCE_INTERVAL_UNSPECIFIED",
"AS_NEEDED",
"PERIODIC"
],
"enumDescriptions": [
"The maintenance interval is not explicitly specified.",
"Nodes are eligible to receive infrastructure and hypervisor updates as they become available. This may result in more maintenance operations (live migrations or terminations) for the node than the PERIODIC option.",
"Nodes receive infrastructure and hypervisor updates on a periodic basis, minimizing the number of maintenance operations (live migrations or terminations) on an individual VM. This may mean underlying VMs will take longer to receive an update than if it was configured for AS_NEEDED. Security updates will still be applied as soon as they are available."
],
"type": "string"
},
"opportunisticMaintenanceStrategy": {
"$ref": "OpportunisticMaintenanceStrategy",
"description": "Strategy that will trigger maintenance on behalf of the customer."
}
},
"type": "object"
},
"HttpCacheControlResponseHeader": {
"description": "RFC-2616: cache control support",
"id": "HttpCacheControlResponseHeader",
"properties": {
"age": {
"description": "14.6 response cache age, in seconds since the response is generated",
"format": "int64",
"type": "string"
},
"directive": {
"description": "14.9 request and response directives",
"type": "string"
},
"expires": {
"description": "14.21 response cache expires, in RFC 1123 date format",
"type": "string"
}
},
"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"
}
},
"type": "object"
},
"HugepagesConfig": {
"description": "Hugepages amount in both 2m and 1g size",
"id": "HugepagesConfig",
"properties": {
"hugepageSize1g": {
"description": "Optional. Amount of 1G hugepages",
"format": "int32",
"type": "integer"
},
"hugepageSize2m": {
"description": "Optional. Amount of 2M hugepages",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"ILBSubsettingConfig": {
"description": "ILBSubsettingConfig contains the desired config of L4 Internal LoadBalancer subsetting on this cluster.",
"id": "ILBSubsettingConfig",
"properties": {
"enabled": {
"description": "Enables l4 ILB subsetting for this cluster",
"type": "boolean"
}
},
"type": "object"
},
"IPAllocationPolicy": {
"description": "Configuration for controlling how IPs are allocated in the cluster.",
"id": "IPAllocationPolicy",
"properties": {
"additionalIpRangesConfigs": {
"description": "Output only. The additional IP ranges that are added to the cluster. These IP ranges can be used by new node pools to allocate node and pod IPs automatically. Each AdditionalIPRangesConfig corresponds to a single subnetwork. Once a range is removed it will not show up in IPAllocationPolicy.",
"items": {
"$ref": "AdditionalIPRangesConfig"
},
"readOnly": true,
"type": "array"
},
"additionalPodRangesConfig": {
"$ref": "AdditionalPodRangesConfig",
"description": "Output only. The additional pod ranges that are added to the cluster. These pod ranges can be used by new node pools to allocate pod IPs automatically. Once the range is removed it will not show up in IPAllocationPolicy.",
"readOnly": true
},
"allowRouteOverlap": {
"description": "If true, allow allocation of cluster CIDR ranges that overlap with certain kinds of network routes. By default we do not allow cluster CIDR ranges to intersect with any user declared routes. With allow_route_overlap == true, we allow overlapping with CIDR ranges that are larger than the cluster CIDR range. If this field is set to true, then cluster and services CIDRs must be fully-specified (e.g. `10.96.0.0/14`, but not `/14`), which means: 1) When `use_ip_aliases` is true, `cluster_ipv4_cidr_block` and `services_ipv4_cidr_block` must be fully-specified. 2) When `use_ip_aliases` is false, `cluster.cluster_ipv4_cidr` muse be fully-specified.",
"type": "boolean"
},
"autoIpamConfig": {
"$ref": "AutoIpamConfig",
"description": "Optional. AutoIpamConfig contains all information related to Auto IPAM"
},
"clusterIpv4Cidr": {
"deprecated": true,
"description": "This field is deprecated, use cluster_ipv4_cidr_block.",
"type": "string"
},
"clusterIpv4CidrBlock": {
"description": "The IP address range for the cluster pod IPs. If this field is set, then `cluster.cluster_ipv4_cidr` must be left blank. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://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"
},
"clusterSecondaryRangeName": {
"description": "The name of the secondary range to be used for the cluster CIDR block. The secondary range will be used for pod IP addresses. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases and create_subnetwork is false.",
"type": "string"
},
"createSubnetwork": {
"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"
},
"defaultPodIpv4RangeUtilization": {
"description": "Output only. The utilization of the cluster default IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode.",
"format": "double",
"readOnly": true,
"type": "number"
},
"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"
},
"networkTierConfig": {
"$ref": "NetworkTierConfig",
"description": "Cluster-level network tier configuration is used to determine the default network tier for external IP addresses on cluster resources, such as node pools and load balancers."
},
"nodeIpv4Cidr": {
"deprecated": true,
"description": "This field is deprecated, use node_ipv4_cidr_block.",
"type": "string"
},
"nodeIpv4CidrBlock": {
"description": "The IP address range of the instance IPs in this cluster. This is applicable only if `create_subnetwork` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://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"
},
"podCidrOverprovisionConfig": {
"$ref": "PodCIDROverprovisionConfig",
"description": "[PRIVATE FIELD] Pod CIDR size overprovisioning config for the cluster. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is doubled and then rounded off to next power of 2 to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled."
},
"servicesIpv4Cidr": {
"deprecated": true,
"description": "This field is deprecated, use services_ipv4_cidr_block.",
"type": "string"
},
"servicesIpv4CidrBlock": {
"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](https://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. 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 and create_subnetwork is false.",
"type": "string"
},
"stackType": {
"description": "IP stack type",
"enum": [
"STACK_TYPE_UNSPECIFIED",
"IPV4",
"IPV4_IPV6"
],
"enumDescriptions": [
"By default, the clusters will be IPV4 only",
"The value used if the cluster is a IPV4 only",
"The value used if the cluster is a dual stack cluster"
],
"type": "string"
},
"subnetIpv6CidrBlock": {
"description": "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"
},
"tpuIpv4CidrBlock": {
"deprecated": true,
"description": "The IP address range of the Cloud TPUs in this cluster. If unspecified, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. If unspecified, the range will use the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](https://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use. This field is deprecated, use cluster.tpu_config.ipv4_cidr_block instead.",
"type": "string"
},
"useIpAliases": {
"description": "Whether alias IPs will be used for pod IPs in the cluster. This is used in conjunction with use_routes. It cannot be true if use_routes is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode",
"type": "boolean"
},
"useRoutes": {
"description": "Whether routes will be used for pod IPs in the cluster. This is used in conjunction with use_ip_aliases. It cannot be true if use_ip_aliases is true. If both use_ip_aliases and use_routes are false, then the server picks the default IP allocation mode",
"type": "boolean"
}
},
"type": "object"
},
"IPEndpointsConfig": {
"description": "IP endpoints configuration.",
"id": "IPEndpointsConfig",
"properties": {
"authorizedNetworksConfig": {
"$ref": "MasterAuthorizedNetworksConfig",
"description": "Configuration of authorized networks. If enabled, restricts access to the control plane based on source IP. It is invalid to specify both Cluster.masterAuthorizedNetworksConfig and this field at the same time."
},
"enablePublicEndpoint": {
"description": "Controls whether the control plane allows access through a public IP. It is invalid to specify both PrivateClusterConfig.enablePrivateEndpoint and this field at the same time.",
"type": "boolean"
},
"enabled": {
"description": "Controls whether to allow direct IP access.",
"type": "boolean"
},
"globalAccess": {
"description": "Controls whether the control plane's private endpoint is accessible from sources in other regions. It is invalid to specify both PrivateClusterMasterGlobalAccessConfig.enabled and this field at the same time.",
"type": "boolean"
},
"privateEndpoint": {
"description": "Output only. The internal IP address of this cluster's control plane. Only populated if enabled.",
"readOnly": true,
"type": "string"
},
"privateEndpointSubnetwork": {
"description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format. It is invalid to specify both PrivateClusterConfig.privateEndpointSubnetwork and this field at the same time.",
"type": "string"
},
"publicEndpoint": {
"description": "Output only. The external IP address of this cluster's control plane. Only populated if enabled.",
"readOnly": true,
"type": "string"
}
},
"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",
"properties": {
"enabled": {
"description": "Enables intra node visibility for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"IstioConfig": {
"description": "Configuration options for Istio addon.",
"id": "IstioConfig",
"properties": {
"auth": {
"deprecated": true,
"description": "The specified Istio auth mode, either none, or mutual TLS.",
"enum": [
"AUTH_NONE",
"AUTH_MUTUAL_TLS"
],
"enumDescriptions": [
"auth not enabled",
"auth mutual TLS enabled"
],
"type": "string"
},
"disabled": {
"deprecated": true,
"description": "Whether Istio is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"Jwk": {
"description": "Jwk is a JSON Web Key as specified in RFC 7517",
"id": "Jwk",
"properties": {
"alg": {
"description": "Algorithm.",
"type": "string"
},
"crv": {
"description": "Used for ECDSA keys.",
"type": "string"
},
"e": {
"description": "Used for RSA keys.",
"type": "string"
},
"kid": {
"description": "Key ID.",
"type": "string"
},
"kty": {
"description": "Key Type.",
"type": "string"
},
"n": {
"description": "Used for RSA keys.",
"type": "string"
},
"use": {
"description": "Permitted uses for the public keys.",
"type": "string"
},
"x": {
"description": "Used for ECDSA keys.",
"type": "string"
},
"y": {
"description": "Used for ECDSA keys.",
"type": "string"
}
},
"type": "object"
},
"K8sBetaAPIConfig": {
"description": "Kubernetes open source beta apis enabled on the cluster.",
"id": "K8sBetaAPIConfig",
"properties": {
"enabledApis": {
"description": "api name, e.g. storage.k8s.io/v1beta1/csistoragecapacities.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"KalmConfig": {
"description": "Configuration options for the KALM addon.",
"id": "KalmConfig",
"properties": {
"enabled": {
"deprecated": true,
"description": "Whether KALM is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"KubernetesDashboard": {
"description": "Configuration for the Kubernetes Dashboard.",
"id": "KubernetesDashboard",
"properties": {
"disabled": {
"description": "Whether the Kubernetes Dashboard is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"LegacyAbac": {
"description": "Configuration for the legacy Attribute Based Access Control authorization mode.",
"id": "LegacyAbac",
"properties": {
"enabled": {
"description": "Whether the ABAC authorizer is enabled for this cluster. When enabled, identities in the system, including service accounts, nodes, and controllers, will have statically granted permissions beyond those provided by the RBAC configuration or IAM.",
"type": "boolean"
}
},
"type": "object"
},
"LinuxNodeConfig": {
"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"
},
"hugepages": {
"$ref": "HugepagesConfig",
"description": "Optional. Amounts for 2M and 1G hugepages"
},
"nodeKernelModuleLoading": {
"$ref": "NodeKernelModuleLoading",
"description": "Optional. Configuration for kernel module loading on nodes. When enabled, the node pool will be provisioned with a Container-Optimized OS image that enforces kernel module signature verification."
},
"swapConfig": {
"$ref": "SwapConfig",
"description": "Optional. Enables and configures swap space on nodes. If omitted, swap is disabled."
},
"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.busy_poll net.core.busy_read net.core.netdev_max_backlog net.core.rmem_max net.core.rmem_default 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 net.ipv4.tcp_mtu_probing net.ipv4.tcp_max_orphans net.ipv4.tcp_max_tw_buckets net.ipv4.tcp_syn_retries net.ipv4.tcp_ecn net.ipv4.tcp_congestion_control net.netfilter.nf_conntrack_max net.netfilter.nf_conntrack_buckets net.netfilter.nf_conntrack_tcp_timeout_close_wait net.netfilter.nf_conntrack_tcp_timeout_time_wait net.netfilter.nf_conntrack_tcp_timeout_established net.netfilter.nf_conntrack_acct kernel.shmmni kernel.shmmax kernel.shmall kernel.perf_event_paranoid kernel.sched_rt_runtime_us kernel.softlockup_panic kernel.yama.ptrace_scope kernel.kptr_restrict kernel.dmesg_restrict kernel.sysrq fs.aio-max-nr fs.file-max fs.inotify.max_user_instances fs.inotify.max_user_watches fs.nr_open vm.dirty_background_ratio vm.dirty_background_bytes vm.dirty_expire_centisecs vm.dirty_ratio vm.dirty_bytes vm.dirty_writeback_centisecs vm.max_map_count vm.overcommit_memory vm.overcommit_ratio vm.vfs_cache_pressure vm.swappiness vm.watermark_scale_factor vm.min_free_kbytes",
"type": "object"
},
"transparentHugepageDefrag": {
"description": "Optional. Defines the transparent hugepage defrag configuration on the node. VM hugepage allocation can be managed by either limiting defragmentation for delayed allocation or skipping it entirely for immediate allocation only. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.",
"enum": [
"TRANSPARENT_HUGEPAGE_DEFRAG_UNSPECIFIED",
"TRANSPARENT_HUGEPAGE_DEFRAG_ALWAYS",
"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER",
"TRANSPARENT_HUGEPAGE_DEFRAG_DEFER_WITH_MADVISE",
"TRANSPARENT_HUGEPAGE_DEFRAG_MADVISE",
"TRANSPARENT_HUGEPAGE_DEFRAG_NEVER"
],
"enumDescriptions": [
"Default value. GKE will not modify the kernel configuration.",
"It means that an application requesting THP will stall on allocation failure and directly reclaim pages and compact memory in an effort to allocate a THP immediately.",
"It means that an application will wake kswapd in the background to reclaim pages and wake kcompactd to compact memory so that THP is available in the near future. It's the responsibility of khugepaged to then install the THP pages later.",
"It means that an application will enter direct reclaim and compaction like always, but only for regions that have used madvise(MADV_HUGEPAGE); all other regions will wake kswapd in the background to reclaim pages and wake kcompactd to compact memory so that THP is available in the near future.",
"It means that an application will enter direct reclaim like always but only for regions that are have used madvise(MADV_HUGEPAGE). This is the default kernel configuration.",
"It means that an application will never enter direct reclaim or compaction."
],
"type": "string"
},
"transparentHugepageEnabled": {
"description": "Optional. Transparent hugepage support for anonymous memory can be entirely disabled (mostly for debugging purposes) or only enabled inside MADV_HUGEPAGE regions (to avoid the risk of consuming more memory resources) or enabled system wide. See https://docs.kernel.org/admin-guide/mm/transhuge.html for more details.",
"enum": [
"TRANSPARENT_HUGEPAGE_ENABLED_UNSPECIFIED",
"TRANSPARENT_HUGEPAGE_ENABLED_ALWAYS",
"TRANSPARENT_HUGEPAGE_ENABLED_MADVISE",
"TRANSPARENT_HUGEPAGE_ENABLED_NEVER"
],
"enumDescriptions": [
"Default value. GKE will not modify the kernel configuration.",
"Transparent hugepage support for anonymous memory is enabled system wide.",
"Transparent hugepage support for anonymous memory is enabled inside MADV_HUGEPAGE regions. This is the default kernel configuration.",
"Transparent hugepage support for anonymous memory is disabled."
],
"type": "string"
}
},
"type": "object"
},
"ListClustersResponse": {
"description": "ListClustersResponse is the result of ListClustersRequest.",
"id": "ListClustersResponse",
"properties": {
"clusters": {
"description": "A list of clusters in the project in the specified zone, or across all ones.",
"items": {
"$ref": "Cluster"
},
"type": "array"
},
"missingZones": {
"description": "If any zones are listed here, the list of clusters returned may be missing those zones.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ListLocationsResponse": {
"description": "ListLocationsResponse returns the list of all GKE locations and their recommendation state.",
"id": "ListLocationsResponse",
"properties": {
"locations": {
"description": "A full list of GKE locations.",
"items": {
"$ref": "Location"
},
"type": "array"
},
"nextPageToken": {
"description": "Only return ListLocationsResponse that occur after the page_token. This value should be populated from the ListLocationsResponse.next_page_token if that response token was set (which happens when listing more Locations than fit in a single ListLocationsResponse).",
"type": "string"
}
},
"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": "NodePool"
},
"type": "array"
}
},
"type": "object"
},
"ListOperationsResponse": {
"description": "ListOperationsResponse is the result of ListOperationsRequest.",
"id": "ListOperationsResponse",
"properties": {
"missingZones": {
"description": "If any zones are listed here, the list of operations returned may be missing the operations from those zones.",
"items": {
"type": "string"
},
"type": "array"
},
"operations": {
"description": "A list of operations in the project in the specified zone.",
"items": {
"$ref": "Operation"
},
"type": "array"
}
},
"type": "object"
},
"ListUsableSubnetworksResponse": {
"description": "ListUsableSubnetworksResponse is the response of ListUsableSubnetworksRequest.",
"id": "ListUsableSubnetworksResponse",
"properties": {
"nextPageToken": {
"description": "This token allows you to get the next page of results for list requests. If the number of results is larger than `page_size`, use the `next_page_token` as a value for the query parameter `page_token` in the next request. The value will become empty when there are no more pages.",
"type": "string"
},
"subnetworks": {
"description": "A list of usable subnetworks in the specified network project.",
"items": {
"$ref": "UsableSubnetwork"
},
"type": "array"
}
},
"type": "object"
},
"LocalNvmeSsdBlockConfig": {
"description": "LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSDs",
"id": "LocalNvmeSsdBlockConfig",
"properties": {
"localSsdCount": {
"description": "Number of local NVMe SSDs to use. The limit for this value is dependent upon the maximum number of disk available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information. A zero (or unset) value has different meanings depending on machine type being used: 1. For pre-Gen3 machines, which support flexible numbers of local ssds, zero (or unset) means to disable using local SSDs as ephemeral storage. 2. For Gen3 machines which dictate a specific number of local ssds, zero (or unset) means to use the default number of local ssds that goes with that machine type. For example, for a c3-standard-8-lssd machine, 2 local ssds would be provisioned. For c3-standard-8 (which doesn't support local ssds), 0 will be provisioned. See https://cloud.google.com/compute/docs/disks/local-ssd#choose_number_local_ssds for more info.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"Location": {
"description": "Location returns the location name, and if the location is recommended for GKE cluster scheduling.",
"id": "Location",
"properties": {
"name": {
"description": "Contains the name of the resource requested. Specified in the format `projects/*/locations/*`.",
"type": "string"
},
"recommended": {
"description": "Whether the location is recommended for GKE cluster scheduling.",
"type": "boolean"
},
"type": {
"description": "Contains the type of location this Location is for. Regional or Zonal.",
"enum": [
"LOCATION_TYPE_UNSPECIFIED",
"ZONE",
"REGION"
],
"enumDescriptions": [
"LOCATION_TYPE_UNSPECIFIED means the location type was not determined.",
"A GKE Location where Zonal clusters can be created.",
"A GKE Location where Regional clusters can be created."
],
"type": "string"
}
},
"type": "object"
},
"LoggingComponentConfig": {
"description": "LoggingComponentConfig is cluster logging component configuration.",
"id": "LoggingComponentConfig",
"properties": {
"enableComponents": {
"description": "Select components to collect logs. An empty set would disable all logging.",
"items": {
"enum": [
"COMPONENT_UNSPECIFIED",
"SYSTEM_COMPONENTS",
"WORKLOADS",
"APISERVER",
"SCHEDULER",
"CONTROLLER_MANAGER",
"KCP_SSHD",
"KCP_CONNECTION",
"KCP_HPA"
],
"enumDescriptions": [
"Default value. This shouldn't be used.",
"system components",
"workloads",
"kube-apiserver",
"kube-scheduler",
"kube-controller-manager",
"kcp-sshd",
"kcp connection logs",
"horizontal pod autoscaler decision logs"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"LoggingConfig": {
"description": "LoggingConfig is cluster logging configuration.",
"id": "LoggingConfig",
"properties": {
"componentConfig": {
"$ref": "LoggingComponentConfig",
"description": "Logging components configuration"
}
},
"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"
},
"LustreCsiDriverConfig": {
"description": "Configuration for the Lustre CSI driver.",
"id": "LustreCsiDriverConfig",
"properties": {
"enableLegacyLustrePort": {
"deprecated": true,
"description": "If set to true, the Lustre CSI driver will install Lustre kernel modules using port 6988. This serves as a workaround for a port conflict with the gke-metadata-server. This field is required ONLY under the following conditions: 1. The GKE node version is older than 1.33.2-gke.4655000. 2. You're connecting to a Lustre instance that has the 'gke-support-enabled' flag. Deprecated: This flag is no longer required as of GKE node version 1.33.2-gke.4655000, unless you are connecting to a Lustre instance that has the `gke-support-enabled` flag.",
"type": "boolean"
},
"enabled": {
"description": "Whether the Lustre CSI driver is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"MaintenanceExclusionOptions": {
"description": "Represents the Maintenance exclusion option.",
"id": "MaintenanceExclusionOptions",
"properties": {
"endTimeBehavior": {
"description": "EndTimeBehavior specifies the behavior of the exclusion end time.",
"enum": [
"END_TIME_BEHAVIOR_UNSPECIFIED",
"UNTIL_END_OF_SUPPORT"
],
"enumDescriptions": [
"END_TIME_BEHAVIOR_UNSPECIFIED is the default behavior, which is fixed end time.",
"UNTIL_END_OF_SUPPORT means the exclusion will be in effect until the end of the support of the cluster's current version."
],
"type": "string"
},
"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",
"properties": {
"disruptionBudget": {
"$ref": "DisruptionBudget",
"description": "Optional. The upgrade disruption budget for the cluster control plane."
},
"resourceVersion": {
"description": "A hash identifying the version of this policy, so that updates to fields of the policy won't accidentally undo intermediate changes (and so that users of the API unaware of some fields won't accidentally remove other fields). Make a `get()` request to the cluster to get the current resource version and include it with requests to set the policy.",
"type": "string"
},
"window": {
"$ref": "MaintenanceWindow",
"description": "Specifies the maintenance window in which maintenance may be performed."
}
},
"type": "object"
},
"MaintenanceWindow": {
"description": "MaintenanceWindow defines the maintenance window to be used for the cluster.",
"id": "MaintenanceWindow",
"properties": {
"dailyMaintenanceWindow": {
"$ref": "DailyMaintenanceWindow",
"description": "DailyMaintenanceWindow specifies a daily maintenance operation window."
},
"maintenanceExclusions": {
"additionalProperties": {
"$ref": "TimeWindow"
},
"description": "Exceptions to maintenance window. Non-emergency maintenance should not occur in these windows.",
"type": "object"
},
"recurringWindow": {
"$ref": "RecurringTimeWindow",
"description": "RecurringWindow specifies some number of recurring time periods for maintenance to occur. The time windows may be overlapping. If no maintenance windows are set, maintenance can occur at any time."
}
},
"type": "object"
},
"ManagedOpenTelemetryConfig": {
"description": "ManagedOpenTelemetryConfig is the configuration for the GKE Managed OpenTelemetry pipeline.",
"id": "ManagedOpenTelemetryConfig",
"properties": {
"scope": {
"description": "Scope of the Managed OpenTelemetry pipeline.",
"enum": [
"SCOPE_UNSPECIFIED",
"NONE",
"COLLECTION_AND_INSTRUMENTATION_COMPONENTS"
],
"enumDescriptions": [
"SCOPE_UNSPECIFIED is when the scope is not set.",
"NONE is used to disable the Managed OpenTelemetry pipeline.",
"COLLECTION_AND_INSTRUMENTATION_COMPONENTS is used to enable the Managed OpenTelemetry pipeline for collection and instrumentation components."
],
"type": "string"
}
},
"type": "object"
},
"ManagedPrometheusConfig": {
"description": "ManagedPrometheusConfig defines the configuration for Google Cloud Managed Service for Prometheus.",
"id": "ManagedPrometheusConfig",
"properties": {
"autoMonitoringConfig": {
"$ref": "AutoMonitoringConfig",
"description": "GKE Workload Auto-Monitoring Configuration."
},
"enabled": {
"description": "Enable Managed Collection.",
"type": "boolean"
}
},
"type": "object"
},
"Master": {
"description": "Master is the configuration for components on master.",
"id": "Master",
"properties": {
"compatibilityStatus": {
"$ref": "CompatibilityStatus",
"description": "Output only. The compatibility status of the control plane. It should be empty if the cluster does not have emulated version.",
"readOnly": true
}
},
"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",
"properties": {
"clientCertificate": {
"description": "Output only. Base64-encoded public certificate used by clients to authenticate to the cluster endpoint. Issued only if client_certificate_config is set.",
"readOnly": true,
"type": "string"
},
"clientCertificateConfig": {
"$ref": "ClientCertificateConfig",
"description": "Configuration for client certificate authentication on the cluster. For clusters before v1.12, if no configuration is specified, a client certificate is issued."
},
"clientKey": {
"description": "Output only. Base64-encoded private key used by clients to authenticate to the cluster endpoint.",
"readOnly": true,
"type": "string"
},
"clusterCaCertificate": {
"description": "Output only. Base64-encoded public certificate that is the root of trust for the cluster.",
"readOnly": true,
"type": "string"
},
"password": {
"deprecated": true,
"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. If a password is provided for cluster creation, username must be non-empty. Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication",
"type": "string"
},
"username": {
"deprecated": true,
"description": "The username to use for HTTP basic authentication to the master endpoint. For clusters v1.6.0 and later, basic authentication can be disabled by leaving username unspecified (or setting it to the empty string). Warning: basic authentication is deprecated, and will be removed in GKE control plane versions 1.19 and newer. For a list of recommended authentication methods, see: https://cloud.google.com/kubernetes-engine/docs/how-to/api-server-authentication",
"type": "string"
}
},
"type": "object"
},
"MasterAuthorizedNetworksConfig": {
"description": "Configuration options for the master authorized networks feature. Enabled master authorized networks will disallow all external traffic to access Kubernetes master through HTTPS except traffic from the given CIDR blocks, Google Compute Engine Public IPs and Google Prod IPs.",
"id": "MasterAuthorizedNetworksConfig",
"properties": {
"cidrBlocks": {
"description": "cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.",
"items": {
"$ref": "CidrBlock"
},
"type": "array"
},
"enabled": {
"description": "Whether or not master authorized networks is enabled.",
"type": "boolean"
},
"gcpPublicCidrsAccessEnabled": {
"description": "Whether master is accessible via Google Compute Engine Public IP addresses.",
"type": "boolean"
},
"privateEndpointEnforcementEnabled": {
"description": "Whether master authorized networks is enforced on private endpoint or not.",
"type": "boolean"
}
},
"type": "object"
},
"MaxPodsConstraint": {
"description": "Constraints applied to pods.",
"id": "MaxPodsConstraint",
"properties": {
"maxPodsPerNode": {
"description": "Constraint enforced on the max num of pods per node.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"MemoryManager": {
"description": "The option enables the Kubernetes NUMA-aware Memory Manager feature. Detailed description about the feature can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/).",
"id": "MemoryManager",
"properties": {
"policy": {
"description": "Controls the memory management policy on the Node. See https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/#policies The following values are allowed. * \"none\" * \"static\" The default value is 'none' if unspecified.",
"type": "string"
}
},
"type": "object"
},
"MeshCertificates": {
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.",
"id": "MeshCertificates",
"properties": {
"enableCertificates": {
"description": "enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).",
"type": "boolean"
}
},
"type": "object"
},
"Metric": {
"description": "Progress metric is (string, int|float|string) pair.",
"id": "Metric",
"properties": {
"doubleValue": {
"description": "For metrics with floating point value.",
"format": "double",
"type": "number"
},
"intValue": {
"description": "For metrics with integer value.",
"format": "int64",
"type": "string"
},
"name": {
"description": "Required. Metric name, e.g., \"nodes total\", \"percent done\".",
"type": "string"
},
"stringValue": {
"description": "For metrics with custom values (ratios, visual progress, etc.).",
"type": "string"
}
},
"type": "object"
},
"MonitoringComponentConfig": {
"description": "MonitoringComponentConfig is cluster monitoring component configuration.",
"id": "MonitoringComponentConfig",
"properties": {
"enableComponents": {
"description": "Select components to collect metrics. An empty set would disable all monitoring.",
"items": {
"enum": [
"COMPONENT_UNSPECIFIED",
"SYSTEM_COMPONENTS",
"WORKLOADS",
"APISERVER",
"SCHEDULER",
"CONTROLLER_MANAGER",
"STORAGE",
"HPA",
"POD",
"DAEMONSET",
"DEPLOYMENT",
"STATEFULSET",
"CADVISOR",
"KUBELET",
"DCGM",
"JOBSET"
],
"enumDeprecated": [
false,
false,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
"Default value. This shouldn't be used.",
"system components",
"Deprecated: Use Google Cloud Managed Service for Prometheus.",
"kube-apiserver",
"kube-scheduler",
"kube-controller-manager",
"Storage",
"Horizontal Pod Autoscaling",
"Pod",
"DaemonSet",
"Deployment",
"Statefulset",
"CADVISOR",
"KUBELET",
"NVIDIA Data Center GPU Manager (DCGM)",
"JobSet"
],
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"MonitoringConfig": {
"description": "MonitoringConfig is cluster monitoring configuration.",
"id": "MonitoringConfig",
"properties": {
"advancedDatapathObservabilityConfig": {
"$ref": "AdvancedDatapathObservabilityConfig",
"description": "Configuration of Advanced Datapath Observability features."
},
"componentConfig": {
"$ref": "MonitoringComponentConfig",
"description": "Monitoring components configuration"
},
"managedPrometheusConfig": {
"$ref": "ManagedPrometheusConfig",
"description": "Enable Google Cloud Managed Service for Prometheus in the cluster."
}
},
"type": "object"
},
"NetworkConfig": {
"description": "NetworkConfig reports the relative names of network & subnetwork.",
"id": "NetworkConfig",
"properties": {
"datapathProvider": {
"description": "The desired datapath provider for this cluster. By default, uses the IPTables-based kube-proxy implementation.",
"enum": [
"DATAPATH_PROVIDER_UNSPECIFIED",
"LEGACY_DATAPATH",
"ADVANCED_DATAPATH"
],
"enumDescriptions": [
"Default value.",
"Use the IPTables implementation based on kube-proxy.",
"Use the eBPF based GKE Dataplane V2 with additional features. See the [GKE Dataplane V2 documentation](https://cloud.google.com/kubernetes-engine/docs/how-to/dataplane-v2) for more."
],
"type": "string"
},
"defaultEnablePrivateNodes": {
"description": "Controls whether by default nodes have private IP addresses only. It is invalid to specify both PrivateClusterConfig.enablePrivateNodes and this field at the same time. To update the default setting, use ClusterUpdate.desired_default_enable_private_nodes",
"type": "boolean"
},
"defaultSnatStatus": {
"$ref": "DefaultSnatStatus",
"description": "Whether the cluster disables default in-node sNAT rules. In-node sNAT rules will be disabled when default_snat_status is disabled. When disabled is set to false, default IP masquerade rules will be applied to the nodes to prevent sNAT on cluster internal traffic."
},
"disableL4LbFirewallReconciliation": {
"description": "Disable L4 load balancer VPC firewalls to enable firewall policies.",
"type": "boolean"
},
"dnsConfig": {
"$ref": "DNSConfig",
"description": "DNSConfig contains clusterDNS config for this cluster."
},
"enableCiliumClusterwideNetworkPolicy": {
"description": "Whether CiliumClusterWideNetworkPolicy is enabled on this cluster.",
"type": "boolean"
},
"enableFqdnNetworkPolicy": {
"description": "Whether FQDN Network Policy is enabled on this cluster.",
"type": "boolean"
},
"enableIntraNodeVisibility": {
"description": "Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network.",
"type": "boolean"
},
"enableL4ilbSubsetting": {
"description": "Whether L4ILB Subsetting is enabled for this cluster.",
"type": "boolean"
},
"enableMultiNetworking": {
"description": "Whether multi-networking is enabled for this cluster.",
"type": "boolean"
},
"gatewayApiConfig": {
"$ref": "GatewayAPIConfig",
"description": "GatewayAPIConfig contains the desired config of Gateway API on this cluster."
},
"inTransitEncryptionConfig": {
"description": "Specify the details of in-transit encryption.",
"enum": [
"IN_TRANSIT_ENCRYPTION_CONFIG_UNSPECIFIED",
"IN_TRANSIT_ENCRYPTION_DISABLED",
"IN_TRANSIT_ENCRYPTION_INTER_NODE_TRANSPARENT"
],
"enumDescriptions": [
"Unspecified, will be inferred as default - IN_TRANSIT_ENCRYPTION_UNSPECIFIED.",
"In-transit encryption is disabled.",
"Data in-transit is encrypted using inter-node transparent encryption."
],
"type": "string"
},
"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",
"readOnly": true,
"type": "string"
},
"networkPerformanceConfig": {
"$ref": "ClusterNetworkPerformanceConfig",
"description": "Network bandwidth tier configuration."
},
"privateIpv6GoogleAccess": {
"description": "The desired state of IPv6 connectivity to Google Services. By default, no private IPv6 access to or from Google Services (all access will be via IPv4)",
"enum": [
"PRIVATE_IPV6_GOOGLE_ACCESS_UNSPECIFIED",
"PRIVATE_IPV6_GOOGLE_ACCESS_DISABLED",
"PRIVATE_IPV6_GOOGLE_ACCESS_TO_GOOGLE",
"PRIVATE_IPV6_GOOGLE_ACCESS_BIDIRECTIONAL"
],
"enumDescriptions": [
"Default value. Same as DISABLED",
"No private access to or from Google Services",
"Enables private IPv6 access to Google Services from GKE",
"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",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"NetworkPerformanceConfig": {
"description": "Configuration of all network bandwidth tiers",
"id": "NetworkPerformanceConfig",
"properties": {
"externalIpEgressBandwidthTier": {
"description": "Specifies the network bandwidth tier for the NodePool for traffic to external/public IP addresses.",
"enum": [
"TIER_UNSPECIFIED",
"TIER_1"
],
"enumDescriptions": [
"Default value",
"Higher bandwidth, actual values based on VM size."
],
"type": "string"
},
"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",
"properties": {
"enabled": {
"description": "Whether network policy is enabled on the cluster.",
"type": "boolean"
},
"provider": {
"description": "The selected network policy provider.",
"enum": [
"PROVIDER_UNSPECIFIED",
"CALICO"
],
"enumDescriptions": [
"Not set",
"Tigera (Calico Felix)."
],
"type": "string"
}
},
"type": "object"
},
"NetworkPolicyConfig": {
"description": "Configuration for NetworkPolicy. This only tracks whether the addon is enabled or not on the Master, it does not track whether network policy is enabled for the nodes.",
"id": "NetworkPolicyConfig",
"properties": {
"disabled": {
"description": "Whether NetworkPolicy is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"NetworkTags": {
"description": "Collection of Compute Engine network tags that can be applied to a node's underlying VM instance. (See `tags` field in [`NodeConfig`](/kubernetes-engine/docs/reference/rest/v1/NodeConfig)).",
"id": "NetworkTags",
"properties": {
"tags": {
"description": "List of network tags.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"NetworkTierConfig": {
"description": "NetworkTierConfig contains network tier information.",
"id": "NetworkTierConfig",
"properties": {
"networkTier": {
"description": "Network tier configuration.",
"enum": [
"NETWORK_TIER_UNSPECIFIED",
"NETWORK_TIER_DEFAULT",
"NETWORK_TIER_PREMIUM",
"NETWORK_TIER_STANDARD"
],
"enumDescriptions": [
"By default, use project-level configuration. When unspecified, the behavior defaults to NETWORK_TIER_DEFAULT. For cluster updates, this implies no action (no-op).",
"Default network tier. Use project-level configuration. User can specify this value, meaning they want to keep the same behaviour as before cluster level network tier configuration is introduced. This field ensures backward compatibility for the network tier of cluster resources, such as node pools and load balancers, for their external IP addresses.",
"Premium network tier.",
"Standard network tier."
],
"type": "string"
}
},
"type": "object"
},
"NodeAffinity": {
"description": "Specifies the NodeAffinity key, values, and affinity operator according to [shared sole tenant node group affinities](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes#node_affinity_and_anti-affinity).",
"id": "NodeAffinity",
"properties": {
"key": {
"description": "Key for NodeAffinity.",
"type": "string"
},
"operator": {
"description": "Operator for NodeAffinity.",
"enum": [
"OPERATOR_UNSPECIFIED",
"IN",
"NOT_IN"
],
"enumDescriptions": [
"Invalid or unspecified affinity operator.",
"Affinity operator.",
"Anti-affinity operator."
],
"type": "string"
},
"values": {
"description": "Values for NodeAffinity.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"NodeConfig": {
"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": {
"description": "A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.",
"items": {
"$ref": "AcceleratorConfig"
},
"type": "array"
},
"advancedMachineFeatures": {
"$ref": "AdvancedMachineFeatures",
"description": "Advanced features for the Compute Engine VM."
},
"bootDisk": {
"$ref": "BootDisk",
"description": "Boot disk configuration for the node pool."
},
"bootDiskKmsKey": {
"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."
},
"consolidationDelay": {
"description": "Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.",
"format": "google-duration",
"type": "string"
},
"containerdConfig": {
"$ref": "ContainerdConfig",
"description": "Parameters for containerd customization."
},
"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"
},
"diskType": {
"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"
},
"effectiveCgroupMode": {
"description": "Output only. effective_cgroup_mode is the cgroup mode actually used by the node pool. It is determined by the cgroup mode specified in the LinuxNodeConfig or the default cgroup mode based on the cluster creation version.",
"enum": [
"EFFECTIVE_CGROUP_MODE_UNSPECIFIED",
"EFFECTIVE_CGROUP_MODE_V1",
"EFFECTIVE_CGROUP_MODE_V2"
],
"enumDescriptions": [
"EFFECTIVE_CGROUP_MODE_UNSPECIFIED means the cgroup configuration for the node pool is unspecified, i.e. the node pool is a Windows node pool.",
"CGROUP_MODE_V1 means the node pool is configured to use cgroupv1 for the cgroup configuration.",
"CGROUP_MODE_V2 means the node pool is configured to use cgroupv2 for the cgroup configuration."
],
"readOnly": true,
"type": "string"
},
"enableConfidentialStorage": {
"description": "Optional. Reserved for future use.",
"type": "boolean"
},
"ephemeralStorageConfig": {
"$ref": "EphemeralStorageConfig",
"description": "Parameters for the ephemeral storage filesystem. If unspecified, ephemeral storage is backed by the boot disk."
},
"ephemeralStorageLocalSsdConfig": {
"$ref": "EphemeralStorageLocalSsdConfig",
"description": "Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk. This field is functionally equivalent to the ephemeral_storage_config"
},
"fastSocket": {
"$ref": "FastSocket",
"description": "Enable or disable NCCL fast socket for the node pool."
},
"flexStart": {
"description": "Flex Start flag for enabling Flex Start VM.",
"type": "boolean"
},
"gcfsConfig": {
"$ref": "GcfsConfig",
"description": "GCFS (Google Container File System) configs."
},
"gpuDirectConfig": {
"$ref": "GPUDirectConfig",
"description": "The configuration for GPU Direct"
},
"gvnic": {
"$ref": "VirtualNIC",
"description": "Enable or disable gvnic on the node pool."
},
"hostMaintenancePolicy": {
"$ref": "HostMaintenancePolicy",
"description": "HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts."
},
"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. 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": {
"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: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/",
"type": "object"
},
"linuxNodeConfig": {
"$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"
},
"localSsdEncryptionMode": {
"description": "Specifies which method should be used for encrypting the Local SSDs attached to the node.",
"enum": [
"LOCAL_SSD_ENCRYPTION_MODE_UNSPECIFIED",
"STANDARD_ENCRYPTION",
"EPHEMERAL_KEY_ENCRYPTION"
],
"enumDescriptions": [
"The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.",
"The given node will be encrypted using keys managed by Google infrastructure and the keys will be deleted when the node is deleted.",
"The given node will opt-in for using ephemeral key for encryption of Local SSDs. The Local SSDs will not be able to recover data in case of node crash."
],
"type": "string"
},
"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"
},
"maxRunDuration": {
"description": "The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.",
"format": "google-duration",
"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 reserved keys: - \"cluster-location\" - \"cluster-name\" - \"cluster-uid\" - \"configure-sh\" - \"containerd-configure-sh\" - \"enable-oslogin\" - \"gci-ensure-gke-docker\" - \"gci-metrics-enabled\" - \"gci-update-strategy\" - \"instance-template\" - \"kube-env\" - \"startup-script\" - \"user-data\" - \"disable-address-manager\" - \"windows-startup-script-ps1\" - \"common-psm1\" - \"k8s-node-setup-psm1\" - \"install-ssh-psm1\" - \"user-profile-psm1\" Values are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on them is that each value's size must be less than or equal to 32 KB. The total size of all keys and values must be less than 512 KB.",
"type": "object"
},
"minCpuPlatform": {
"description": "Minimum CPU platform to be used by this instance. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as `minCpuPlatform: \"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).",
"type": "string"
},
"nodeGroup": {
"description": "Setting this field will assign instances of this pool to run on the specified node group. This is useful for running workloads on [sole tenant nodes](https://cloud.google.com/compute/docs/nodes/sole-tenant-nodes).",
"type": "string"
},
"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 [Artifact Registry](https://cloud.google.com/artifact-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"
},
"preemptible": {
"description": "Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more information about preemptible VM instances.",
"type": "boolean"
},
"reservationAffinity": {
"$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"
},
"resourceManagerTags": {
"$ref": "ResourceManagerTags",
"description": "A map of resource manager tag keys and values to be attached to the nodes."
},
"sandboxConfig": {
"$ref": "SandboxConfig",
"description": "Sandbox configuration for this node."
},
"secondaryBootDiskUpdateStrategy": {
"$ref": "SecondaryBootDiskUpdateStrategy",
"description": "Secondary boot disk update strategy."
},
"secondaryBootDisks": {
"description": "List of secondary boot disks attached to the nodes.",
"items": {
"$ref": "SecondaryBootDisk"
},
"type": "array"
},
"serviceAccount": {
"description": "The Google Cloud Platform Service Account to be used by the node VMs. Specify the email address of the Service Account; otherwise, if no Service Account is specified, the \"default\" service account is used.",
"type": "string"
},
"shieldedInstanceConfig": {
"$ref": "ShieldedInstanceConfig",
"description": "Shielded Instance options."
},
"soleTenantConfig": {
"$ref": "SoleTenantConfig",
"description": "Parameters for node pools to be backed by shared sole tenant node groups."
},
"spot": {
"description": "Spot flag for enabling Spot VM, which is a rebrand of the existing preemptible flag.",
"type": "boolean"
},
"storagePools": {
"description": "List of Storage Pools where boot disks are provisioned.",
"items": {
"type": "string"
},
"type": "array"
},
"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"
},
"taints": {
"description": "List of kubernetes taints to be applied to each node. For more information, including usage and the valid values, see: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/",
"items": {
"$ref": "NodeTaint"
},
"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."
}
},
"type": "object"
},
"NodeConfigDefaults": {
"description": "Subset of NodeConfig message that has defaults.",
"id": "NodeConfigDefaults",
"properties": {
"containerdConfig": {
"$ref": "ContainerdConfig",
"description": "Parameters for containerd customization."
},
"gcfsConfig": {
"$ref": "GcfsConfig",
"description": "GCFS (Google Container File System, also known as Riptide) options."
},
"hostMaintenancePolicy": {
"$ref": "HostMaintenancePolicy",
"description": "HostMaintenancePolicy contains the desired maintenance policy for the Google Compute Engine hosts."
},
"loggingConfig": {
"$ref": "NodePoolLoggingConfig",
"description": "Logging configuration for node pools."
},
"nodeKubeletConfig": {
"$ref": "NodeKubeletConfig",
"description": "NodeKubeletConfig controls the defaults for new node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here."
}
},
"type": "object"
},
"NodeDrainConfig": {
"description": "NodeDrainConfig contains the node drain related configurations for this nodepool.",
"id": "NodeDrainConfig",
"properties": {
"respectPdbDuringNodePoolDeletion": {
"description": "Whether to respect PDB during node pool deletion.",
"type": "boolean"
}
},
"type": "object"
},
"NodeKernelModuleLoading": {
"description": "Configuration for kernel module loading on nodes.",
"id": "NodeKernelModuleLoading",
"properties": {
"policy": {
"description": "Set the node module loading policy for nodes in the node pool.",
"enum": [
"POLICY_UNSPECIFIED",
"ENFORCE_SIGNED_MODULES",
"DO_NOT_ENFORCE_SIGNED_MODULES"
],
"enumDescriptions": [
"Default behavior. GKE selects the image based on node type. For CPU and TPU nodes, the image will not allow loading external kernel modules. For GPU nodes, the image will allow loading any module, whether it is signed or not.",
"Enforced signature verification: Node pools will use a Container-Optimized OS image configured to allow loading of *Google-signed* external kernel modules. Loadpin is enabled but configured to exclude modules, and kernel module signature checking is enforced.",
"Mirrors existing DEFAULT behavior: For CPU and TPU nodes, the image will not allow loading external kernel modules. For GPU nodes, the image will allow loading any module, whether it is signed or not."
],
"type": "string"
}
},
"type": "object"
},
"NodeKubeletConfig": {
"description": "Node kubelet configs.",
"id": "NodeKubeletConfig",
"properties": {
"allowedUnsafeSysctls": {
"description": "Optional. Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns (ending in `*`). The unsafe namespaced sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`. Leaving this allowlist empty means they cannot be set on Pods. To allow certain sysctls or sysctl patterns to be set on Pods, list them separated by commas. For example: `kernel.msg*,net.ipv4.route.min_pmtu`. See https://kubernetes.io/docs/tasks/administer-cluster/sysctl-cluster/ for more details.",
"items": {
"type": "string"
},
"type": "array"
},
"containerLogMaxFiles": {
"description": "Optional. Defines the maximum number of container log files that can be present for a container. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation The value must be an integer between 2 and 10, inclusive. The default value is 5 if unspecified.",
"format": "int32",
"type": "integer"
},
"containerLogMaxSize": {
"description": "Optional. Defines the maximum size of the container log file before it is rotated. See https://kubernetes.io/docs/concepts/cluster-administration/logging/#log-rotation Valid format is positive number + unit, e.g. 100Ki, 10Mi. Valid units are Ki, Mi, Gi. The value must be between 10Mi and 500Mi, inclusive. Note that the total container log size (container_log_max_size * container_log_max_files) cannot exceed 1% of the total storage of the node, to avoid disk pressure caused by log files. The default value is 10Mi if unspecified.",
"type": "string"
},
"cpuCfsQuota": {
"description": "Enable CPU CFS quota enforcement for containers that specify CPU limits. This option is enabled by default which makes kubelet use CFS quota (https://www.kernel.org/doc/Documentation/scheduler/sched-bwc.txt) to enforce container CPU limits. Otherwise, CPU limits will not be enforced at all. Disable this option to mitigate CPU throttling problems while still having your pods to be in Guaranteed QoS class by specifying the CPU limits. The default value is 'true' if unspecified.",
"type": "boolean"
},
"cpuCfsQuotaPeriod": {
"description": "Set the CPU CFS quota period value 'cpu.cfs_period_us'. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300ms\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration between 1ms and 1 second, inclusive.",
"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.",
"type": "string"
},
"crashLoopBackOff": {
"$ref": "CrashLoopBackOffConfig",
"description": "Optional. Contains configuration options to modify node-level parameters for container restart behavior."
},
"evictionMaxPodGracePeriodSeconds": {
"description": "Optional. eviction_max_pod_grace_period_seconds is the maximum allowed grace period (in seconds) to use when terminating pods in response to a soft eviction threshold being met. This value effectively caps the Pod's terminationGracePeriodSeconds value during soft evictions. Default: 0. Range: [0, 300].",
"format": "int32",
"type": "integer"
},
"evictionMinimumReclaim": {
"$ref": "EvictionMinimumReclaim",
"description": "Optional. eviction_minimum_reclaim is a map of signal names to quantities that defines minimum reclaims, which describe the minimum amount of a given resource the kubelet will reclaim when performing a pod eviction while that resource is under pressure."
},
"evictionSoft": {
"$ref": "EvictionSignals",
"description": "Optional. eviction_soft is a map of signal names to quantities that defines soft eviction thresholds. Each signal is compared to its corresponding threshold to determine if a pod eviction should occur."
},
"evictionSoftGracePeriod": {
"$ref": "EvictionGracePeriod",
"description": "Optional. eviction_soft_grace_period is a map of signal names to quantities that defines grace periods for each soft eviction signal. The grace period is the amount of time that a pod must be under pressure before an eviction occurs."
},
"imageGcHighThresholdPercent": {
"description": "Optional. Defines the percent of disk usage after which image garbage collection is always run. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and greater than image_gc_low_threshold_percent. The default value is 85 if unspecified.",
"format": "int32",
"type": "integer"
},
"imageGcLowThresholdPercent": {
"description": "Optional. Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The percent is calculated as this field value out of 100. The value must be between 10 and 85, inclusive and smaller than image_gc_high_threshold_percent. The default value is 80 if unspecified.",
"format": "int32",
"type": "integer"
},
"imageMaximumGcAge": {
"description": "Optional. Defines the maximum age an image can be unused before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300s\", \"1.5h\", and \"2h45m\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration greater than image_minimum_gc_age or \"0s\". The default value is \"0s\" if unspecified, which disables this field, meaning images won't be garbage collected based on being unused for too long.",
"type": "string"
},
"imageMinimumGcAge": {
"description": "Optional. Defines the minimum age for an unused image before it is garbage collected. The string must be a sequence of decimal numbers, each with optional fraction and a unit suffix, such as \"300s\", \"1.5h\", and \"2h45m\". Valid time units are \"ns\", \"us\" (or \"\u00b5s\"), \"ms\", \"s\", \"m\", \"h\". The value must be a positive duration less than or equal to 2 minutes. The default value is \"2m0s\" if unspecified.",
"type": "string"
},
"insecureKubeletReadonlyPortEnabled": {
"description": "Enable or disable Kubelet read only port.",
"type": "boolean"
},
"maxParallelImagePulls": {
"description": "Optional. Defines the maximum number of image pulls in parallel. The range is 2 to 5, inclusive. The default value is 2 or 3 depending on the disk type. See https://kubernetes.io/docs/concepts/containers/images/#maximum-parallel-image-pulls for more details.",
"format": "int32",
"type": "integer"
},
"memoryManager": {
"$ref": "MemoryManager",
"description": "Optional. Controls NUMA-aware Memory Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/memory-manager/"
},
"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"
},
"shutdownGracePeriodCriticalPodsSeconds": {
"description": "Optional. shutdown_grace_period_critical_pods_seconds is the maximum allowed grace period (in seconds) used to terminate critical pods during a node shutdown. This value should be <= shutdown_grace_period_seconds, and is only valid if shutdown_grace_period_seconds is set. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ Range: [0, 120].",
"format": "int32",
"type": "integer"
},
"shutdownGracePeriodSeconds": {
"description": "Optional. shutdown_grace_period_seconds is the maximum allowed grace period (in seconds) the total duration that the node should delay the shutdown during a graceful shutdown. This is the total grace period for pod termination for both regular and critical pods. https://kubernetes.io/docs/concepts/cluster-administration/node-shutdown/ If set to 0, node will not enable the graceful node shutdown functionality. This field is only valid for Spot VMs. Allowed values: 0, 30, 120.",
"format": "int32",
"type": "integer"
},
"singleProcessOomKill": {
"description": "Optional. Defines whether to enable single process OOM killer. If true, will prevent the memory.oom.group flag from being set for container cgroups in cgroups v2. This causes processes in the container to be OOM killed individually instead of as a group.",
"type": "boolean"
},
"topologyManager": {
"$ref": "TopologyManager",
"description": "Optional. Controls Topology Manager configuration on the node. For more information, see: https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/"
}
},
"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",
"properties": {
"autoRepair": {
"description": "Whether the nodes will be automatically repaired.",
"type": "boolean"
},
"autoUpgrade": {
"description": "Whether the nodes will be automatically upgraded.",
"type": "boolean"
},
"upgradeOptions": {
"$ref": "AutoUpgradeOptions",
"description": "Specifies the Auto Upgrade knobs for the node pool."
}
},
"type": "object"
},
"NodeNetworkConfig": {
"description": "Parameters for node pool-level network config.",
"id": "NodeNetworkConfig",
"properties": {
"acceleratorNetworkProfile": {
"description": "Immutable. The accelerator network profile for the node pool. For now the only valid value is \"auto\". If specified, the network configuration of the nodes in this node pool will be managed by this profile for the supported machine types, zone, etc.",
"type": "string"
},
"additionalNodeNetworkConfigs": {
"description": "We specify the additional node networks for this node pool using this list. Each node network corresponds to an additional interface",
"items": {
"$ref": "AdditionalNodeNetworkConfig"
},
"type": "array"
},
"additionalPodNetworkConfigs": {
"description": "We specify the additional pod networks for this node pool using this list. Each pod network corresponds to an additional alias IP range for the node",
"items": {
"$ref": "AdditionalPodNetworkConfig"
},
"type": "array"
},
"createPodRange": {
"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.NetworkConfig.default_enable_private_nodes",
"type": "boolean"
},
"networkPerformanceConfig": {
"$ref": "NetworkPerformanceConfig",
"description": "Network bandwidth tier configuration."
},
"networkTierConfig": {
"$ref": "NetworkTierConfig",
"description": "Output only. The network tier configuration for the node pool inherits from the cluster-level configuration and remains immutable throughout the node pool's lifecycle, including during upgrades.",
"readOnly": true
},
"podCidrOverprovisionConfig": {
"$ref": "PodCIDROverprovisionConfig",
"description": "[PRIVATE FIELD] Pod CIDR size overprovisioning config for the nodepool. Pod CIDR size per node depends on max_pods_per_node. By default, the value of max_pods_per_node is rounded off to next power of 2 and we then double that to get the size of pod CIDR block per node. Example: max_pods_per_node of 30 would result in 64 IPs (/26). This config can disable the doubling of IPs (we still round off to next power of 2) Example: max_pods_per_node of 30 will result in 32 IPs (/27) when overprovisioning is disabled."
},
"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"
},
"podIpv4RangeUtilization": {
"description": "Output only. The utilization of the IPv4 range for the pod. The ratio is Usage/[Total number of IPs in the secondary range], Usage=numNodes*numZones*podIPsPerNode.",
"format": "double",
"readOnly": true,
"type": "number"
},
"podRange": {
"description": "The ID of the secondary range for pod IPs. If `create_pod_range` is true, this ID is used for the new range. If `create_pod_range` is false, uses an existing secondary range with this ID. Only applicable if `ip_allocation_policy.use_ip_aliases` is true. This field cannot be changed after the node pool has been created.",
"type": "string"
},
"subnetwork": {
"description": "Optional. The subnetwork name/path for the node pool. Format: projects/{project}/regions/{region}/subnetworks/{subnetwork} If the cluster is associated with multiple subnetworks, the subnetwork can be either: - A user supplied subnetwork name during node pool creation (e.g., `my-subnet`). The name must be between 1 and 63 characters long, start with a letter, contain only letters, numbers, and hyphens, and end with a letter or a number. - A full subnetwork path during node pool creation, such as `projects/gke-project/regions/us-central1/subnetworks/my-subnet` - A subnetwork path picked based on the IP utilization during node pool creation and is immutable.",
"type": "string"
}
},
"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",
"properties": {
"autopilotConfig": {
"$ref": "AutopilotConfig",
"description": "Specifies the autopilot configuration for this node pool. This field is exclusively reserved for Cluster Autoscaler."
},
"autoscaling": {
"$ref": "NodePoolAutoscaling",
"description": "Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present."
},
"bestEffortProvisioning": {
"$ref": "BestEffortProvisioning",
"description": "Enable best effort provisioning for nodes"
},
"conditions": {
"description": "Which conditions caused the current node pool state.",
"items": {
"$ref": "StatusCondition"
},
"type": "array"
},
"config": {
"$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. During the node pool blue-green upgrade operation, the URLs contain both blue and green resources.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"locations": {
"description": "The list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the NodePool's nodes should be located. If this value is unspecified during node pool creation, the [Cluster.Locations](https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters#Cluster.FIELDS.locations) value will be used, instead. Warning: changing node pool locations will result in nodes being added and/or removed.",
"items": {
"type": "string"
},
"type": "array"
},
"management": {
"$ref": "NodeManagement",
"description": "NodeManagement configuration for this NodePool."
},
"maxPodsConstraint": {
"$ref": "MaxPodsConstraint",
"description": "The constraint on the maximum number of pods that can be run simultaneously on a node in the node pool."
},
"name": {
"description": "The name of the node pool.",
"type": "string"
},
"networkConfig": {
"$ref": "NodeNetworkConfig",
"description": "Networking configuration for this NodePool. If specified, it overrides the cluster-level defaults."
},
"nodeDrainConfig": {
"$ref": "NodeDrainConfig",
"description": "Specifies the node drain configuration for this node pool."
},
"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",
"readOnly": true,
"type": "integer"
},
"queuedProvisioning": {
"$ref": "QueuedProvisioning",
"description": "Specifies the configuration of queued provisioning."
},
"selfLink": {
"description": "Output only. Server-defined URL for the resource.",
"readOnly": true,
"type": "string"
},
"status": {
"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 and is fully usable.",
"The RUNNING_WITH_ERROR state indicates the node pool has been created and is partially usable. Some error state has occurred and some functionality may be impaired. Customer may need to reissue a request or trigger a new update.",
"The RECONCILING state indicates that some work is actively being done on the node pool, such as upgrading node software. Details can be 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 can be found in the `statusMessage` field."
],
"readOnly": true,
"type": "string"
},
"statusMessage": {
"deprecated": true,
"description": "Output only. Deprecated. Use conditions instead. Additional information about the current status of this node pool instance, if available.",
"readOnly": true,
"type": "string"
},
"updateInfo": {
"$ref": "UpdateInfo",
"description": "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 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": {
"linuxNodeConfig": {
"$ref": "LinuxNodeConfig",
"description": "Output only. Configuration options for Linux nodes.",
"readOnly": true
},
"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."
},
"nodeKubeletConfig": {
"$ref": "NodeKubeletConfig",
"description": "NodeKubeletConfig controls the defaults for autoprovisioned node-pools. Currently only `insecure_kubelet_readonly_port_enabled` can be set here."
},
"resourceManagerTags": {
"$ref": "ResourceManagerTags",
"description": "Resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies."
}
},
"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": {
"autoprovisioned": {
"description": "Can this node pool be deleted automatically.",
"type": "boolean"
},
"enabled": {
"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 node pool. Must be >= min_node_count. There has to be enough quota to scale up the cluster.",
"format": "int32",
"type": "integer"
},
"minNodeCount": {
"description": "Minimum number of nodes for one location in the node pool. Must be greater than or equal to 0 and less than or equal to max_node_count.",
"format": "int32",
"type": "integer"
},
"totalMaxNodeCount": {
"description": "Maximum number of nodes in the node pool. Must be greater than or equal to 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 or equal to 0 and less than or equal to total_max_node_count. The total_*_node_count fields are mutually exclusive with the *_node_count fields.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"NodePoolDefaults": {
"description": "Subset of Nodepool message that has defaults.",
"id": "NodePoolDefaults",
"properties": {
"nodeConfigDefaults": {
"$ref": "NodeConfigDefaults",
"description": "Subset of NodeConfig message that has defaults."
}
},
"type": "object"
},
"NodePoolLoggingConfig": {
"description": "NodePoolLoggingConfig specifies logging configuration for nodepools.",
"id": "NodePoolLoggingConfig",
"properties": {
"variantConfig": {
"$ref": "LoggingVariantConfig",
"description": "Logging variant configuration."
}
},
"type": "object"
},
"NodePoolUpgradeInfo": {
"description": "NodePoolUpgradeInfo contains the upgrade information of a nodepool.",
"id": "NodePoolUpgradeInfo",
"properties": {
"autoUpgradeStatus": {
"description": "The auto upgrade status.",
"items": {
"enum": [
"UNKNOWN",
"ACTIVE",
"MINOR_UPGRADE_PAUSED",
"UPGRADE_PAUSED"
],
"enumDescriptions": [
"UNKNOWN indicates an unknown status.",
"ACTIVE indicates an active status.",
"MINOR_UPGRADE_PAUSED indicates the minor version upgrade is paused.",
"UPGRADE_PAUSED indicates the upgrade is paused."
],
"type": "string"
},
"type": "array"
},
"endOfExtendedSupportTimestamp": {
"description": "The nodepool's current minor version's end of extended support timestamp.",
"type": "string"
},
"endOfStandardSupportTimestamp": {
"description": "The nodepool's current minor version's end of standard support timestamp.",
"type": "string"
},
"minorTargetVersion": {
"description": "minor_target_version indicates the target version for minor upgrade.",
"type": "string"
},
"patchTargetVersion": {
"description": "patch_target_version indicates the target version for patch upgrade.",
"type": "string"
},
"pausedReason": {
"description": "The auto upgrade paused reason.",
"items": {
"enum": [
"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED",
"MAINTENANCE_WINDOW",
"MAINTENANCE_EXCLUSION_NO_UPGRADES",
"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES",
"SYSTEM_CONFIG"
],
"enumDescriptions": [
"AUTO_UPGRADE_PAUSED_REASON_UNSPECIFIED indicates an unspecified reason.",
"MAINTENANCE_WINDOW indicates the cluster is outside customer maintenance window.",
"MAINTENANCE_EXCLUSION_NO_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_UPGRADES.",
"MAINTENANCE_EXCLUSION_NO_MINOR_UPGRADES indicates the cluster is in a maintenance exclusion with scope NO_MINOR_UPGRADES.",
"SYSTEM_CONFIG indicates the cluster upgrade is paused by system config."
],
"type": "string"
},
"type": "array"
},
"upgradeDetails": {
"description": "The list of past auto upgrades.",
"items": {
"$ref": "UpgradeDetails"
},
"type": "array"
}
},
"type": "object"
},
"NodeTaint": {
"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": {
"description": "Effect for taint.",
"enum": [
"EFFECT_UNSPECIFIED",
"NO_SCHEDULE",
"PREFER_NO_SCHEDULE",
"NO_EXECUTE"
],
"enumDescriptions": [
"Not set",
"NoSchedule",
"PreferNoSchedule",
"NoExecute"
],
"type": "string"
},
"key": {
"description": "Key for taint.",
"type": "string"
},
"value": {
"description": "Value for taint.",
"type": "string"
}
},
"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",
"properties": {
"pubsub": {
"$ref": "PubSub",
"description": "Notification config for Pub/Sub."
}
},
"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",
"properties": {
"clusterConditions": {
"deprecated": true,
"description": "Which conditions caused the current cluster state. Deprecated. Use field error instead.",
"items": {
"$ref": "StatusCondition"
},
"type": "array"
},
"detail": {
"description": "Output only. Detailed operation progress, if available.",
"readOnly": true,
"type": "string"
},
"endTime": {
"description": "Output only. The time the operation completed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"readOnly": true,
"type": "string"
},
"error": {
"$ref": "Status",
"description": "The error result of the operation in case of failure."
},
"location": {
"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) or [region](https://cloud.google.com/compute/docs/regions-zones/regions-zones#available) in which the cluster resides.",
"readOnly": true,
"type": "string"
},
"name": {
"description": "Output only. The server-assigned ID for the operation.",
"readOnly": true,
"type": "string"
},
"nodepoolConditions": {
"deprecated": true,
"description": "Which conditions caused the current node pool state. Deprecated. Use field error instead.",
"items": {
"$ref": "StatusCondition"
},
"type": "array"
},
"operationType": {
"description": "Output only. 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",
"AUTO_REPAIR_NODES",
"AUTO_UPGRADE_NODES",
"SET_LABELS",
"SET_MASTER_AUTH",
"SET_NODE_POOL_SIZE",
"SET_NETWORK_POLICY",
"SET_MAINTENANCE_POLICY",
"RESIZE_CLUSTER",
"FLEET_FEATURE_UPGRADE"
],
"enumDeprecated": [
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
true,
true,
true,
false,
true,
true,
false,
false
],
"enumDescriptions": [
"Not set.",
"The cluster is being created. The cluster should be assumed to be unusable until the operation finishes. In the event of the operation failing, the cluster will enter the ERROR state and eventually be deleted.",
"The cluster is being deleted. The cluster should be assumed to be unusable as soon as this operation starts. In the event of the operation failing, the cluster will enter the ERROR state and the deletion will be automatically retried until completed.",
"The cluster version is being updated. Note that this includes \"upgrades\" to the same version, which are simply a recreation. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#upgrading_automatically). For more details, see [documentation on cluster upgrades](https://cloud.google.com/kubernetes-engine/docs/concepts/cluster-upgrades#cluster_upgrades).",
"A node pool is being updated. Despite calling this an \"upgrade\", this includes most forms of updates to node pools. This also includes [auto-upgrades](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-upgrades). This operation sets the progress field and may be canceled. The upgrade strategy depends on [node pool configuration](https://cloud.google.com/kubernetes-engine/docs/concepts/node-pool-upgrade-strategies). The nodes are generally still usable during this operation.",
"A problem has been detected with the control plane and is being repaired. This operation type is initiated by GKE. For more details, see [documentation on repairs](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).",
"The cluster is being updated. This is a broad category of operations and includes operations that only change metadata as well as those that must recreate the entire cluster. If the control plane must be recreated, this will cause temporary downtime for zonal clusters. Some features require recreating the nodes as well. Those will be recreated as separate operations and the update may not be completely functional until the node pools recreations finish. Node recreations will generally follow [maintenance policies](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions). Some GKE-initiated operations use this type. This includes certain types of auto-upgrades and incident mitigations.",
"A node pool is being created. The node pool should be assumed to be unusable until this operation finishes. In the event of an error, the node pool may be partially created. If enabled, [node autoprovisioning](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-provisioning) may have automatically initiated such operations.",
"The node pool is being deleted. The node pool should be assumed to be unusable as soon as this operation starts.",
"The node pool's manamagent field is being updated. These operations only update metadata and may be concurrent with most other operations.",
"A problem has been detected with nodes and [they are being repaired](https://cloud.google.com/kubernetes-engine/docs/how-to/node-auto-repair). This operation type is initiated by GKE, typically automatically. This operation may be concurrent with other operations and there may be multiple repairs occurring on the same node pool.",
"Unused. Automatic node upgrade uses UPGRADE_NODES.",
"Unused. Updating labels uses UPDATE_CLUSTER.",
"Unused. Updating master auth uses UPDATE_CLUSTER.",
"The node pool is being resized. With the exception of resizing to or from size zero, the node pool is generally usable during this operation.",
"Unused. Updating network policy uses UPDATE_CLUSTER.",
"Unused. Updating maintenance policy uses UPDATE_CLUSTER.",
"The control plane is being resized. This operation type is initiated by GKE. These operations are often performed preemptively to ensure that the control plane has sufficient resources and is not typically an indication of issues. For more details, see [documentation on resizes](https://cloud.google.com/kubernetes-engine/docs/concepts/maintenance-windows-and-exclusions#repairs).",
"Fleet features of GKE Enterprise are being upgraded. The cluster should be assumed to be blocked for other upgrades until the operation finishes."
],
"readOnly": true,
"type": "string"
},
"progress": {
"$ref": "OperationProgress",
"description": "Output only. Progress information for an operation.",
"readOnly": true
},
"selfLink": {
"description": "Output only. Server-defined URI for the operation. Example: `https://container.googleapis.com/v1alpha1/projects/123/locations/us-central1/operations/operation-123`.",
"readOnly": true,
"type": "string"
},
"startTime": {
"description": "Output only. The time the operation started, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"readOnly": true,
"type": "string"
},
"status": {
"description": "Output only. 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."
],
"readOnly": true,
"type": "string"
},
"statusMessage": {
"deprecated": true,
"description": "Output only. If an error has occurred, a textual description of the error. Deprecated. Use field error instead.",
"readOnly": true,
"type": "string"
},
"targetLink": {
"description": "Output only. Server-defined URI for the target of the operation. The format of this is a URI to the resource being modified (such as a cluster, node pool, or node). For node pool repairs, there may be multiple nodes being repaired, but only one will be the target. Examples: - ## `https://container.googleapis.com/v1/projects/123/locations/us-central1/clusters/my-cluster` ## `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np` `https://container.googleapis.com/v1/projects/123/zones/us-central1-c/clusters/my-cluster/nodePools/my-np/node/my-node`",
"readOnly": true,
"type": "string"
},
"zone": {
"deprecated": true,
"description": "Output only. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the operation is taking place. This field is deprecated, use location instead.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"OperationError": {
"description": "OperationError records errors seen from CloudKMS keys encountered during updates to DatabaseEncryption configuration.",
"id": "OperationError",
"properties": {
"errorMessage": {
"description": "Description of the error seen during the operation.",
"type": "string"
},
"keyName": {
"description": "CloudKMS key resource that had the error.",
"type": "string"
},
"timestamp": {
"description": "Time when the CloudKMS error was seen.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"OperationProgress": {
"description": "Information about operation (or operation stage) progress.",
"id": "OperationProgress",
"properties": {
"metrics": {
"description": "Progress metric bundle, for example: metrics: [{name: \"nodes done\", int_value: 15}, {name: \"nodes total\", int_value: 32}] or metrics: [{name: \"progress\", double_value: 0.56}, {name: \"progress scale\", double_value: 1.0}]",
"items": {
"$ref": "Metric"
},
"type": "array"
},
"name": {
"description": "A non-parameterized string describing an operation stage. Unset for single-stage operations.",
"type": "string"
},
"stages": {
"description": "Substages of an operation or a stage.",
"items": {
"$ref": "OperationProgress"
},
"type": "array"
},
"status": {
"description": "Status of an operation stage. Unset for single-stage operations.",
"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"
}
},
"type": "object"
},
"OpportunisticMaintenanceStrategy": {
"description": "Strategy that will trigger maintenance on behalf of the customer.",
"id": "OpportunisticMaintenanceStrategy",
"properties": {
"maintenanceAvailabilityWindow": {
"description": "The window of time that opportunistic maintenance can run. Example: A setting of 14 days implies that opportunistic maintenance can only be ran in the 2 weeks leading up to the scheduled maintenance date. Setting 28 days allows opportunistic maintenance to run at any time in the scheduled maintenance window (all `PERIODIC` maintenance is set 28 days in advance).",
"format": "google-duration",
"type": "string"
},
"minNodesPerPool": {
"description": "The minimum nodes required to be available in a pool. Blocks maintenance if it would cause the number of running nodes to dip below this value.",
"format": "int64",
"type": "string"
},
"nodeIdleTimeWindow": {
"description": "The amount of time that a node can remain idle (no customer owned workloads running), before triggering maintenance.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"ParallelstoreCsiDriverConfig": {
"description": "Configuration for the Cloud Storage Parallelstore CSI driver.",
"id": "ParallelstoreCsiDriverConfig",
"properties": {
"enabled": {
"description": "Whether the Cloud Storage Parallelstore CSI driver is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"ParentProductConfig": {
"description": "ParentProductConfig is the configuration of the parent product of the cluster. This field is used by Google internal products that are built on top of a GKE cluster and take the ownership of the cluster.",
"id": "ParentProductConfig",
"properties": {
"labels": {
"additionalProperties": {
"type": "string"
},
"description": "Labels contain the configuration of the parent product.",
"type": "object"
},
"productName": {
"description": "Name of the parent product associated with the cluster.",
"type": "string"
}
},
"type": "object"
},
"PdbBlockedPod": {
"description": "The namespace/name of the pod whose eviction is blocked by PDB.",
"id": "PdbBlockedPod",
"properties": {
"name": {
"description": "The name of the pod.",
"type": "string"
},
"namespace": {
"description": "The namespace of the pod.",
"type": "string"
}
},
"type": "object"
},
"PlacementPolicy": {
"description": "PlacementPolicy defines the placement policy used by the node pool.",
"id": "PlacementPolicy",
"properties": {
"policyName": {
"description": "If set, refers to the name of a custom resource policy supplied by the user. The resource policy must be in the same project and region as the node pool. If not found, InvalidArgument error is returned.",
"type": "string"
},
"tpuTopology": {
"description": "TPU placement topology for pod slice node pool. https://cloud.google.com/tpu/docs/types-topologies#tpu_topologies",
"type": "string"
},
"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"
},
"PodAutoscaling": {
"description": "PodAutoscaling is used for configuration of parameters for workload autoscaling.",
"id": "PodAutoscaling",
"properties": {
"hpaProfile": {
"description": "Selected Horizontal Pod Autoscaling profile.",
"enum": [
"HPA_PROFILE_UNSPECIFIED",
"NONE",
"PERFORMANCE"
],
"enumDescriptions": [
"HPA_PROFILE_UNSPECIFIED is used when no custom HPA profile is set.",
"Customers explicitly opt-out of HPA profiles.",
"PERFORMANCE is used when customers opt-in to the performance HPA profile. In this profile we support a higher number of HPAs per cluster and faster metrics collection for workload autoscaling."
],
"type": "string"
}
},
"type": "object"
},
"PodCIDROverprovisionConfig": {
"description": "[PRIVATE FIELD] Config for pod CIDR size overprovisioning.",
"id": "PodCIDROverprovisionConfig",
"properties": {
"disable": {
"description": "Whether Pod CIDR overprovisioning is disabled. Note: Pod CIDR overprovisioning is enabled by default.",
"type": "boolean"
}
},
"type": "object"
},
"PodSecurityPolicyConfig": {
"description": "Configuration for the PodSecurityPolicy feature.",
"id": "PodSecurityPolicyConfig",
"properties": {
"enabled": {
"description": "Enable the PodSecurityPolicy controller for this cluster. If enabled, pods must be valid under a PodSecurityPolicy to be created.",
"type": "boolean"
}
},
"type": "object"
},
"PodSnapshotConfig": {
"description": "PodSnapshotConfig is the configuration for GKE Pod Snapshots feature.",
"id": "PodSnapshotConfig",
"properties": {
"enabled": {
"description": "Whether or not the Pod Snapshots feature is enabled.",
"type": "boolean"
}
},
"type": "object"
},
"PolicyBinding": {
"description": "Binauthz policy that applies to this cluster.",
"id": "PolicyBinding",
"properties": {
"name": {
"description": "The relative resource name of the binauthz platform policy to evaluate. GKE platform policies have the following format: `projects/{project_number}/platforms/gke/policies/{policy_id}`.",
"type": "string"
}
},
"type": "object"
},
"PrivateClusterConfig": {
"description": "Configuration options for private clusters.",
"id": "PrivateClusterConfig",
"properties": {
"enablePrivateEndpoint": {
"deprecated": true,
"description": "Whether the master's internal IP address is used as the cluster endpoint. Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_public_endpoint instead. Note that the value of enable_public_endpoint is reversed: if enable_private_endpoint is false, then enable_public_endpoint will be true.",
"type": "boolean"
},
"enablePrivateNodes": {
"deprecated": true,
"description": "Whether nodes have internal IP addresses only. If enabled, all nodes are given only RFC 1918 private addresses and communicate with the master via private networking. Deprecated: Use NetworkConfig.default_enable_private_nodes instead.",
"type": "boolean"
},
"masterGlobalAccessConfig": {
"$ref": "PrivateClusterMasterGlobalAccessConfig",
"deprecated": true,
"description": "Controls master global access settings. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.enable_global_access instead."
},
"masterIpv4CidrBlock": {
"description": "The IP range in CIDR notation to use for the hosted master network. This range will be used for assigning internal IP addresses to the master or set of masters, as well as the ILB VIP. This range must not overlap with any other ranges in use within the cluster's network.",
"type": "string"
},
"peeringName": {
"description": "Output only. The peering name in the customer VPC used by this cluster.",
"readOnly": true,
"type": "string"
},
"privateEndpoint": {
"deprecated": true,
"description": "Output only. The internal IP address of this cluster's master endpoint. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint instead.",
"readOnly": true,
"type": "string"
},
"privateEndpointSubnetwork": {
"deprecated": true,
"description": "Subnet to provision the master's private endpoint during cluster creation. Specified in projects/*/regions/*/subnetworks/* format. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.private_endpoint_subnetwork instead.",
"type": "string"
},
"publicEndpoint": {
"deprecated": true,
"description": "Output only. The external IP address of this cluster's master endpoint. Deprecated: Use ControlPlaneEndpointsConfig.IPEndpointsConfig.public_endpoint instead.",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"PrivateClusterMasterGlobalAccessConfig": {
"description": "Configuration for controlling master global access settings.",
"id": "PrivateClusterMasterGlobalAccessConfig",
"properties": {
"enabled": {
"description": "Whenever master is accessible globally or not.",
"type": "boolean"
}
},
"type": "object"
},
"PrivateRegistryAccessConfig": {
"description": "PrivateRegistryAccessConfig contains access configuration for private container registries.",
"id": "PrivateRegistryAccessConfig",
"properties": {
"certificateAuthorityDomainConfig": {
"description": "Private registry access configuration.",
"items": {
"$ref": "CertificateAuthorityDomainConfig"
},
"type": "array"
},
"enabled": {
"description": "Private registry access is enabled.",
"type": "boolean"
}
},
"type": "object"
},
"PrivilegedAdmissionConfig": {
"description": "PrivilegedAdmissionConfig stores the list of authorized allowlist paths for the cluster.",
"id": "PrivilegedAdmissionConfig",
"properties": {
"allowlistPaths": {
"description": "The customer allowlist Cloud Storage paths for the cluster. These paths are used with the `--autopilot-privileged-admission` flag to authorize privileged workloads in Autopilot clusters. Paths can be GKE-owned, in the format `gke:////`, or customer-owned, in the format `gs:///`. Wildcards (`*`) are supported to authorize all allowlists under specific paths or directories. Example: `gs://my-bucket/*` will authorize all allowlists under the `my-bucket` bucket.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ProtectConfig": {
"description": "ProtectConfig defines the flags needed to enable/disable features for the Protect API.",
"id": "ProtectConfig",
"properties": {
"workloadConfig": {
"$ref": "WorkloadConfig",
"description": "WorkloadConfig defines which actions are enabled for a cluster's workload configurations."
},
"workloadVulnerabilityMode": {
"description": "Sets which mode to use for Protect workload vulnerability scanning feature.",
"enum": [
"WORKLOAD_VULNERABILITY_MODE_UNSPECIFIED",
"DISABLED",
"BASIC"
],
"enumDescriptions": [
"Default value not specified.",
"Disables Workload Vulnerability Scanning feature on the cluster.",
"Applies basic vulnerability scanning settings for cluster workloads."
],
"type": "string"
}
},
"type": "object"
},
"PubSub": {
"description": "Pub/Sub specific notification config.",
"id": "PubSub",
"properties": {
"enabled": {
"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"
}
},
"type": "object"
},
"QueuedProvisioning": {
"description": "QueuedProvisioning defines the queued provisioning used by the node pool.",
"id": "QueuedProvisioning",
"properties": {
"enabled": {
"description": "Denotes that this nodepool is QRM specific, meaning nodes can be only obtained through queuing via the Cluster Autoscaler ProvisioningRequest API.",
"type": "boolean"
}
},
"type": "object"
},
"RBACBindingConfig": {
"description": "RBACBindingConfig allows user to restrict ClusterRoleBindings an RoleBindings that can be created.",
"id": "RBACBindingConfig",
"properties": {
"enableInsecureBindingSystemAuthenticated": {
"description": "Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjects system:authenticated.",
"type": "boolean"
},
"enableInsecureBindingSystemUnauthenticated": {
"description": "Setting this to true will allow any ClusterRoleBinding and RoleBinding with subjets system:anonymous or system:unauthenticated.",
"type": "boolean"
}
},
"type": "object"
},
"RangeInfo": {
"description": "RangeInfo contains the range name and the range utilization by this cluster.",
"id": "RangeInfo",
"properties": {
"rangeName": {
"description": "Output only. Name of a range.",
"readOnly": true,
"type": "string"
},
"utilization": {
"description": "Output only. The utilization of the range.",
"format": "double",
"readOnly": true,
"type": "number"
}
},
"type": "object"
},
"RayClusterLoggingConfig": {
"description": "RayClusterLoggingConfig specifies logging configuration for Ray clusters.",
"id": "RayClusterLoggingConfig",
"properties": {
"enabled": {
"description": "Enable log collection for Ray clusters.",
"type": "boolean"
}
},
"type": "object"
},
"RayClusterMonitoringConfig": {
"description": "RayClusterMonitoringConfig specifies monitoring configuration for Ray clusters.",
"id": "RayClusterMonitoringConfig",
"properties": {
"enabled": {
"description": "Enable metrics collection for Ray clusters.",
"type": "boolean"
}
},
"type": "object"
},
"RayOperatorConfig": {
"description": "Configuration options for the Ray Operator add-on.",
"id": "RayOperatorConfig",
"properties": {
"enabled": {
"description": "Whether the Ray addon is enabled for this cluster.",
"type": "boolean"
},
"rayClusterLoggingConfig": {
"$ref": "RayClusterLoggingConfig",
"description": "Optional. Logging configuration for Ray clusters."
},
"rayClusterMonitoringConfig": {
"$ref": "RayClusterMonitoringConfig",
"description": "Optional. Monitoring configuration for Ray clusters."
}
},
"type": "object"
},
"RecurringTimeWindow": {
"description": "Represents an arbitrary window of time that recurs.",
"id": "RecurringTimeWindow",
"properties": {
"recurrence": {
"description": "An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how this window reccurs. They go on for the span of time between the start and end time. For example, to have something repeat every weekday, you'd use: `FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR` To repeat some window daily (equivalent to the DailyMaintenanceWindow): `FREQ=DAILY` For the first weekend of every month: `FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU` This specifies how frequently the window starts. Eg, if you wanted to have a 9-5 UTC-4 window every weekday, you'd use something like: ``` start time = 2019-01-01T09:00:00-0400 end time = 2019-01-01T17:00:00-0400 recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR ``` Windows can span multiple days. Eg, to make the window encompass every weekend from midnight Saturday till the last minute of Sunday UTC: ``` start time = 2019-01-05T00:00:00Z end time = 2019-01-07T23:59:00Z recurrence = FREQ=WEEKLY;BYDAY=SA ``` Note the start and end time's specific dates are largely arbitrary except to specify duration of the window and when it first starts. The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.",
"type": "string"
},
"window": {
"$ref": "TimeWindow",
"description": "The window of the first recurrence."
}
},
"type": "object"
},
"RegistryHeader": {
"description": "RegistryHeader configures headers for the registry.",
"id": "RegistryHeader",
"properties": {
"key": {
"description": "Key configures the header key.",
"type": "string"
},
"value": {
"description": "Value configures the header value.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"RegistryHostConfig": {
"description": "RegistryHostConfig configures the top-level structure for a single containerd registry server's configuration, which represents one hosts.toml file on the node. It will override the same fqdns in PrivateRegistryAccessConfig.",
"id": "RegistryHostConfig",
"properties": {
"hosts": {
"description": "HostConfig configures a list of host-specific configurations for the server. Each server can have at most 10 host configurations.",
"items": {
"$ref": "HostConfig"
},
"type": "array"
},
"server": {
"description": "Defines the host name of the registry server, which will be used to create configuration file as /etc/containerd/hosts.d//hosts.toml. It supports fully qualified domain names (FQDN) and IP addresses: Specifying port is supported. Wildcards are NOT supported. Examples: - my.customdomain.com - 10.0.1.2:5000",
"type": "string"
}
},
"type": "object"
},
"ReleaseChannel": {
"description": "ReleaseChannel indicates which release channel a cluster is subscribed to. Release channels are arranged in order of risk. When a cluster is subscribed to a release channel, Google maintains both the master version and the node version. Node auto-upgrade defaults to true and cannot be disabled.",
"id": "ReleaseChannel",
"properties": {
"channel": {
"description": "channel specifies which release channel the cluster is subscribed to.",
"enum": [
"UNSPECIFIED",
"RAPID",
"REGULAR",
"STABLE",
"EXTENDED"
],
"enumDescriptions": [
"No channel specified.",
"RAPID channel is offered on an early access basis for customers who want to test new releases. WARNING: Versions available in the RAPID Channel may be subject to unresolved issues with no known workaround and are not subject to any SLAs.",
"Clusters subscribed to REGULAR receive versions that are considered GA quality. REGULAR is intended for production users who want to take advantage of new features.",
"Clusters subscribed to STABLE receive versions that are known to be stable and reliable in production.",
"Clusters subscribed to EXTENDED receive extended support and availability for versions which are known to be stable and reliable in production."
],
"type": "string"
}
},
"type": "object"
},
"ReleaseChannelConfig": {
"description": "ReleaseChannelConfig exposes configuration for a release channel.",
"id": "ReleaseChannelConfig",
"properties": {
"availableVersions": {
"deprecated": true,
"description": "Deprecated. This field has been deprecated and replaced with the valid_versions field.",
"items": {
"$ref": "AvailableVersion"
},
"type": "array"
},
"channel": {
"description": "The release channel this configuration applies to.",
"enum": [
"UNSPECIFIED",
"RAPID",
"REGULAR",
"STABLE",
"EXTENDED"
],
"enumDescriptions": [
"No channel specified.",
"RAPID channel is offered on an early access basis for customers who want to test new releases. WARNING: Versions available in the RAPID Channel may be subject to unresolved issues with no known workaround and are not subject to any SLAs.",
"Clusters subscribed to REGULAR receive versions that are considered GA quality. REGULAR is intended for production users who want to take advantage of new features.",
"Clusters subscribed to STABLE receive versions that are known to be stable and reliable in production.",
"Clusters subscribed to EXTENDED receive extended support and availability for versions which are known to be stable and reliable in production."
],
"type": "string"
},
"defaultVersion": {
"description": "The default version for newly created clusters on the channel.",
"type": "string"
},
"upgradeTargetVersion": {
"description": "The auto upgrade target version for clusters on the channel.",
"type": "string"
},
"validVersions": {
"description": "List of valid versions for the channel.",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ReservationAffinity": {
"description": "[ReservationAffinity](https://cloud.google.com/compute/docs/instances/reserving-zonal-resources) is the configuration of desired reservation which instances could take capacity from.",
"id": "ReservationAffinity",
"properties": {
"consumeReservationType": {
"description": "Corresponds to the type of reservation consumption.",
"enum": [
"UNSPECIFIED",
"NO_RESERVATION",
"ANY_RESERVATION",
"SPECIFIC_RESERVATION"
],
"enumDescriptions": [
"Default value. This should not be used.",
"Do not consume from any reserved capacity.",
"Consume any reservation available.",
"Must consume from a specific reservation. Must specify key value fields for specifying the reservations."
],
"type": "string"
},
"key": {
"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": {
"description": "Corresponds to the label value(s) of reservation resource(s).",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"ResourceLabels": {
"description": "Collection of [Resource Manager 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",
"properties": {
"maximum": {
"description": "Maximum amount of the resource in the cluster.",
"format": "int64",
"type": "string"
},
"minimum": {
"description": "Minimum amount of the resource in the cluster.",
"format": "int64",
"type": "string"
},
"resourceType": {
"description": "Resource name \"cpu\", \"memory\" or gpu-specific string.",
"type": "string"
}
},
"type": "object"
},
"ResourceManagerTags": {
"description": "A map of resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Tags must be according to specifications in https://cloud.google.com/vpc/docs/tags-firewalls-overview#specifications. A maximum of 5 tag key-value pairs can be specified. Existing tags will be replaced with new values.",
"id": "ResourceManagerTags",
"properties": {
"tags": {
"additionalProperties": {
"type": "string"
},
"description": "Tags must be in one of the following formats ([KEY]=[VALUE]) 1. `tagKeys/{tag_key_id}=tagValues/{tag_value_id}` 2. `{org_id}/{tag_key_name}={tag_value_name}` 3. `{project_id}/{tag_key_name}={tag_value_name}`",
"type": "object"
}
},
"type": "object"
},
"ResourceUsageExportConfig": {
"description": "Configuration for exporting cluster resource usages.",
"id": "ResourceUsageExportConfig",
"properties": {
"bigqueryDestination": {
"$ref": "BigQueryDestination",
"description": "Configuration to use BigQuery as usage export destination."
},
"consumptionMeteringConfig": {
"$ref": "ConsumptionMeteringConfig",
"description": "Configuration to enable resource consumption metering."
},
"enableNetworkEgressMetering": {
"description": "Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic.",
"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",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to rollback. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node poll to rollback upgrade. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
"deprecated": true,
"description": "Deprecated. The name of the node pool to rollback. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"RollbackSafeUpgrade": {
"description": "RollbackSafeUpgrade is the configuration for the rollback safe upgrade.",
"id": "RollbackSafeUpgrade",
"properties": {
"controlPlaneSoakDuration": {
"description": "A user-defined period for the cluster remains in the rollbackable state. ex: {seconds: 21600}.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"RollbackSafeUpgradeStatus": {
"description": "RollbackSafeUpgradeStatus contains the rollback-safe upgrade status of a cluster.",
"id": "RollbackSafeUpgradeStatus",
"properties": {
"controlPlaneUpgradeRollbackEndTime": {
"description": "The rollback-safe mode expiration time.",
"format": "google-datetime",
"type": "string"
},
"mode": {
"description": "The mode of the rollback-safe upgrade.",
"enum": [
"MODE_UNSPECIFIED",
"KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE"
],
"enumDescriptions": [
"MODE_UNSPECIFIED means it's in regular upgrade mode.",
"KCP_MINOR_UPGRADE_ROLLBACK_SAFE_MODE means it's in rollback-safe mode after a KCP minor version step-one upgrade."
],
"type": "string"
},
"previousVersion": {
"description": "The GKE version that the cluster previously used before step-one upgrade.",
"type": "string"
}
},
"type": "object"
},
"RotationConfig": {
"description": "RotationConfig is config for secret manager auto rotation.",
"id": "RotationConfig",
"properties": {
"enabled": {
"description": "Whether the rotation is enabled.",
"type": "boolean"
},
"rotationInterval": {
"description": "The interval between two consecutive rotations. Default rotation interval is 2 minutes.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"SandboxConfig": {
"description": "SandboxConfig contains configurations of the sandbox to use for the node.",
"id": "SandboxConfig",
"properties": {
"sandboxType": {
"deprecated": true,
"description": "Type of the sandbox to use for the node (e.g. 'gvisor')",
"type": "string"
},
"type": {
"description": "Type of the sandbox to use for the node.",
"enum": [
"UNSPECIFIED",
"GVISOR"
],
"enumDescriptions": [
"Default value. This should not be used.",
"Run sandbox using gvisor."
],
"type": "string"
}
},
"type": "object"
},
"SecondaryBootDisk": {
"description": "SecondaryBootDisk represents a persistent disk attached to a node with special configurations based on its mode.",
"id": "SecondaryBootDisk",
"properties": {
"diskImage": {
"description": "Fully-qualified resource ID for an existing disk image.",
"type": "string"
},
"mode": {
"description": "Disk mode (container image cache, etc.)",
"enum": [
"MODE_UNSPECIFIED",
"CONTAINER_IMAGE_CACHE"
],
"enumDescriptions": [
"MODE_UNSPECIFIED is when mode is not set.",
"CONTAINER_IMAGE_CACHE is for using the secondary boot disk as a container image cache."
],
"type": "string"
}
},
"type": "object"
},
"SecondaryBootDiskUpdateStrategy": {
"description": "SecondaryBootDiskUpdateStrategy is a placeholder which will be extended in the future to define different options for updating secondary boot disks.",
"id": "SecondaryBootDiskUpdateStrategy",
"properties": {},
"type": "object"
},
"SecretManagerConfig": {
"description": "SecretManagerConfig is config for secret manager enablement.",
"id": "SecretManagerConfig",
"properties": {
"enabled": {
"description": "Enable/Disable Secret Manager Config.",
"type": "boolean"
},
"rotationConfig": {
"$ref": "RotationConfig",
"description": "Rotation config for secret manager."
}
},
"type": "object"
},
"SecretSyncConfig": {
"description": "Configuration for sync Secret Manager secrets as k8s secrets.",
"id": "SecretSyncConfig",
"properties": {
"enabled": {
"description": "Enable/Disable Secret Sync Config.",
"type": "boolean"
},
"rotationConfig": {
"$ref": "SyncRotationConfig",
"description": "Rotation config for secret manager."
}
},
"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"
},
"mitigatedVersions": {
"description": "The GKE versions where this vulnerability is mitigated.",
"items": {
"type": "string"
},
"type": "array"
},
"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 > 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"
},
"SecurityPostureConfig": {
"description": "SecurityPostureConfig defines the flags needed to enable/disable features for the Security Posture API.",
"id": "SecurityPostureConfig",
"properties": {
"mode": {
"description": "Sets which mode to use for Security Posture features.",
"enum": [
"MODE_UNSPECIFIED",
"DISABLED",
"BASIC",
"ENTERPRISE"
],
"enumDeprecated": [
false,
false,
false,
true
],
"enumDescriptions": [
"Default value not specified.",
"Disables Security Posture features on the cluster.",
"Applies Security Posture features on the cluster.",
"Deprecated: Security Posture Enterprise features are no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies the Security Posture off cluster Enterprise level features."
],
"type": "string"
},
"vulnerabilityMode": {
"description": "Sets which mode to use for vulnerability scanning.",
"enum": [
"VULNERABILITY_MODE_UNSPECIFIED",
"VULNERABILITY_DISABLED",
"VULNERABILITY_BASIC",
"VULNERABILITY_ENTERPRISE"
],
"enumDeprecated": [
false,
false,
true,
false
],
"enumDescriptions": [
"Default value not specified.",
"Disables vulnerability scanning on the cluster.",
"Deprecated: Basic vulnerability scanning is no longer supported. For more details, see https://cloud.google.com/kubernetes-engine/docs/deprecations/posture-management-deprecation. Applies basic vulnerability scanning on the cluster.",
"Applies the Security Posture's vulnerability on cluster Enterprise level features."
],
"type": "string"
}
},
"type": "object"
},
"ServerConfig": {
"description": "Kubernetes Engine service configuration.",
"id": "ServerConfig",
"properties": {
"channels": {
"description": "List of release channel configurations.",
"items": {
"$ref": "ReleaseChannelConfig"
},
"type": "array"
},
"defaultClusterVersion": {
"description": "Version of Kubernetes the service deploys by default.",
"type": "string"
},
"defaultImageType": {
"description": "Default image type.",
"type": "string"
},
"validImageTypes": {
"description": "List of valid image types.",
"items": {
"type": "string"
},
"type": "array"
},
"validMasterVersions": {
"description": "List of valid master versions, in descending order.",
"items": {
"type": "string"
},
"type": "array"
},
"validNodeVersions": {
"description": "List of valid node upgrade target versions, in descending order.",
"items": {
"type": "string"
},
"type": "array"
},
"windowsVersionMaps": {
"additionalProperties": {
"$ref": "WindowsVersions"
},
"description": "Maps of Kubernetes version and supported Windows server versions.",
"type": "object"
}
},
"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": "SetAddonsRequest sets the addons associated with the cluster.",
"id": "SetAddonsConfigRequest",
"properties": {
"addonsConfig": {
"$ref": "AddonsConfig",
"description": "Required. The desired configurations for the various addons available to run in the cluster."
},
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to set addons. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetLabelsRequest": {
"description": "SetLabelsRequest sets the Google Cloud Platform labels on a Google Container Engine cluster, which will in turn set them for Google Compute Engine resources used by that cluster",
"id": "SetLabelsRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"labelFingerprint": {
"description": "Required. The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Kubernetes Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels. Make a `get()` request to the resource to get the latest fingerprint.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster name) of the cluster to set labels. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"additionalProperties": {
"type": "string"
},
"description": "Required. The labels to set for that cluster.",
"type": "object"
},
"zone": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetLegacyAbacRequest": {
"description": "SetLegacyAbacRequest enables or disables the ABAC authorization mechanism for a cluster.",
"id": "SetLegacyAbacRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"enabled": {
"description": "Required. Whether ABAC authorization will be enabled in the cluster.",
"type": "boolean"
},
"name": {
"description": "The name (project, location, cluster name) of the cluster to set legacy abac. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetLocationsRequest": {
"description": "SetLocationsRequest sets the locations of the cluster.",
"id": "SetLocationsRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"locations": {
"description": "Required. The desired list of Google Compute Engine [zones](https://cloud.google.com/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"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to set locations. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetLoggingServiceRequest": {
"description": "SetLoggingServiceRequest sets the logging service of a cluster.",
"id": "SetLoggingServiceRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"loggingService": {
"description": "Required. The logging service the cluster should use to write logs. Currently available options: * `logging.googleapis.com/kubernetes` - The Cloud Logging service with a Kubernetes-native resource model * `logging.googleapis.com` - The legacy Cloud Logging service (no longer available as of GKE 1.15). * `none` - no logs will be exported from the cluster. If left as an empty string,`logging.googleapis.com/kubernetes` will be used for GKE 1.14+ or `logging.googleapis.com` for earlier versions.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to set logging. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetMaintenancePolicyRequest": {
"description": "SetMaintenancePolicyRequest sets the maintenance policy for a cluster.",
"id": "SetMaintenancePolicyRequest",
"properties": {
"clusterId": {
"description": "Required. The name of the cluster to update.",
"type": "string"
},
"maintenancePolicy": {
"$ref": "MaintenancePolicy",
"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 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://cloud.google.com/resource-manager/docs/creating-managing-projects).",
"type": "string"
},
"zone": {
"description": "Required. The name of the Google Compute Engine [zone](https://cloud.google.com/compute/docs/zones#available) in which the cluster resides.",
"type": "string"
}
},
"type": "object"
},
"SetMasterAuthRequest": {
"description": "SetMasterAuthRequest updates the admin password of a cluster.",
"id": "SetMasterAuthRequest",
"properties": {
"action": {
"description": "Required. The exact form of action to be taken on the master auth.",
"enum": [
"UNKNOWN",
"SET_PASSWORD",
"GENERATE_PASSWORD",
"SET_USERNAME"
],
"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.",
"Set the username. If an empty username is provided, basic authentication is disabled for the cluster. If a non-empty username is provided, basic authentication is enabled, with either a provided password or a generated one."
],
"type": "string"
},
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to set auth. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"$ref": "MasterAuth",
"description": "Required. A description of the update."
},
"zone": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetMonitoringServiceRequest": {
"description": "SetMonitoringServiceRequest sets the monitoring service of a cluster.",
"id": "SetMonitoringServiceRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"monitoringService": {
"description": "Required. 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"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to set monitoring. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetNetworkPolicyRequest": {
"description": "SetNetworkPolicyRequest enables/disables network policy for a cluster.",
"id": "SetNetworkPolicyRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster name) of the cluster to set networking policy. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"networkPolicy": {
"$ref": "NetworkPolicy",
"description": "Required. Configuration options for the NetworkPolicy feature."
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetNodePoolAutoscalingRequest": {
"description": "SetNodePoolAutoscalingRequest sets the autoscaler settings of a node pool.",
"id": "SetNodePoolAutoscalingRequest",
"properties": {
"autoscaling": {
"$ref": "NodePoolAutoscaling",
"description": "Required. Autoscaling configuration for the node pool."
},
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool) of the node pool to set autoscaler settings. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
"deprecated": true,
"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetNodePoolManagementRequest": {
"description": "SetNodePoolManagementRequest sets the node management properties of a node pool.",
"id": "SetNodePoolManagementRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"management": {
"$ref": "NodeManagement",
"description": "Required. NodeManagement configuration for the node pool."
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to set management properties. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodePoolId": {
"deprecated": true,
"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"SetNodePoolSizeRequest": {
"description": "SetNodePoolSizeRequest sets the size of a node pool.",
"id": "SetNodePoolSizeRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to update. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster, node pool id) of the node pool to set size. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.",
"type": "string"
},
"nodeCount": {
"description": "Required. The desired node count for the pool.",
"format": "int32",
"type": "integer"
},
"nodePoolId": {
"deprecated": true,
"description": "Deprecated. The name of the node pool to update. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"ShieldedInstanceConfig": {
"description": "A set of Shielded Instance options.",
"id": "ShieldedInstanceConfig",
"properties": {
"enableIntegrityMonitoring": {
"description": "Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created.",
"type": "boolean"
},
"enableSecureBoot": {
"description": "Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails.",
"type": "boolean"
}
},
"type": "object"
},
"ShieldedNodes": {
"description": "Configuration of Shielded Nodes feature.",
"id": "ShieldedNodes",
"properties": {
"enabled": {
"description": "Whether Shielded Nodes features are enabled on all nodes in this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"SliceControllerConfig": {
"description": "Configuration for the Slice Controller.",
"id": "SliceControllerConfig",
"properties": {
"enabled": {
"description": "Optional. Indicates whether Slice Controller is enabled in the cluster.",
"type": "boolean"
}
},
"type": "object"
},
"SoleTenantConfig": {
"description": "SoleTenantConfig contains the NodeAffinities to specify what shared sole tenant node groups should back the node pool.",
"id": "SoleTenantConfig",
"properties": {
"minNodeCpus": {
"description": "Optional. The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. This field can only be set if the node pool is created in a shared sole-tenant node group.",
"format": "int32",
"type": "integer"
},
"nodeAffinities": {
"description": "NodeAffinities used to match to a shared sole tenant node group.",
"items": {
"$ref": "NodeAffinity"
},
"type": "array"
}
},
"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",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster name) of the cluster to start IP rotation. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"description": "Whether to rotate credentials during IP rotation.",
"type": "boolean"
},
"zone": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"StatefulHAConfig": {
"description": "Configuration for the Stateful HA add-on.",
"id": "StatefulHAConfig",
"properties": {
"enabled": {
"description": "Whether the Stateful HA add-on is enabled for this cluster.",
"type": "boolean"
}
},
"type": "object"
},
"Status": {
"description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors).",
"id": "Status",
"properties": {
"code": {
"description": "The status code, which should be an enum value of google.rpc.Code.",
"format": "int32",
"type": "integer"
},
"details": {
"description": "A list of messages that carry the error details. There is a common set of message types for APIs to use.",
"items": {
"additionalProperties": {
"description": "Properties of the object. Contains field @type with type URL.",
"type": "any"
},
"type": "object"
},
"type": "array"
},
"message": {
"description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
"type": "string"
}
},
"type": "object"
},
"StatusCondition": {
"description": "StatusCondition describes why a cluster or a node pool has a certain status (e.g., ERROR or DEGRADED).",
"id": "StatusCondition",
"properties": {
"canonicalCode": {
"description": "Canonical code of the condition.",
"enum": [
"OK",
"CANCELLED",
"UNKNOWN",
"INVALID_ARGUMENT",
"DEADLINE_EXCEEDED",
"NOT_FOUND",
"ALREADY_EXISTS",
"PERMISSION_DENIED",
"UNAUTHENTICATED",
"RESOURCE_EXHAUSTED",
"FAILED_PRECONDITION",
"ABORTED",
"OUT_OF_RANGE",
"UNIMPLEMENTED",
"INTERNAL",
"UNAVAILABLE",
"DATA_LOSS"
],
"enumDescriptions": [
"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",
"The deadline expired before the operation could complete. For operations that change the state of the system, this error may be returned even if the operation has completed successfully. For example, a successful response from a server could have been delayed long enough for the deadline to expire. HTTP Mapping: 504 Gateway Timeout",
"Some requested entity (e.g., file or directory) was not found. Note to server developers: if a request is denied for an entire class of users, such as gradual feature rollout or undocumented allowlist, `NOT_FOUND` may be used. If a request is denied for some users within a class of users, such as user-based access control, `PERMISSION_DENIED` must be used. HTTP Mapping: 404 Not Found",
"The entity that a client attempted to create (e.g., file or directory) already exists. HTTP Mapping: 409 Conflict",
"The caller does not have permission to execute the specified operation. `PERMISSION_DENIED` must not be used for rejections caused by exhausting some resource (use `RESOURCE_EXHAUSTED` instead for those errors). `PERMISSION_DENIED` must not be used if the caller can not be identified (use `UNAUTHENTICATED` instead for those errors). This error code does not imply the request is valid or the requested entity exists or satisfies other pre-conditions. HTTP Mapping: 403 Forbidden",
"The request does not have valid authentication credentials for the operation. HTTP Mapping: 401 Unauthorized",
"Some resource has been exhausted, perhaps a per-user quota, or perhaps the entire file system is out of space. HTTP Mapping: 429 Too Many Requests",
"The operation was rejected because the system is not in a state required for the operation's execution. For example, the directory to be deleted is non-empty, an rmdir operation is applied to a non-directory, etc. Service implementors can use the following guidelines to decide between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`: (a) Use `UNAVAILABLE` if the client can retry just the failing call. (b) Use `ABORTED` if the client should retry at a higher level. For example, when a client-specified test-and-set fails, indicating the client should restart a read-modify-write sequence. (c) Use `FAILED_PRECONDITION` if the client should not retry until the system state has been explicitly fixed. For example, if an \"rmdir\" fails because the directory is non-empty, `FAILED_PRECONDITION` should be returned since the client should not retry unless the files are deleted from the directory. HTTP Mapping: 400 Bad Request",
"The operation was aborted, typically due to a concurrency issue such as a sequencer check failure or transaction abort. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 409 Conflict",
"The operation was attempted past the valid range. E.g., seeking or reading past end-of-file. Unlike `INVALID_ARGUMENT`, this error indicates a problem that may be fixed if the system state changes. For example, a 32-bit file system will generate `INVALID_ARGUMENT` if asked to read at an offset that is not in the range [0,2^32-1], but it will generate `OUT_OF_RANGE` if asked to read from an offset past the current file size. There is a fair bit of overlap between `FAILED_PRECONDITION` and `OUT_OF_RANGE`. We recommend using `OUT_OF_RANGE` (the more specific error) when it applies so that callers who are iterating through a space can easily look for an `OUT_OF_RANGE` error to detect when they are done. HTTP Mapping: 400 Bad Request",
"The operation is not implemented or is not supported/enabled in this service. HTTP Mapping: 501 Not Implemented",
"Internal errors. This means that some invariants expected by the underlying system have been broken. This error code is reserved for serious errors. HTTP Mapping: 500 Internal Server Error",
"The service is currently unavailable. This is most likely a transient condition, which can be corrected by retrying with a backoff. Note that it is not always safe to retry non-idempotent operations. See the guidelines above for deciding between `FAILED_PRECONDITION`, `ABORTED`, and `UNAVAILABLE`. HTTP Mapping: 503 Service Unavailable",
"Unrecoverable data loss or corruption. HTTP Mapping: 500 Internal Server Error"
],
"type": "string"
},
"code": {
"deprecated": true,
"description": "Machine-friendly representation of the condition Deprecated. Use canonical_code instead.",
"enum": [
"UNKNOWN",
"GCE_STOCKOUT",
"GKE_SERVICE_ACCOUNT_DELETED",
"GCE_QUOTA_EXCEEDED",
"SET_BY_OPERATOR",
"CLOUD_KMS_KEY_ERROR",
"CA_EXPIRING",
"NODE_SERVICE_ACCOUNT_MISSING_PERMISSIONS",
"CLOUD_KMS_KEY_DESTROYED"
],
"enumDescriptions": [
"UNKNOWN indicates a generic condition.",
"GCE_STOCKOUT indicates that Google Compute Engine resources are temporarily unavailable.",
"GKE_SERVICE_ACCOUNT_DELETED indicates that the user deleted their robot service account.",
"Google Compute Engine quota was exceeded.",
"Cluster state was manually changed by an SRE due to a system logic error.",
"Unable to perform an encrypt operation against the CloudKMS key used for etcd level encryption.",
"Cluster CA is expiring soon.",
"Node service account is missing permissions.",
"Cloud KMS key version used for etcd level encryption has been destroyed. This is a permanent error."
],
"type": "string"
},
"message": {
"description": "Human-friendly representation of the condition",
"type": "string"
}
},
"type": "object"
},
"SwapConfig": {
"description": "Configuration for swap memory on a node pool.",
"id": "SwapConfig",
"properties": {
"bootDiskProfile": {
"$ref": "BootDiskProfile",
"description": "Swap on the node's boot disk."
},
"dedicatedLocalSsdProfile": {
"$ref": "DedicatedLocalSsdProfile",
"description": "Provisions a new, separate local NVMe SSD exclusively for swap."
},
"enabled": {
"description": "Optional. Enables or disables swap for the node pool.",
"type": "boolean"
},
"encryptionConfig": {
"$ref": "EncryptionConfig",
"description": "Optional. If omitted, swap space is encrypted by default."
},
"ephemeralLocalSsdProfile": {
"$ref": "EphemeralLocalSsdProfile",
"description": "Swap on the local SSD shared with pod ephemeral storage."
}
},
"type": "object"
},
"SyncRotationConfig": {
"description": "SyncRotationConfig is config for secret manager auto rotation.",
"id": "SyncRotationConfig",
"properties": {
"enabled": {
"description": "Whether the rotation is enabled.",
"type": "boolean"
},
"rotationInterval": {
"description": "The interval between two consecutive rotations. Default rotation interval is 2 minutes.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"TimeWindow": {
"description": "Represents an arbitrary window of time.",
"id": "TimeWindow",
"properties": {
"endTime": {
"description": "The time that the window ends. The end time should take place after the start time.",
"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",
"type": "string"
}
},
"type": "object"
},
"TopologyManager": {
"description": "TopologyManager defines the configuration options for Topology Manager feature. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/",
"id": "TopologyManager",
"properties": {
"policy": {
"description": "Configures the strategy for resource alignment. Allowed values are: * none: the default policy, and does not perform any topology alignment. * restricted: the topology manager stores the preferred NUMA node affinity for the container, and will reject the pod if the affinity if not preferred. * best-effort: the topology manager stores the preferred NUMA node affinity for the container. If the affinity is not preferred, the topology manager will admit the pod to the node anyway. * single-numa-node: the topology manager determines if the single NUMA node affinity is possible. If it is, Topology Manager will store this and the Hint Providers can then use this information when making the resource allocation decision. If, however, this is not possible then the Topology Manager will reject the pod from the node. This will result in a pod in a Terminated state with a pod admission failure. The default policy value is 'none' if unspecified. Details about each strategy can be found [here](https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-policies).",
"type": "string"
},
"scope": {
"description": "The Topology Manager aligns resources in following scopes: * container * pod The default scope is 'container' if unspecified. See https://kubernetes.io/docs/tasks/administer-cluster/topology-manager/#topology-manager-scopes",
"type": "string"
}
},
"type": "object"
},
"TpuConfig": {
"deprecated": true,
"description": "Configuration for Cloud TPU. This message is deprecated due to the deprecation of 2VM TPU. The end of life date for 2VM TPU is 2025-04-25.",
"id": "TpuConfig",
"properties": {
"enabled": {
"description": "Whether Cloud TPU integration is enabled or not.",
"type": "boolean"
},
"ipv4CidrBlock": {
"description": "IPv4 CIDR block reserved for Cloud TPU in the VPC.",
"type": "string"
},
"useServiceNetworking": {
"description": "Whether to use service networking for Cloud TPU or not.",
"type": "boolean"
}
},
"type": "object"
},
"UpdateClusterRequest": {
"description": "UpdateClusterRequest updates the settings of a cluster.",
"id": "UpdateClusterRequest",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"$ref": "ClusterUpdate",
"description": "Required. A description of the update."
},
"zone": {
"deprecated": true,
"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"
}
},
"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",
"properties": {
"clusterId": {
"deprecated": true,
"description": "Deprecated. The name of the cluster to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"masterVersion": {
"description": "Required. The Kubernetes version to change the master to. Users may specify either explicit versions offered by Kubernetes Engine or version aliases, which have the following behavior: - \"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"
},
"name": {
"description": "The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.",
"type": "string"
},
"projectId": {
"deprecated": true,
"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": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"UpdateNodePoolRequest": {
"description": "SetNodePoolVersionRequest updates the version of a node pool.",
"id": "UpdateNodePoolRequest",
"properties": {
"accelerators": {
"description": "A list of hardware accelerators to be attached to each node. See https://cloud.google.com/compute/docs/gpus for more information about support for GPUs.",
"items": {
"$ref": "AcceleratorConfig"
},
"type": "array"
},
"bootDisk": {
"$ref": "BootDisk",
"description": "The desired boot disk config for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified boot disk config."
},
"clusterId": {
"deprecated": true,
"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."
},
"consolidationDelay": {
"description": "Consolidation delay defines duration after which the Cluster Autoscaler can scale down underutilized nodes. If not set, nodes are scaled down by default behavior, i.e. according to the chosen autoscaling profile.",
"format": "google-duration",
"type": "string"
},
"containerdConfig": {
"$ref": "ContainerdConfig",
"description": "The desired containerd config for nodes in the node pool. Initiates an upgrade operation that recreates the nodes with the new config."
},
"diskSizeGb": {
"description": "Optional. The desired disk size for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk size.",
"format": "int64",
"type": "string"
},
"diskType": {
"description": "Optional. The desired disk type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified disk type.",
"type": "string"
},
"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."
},
"flexStart": {
"description": "Flex Start flag for enabling Flex Start VM.",
"type": "boolean"
},
"gcfsConfig": {
"$ref": "GcfsConfig",
"description": "GCFS config."
},
"gvnic": {
"$ref": "VirtualNIC",
"description": "Enable or disable gvnic on the node pool."
},
"imageType": {
"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."
},
"locations": {
"description": "The desired list of Google Compute Engine [zones](https://cloud.google.com/compute/docs/zones#available) in which the node pool's nodes should be located. Changing the locations for a node pool will result in nodes being either created or removed from the node pool, depending on whether locations are being added or removed. Warning: It is recommended to update node pool locations in a standalone API call. Do not combine a location update with changes to other fields (such as `tags`, `labels`, `taints`, etc.) in the same request. Otherwise, the API performs a structural modification where changes to other fields will only apply to newly created nodes and will not be applied to existing nodes in the node pool. To ensure all nodes are updated consistently, use a separate API call for location changes.",
"items": {
"type": "string"
},
"type": "array"
},
"loggingConfig": {
"$ref": "NodePoolLoggingConfig",
"description": "Logging configuration."
},
"machineType": {
"description": "Optional. The desired machine type for nodes in the node pool. Initiates an upgrade operation that migrates the nodes in the node pool to the specified machine type.",
"type": "string"
},
"maxRunDuration": {
"description": "The maximum duration for the nodes to exist. If unspecified, the nodes can exist indefinitely.",
"format": "google-duration",
"type": "string"
},
"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"
},
"nodeDrainConfig": {
"$ref": "NodeDrainConfig",
"description": "The desired node drain configuration for nodes in the node pool."
},
"nodeNetworkConfig": {
"$ref": "NodeNetworkConfig",
"description": "Node network config."
},
"nodePoolId": {
"deprecated": true,
"description": "Deprecated. The name of the node pool to upgrade. This field has been deprecated and replaced by the name field.",
"type": "string"
},
"nodeVersion": {
"description": "Required. 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"
},
"projectId": {
"deprecated": true,
"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"
},
"queuedProvisioning": {
"$ref": "QueuedProvisioning",
"description": "Specifies the configuration of queued provisioning."
},
"resourceLabels": {
"$ref": "ResourceLabels",
"description": "The resource labels for the node pool to use to annotate any related Google Compute Engine resources."
},
"resourceManagerTags": {
"$ref": "ResourceManagerTags",
"description": "Desired resource manager tag keys and values to be attached to the nodes for managing Compute Engine firewalls using Network Firewall Policies. Existing tags will be replaced with new values."
},
"storagePools": {
"description": "List of Storage Pools where boot disks are provisioned. Existing Storage Pools will be replaced with storage-pools.",
"items": {
"type": "string"
},
"type": "array"
},
"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."
},
"zone": {
"deprecated": true,
"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"
}
},
"type": "object"
},
"UpgradeAvailableEvent": {
"description": "UpgradeAvailableEvent is a notification sent to customers when a new available version is released.",
"id": "UpgradeAvailableEvent",
"properties": {
"releaseChannel": {
"$ref": "ReleaseChannel",
"description": "The release channel of the version. If empty, it means a non-channel release."
},
"resource": {
"description": "Optional relative path to the resource. For example, the relative path of the node pool.",
"type": "string"
},
"resourceType": {
"description": "The resource type of the release version.",
"enum": [
"UPGRADE_RESOURCE_TYPE_UNSPECIFIED",
"MASTER",
"NODE_POOL"
],
"enumDescriptions": [
"Default value. This shouldn't be used.",
"Master / control plane",
"Node pool"
],
"type": "string"
},
"version": {
"description": "The release version available for upgrade.",
"type": "string"
},
"windowsVersions": {
"$ref": "WindowsVersions",
"description": "Windows node versions info."
}
},
"type": "object"
},
"UpgradeDetails": {
"description": "UpgradeDetails contains detailed information of each individual upgrade operation.",
"id": "UpgradeDetails",
"properties": {
"endTime": {
"description": "The end timestamp of the upgrade.",
"format": "google-datetime",
"type": "string"
},
"initialEmulatedVersion": {
"description": "The emulated version before the upgrade.",
"type": "string"
},
"initialVersion": {
"description": "The version before the upgrade.",
"type": "string"
},
"startTime": {
"description": "The start timestamp of the upgrade.",
"format": "google-datetime",
"type": "string"
},
"startType": {
"description": "The start type of the upgrade.",
"enum": [
"START_TYPE_UNSPECIFIED",
"AUTOMATIC",
"MANUAL"
],
"enumDescriptions": [
"Upgrade start type is unspecified.",
"Upgrade started automatically.",
"Upgrade started manually."
],
"type": "string"
},
"state": {
"description": "Output only. The state of the upgrade.",
"enum": [
"UNKNOWN",
"FAILED",
"SUCCEEDED",
"CANCELED",
"RUNNING"
],
"enumDescriptions": [
"Upgrade state is unknown.",
"Upgrade has failed with an error.",
"Upgrade has succeeded.",
"Upgrade has been canceled.",
"Upgrade is running."
],
"readOnly": true,
"type": "string"
},
"targetEmulatedVersion": {
"description": "The emulated version after the upgrade.",
"type": "string"
},
"targetVersion": {
"description": "The version after the upgrade.",
"type": "string"
}
},
"type": "object"
},
"UpgradeEvent": {
"description": "UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.",
"id": "UpgradeEvent",
"properties": {
"currentEmulatedVersion": {
"description": "The current emulated version before the upgrade.",
"type": "string"
},
"currentVersion": {
"description": "The current version before the upgrade.",
"type": "string"
},
"operation": {
"description": "The operation associated with this upgrade.",
"type": "string"
},
"operationStartTime": {
"description": "The time when the operation was started.",
"format": "google-datetime",
"type": "string"
},
"resource": {
"description": "Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.",
"type": "string"
},
"resourceType": {
"description": "The resource type that is upgrading.",
"enum": [
"UPGRADE_RESOURCE_TYPE_UNSPECIFIED",
"MASTER",
"NODE_POOL"
],
"enumDescriptions": [
"Default value. This shouldn't be used.",
"Master / control plane",
"Node pool"
],
"type": "string"
},
"targetEmulatedVersion": {
"description": "The target emulated version for the upgrade.",
"type": "string"
},
"targetVersion": {
"description": "The target version for the upgrade.",
"type": "string"
}
},
"type": "object"
},
"UpgradeInfoEvent": {
"description": "UpgradeInfoEvent is a notification sent to customers about the upgrade information of a resource.",
"id": "UpgradeInfoEvent",
"properties": {
"currentEmulatedVersion": {
"description": "The current emulated version before the upgrade.",
"type": "string"
},
"currentVersion": {
"description": "The current version before the upgrade.",
"type": "string"
},
"description": {
"description": "A brief description of the event.",
"type": "string"
},
"disruptionEvent": {
"$ref": "DisruptionEvent",
"description": "The information about the disruption event. This field is only populated when event_type is DISRUPTION_EVENT."
},
"endTime": {
"description": "The time when the operation ended.",
"format": "google-datetime",
"type": "string"
},
"eventType": {
"description": "The type of the event.",
"enum": [
"EVENT_TYPE_UNSPECIFIED",
"END_OF_SUPPORT",
"COS_MILESTONE_VERSION_UPDATE",
"UPGRADE_LIFECYCLE",
"DISRUPTION_EVENT"
],
"enumDescriptions": [
"EVENT_TYPE_UNSPECIFIED indicates the event type is unspecified.",
"END_OF_SUPPORT indicates GKE version reaches end of support, check standard_support_end_time and extended_support_end_time for more details.",
"COS_MILESTONE_VERSION_UPDATE indicates that the COS node image will update COS milestone version for new patch versions starting with the one in the description.",
"UPGRADE_LIFECYCLE indicates the event is about the upgrade lifecycle.",
"DISRUPTION_EVENT indicates the event is about the disruption."
],
"type": "string"
},
"extendedSupportEndTime": {
"description": "The end of extended support timestamp.",
"format": "google-datetime",
"type": "string"
},
"operation": {
"description": "The operation associated with this upgrade.",
"type": "string"
},
"resource": {
"description": "Optional relative path to the resource. For example in node pool upgrades, the relative path of the node pool.",
"type": "string"
},
"resourceType": {
"description": "The resource type associated with the upgrade.",
"enum": [
"UPGRADE_RESOURCE_TYPE_UNSPECIFIED",
"MASTER",
"NODE_POOL"
],
"enumDescriptions": [
"Default value. This shouldn't be used.",
"Master / control plane",
"Node pool"
],
"type": "string"
},
"standardSupportEndTime": {
"description": "The end of standard support timestamp.",
"format": "google-datetime",
"type": "string"
},
"startTime": {
"description": "The time when the operation was started.",
"format": "google-datetime",
"type": "string"
},
"state": {
"description": "Output only. The state of the upgrade.",
"enum": [
"STATE_UNSPECIFIED",
"STARTED",
"SUCCEEDED",
"FAILED",
"CANCELED"
],
"enumDescriptions": [
"STATE_UNSPECIFIED indicates the state is unspecified.",
"STARTED indicates the upgrade has started.",
"SUCCEEDED indicates the upgrade has completed successfully.",
"FAILED indicates the upgrade has failed.",
"CANCELED indicates the upgrade has canceled."
],
"readOnly": true,
"type": "string"
},
"targetEmulatedVersion": {
"description": "The target emulated version for the upgrade.",
"type": "string"
},
"targetVersion": {
"description": "The target version for the upgrade.",
"type": "string"
}
},
"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. 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 SURGE, 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",
"type": "integer"
},
"maxUnavailable": {
"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",
"SHORT_LIVED"
],
"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 upgrading a node pool. max_surge and max_unavailable determines the level of upgrade parallelism.",
"SHORT_LIVED is the dedicated upgrade strategy for QueuedProvisioning and flex start nodepools scaled up only by enqueueing to the Dynamic Workload Scheduler (DWS)."
],
"type": "string"
}
},
"type": "object"
},
"UsableSubnetwork": {
"description": "UsableSubnetwork resource returns the subnetwork name, its associated network and the primary CIDR range.",
"id": "UsableSubnetwork",
"properties": {
"ipCidrRange": {
"description": "The range of internal addresses that are owned by this subnetwork.",
"type": "string"
},
"network": {
"description": "Network Name. Example: projects/my-project/global/networks/my-network",
"type": "string"
},
"secondaryIpRanges": {
"description": "Secondary IP ranges.",
"items": {
"$ref": "UsableSubnetworkSecondaryRange"
},
"type": "array"
},
"statusMessage": {
"description": "A human readable status message representing the reasons for cases where the caller cannot use the secondary ranges under the subnet. For example if the secondary_ip_ranges is empty due to a permission issue, an insufficient permission message will be given by status_message.",
"type": "string"
},
"subnetwork": {
"description": "Subnetwork Name. Example: projects/my-project/regions/us-central1/subnetworks/my-subnet",
"type": "string"
}
},
"type": "object"
},
"UsableSubnetworkSecondaryRange": {
"description": "Secondary IP range of a usable subnetwork.",
"id": "UsableSubnetworkSecondaryRange",
"properties": {
"ipCidrRange": {
"description": "The range of IP addresses belonging to this subnetwork secondary range.",
"type": "string"
},
"rangeName": {
"description": "The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance.",
"type": "string"
},
"status": {
"description": "This field is to determine the status of the secondary range programmably.",
"enum": [
"UNKNOWN",
"UNUSED",
"IN_USE_SERVICE",
"IN_USE_SHAREABLE_POD",
"IN_USE_MANAGED_POD"
],
"enumDescriptions": [
"UNKNOWN is the zero value of the Status enum. It's not a valid status.",
"UNUSED denotes that this range is unclaimed by any cluster.",
"IN_USE_SERVICE denotes that this range is claimed by a cluster for services. It cannot be used for other clusters.",
"IN_USE_SHAREABLE_POD denotes this range was created by the network admin and is currently claimed by a cluster for pods. It can only be used by other clusters as a pod range.",
"IN_USE_MANAGED_POD denotes this range was created by GKE and is claimed for pods. It cannot be used for other clusters."
],
"type": "string"
}
},
"type": "object"
},
"UserManagedKeysConfig": {
"description": "UserManagedKeysConfig holds the resource address to Keys which are used for signing certs and token that are used for communication within cluster.",
"id": "UserManagedKeysConfig",
"properties": {
"aggregationCa": {
"description": "The Certificate Authority Service caPool to use for the aggregation CA in this cluster.",
"type": "string"
},
"clusterCa": {
"description": "The Certificate Authority Service caPool to use for the cluster CA in this cluster.",
"type": "string"
},
"controlPlaneDiskEncryptionKey": {
"description": "The Cloud KMS cryptoKey to use for Confidential Hyperdisk on the control plane nodes.",
"type": "string"
},
"controlPlaneDiskEncryptionKeyVersions": {
"description": "Output only. All of the versions of the Cloud KMS cryptoKey that are used by Confidential Hyperdisks on the control plane nodes.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"etcdApiCa": {
"description": "Resource path of the Certificate Authority Service caPool to use for the etcd API CA in this cluster.",
"type": "string"
},
"etcdPeerCa": {
"description": "Resource path of the Certificate Authority Service caPool to use for the etcd peer CA in this cluster.",
"type": "string"
},
"gkeopsEtcdBackupEncryptionKey": {
"description": "Resource path of the Cloud KMS cryptoKey to use for encryption of internal etcd backups.",
"type": "string"
},
"serviceAccountSigningKeys": {
"description": "The Cloud KMS cryptoKeyVersions to use for signing service account JWTs issued by this cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`",
"items": {
"type": "string"
},
"type": "array"
},
"serviceAccountVerificationKeys": {
"description": "The Cloud KMS cryptoKeyVersions to use for verifying service account JWTs issued by this cluster. Format: `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{cryptoKey}/cryptoKeyVersions/{cryptoKeyVersion}`",
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"VerticalPodAutoscaling": {
"description": "VerticalPodAutoscaling contains global, per-cluster information required by Vertical Pod Autoscaler to automatically adjust the resources of pods controlled by it.",
"id": "VerticalPodAutoscaling",
"properties": {
"enabled": {
"description": "Enables vertical pod autoscaling.",
"type": "boolean"
}
},
"type": "object"
},
"VirtualNIC": {
"description": "Configuration of gVNIC feature.",
"id": "VirtualNIC",
"properties": {
"enabled": {
"description": "Whether gVNIC features are enabled in the node pool.",
"type": "boolean"
}
},
"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"
},
"WindowsVersion": {
"description": "Windows server version.",
"id": "WindowsVersion",
"properties": {
"imageType": {
"description": "Windows server image type",
"type": "string"
},
"osVersion": {
"description": "Windows server build number",
"type": "string"
},
"supportEndDate": {
"$ref": "Date",
"description": "Mainstream support end date"
}
},
"type": "object"
},
"WindowsVersions": {
"description": "Windows server versions.",
"id": "WindowsVersions",
"properties": {
"windowsVersions": {
"description": "List of Windows server versions.",
"items": {
"$ref": "WindowsVersion"
},
"type": "array"
}
},
"type": "object"
},
"WorkloadALTSConfig": {
"description": "Configuration for direct-path (via ALTS) with workload identity. This feature is not officially supported for external customers in Kubernetes Engine when using Workload Identity.",
"id": "WorkloadALTSConfig",
"properties": {
"enableAlts": {
"description": "enable_alts controls whether the alts handshaker should be enabled or not for direct-path. Requires Workload Identity (workload_pool must be non-empty).",
"type": "boolean"
}
},
"type": "object"
},
"WorkloadCertificates": {
"description": "Configuration for issuance of mTLS keys and certificates to Kubernetes pods.",
"id": "WorkloadCertificates",
"properties": {
"enableCertificates": {
"description": "enable_certificates controls issuance of workload mTLS certificates. If set, the GKE Workload Identity Certificates controller and node agent will be deployed in the cluster, which can then be configured by creating a WorkloadCertificateConfig Custom Resource. Requires Workload Identity (workload_pool must be non-empty).",
"type": "boolean"
}
},
"type": "object"
},
"WorkloadConfig": {
"description": "WorkloadConfig defines the flags to enable or disable the workload configurations for the cluster.",
"id": "WorkloadConfig",
"properties": {
"auditMode": {
"description": "Sets which mode of auditing should be used for the cluster's workloads.",
"enum": [
"MODE_UNSPECIFIED",
"DISABLED",
"BASIC",
"BASELINE",
"RESTRICTED"
],
"enumDeprecated": [
false,
false,
false,
true,
true
],
"enumDescriptions": [
"Default value meaning that no mode has been specified.",
"This disables Workload Configuration auditing on the cluster, meaning that nothing is surfaced.",
"Applies the default set of policy auditing to a cluster's workloads.",
"Surfaces configurations that are not in line with the Pod Security Standard Baseline policy.",
"Surfaces configurations that are not in line with the Pod Security Standard Restricted policy."
],
"type": "string"
}
},
"type": "object"
},
"WorkloadIdentityConfig": {
"description": "Configuration for the use of Kubernetes Service Accounts in IAM policies.",
"id": "WorkloadIdentityConfig",
"properties": {
"identityNamespace": {
"deprecated": true,
"description": "IAM Identity Namespace to attach all Kubernetes Service Accounts to.",
"type": "string"
},
"identityProvider": {
"description": "identity provider is the third party identity provider.",
"type": "string"
},
"workloadPool": {
"description": "The workload pool to attach all Kubernetes service accounts to.",
"type": "string"
}
},
"type": "object"
},
"WorkloadMetadataConfig": {
"description": "WorkloadMetadataConfig defines the metadata configuration to expose to workloads on the node pool.",
"id": "WorkloadMetadataConfig",
"properties": {
"mode": {
"description": "Mode is the configuration for how to expose metadata to workloads running on the node pool.",
"enum": [
"MODE_UNSPECIFIED",
"GCE_METADATA",
"GKE_METADATA"
],
"enumDescriptions": [
"Not set.",
"Expose all Compute Engine metadata to pods.",
"Run the GKE Metadata Server on this node. The GKE Metadata Server exposes a metadata API to workloads that is compatible with the V1 Compute Metadata APIs exposed by the Compute Engine and App Engine Metadata Servers. This feature can only be enabled if Workload Identity is enabled at the cluster level."
],
"type": "string"
},
"nodeMetadata": {
"deprecated": true,
"description": "NodeMetadata is the configuration for how to expose metadata to the workloads running on the node.",
"enum": [
"UNSPECIFIED",
"SECURE",
"EXPOSE",
"GKE_METADATA_SERVER"
],
"enumDescriptions": [
"Not set.",
"Prevent workloads not in hostNetwork from accessing certain VM metadata, specifically kube-env, which contains Kubelet credentials, and the instance identity token. Metadata concealment is a temporary security solution available while the bootstrapping process for cluster nodes is being redesigned with significant security improvements. This feature is scheduled to be deprecated in the future and later removed.",
"Expose all VM metadata to pods.",
"Run the GKE Metadata Server on this node. The GKE Metadata Server exposes a metadata API to workloads that is compatible with the V1 Compute Metadata APIs exposed by the Compute Engine and App Engine Metadata Servers. This feature can only be enabled if Workload Identity is enabled at the cluster level."
],
"type": "string"
}
},
"type": "object"
},
"WorkloadPolicyConfig": {
"description": "WorkloadPolicyConfig is the configuration related to GCW workload policy",
"id": "WorkloadPolicyConfig",
"properties": {
"allowNetAdmin": {
"description": "If true, workloads can use NET_ADMIN capability.",
"type": "boolean"
},
"autopilotCompatibilityAuditingEnabled": {
"description": "If true, enables the GCW Auditor that audits workloads on standard clusters.",
"type": "boolean"
}
},
"type": "object"
},
"WritableCgroups": {
"description": "Defines writable cgroups configuration.",
"id": "WritableCgroups",
"properties": {
"enabled": {
"description": "Optional. Whether writable cgroups is enabled.",
"type": "boolean"
}
},
"type": "object"
}
},
"servicePath": "",
"title": "Kubernetes Engine API",
"version": "v1beta1",
"version_module": true
}