Skip to content

Commit

Permalink
feat(container): update the API
Browse files Browse the repository at this point in the history
#### container:v1beta1

The following keys were added:
- schemas.Cluster.properties.etag.description
- schemas.Cluster.properties.etag.type
- schemas.ClusterUpdate.properties.etag.description
- schemas.ClusterUpdate.properties.etag.type
- schemas.EphemeralStorageLocalSsdConfig.description
- schemas.EphemeralStorageLocalSsdConfig.id
- schemas.EphemeralStorageLocalSsdConfig.properties.localSsdCount.description
- schemas.EphemeralStorageLocalSsdConfig.properties.localSsdCount.format
- schemas.EphemeralStorageLocalSsdConfig.properties.localSsdCount.type
- schemas.EphemeralStorageLocalSsdConfig.type
- schemas.LocalNvmeSsdBlockConfig.description
- schemas.LocalNvmeSsdBlockConfig.id
- schemas.LocalNvmeSsdBlockConfig.properties.localSsdCount.description
- schemas.LocalNvmeSsdBlockConfig.properties.localSsdCount.format
- schemas.LocalNvmeSsdBlockConfig.properties.localSsdCount.type
- schemas.LocalNvmeSsdBlockConfig.type
- schemas.NodeConfig.properties.ephemeralStorageLocalSsdConfig.$ref
- schemas.NodeConfig.properties.ephemeralStorageLocalSsdConfig.description
- schemas.NodeConfig.properties.localNvmeSsdBlockConfig.$ref
- schemas.NodeConfig.properties.localNvmeSsdBlockConfig.description
- schemas.NodeConfig.properties.windowsNodeConfig.$ref
- schemas.NodeConfig.properties.windowsNodeConfig.description
- schemas.NodePool.properties.etag.description
- schemas.NodePool.properties.etag.type
- schemas.UpdateNodePoolRequest.properties.etag.description
- schemas.UpdateNodePoolRequest.properties.etag.type
- schemas.UpdateNodePoolRequest.properties.windowsNodeConfig.$ref
- schemas.UpdateNodePoolRequest.properties.windowsNodeConfig.description
- schemas.WindowsNodeConfig.description
- schemas.WindowsNodeConfig.id
- schemas.WindowsNodeConfig.properties.osVersion.description
- schemas.WindowsNodeConfig.properties.osVersion.enum
- schemas.WindowsNodeConfig.properties.osVersion.enumDescriptions
- schemas.WindowsNodeConfig.properties.osVersion.type
- schemas.WindowsNodeConfig.type

The following keys were changed:
- schemas.AutoprovisioningNodePoolDefaults.properties.imageType.description
- schemas.AutoprovisioningNodePoolDefaults.properties.minCpuPlatform.description
- schemas.NodeConfig.properties.imageType.description
- schemas.NodePool.properties.version.description
- schemas.UpdateNodePoolRequest.properties.imageType.description
- schemas.UpgradeSettings.properties.strategy.enumDescriptions

#### container:v1

The following keys were added:
- schemas.Cluster.properties.etag.description
- schemas.Cluster.properties.etag.type
- schemas.ClusterUpdate.properties.etag.description
- schemas.ClusterUpdate.properties.etag.type
- schemas.EphemeralStorageLocalSsdConfig.description
- schemas.EphemeralStorageLocalSsdConfig.id
- schemas.EphemeralStorageLocalSsdConfig.properties.localSsdCount.description
- schemas.EphemeralStorageLocalSsdConfig.properties.localSsdCount.format
- schemas.EphemeralStorageLocalSsdConfig.properties.localSsdCount.type
- schemas.EphemeralStorageLocalSsdConfig.type
- schemas.IPAllocationPolicy.properties.servicesIpv6CidrBlock.description
- schemas.IPAllocationPolicy.properties.servicesIpv6CidrBlock.readOnly
- schemas.IPAllocationPolicy.properties.servicesIpv6CidrBlock.type
- schemas.IPAllocationPolicy.properties.subnetIpv6CidrBlock.description
- schemas.IPAllocationPolicy.properties.subnetIpv6CidrBlock.readOnly
- schemas.IPAllocationPolicy.properties.subnetIpv6CidrBlock.type
- schemas.LocalNvmeSsdBlockConfig.description
- schemas.LocalNvmeSsdBlockConfig.id
- schemas.LocalNvmeSsdBlockConfig.properties.localSsdCount.description
- schemas.LocalNvmeSsdBlockConfig.properties.localSsdCount.format
- schemas.LocalNvmeSsdBlockConfig.properties.localSsdCount.type
- schemas.LocalNvmeSsdBlockConfig.type
- schemas.NodeConfig.properties.ephemeralStorageLocalSsdConfig.$ref
- schemas.NodeConfig.properties.ephemeralStorageLocalSsdConfig.description
- schemas.NodeConfig.properties.localNvmeSsdBlockConfig.$ref
- schemas.NodeConfig.properties.localNvmeSsdBlockConfig.description
- schemas.NodeConfig.properties.windowsNodeConfig.$ref
- schemas.NodeConfig.properties.windowsNodeConfig.description
- schemas.NodePool.properties.etag.description
- schemas.NodePool.properties.etag.type
- schemas.UpdateNodePoolRequest.properties.etag.description
- schemas.UpdateNodePoolRequest.properties.etag.type
- schemas.UpdateNodePoolRequest.properties.windowsNodeConfig.$ref
- schemas.UpdateNodePoolRequest.properties.windowsNodeConfig.description
- schemas.WindowsNodeConfig.description
- schemas.WindowsNodeConfig.id
- schemas.WindowsNodeConfig.properties.osVersion.description
- schemas.WindowsNodeConfig.properties.osVersion.enum
- schemas.WindowsNodeConfig.properties.osVersion.enumDescriptions
- schemas.WindowsNodeConfig.properties.osVersion.type
- schemas.WindowsNodeConfig.type

The following keys were changed:
- schemas.AutoprovisioningNodePoolDefaults.properties.imageType.description
- schemas.AutoprovisioningNodePoolDefaults.properties.minCpuPlatform.description
- schemas.DNSConfig.properties.clusterDnsScope.enum
- schemas.DNSConfig.properties.clusterDnsScope.enumDescriptions
- schemas.NodeConfig.properties.imageType.description
- schemas.NodePool.properties.version.description
- schemas.UpdateNodePoolRequest.properties.imageType.description
- schemas.UpgradeSettings.properties.strategy.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent 2c79661 commit 1d0f856
Show file tree
Hide file tree
Showing 4 changed files with 332 additions and 24 deletions.
103 changes: 96 additions & 7 deletions discovery/container-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2487,7 +2487,7 @@
}
}
},
"revision": "20221114",
"revision": "20230120",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -2632,15 +2632,15 @@
"type": "string"
},
"imageType": {
"description": "The image type to use for NAP created node.",
"description": "The image type to use for NAP created node. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.",
"type": "string"
},
"management": {
"$ref": "NodeManagement",
"description": "Specifies the node management options for NAP created node-pools."
},
"minCpuPlatform": {
"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 https://cloud.google.com/requested-min-cpu-platform label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.",
"description": "Deprecated. Minimum CPU platform to be used for NAP created node pools. The instance may be scheduled on the specified or newer CPU platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: Intel Haswell or minCpuPlatform: Intel Sandy Bridge. For more information, read [how to specify min CPU platform](https://cloud.google.com/compute/docs/instances/specify-min-cpu-platform). This field is deprecated, min_cpu_platform should be specified using `cloud.google.com/requested-min-cpu-platform` label selector on the pod. To unset the min cpu platform field pass \"automatic\" as field value.",
"type": "string"
},
"oauthScopes": {
Expand Down Expand Up @@ -2928,6 +2928,10 @@
"description": "[Output only] The IP address of this cluster's master endpoint. The endpoint can be accessed from the internet at `https://username:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.",
"type": "string"
},
"etag": {
"description": "This checksum is computed by the server based on the value of cluster fields, and may be sent on update requests to ensure the client has an up-to-date value before proceeding.",
"type": "string"
},
"expireTime": {
"description": "[Output only] The time the cluster will be automatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
"type": "string"
Expand Down Expand Up @@ -3373,6 +3377,10 @@
"desiredWorkloadIdentityConfig": {
"$ref": "WorkloadIdentityConfig",
"description": "Configuration for Workload Identity."
},
"etag": {
"description": "The current etag of the cluster. If an etag is provided and does not match the current etag of the cluster, update will be blocked and an ABORTED error will be returned.",
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -3526,10 +3534,12 @@
"description": "cluster_dns_scope indicates the scope of access to cluster DNS records.",
"enum": [
"DNS_SCOPE_UNSPECIFIED",
"CLUSTER_SCOPE",
"VPC_SCOPE"
],
"enumDescriptions": [
"Default value, will be inferred as cluster scope.",
"DNS records are accessible from within the cluster.",
"DNS records are accessible from within the VPC."
],
"type": "string"
Expand Down Expand Up @@ -3605,6 +3615,18 @@
"properties": {},
"type": "object"
},
"EphemeralStorageLocalSsdConfig": {
"description": "EphemeralStorageLocalSsdConfig contains configuration for the node ephemeral storage using Local SSD.",
"id": "EphemeralStorageLocalSsdConfig",
"properties": {
"localSsdCount": {
"description": "Number of local SSDs to use to back ephemeral storage. Uses NVMe interfaces. Each local SSD is 375 GB in size. If zero, it means to disable using local SSDs as ephemeral storage. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"FastSocket": {
"description": "Configuration of Fast Socket feature.",
"id": "FastSocket",
Expand Down Expand Up @@ -3908,6 +3930,11 @@
"description": "The IP address range of the services IPs in this cluster. If blank, a range will be automatically chosen with the default size. This field is only applicable when `use_ip_aliases` is true. Set to blank to have a range chosen with the default size. Set to /netmask (e.g. `/14`) to have a range chosen with a specific netmask. Set to a [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing) notation (e.g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g. `10.0.0.0/8`, `172.16.0.0/12`, `192.168.0.0/16`) to pick a specific range to use.",
"type": "string"
},
"servicesIpv6CidrBlock": {
"description": "Output only. [Output only] The services IPv6 CIDR block for the cluster.",
"readOnly": true,
"type": "string"
},
"servicesSecondaryRangeName": {
"description": "The name of the secondary range to be used as for the services CIDR block. The secondary range will be used for service ClusterIPs. This must be an existing secondary range associated with the cluster subnetwork. This field is only applicable with use_ip_aliases is true and create_subnetwork is false.",
"type": "string"
Expand All @@ -3926,6 +3953,11 @@
],
"type": "string"
},
"subnetIpv6CidrBlock": {
"description": "Output only. [Output only] The subnet's IPv6 CIDR block used by nodes and pods.",
"readOnly": true,
"type": "string"
},
"subnetworkName": {
"description": "A custom subnetwork name to be used if `create_subnetwork` is true. If this field is empty, then an automatic name will be chosen for the new subnetwork.",
"type": "string"
Expand Down Expand Up @@ -4134,6 +4166,18 @@
},
"type": "object"
},
"LocalNvmeSsdBlockConfig": {
"description": "LocalNvmeSsdBlockConfig contains configuration for using raw-block local NVMe SSD.",
"id": "LocalNvmeSsdBlockConfig",
"properties": {
"localSsdCount": {
"description": "The number of raw-block local NVMe SSD disks to be attached to the node. Each local SSD is 375 GB in size. If zero, it means no raw-block local NVMe SSD disks to be attached to the node. The limit for this value is dependent upon the maximum number of disks available on a machine per zone. See: https://cloud.google.com/compute/docs/disks/local-ssd for more information.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"LoggingComponentConfig": {
"description": "LoggingComponentConfig is cluster logging component configuration.",
"id": "LoggingComponentConfig",
Expand Down Expand Up @@ -4577,6 +4621,10 @@
"description": "Type of the disk attached to each node (e.g. 'pd-standard', 'pd-ssd' or 'pd-balanced') If unspecified, the default disk type is 'pd-standard'",
"type": "string"
},
"ephemeralStorageLocalSsdConfig": {
"$ref": "EphemeralStorageLocalSsdConfig",
"description": "Parameters for the node ephemeral storage using Local SSDs. If unspecified, ephemeral storage is backed by the boot disk."
},
"fastSocket": {
"$ref": "FastSocket",
"description": "Enable or disable NCCL fast socket for the node pool."
Expand All @@ -4590,7 +4638,7 @@
"description": "Enable or disable gvnic in the node pool."
},
"imageType": {
"description": "The image type to use for this node. Note that for a given image type, the latest version of it will be used.",
"description": "The image type to use for this node. Note that for a given image type, the latest version of it will be used. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.",
"type": "string"
},
"kubeletConfig": {
Expand All @@ -4608,6 +4656,10 @@
"$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",
Expand Down Expand Up @@ -4688,6 +4740,10 @@
},
"type": "array"
},
"windowsNodeConfig": {
"$ref": "WindowsNodeConfig",
"description": "Parameters that can be configured on Windows nodes."
},
"workloadMetadataConfig": {
"$ref": "WorkloadMetadataConfig",
"description": "The workload metadata configuration for this node."
Expand Down Expand Up @@ -4813,6 +4869,10 @@
"$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",
Expand Down Expand Up @@ -4897,7 +4957,7 @@
"description": "Upgrade settings control disruption and speed of the upgrade."
},
"version": {
"description": "The version of the Kubernetes of this node.",
"description": "The version of Kubernetes running on this NodePool's nodes. If unspecified, it defaults as described [here](https://cloud.google.com/kubernetes-engine/versioning#specifying_node_version).",
"type": "string"
}
},
Expand Down Expand Up @@ -6257,6 +6317,10 @@
"$ref": "ConfidentialNodes",
"description": "Confidential nodes config. All the nodes in the node pool will be Confidential VM once enabled."
},
"etag": {
"description": "The current etag of the node pool. If an etag is provided and does not match the current etag of the node pool, update will be blocked and an ABORTED error will be returned.",
"type": "string"
},
"fastSocket": {
"$ref": "FastSocket",
"description": "Enable or disable NCCL fast socket for the node pool."
Expand All @@ -6270,7 +6334,7 @@
"description": "Enable or disable gvnic on the node pool."
},
"imageType": {
"description": "Required. The desired image type for the node pool.",
"description": "Required. The desired image type for the node pool. Please see https://cloud.google.com/kubernetes-engine/docs/concepts/node-images for available image types.",
"type": "string"
},
"kubeletConfig": {
Expand Down Expand Up @@ -6332,6 +6396,10 @@
"$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."
Expand Down Expand Up @@ -6444,7 +6512,7 @@
"SURGE"
],
"enumDescriptions": [
"Default value.",
"Default value if unset. GKE internally defaults the update strategy to SURGE for unspecified strategies.",
"blue-green upgrade.",
"SURGE is the traditional way of upgrade a node pool. max_surge and max_unavailable determines the level of upgrade parallelism."
],
Expand Down Expand Up @@ -6538,6 +6606,27 @@
},
"type": "object"
},
"WindowsNodeConfig": {
"description": "Parameters that can be configured on Windows nodes. Windows Node Config that define the parameters that will be used to configure the Windows node pool settings",
"id": "WindowsNodeConfig",
"properties": {
"osVersion": {
"description": "OSVersion specifies the Windows node config to be used on the node",
"enum": [
"OS_VERSION_UNSPECIFIED",
"OS_VERSION_LTSC2019",
"OS_VERSION_LTSC2022"
],
"enumDescriptions": [
"When OSVersion is not specified",
"LTSC2019 specifies to use LTSC2019 as the Windows Servercore Base Image",
"LTSC2022 specifies to use LTSC2022 as the Windows Servercore Base Image"
],
"type": "string"
}
},
"type": "object"
},
"WorkloadIdentityConfig": {
"description": "Configuration for the use of Kubernetes Service Accounts in GCP IAM policies.",
"id": "WorkloadIdentityConfig",
Expand Down

0 comments on commit 1d0f856

Please sign in to comment.