google-cloud-container 2.18.0__tar.gz → 2.20.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {google-cloud-container-2.18.0/google_cloud_container.egg-info → google-cloud-container-2.20.0}/PKG-INFO +1 -1
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container/__init__.py +4 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container/gapic_version.py +1 -1
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/__init__.py +4 -0
- {google-cloud-container-2.18.0/google/cloud/container_v1beta1 → google-cloud-container-2.20.0/google/cloud/container_v1}/gapic_version.py +1 -1
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/types/__init__.py +4 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/types/cluster_service.py +92 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/__init__.py +4 -0
- {google-cloud-container-2.18.0/google/cloud/container_v1 → google-cloud-container-2.20.0/google/cloud/container_v1beta1}/gapic_version.py +1 -1
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/types/__init__.py +4 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/types/cluster_service.py +92 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0/google_cloud_container.egg-info}/PKG-INFO +1 -1
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/LICENSE +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/MANIFEST.in +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/README.rst +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container/py.typed +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/gapic_metadata.json +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/py.typed +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/services/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/services/cluster_manager/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/services/cluster_manager/async_client.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/services/cluster_manager/client.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/services/cluster_manager/pagers.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/services/cluster_manager/transports/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/services/cluster_manager/transports/base.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc_asyncio.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/gapic_metadata.json +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/py.typed +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/services/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/services/cluster_manager/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/services/cluster_manager/async_client.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/services/cluster_manager/client.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/services/cluster_manager/pagers.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/base.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc_asyncio.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google_cloud_container.egg-info/SOURCES.txt +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google_cloud_container.egg-info/dependency_links.txt +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google_cloud_container.egg-info/namespace_packages.txt +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google_cloud_container.egg-info/not-zip-safe +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google_cloud_container.egg-info/requires.txt +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google_cloud_container.egg-info/top_level.txt +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/setup.cfg +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/setup.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/tests/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/tests/system/gapic/v1/test_system_cluster_manager_v1.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/tests/unit/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/tests/unit/gapic/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/tests/unit/gapic/container_v1/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/tests/unit/gapic/container_v1/test_cluster_manager.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/tests/unit/gapic/container_v1beta1/__init__.py +0 -0
- {google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/tests/unit/gapic/container_v1beta1/test_cluster_manager.py +0 -0
{google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container/__init__.py
RENAMED
|
@@ -26,6 +26,7 @@ from google.cloud.container_v1.services.cluster_manager.client import (
|
|
|
26
26
|
)
|
|
27
27
|
from google.cloud.container_v1.types.cluster_service import (
|
|
28
28
|
AcceleratorConfig,
|
|
29
|
+
AdditionalPodRangesConfig,
|
|
29
30
|
AddonsConfig,
|
|
30
31
|
AdvancedMachineFeatures,
|
|
31
32
|
AuthenticatorGroupsConfig,
|
|
@@ -126,6 +127,7 @@ from google.cloud.container_v1.types.cluster_service import (
|
|
|
126
127
|
NotificationConfig,
|
|
127
128
|
Operation,
|
|
128
129
|
OperationProgress,
|
|
130
|
+
PodCIDROverprovisionConfig,
|
|
129
131
|
PrivateClusterConfig,
|
|
130
132
|
PrivateClusterMasterGlobalAccessConfig,
|
|
131
133
|
PrivateIPv6GoogleAccess,
|
|
@@ -177,6 +179,7 @@ __all__ = (
|
|
|
177
179
|
"ClusterManagerClient",
|
|
178
180
|
"ClusterManagerAsyncClient",
|
|
179
181
|
"AcceleratorConfig",
|
|
182
|
+
"AdditionalPodRangesConfig",
|
|
180
183
|
"AddonsConfig",
|
|
181
184
|
"AdvancedMachineFeatures",
|
|
182
185
|
"AuthenticatorGroupsConfig",
|
|
@@ -274,6 +277,7 @@ __all__ = (
|
|
|
274
277
|
"NotificationConfig",
|
|
275
278
|
"Operation",
|
|
276
279
|
"OperationProgress",
|
|
280
|
+
"PodCIDROverprovisionConfig",
|
|
277
281
|
"PrivateClusterConfig",
|
|
278
282
|
"PrivateClusterMasterGlobalAccessConfig",
|
|
279
283
|
"RecurringTimeWindow",
|
|
@@ -21,6 +21,7 @@ __version__ = package_version.__version__
|
|
|
21
21
|
from .services.cluster_manager import ClusterManagerAsyncClient, ClusterManagerClient
|
|
22
22
|
from .types.cluster_service import (
|
|
23
23
|
AcceleratorConfig,
|
|
24
|
+
AdditionalPodRangesConfig,
|
|
24
25
|
AddonsConfig,
|
|
25
26
|
AdvancedMachineFeatures,
|
|
26
27
|
AuthenticatorGroupsConfig,
|
|
@@ -121,6 +122,7 @@ from .types.cluster_service import (
|
|
|
121
122
|
NotificationConfig,
|
|
122
123
|
Operation,
|
|
123
124
|
OperationProgress,
|
|
125
|
+
PodCIDROverprovisionConfig,
|
|
124
126
|
PrivateClusterConfig,
|
|
125
127
|
PrivateClusterMasterGlobalAccessConfig,
|
|
126
128
|
PrivateIPv6GoogleAccess,
|
|
@@ -171,6 +173,7 @@ from .types.cluster_service import (
|
|
|
171
173
|
__all__ = (
|
|
172
174
|
"ClusterManagerAsyncClient",
|
|
173
175
|
"AcceleratorConfig",
|
|
176
|
+
"AdditionalPodRangesConfig",
|
|
174
177
|
"AddonsConfig",
|
|
175
178
|
"AdvancedMachineFeatures",
|
|
176
179
|
"AuthenticatorGroupsConfig",
|
|
@@ -272,6 +275,7 @@ __all__ = (
|
|
|
272
275
|
"NotificationConfig",
|
|
273
276
|
"Operation",
|
|
274
277
|
"OperationProgress",
|
|
278
|
+
"PodCIDROverprovisionConfig",
|
|
275
279
|
"PrivateClusterConfig",
|
|
276
280
|
"PrivateClusterMasterGlobalAccessConfig",
|
|
277
281
|
"PrivateIPv6GoogleAccess",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
#
|
|
16
16
|
from .cluster_service import (
|
|
17
17
|
AcceleratorConfig,
|
|
18
|
+
AdditionalPodRangesConfig,
|
|
18
19
|
AddonsConfig,
|
|
19
20
|
AdvancedMachineFeatures,
|
|
20
21
|
AuthenticatorGroupsConfig,
|
|
@@ -115,6 +116,7 @@ from .cluster_service import (
|
|
|
115
116
|
NotificationConfig,
|
|
116
117
|
Operation,
|
|
117
118
|
OperationProgress,
|
|
119
|
+
PodCIDROverprovisionConfig,
|
|
118
120
|
PrivateClusterConfig,
|
|
119
121
|
PrivateClusterMasterGlobalAccessConfig,
|
|
120
122
|
PrivateIPv6GoogleAccess,
|
|
@@ -164,6 +166,7 @@ from .cluster_service import (
|
|
|
164
166
|
|
|
165
167
|
__all__ = (
|
|
166
168
|
"AcceleratorConfig",
|
|
169
|
+
"AdditionalPodRangesConfig",
|
|
167
170
|
"AddonsConfig",
|
|
168
171
|
"AdvancedMachineFeatures",
|
|
169
172
|
"AuthenticatorGroupsConfig",
|
|
@@ -261,6 +264,7 @@ __all__ = (
|
|
|
261
264
|
"NotificationConfig",
|
|
262
265
|
"Operation",
|
|
263
266
|
"OperationProgress",
|
|
267
|
+
"PodCIDROverprovisionConfig",
|
|
264
268
|
"PrivateClusterConfig",
|
|
265
269
|
"PrivateClusterMasterGlobalAccessConfig",
|
|
266
270
|
"RecurringTimeWindow",
|
|
@@ -68,12 +68,14 @@ __protobuf__ = proto.module(
|
|
|
68
68
|
"LegacyAbac",
|
|
69
69
|
"NetworkPolicy",
|
|
70
70
|
"BinaryAuthorization",
|
|
71
|
+
"PodCIDROverprovisionConfig",
|
|
71
72
|
"IPAllocationPolicy",
|
|
72
73
|
"Cluster",
|
|
73
74
|
"NodePoolAutoConfig",
|
|
74
75
|
"NodePoolDefaults",
|
|
75
76
|
"NodeConfigDefaults",
|
|
76
77
|
"ClusterUpdate",
|
|
78
|
+
"AdditionalPodRangesConfig",
|
|
77
79
|
"Operation",
|
|
78
80
|
"OperationProgress",
|
|
79
81
|
"CreateClusterRequest",
|
|
@@ -896,6 +898,20 @@ class NodeNetworkConfig(proto.Message):
|
|
|
896
898
|
Network bandwidth tier configuration.
|
|
897
899
|
|
|
898
900
|
This field is a member of `oneof`_ ``_network_performance_config``.
|
|
901
|
+
pod_cidr_overprovision_config (google.cloud.container_v1.types.PodCIDROverprovisionConfig):
|
|
902
|
+
[PRIVATE FIELD] Pod CIDR size overprovisioning config for
|
|
903
|
+
the nodepool.
|
|
904
|
+
|
|
905
|
+
Pod CIDR size per node depends on max_pods_per_node. By
|
|
906
|
+
default, the value of max_pods_per_node is rounded off to
|
|
907
|
+
next power of 2 and we then double that to get the size of
|
|
908
|
+
pod CIDR block per node. Example: max_pods_per_node of 30
|
|
909
|
+
would result in 64 IPs (/26).
|
|
910
|
+
|
|
911
|
+
This config can disable the doubling of IPs (we still round
|
|
912
|
+
off to next power of 2) Example: max_pods_per_node of 30
|
|
913
|
+
will result in 32 IPs (/27) when overprovisioning is
|
|
914
|
+
disabled.
|
|
899
915
|
"""
|
|
900
916
|
|
|
901
917
|
class NetworkPerformanceConfig(proto.Message):
|
|
@@ -954,6 +970,11 @@ class NodeNetworkConfig(proto.Message):
|
|
|
954
970
|
optional=True,
|
|
955
971
|
message=NetworkPerformanceConfig,
|
|
956
972
|
)
|
|
973
|
+
pod_cidr_overprovision_config: "PodCIDROverprovisionConfig" = proto.Field(
|
|
974
|
+
proto.MESSAGE,
|
|
975
|
+
number=13,
|
|
976
|
+
message="PodCIDROverprovisionConfig",
|
|
977
|
+
)
|
|
957
978
|
|
|
958
979
|
|
|
959
980
|
class ShieldedInstanceConfig(proto.Message):
|
|
@@ -1847,6 +1868,22 @@ class BinaryAuthorization(proto.Message):
|
|
|
1847
1868
|
)
|
|
1848
1869
|
|
|
1849
1870
|
|
|
1871
|
+
class PodCIDROverprovisionConfig(proto.Message):
|
|
1872
|
+
r"""[PRIVATE FIELD] Config for pod CIDR size overprovisioning.
|
|
1873
|
+
|
|
1874
|
+
Attributes:
|
|
1875
|
+
disable (bool):
|
|
1876
|
+
Whether Pod CIDR overprovisioning is
|
|
1877
|
+
disabled. Note: Pod CIDR overprovisioning is
|
|
1878
|
+
enabled by default.
|
|
1879
|
+
"""
|
|
1880
|
+
|
|
1881
|
+
disable: bool = proto.Field(
|
|
1882
|
+
proto.BOOL,
|
|
1883
|
+
number=1,
|
|
1884
|
+
)
|
|
1885
|
+
|
|
1886
|
+
|
|
1850
1887
|
class IPAllocationPolicy(proto.Message):
|
|
1851
1888
|
r"""Configuration for controlling how IPs are allocated in the
|
|
1852
1889
|
cluster.
|
|
@@ -1970,12 +2007,31 @@ class IPAllocationPolicy(proto.Message):
|
|
|
1970
2007
|
ipv6_access_type (google.cloud.container_v1.types.IPv6AccessType):
|
|
1971
2008
|
The ipv6 access type (internal or external) when
|
|
1972
2009
|
create_subnetwork is true
|
|
2010
|
+
pod_cidr_overprovision_config (google.cloud.container_v1.types.PodCIDROverprovisionConfig):
|
|
2011
|
+
[PRIVATE FIELD] Pod CIDR size overprovisioning config for
|
|
2012
|
+
the cluster.
|
|
2013
|
+
|
|
2014
|
+
Pod CIDR size per node depends on max_pods_per_node. By
|
|
2015
|
+
default, the value of max_pods_per_node is doubled and then
|
|
2016
|
+
rounded off to next power of 2 to get the size of pod CIDR
|
|
2017
|
+
block per node. Example: max_pods_per_node of 30 would
|
|
2018
|
+
result in 64 IPs (/26).
|
|
2019
|
+
|
|
2020
|
+
This config can disable the doubling of IPs (we still round
|
|
2021
|
+
off to next power of 2) Example: max_pods_per_node of 30
|
|
2022
|
+
will result in 32 IPs (/27) when overprovisioning is
|
|
2023
|
+
disabled.
|
|
1973
2024
|
subnet_ipv6_cidr_block (str):
|
|
1974
2025
|
Output only. [Output only] The subnet's IPv6 CIDR block used
|
|
1975
2026
|
by nodes and pods.
|
|
1976
2027
|
services_ipv6_cidr_block (str):
|
|
1977
2028
|
Output only. [Output only] The services IPv6 CIDR block for
|
|
1978
2029
|
the cluster.
|
|
2030
|
+
additional_pod_ranges_config (google.cloud.container_v1.types.AdditionalPodRangesConfig):
|
|
2031
|
+
Output only. [Output only] The additional pod ranges that
|
|
2032
|
+
are added to the cluster. These pod ranges can be used by
|
|
2033
|
+
new node pools to allocate pod IPs automatically. Once the
|
|
2034
|
+
range is removed it will not show up in IPAllocationPolicy.
|
|
1979
2035
|
"""
|
|
1980
2036
|
|
|
1981
2037
|
use_ip_aliases: bool = proto.Field(
|
|
@@ -2040,6 +2096,11 @@ class IPAllocationPolicy(proto.Message):
|
|
|
2040
2096
|
number=17,
|
|
2041
2097
|
enum="IPv6AccessType",
|
|
2042
2098
|
)
|
|
2099
|
+
pod_cidr_overprovision_config: "PodCIDROverprovisionConfig" = proto.Field(
|
|
2100
|
+
proto.MESSAGE,
|
|
2101
|
+
number=21,
|
|
2102
|
+
message="PodCIDROverprovisionConfig",
|
|
2103
|
+
)
|
|
2043
2104
|
subnet_ipv6_cidr_block: str = proto.Field(
|
|
2044
2105
|
proto.STRING,
|
|
2045
2106
|
number=22,
|
|
@@ -2048,6 +2109,11 @@ class IPAllocationPolicy(proto.Message):
|
|
|
2048
2109
|
proto.STRING,
|
|
2049
2110
|
number=23,
|
|
2050
2111
|
)
|
|
2112
|
+
additional_pod_ranges_config: "AdditionalPodRangesConfig" = proto.Field(
|
|
2113
|
+
proto.MESSAGE,
|
|
2114
|
+
number=24,
|
|
2115
|
+
message="AdditionalPodRangesConfig",
|
|
2116
|
+
)
|
|
2051
2117
|
|
|
2052
2118
|
|
|
2053
2119
|
class Cluster(proto.Message):
|
|
@@ -2932,6 +2998,15 @@ class ClusterUpdate(proto.Message):
|
|
|
2932
2998
|
the current stack type of the cluster, update
|
|
2933
2999
|
will attempt to change the stack type to the new
|
|
2934
3000
|
type.
|
|
3001
|
+
additional_pod_ranges_config (google.cloud.container_v1.types.AdditionalPodRangesConfig):
|
|
3002
|
+
The additional pod ranges to be added to the
|
|
3003
|
+
cluster. These pod ranges can be used by node
|
|
3004
|
+
pools to allocate pod IPs.
|
|
3005
|
+
removed_additional_pod_ranges_config (google.cloud.container_v1.types.AdditionalPodRangesConfig):
|
|
3006
|
+
The additional pod ranges that are to be removed from the
|
|
3007
|
+
cluster. The pod ranges specified here must have been
|
|
3008
|
+
specified earlier in the 'additional_pod_ranges_config'
|
|
3009
|
+
argument.
|
|
2935
3010
|
"""
|
|
2936
3011
|
|
|
2937
3012
|
desired_node_version: str = proto.Field(
|
|
@@ -3128,6 +3203,23 @@ class ClusterUpdate(proto.Message):
|
|
|
3128
3203
|
number=119,
|
|
3129
3204
|
enum="StackType",
|
|
3130
3205
|
)
|
|
3206
|
+
additional_pod_ranges_config: "AdditionalPodRangesConfig" = proto.Field(
|
|
3207
|
+
proto.MESSAGE,
|
|
3208
|
+
number=120,
|
|
3209
|
+
message="AdditionalPodRangesConfig",
|
|
3210
|
+
)
|
|
3211
|
+
removed_additional_pod_ranges_config: "AdditionalPodRangesConfig" = proto.Field(
|
|
3212
|
+
proto.MESSAGE,
|
|
3213
|
+
number=121,
|
|
3214
|
+
message="AdditionalPodRangesConfig",
|
|
3215
|
+
)
|
|
3216
|
+
|
|
3217
|
+
|
|
3218
|
+
class AdditionalPodRangesConfig(proto.Message):
|
|
3219
|
+
r"""AdditionalPodRangesConfig is the configuration for additional
|
|
3220
|
+
pod secondary ranges supporting the ClusterUpdate message.
|
|
3221
|
+
|
|
3222
|
+
"""
|
|
3131
3223
|
|
|
3132
3224
|
|
|
3133
3225
|
class Operation(proto.Message):
|
|
@@ -21,6 +21,7 @@ __version__ = package_version.__version__
|
|
|
21
21
|
from .services.cluster_manager import ClusterManagerAsyncClient, ClusterManagerClient
|
|
22
22
|
from .types.cluster_service import (
|
|
23
23
|
AcceleratorConfig,
|
|
24
|
+
AdditionalPodRangesConfig,
|
|
24
25
|
AddonsConfig,
|
|
25
26
|
AdvancedMachineFeatures,
|
|
26
27
|
AuthenticatorGroupsConfig,
|
|
@@ -128,6 +129,7 @@ from .types.cluster_service import (
|
|
|
128
129
|
NotificationConfig,
|
|
129
130
|
Operation,
|
|
130
131
|
OperationProgress,
|
|
132
|
+
PodCIDROverprovisionConfig,
|
|
131
133
|
PodSecurityPolicyConfig,
|
|
132
134
|
PrivateClusterConfig,
|
|
133
135
|
PrivateClusterMasterGlobalAccessConfig,
|
|
@@ -185,6 +187,7 @@ from .types.cluster_service import (
|
|
|
185
187
|
__all__ = (
|
|
186
188
|
"ClusterManagerAsyncClient",
|
|
187
189
|
"AcceleratorConfig",
|
|
190
|
+
"AdditionalPodRangesConfig",
|
|
188
191
|
"AddonsConfig",
|
|
189
192
|
"AdvancedMachineFeatures",
|
|
190
193
|
"AuthenticatorGroupsConfig",
|
|
@@ -293,6 +296,7 @@ __all__ = (
|
|
|
293
296
|
"NotificationConfig",
|
|
294
297
|
"Operation",
|
|
295
298
|
"OperationProgress",
|
|
299
|
+
"PodCIDROverprovisionConfig",
|
|
296
300
|
"PodSecurityPolicyConfig",
|
|
297
301
|
"PrivateClusterConfig",
|
|
298
302
|
"PrivateClusterMasterGlobalAccessConfig",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
#
|
|
16
16
|
from .cluster_service import (
|
|
17
17
|
AcceleratorConfig,
|
|
18
|
+
AdditionalPodRangesConfig,
|
|
18
19
|
AddonsConfig,
|
|
19
20
|
AdvancedMachineFeatures,
|
|
20
21
|
AuthenticatorGroupsConfig,
|
|
@@ -122,6 +123,7 @@ from .cluster_service import (
|
|
|
122
123
|
NotificationConfig,
|
|
123
124
|
Operation,
|
|
124
125
|
OperationProgress,
|
|
126
|
+
PodCIDROverprovisionConfig,
|
|
125
127
|
PodSecurityPolicyConfig,
|
|
126
128
|
PrivateClusterConfig,
|
|
127
129
|
PrivateClusterMasterGlobalAccessConfig,
|
|
@@ -178,6 +180,7 @@ from .cluster_service import (
|
|
|
178
180
|
|
|
179
181
|
__all__ = (
|
|
180
182
|
"AcceleratorConfig",
|
|
183
|
+
"AdditionalPodRangesConfig",
|
|
181
184
|
"AddonsConfig",
|
|
182
185
|
"AdvancedMachineFeatures",
|
|
183
186
|
"AuthenticatorGroupsConfig",
|
|
@@ -283,6 +286,7 @@ __all__ = (
|
|
|
283
286
|
"NotificationConfig",
|
|
284
287
|
"Operation",
|
|
285
288
|
"OperationProgress",
|
|
289
|
+
"PodCIDROverprovisionConfig",
|
|
286
290
|
"PodSecurityPolicyConfig",
|
|
287
291
|
"PrivateClusterConfig",
|
|
288
292
|
"PrivateClusterMasterGlobalAccessConfig",
|
|
@@ -71,6 +71,7 @@ __protobuf__ = proto.module(
|
|
|
71
71
|
"MasterAuthorizedNetworksConfig",
|
|
72
72
|
"LegacyAbac",
|
|
73
73
|
"NetworkPolicy",
|
|
74
|
+
"PodCIDROverprovisionConfig",
|
|
74
75
|
"IPAllocationPolicy",
|
|
75
76
|
"BinaryAuthorization",
|
|
76
77
|
"PodSecurityPolicyConfig",
|
|
@@ -83,6 +84,7 @@ __protobuf__ = proto.module(
|
|
|
83
84
|
"NodeConfigDefaults",
|
|
84
85
|
"NodePoolAutoConfig",
|
|
85
86
|
"ClusterUpdate",
|
|
87
|
+
"AdditionalPodRangesConfig",
|
|
86
88
|
"Operation",
|
|
87
89
|
"OperationProgress",
|
|
88
90
|
"CreateClusterRequest",
|
|
@@ -902,6 +904,20 @@ class NodeNetworkConfig(proto.Message):
|
|
|
902
904
|
Network bandwidth tier configuration.
|
|
903
905
|
|
|
904
906
|
This field is a member of `oneof`_ ``_network_performance_config``.
|
|
907
|
+
pod_cidr_overprovision_config (google.cloud.container_v1beta1.types.PodCIDROverprovisionConfig):
|
|
908
|
+
[PRIVATE FIELD] Pod CIDR size overprovisioning config for
|
|
909
|
+
the nodepool.
|
|
910
|
+
|
|
911
|
+
Pod CIDR size per node depends on max_pods_per_node. By
|
|
912
|
+
default, the value of max_pods_per_node is rounded off to
|
|
913
|
+
next power of 2 and we then double that to get the size of
|
|
914
|
+
pod CIDR block per node. Example: max_pods_per_node of 30
|
|
915
|
+
would result in 64 IPs (/26).
|
|
916
|
+
|
|
917
|
+
This config can disable the doubling of IPs (we still round
|
|
918
|
+
off to next power of 2) Example: max_pods_per_node of 30
|
|
919
|
+
will result in 32 IPs (/27) when overprovisioning is
|
|
920
|
+
disabled.
|
|
905
921
|
"""
|
|
906
922
|
|
|
907
923
|
class NetworkPerformanceConfig(proto.Message):
|
|
@@ -972,6 +988,11 @@ class NodeNetworkConfig(proto.Message):
|
|
|
972
988
|
optional=True,
|
|
973
989
|
message=NetworkPerformanceConfig,
|
|
974
990
|
)
|
|
991
|
+
pod_cidr_overprovision_config: "PodCIDROverprovisionConfig" = proto.Field(
|
|
992
|
+
proto.MESSAGE,
|
|
993
|
+
number=13,
|
|
994
|
+
message="PodCIDROverprovisionConfig",
|
|
995
|
+
)
|
|
975
996
|
|
|
976
997
|
|
|
977
998
|
class ShieldedInstanceConfig(proto.Message):
|
|
@@ -1933,6 +1954,22 @@ class NetworkPolicy(proto.Message):
|
|
|
1933
1954
|
)
|
|
1934
1955
|
|
|
1935
1956
|
|
|
1957
|
+
class PodCIDROverprovisionConfig(proto.Message):
|
|
1958
|
+
r"""[PRIVATE FIELD] Config for pod CIDR size overprovisioning.
|
|
1959
|
+
|
|
1960
|
+
Attributes:
|
|
1961
|
+
disable (bool):
|
|
1962
|
+
Whether Pod CIDR overprovisioning is
|
|
1963
|
+
disabled. Note: Pod CIDR overprovisioning is
|
|
1964
|
+
enabled by default.
|
|
1965
|
+
"""
|
|
1966
|
+
|
|
1967
|
+
disable: bool = proto.Field(
|
|
1968
|
+
proto.BOOL,
|
|
1969
|
+
number=1,
|
|
1970
|
+
)
|
|
1971
|
+
|
|
1972
|
+
|
|
1936
1973
|
class IPAllocationPolicy(proto.Message):
|
|
1937
1974
|
r"""Configuration for controlling how IPs are allocated in the
|
|
1938
1975
|
cluster.
|
|
@@ -2075,12 +2112,31 @@ class IPAllocationPolicy(proto.Message):
|
|
|
2075
2112
|
ipv6_access_type (google.cloud.container_v1beta1.types.IPAllocationPolicy.IPv6AccessType):
|
|
2076
2113
|
The ipv6 access type (internal or external) when
|
|
2077
2114
|
create_subnetwork is true
|
|
2115
|
+
pod_cidr_overprovision_config (google.cloud.container_v1beta1.types.PodCIDROverprovisionConfig):
|
|
2116
|
+
[PRIVATE FIELD] Pod CIDR size overprovisioning config for
|
|
2117
|
+
the cluster.
|
|
2118
|
+
|
|
2119
|
+
Pod CIDR size per node depends on max_pods_per_node. By
|
|
2120
|
+
default, the value of max_pods_per_node is doubled and then
|
|
2121
|
+
rounded off to next power of 2 to get the size of pod CIDR
|
|
2122
|
+
block per node. Example: max_pods_per_node of 30 would
|
|
2123
|
+
result in 64 IPs (/26).
|
|
2124
|
+
|
|
2125
|
+
This config can disable the doubling of IPs (we still round
|
|
2126
|
+
off to next power of 2) Example: max_pods_per_node of 30
|
|
2127
|
+
will result in 32 IPs (/27) when overprovisioning is
|
|
2128
|
+
disabled.
|
|
2078
2129
|
subnet_ipv6_cidr_block (str):
|
|
2079
2130
|
Output only. [Output only] The subnet's IPv6 CIDR block used
|
|
2080
2131
|
by nodes and pods.
|
|
2081
2132
|
services_ipv6_cidr_block (str):
|
|
2082
2133
|
Output only. [Output only] The services IPv6 CIDR block for
|
|
2083
2134
|
the cluster.
|
|
2135
|
+
additional_pod_ranges_config (google.cloud.container_v1beta1.types.AdditionalPodRangesConfig):
|
|
2136
|
+
Output only. [Output only] The additional pod ranges that
|
|
2137
|
+
are added to the cluster. These pod ranges can be used by
|
|
2138
|
+
new node pools to allocate pod IPs automatically. Once the
|
|
2139
|
+
range is removed it will not show up in IPAllocationPolicy.
|
|
2084
2140
|
"""
|
|
2085
2141
|
|
|
2086
2142
|
class StackType(proto.Enum):
|
|
@@ -2183,6 +2239,11 @@ class IPAllocationPolicy(proto.Message):
|
|
|
2183
2239
|
number=17,
|
|
2184
2240
|
enum=IPv6AccessType,
|
|
2185
2241
|
)
|
|
2242
|
+
pod_cidr_overprovision_config: "PodCIDROverprovisionConfig" = proto.Field(
|
|
2243
|
+
proto.MESSAGE,
|
|
2244
|
+
number=21,
|
|
2245
|
+
message="PodCIDROverprovisionConfig",
|
|
2246
|
+
)
|
|
2186
2247
|
subnet_ipv6_cidr_block: str = proto.Field(
|
|
2187
2248
|
proto.STRING,
|
|
2188
2249
|
number=22,
|
|
@@ -2191,6 +2252,11 @@ class IPAllocationPolicy(proto.Message):
|
|
|
2191
2252
|
proto.STRING,
|
|
2192
2253
|
number=23,
|
|
2193
2254
|
)
|
|
2255
|
+
additional_pod_ranges_config: "AdditionalPodRangesConfig" = proto.Field(
|
|
2256
|
+
proto.MESSAGE,
|
|
2257
|
+
number=24,
|
|
2258
|
+
message="AdditionalPodRangesConfig",
|
|
2259
|
+
)
|
|
2194
2260
|
|
|
2195
2261
|
|
|
2196
2262
|
class BinaryAuthorization(proto.Message):
|
|
@@ -3396,6 +3462,15 @@ class ClusterUpdate(proto.Message):
|
|
|
3396
3462
|
the current stack type of the cluster, update
|
|
3397
3463
|
will attempt to change the stack type to the new
|
|
3398
3464
|
type.
|
|
3465
|
+
additional_pod_ranges_config (google.cloud.container_v1beta1.types.AdditionalPodRangesConfig):
|
|
3466
|
+
The additional pod ranges to be added to the
|
|
3467
|
+
cluster. These pod ranges can be used by node
|
|
3468
|
+
pools to allocate pod IPs.
|
|
3469
|
+
removed_additional_pod_ranges_config (google.cloud.container_v1beta1.types.AdditionalPodRangesConfig):
|
|
3470
|
+
The additional pod ranges that are to be removed from the
|
|
3471
|
+
cluster. The pod ranges specified here must have been
|
|
3472
|
+
specified earlier in the 'additional_pod_ranges_config'
|
|
3473
|
+
argument.
|
|
3399
3474
|
"""
|
|
3400
3475
|
|
|
3401
3476
|
desired_node_version: str = proto.Field(
|
|
@@ -3628,6 +3703,23 @@ class ClusterUpdate(proto.Message):
|
|
|
3628
3703
|
number=119,
|
|
3629
3704
|
enum="StackType",
|
|
3630
3705
|
)
|
|
3706
|
+
additional_pod_ranges_config: "AdditionalPodRangesConfig" = proto.Field(
|
|
3707
|
+
proto.MESSAGE,
|
|
3708
|
+
number=120,
|
|
3709
|
+
message="AdditionalPodRangesConfig",
|
|
3710
|
+
)
|
|
3711
|
+
removed_additional_pod_ranges_config: "AdditionalPodRangesConfig" = proto.Field(
|
|
3712
|
+
proto.MESSAGE,
|
|
3713
|
+
number=121,
|
|
3714
|
+
message="AdditionalPodRangesConfig",
|
|
3715
|
+
)
|
|
3716
|
+
|
|
3717
|
+
|
|
3718
|
+
class AdditionalPodRangesConfig(proto.Message):
|
|
3719
|
+
r"""AdditionalPodRangesConfig is the configuration for additional
|
|
3720
|
+
pod secondary ranges supporting the ClusterUpdate message.
|
|
3721
|
+
|
|
3722
|
+
"""
|
|
3631
3723
|
|
|
3632
3724
|
|
|
3633
3725
|
class Operation(proto.Message):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
{google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/google/cloud/container_v1/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google-cloud-container-2.18.0 → google-cloud-container-2.20.0}/tests/unit/gapic/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|