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.ClusterUpdate.properties.desiredDnsConfig.$ref
- schemas.ClusterUpdate.properties.desiredDnsConfig.description
- schemas.DNSConfig.description
- schemas.DNSConfig.id
- schemas.DNSConfig.properties.clusterDns.description
- schemas.DNSConfig.properties.clusterDns.enum
- schemas.DNSConfig.properties.clusterDns.enumDescriptions
- schemas.DNSConfig.properties.clusterDns.type
- schemas.DNSConfig.properties.clusterDnsDomain.description
- schemas.DNSConfig.properties.clusterDnsDomain.type
- schemas.DNSConfig.properties.clusterDnsScope.description
- schemas.DNSConfig.properties.clusterDnsScope.enum
- schemas.DNSConfig.properties.clusterDnsScope.enumDescriptions
- schemas.DNSConfig.properties.clusterDnsScope.type
- schemas.DNSConfig.type
- schemas.NetworkConfig.properties.dnsConfig.$ref
- schemas.NetworkConfig.properties.dnsConfig.description

#### container:v1

The following keys were added:
- schemas.ClusterUpdate.properties.desiredDatapathProvider.description
- schemas.ClusterUpdate.properties.desiredDatapathProvider.enum
- schemas.ClusterUpdate.properties.desiredDatapathProvider.enumDescriptions
- schemas.ClusterUpdate.properties.desiredDatapathProvider.type
- schemas.NetworkConfig.properties.datapathProvider.description
- schemas.NetworkConfig.properties.datapathProvider.enum
- schemas.NetworkConfig.properties.datapathProvider.enumDescriptions
- schemas.NetworkConfig.properties.datapathProvider.type
- schemas.UpgradeAvailableEvent.description
- schemas.UpgradeAvailableEvent.id
- schemas.UpgradeAvailableEvent.properties.releaseChannel.$ref
- schemas.UpgradeAvailableEvent.properties.releaseChannel.description
- schemas.UpgradeAvailableEvent.properties.resource.description
- schemas.UpgradeAvailableEvent.properties.resource.type
- schemas.UpgradeAvailableEvent.properties.resourceType.description
- schemas.UpgradeAvailableEvent.properties.resourceType.enum
- schemas.UpgradeAvailableEvent.properties.resourceType.enumDescriptions
- schemas.UpgradeAvailableEvent.properties.resourceType.type
- schemas.UpgradeAvailableEvent.properties.version.description
- schemas.UpgradeAvailableEvent.properties.version.type
- schemas.UpgradeAvailableEvent.type
  • Loading branch information
yoshi-automation authored and sofisl committed May 21, 2021
1 parent 34ca22c commit 94ea5df
Show file tree
Hide file tree
Showing 4 changed files with 294 additions and 102 deletions.
63 changes: 62 additions & 1 deletion discovery/container-v1.json
Expand Up @@ -2459,7 +2459,7 @@
}
}
},
"revision": "20210419",
"revision": "20210505",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -3018,6 +3018,20 @@
"$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"
},
"desiredDefaultSnatStatus": {
"$ref": "DefaultSnatStatus",
"description": "The desired status of whether to disable default sNAT for this cluster."
Expand Down Expand Up @@ -3761,6 +3775,20 @@
"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"
},
"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."
Expand Down Expand Up @@ -5257,6 +5285,39 @@
},
"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"
}
},
"type": "object"
},
"UpgradeEvent": {
"description": "UpgradeEvent is a notification sent to customers by the cluster server when a resource is upgrading.",
"id": "UpgradeEvent",
Expand Down
49 changes: 48 additions & 1 deletion discovery/container-v1beta1.json
Expand Up @@ -2484,7 +2484,7 @@
}
}
},
"revision": "20210419",
"revision": "20210505",
"rootUrl": "https://container.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -3157,6 +3157,10 @@
"$ref": "DefaultSnatStatus",
"description": "The desired status of whether to disable default sNAT for this cluster."
},
"desiredDnsConfig": {
"$ref": "DNSConfig",
"description": "DNSConfig contains clusterDNS config for this cluster."
},
"desiredImageType": {
"description": "The desired image type for the node pool. NOTE: Set the \"desired_node_pool\" field as well.",
"type": "string"
Expand Down Expand Up @@ -3373,6 +3377,45 @@
},
"type": "object"
},
"DNSConfig": {
"description": "DNSConfig contains the desired set of options for configuring clusterDNS.",
"id": "DNSConfig",
"properties": {
"clusterDns": {
"description": "cluster_dns indicates which in-cluster DNS provider should be used.",
"enum": [
"PROVIDER_UNSPECIFIED",
"PLATFORM_DEFAULT",
"CLOUD_DNS"
],
"enumDescriptions": [
"Default value",
"Use GKE default DNS provider(kube-dns) for DNS resolution.",
"Use CloudDNS 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"
},
"DailyMaintenanceWindow": {
"description": "Time window specified for daily maintenance operations.",
"id": "DailyMaintenanceWindow",
Expand Down Expand Up @@ -4047,6 +4090,10 @@
"$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."
},
"dnsConfig": {
"$ref": "DNSConfig",
"description": "DNSConfig contains clusterDNS config for this cluster."
},
"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"
Expand Down

0 comments on commit 94ea5df

Please sign in to comment.