google-cloud-container 2.33.0__tar.gz → 2.35.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.33.0/google_cloud_container.egg-info → google-cloud-container-2.35.0}/PKG-INFO +5 -1
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container/gapic_version.py +1 -1
- {google-cloud-container-2.33.0/google/cloud/container_v1beta1 → google-cloud-container-2.35.0/google/cloud/container_v1}/gapic_version.py +1 -1
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/types/cluster_service.py +41 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/__init__.py +2 -0
- {google-cloud-container-2.33.0/google/cloud/container_v1 → google-cloud-container-2.35.0/google/cloud/container_v1beta1}/gapic_version.py +1 -1
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/services/cluster_manager/async_client.py +0 -35
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/services/cluster_manager/client.py +0 -35
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/types/__init__.py +2 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/types/cluster_service.py +106 -30
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0/google_cloud_container.egg-info}/PKG-INFO +5 -1
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/LICENSE +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/MANIFEST.in +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/README.rst +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container/py.typed +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/gapic_metadata.json +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/py.typed +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/services/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/services/cluster_manager/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/services/cluster_manager/async_client.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/services/cluster_manager/client.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/services/cluster_manager/pagers.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/services/cluster_manager/transports/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/services/cluster_manager/transports/base.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/services/cluster_manager/transports/grpc_asyncio.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1/types/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/gapic_metadata.json +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/py.typed +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/services/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/services/cluster_manager/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/services/cluster_manager/pagers.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/base.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container_v1beta1/services/cluster_manager/transports/grpc_asyncio.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google_cloud_container.egg-info/SOURCES.txt +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google_cloud_container.egg-info/dependency_links.txt +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google_cloud_container.egg-info/namespace_packages.txt +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google_cloud_container.egg-info/not-zip-safe +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google_cloud_container.egg-info/requires.txt +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google_cloud_container.egg-info/top_level.txt +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/setup.cfg +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/setup.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/tests/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/tests/system/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/tests/system/smoke_test.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/tests/unit/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/tests/unit/gapic/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/tests/unit/gapic/container_v1/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/tests/unit/gapic/container_v1/test_cluster_manager.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/tests/unit/gapic/container_v1beta1/__init__.py +0 -0
- {google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/tests/unit/gapic/container_v1beta1/test_cluster_manager.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: google-cloud-container
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.35.0
|
|
4
4
|
Summary: Google Cloud Container API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python
|
|
6
6
|
Author: Google LLC
|
|
@@ -21,6 +21,10 @@ Classifier: Operating System :: OS Independent
|
|
|
21
21
|
Classifier: Topic :: Internet
|
|
22
22
|
Requires-Python: >=3.7
|
|
23
23
|
License-File: LICENSE
|
|
24
|
+
Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
|
|
25
|
+
Requires-Dist: proto-plus<2.0.0dev,>=1.22.0
|
|
26
|
+
Requires-Dist: proto-plus<2.0.0dev,>=1.22.2; python_version >= "3.11"
|
|
27
|
+
Requires-Dist: protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5
|
|
24
28
|
|
|
25
29
|
Python Client for Kubernetes Engine
|
|
26
30
|
===================================
|
|
@@ -3090,10 +3090,14 @@ class SecurityPostureConfig(proto.Message):
|
|
|
3090
3090
|
VULNERABILITY_BASIC (2):
|
|
3091
3091
|
Applies basic vulnerability scanning on the
|
|
3092
3092
|
cluster.
|
|
3093
|
+
VULNERABILITY_ENTERPRISE (3):
|
|
3094
|
+
Applies the Security Posture's vulnerability
|
|
3095
|
+
on cluster Enterprise level features.
|
|
3093
3096
|
"""
|
|
3094
3097
|
VULNERABILITY_MODE_UNSPECIFIED = 0
|
|
3095
3098
|
VULNERABILITY_DISABLED = 1
|
|
3096
3099
|
VULNERABILITY_BASIC = 2
|
|
3100
|
+
VULNERABILITY_ENTERPRISE = 3
|
|
3097
3101
|
|
|
3098
3102
|
mode: Mode = proto.Field(
|
|
3099
3103
|
proto.ENUM,
|
|
@@ -5638,6 +5642,9 @@ class NodePool(proto.Message):
|
|
|
5638
5642
|
on the value of node pool fields, and may be
|
|
5639
5643
|
sent on update requests to ensure the client has
|
|
5640
5644
|
an up-to-date value before proceeding.
|
|
5645
|
+
queued_provisioning (google.cloud.container_v1.types.NodePool.QueuedProvisioning):
|
|
5646
|
+
Specifies the configuration of queued
|
|
5647
|
+
provisioning.
|
|
5641
5648
|
best_effort_provisioning (google.cloud.container_v1.types.BestEffortProvisioning):
|
|
5642
5649
|
Enable best effort provisioning for nodes
|
|
5643
5650
|
"""
|
|
@@ -5916,6 +5923,23 @@ class NodePool(proto.Message):
|
|
|
5916
5923
|
number=3,
|
|
5917
5924
|
)
|
|
5918
5925
|
|
|
5926
|
+
class QueuedProvisioning(proto.Message):
|
|
5927
|
+
r"""QueuedProvisioning defines the queued provisioning used by
|
|
5928
|
+
the node pool.
|
|
5929
|
+
|
|
5930
|
+
Attributes:
|
|
5931
|
+
enabled (bool):
|
|
5932
|
+
Denotes that this nodepool is QRM specific,
|
|
5933
|
+
meaning nodes can be only obtained through
|
|
5934
|
+
queuing via the Cluster Autoscaler
|
|
5935
|
+
ProvisioningRequest API.
|
|
5936
|
+
"""
|
|
5937
|
+
|
|
5938
|
+
enabled: bool = proto.Field(
|
|
5939
|
+
proto.BOOL,
|
|
5940
|
+
number=1,
|
|
5941
|
+
)
|
|
5942
|
+
|
|
5919
5943
|
name: str = proto.Field(
|
|
5920
5944
|
proto.STRING,
|
|
5921
5945
|
number=1,
|
|
@@ -6002,6 +6026,11 @@ class NodePool(proto.Message):
|
|
|
6002
6026
|
proto.STRING,
|
|
6003
6027
|
number=110,
|
|
6004
6028
|
)
|
|
6029
|
+
queued_provisioning: QueuedProvisioning = proto.Field(
|
|
6030
|
+
proto.MESSAGE,
|
|
6031
|
+
number=112,
|
|
6032
|
+
message=QueuedProvisioning,
|
|
6033
|
+
)
|
|
6005
6034
|
best_effort_provisioning: "BestEffortProvisioning" = proto.Field(
|
|
6006
6035
|
proto.MESSAGE,
|
|
6007
6036
|
number=113,
|
|
@@ -8899,11 +8928,18 @@ class AdvancedDatapathObservabilityConfig(proto.Message):
|
|
|
8899
8928
|
r"""AdvancedDatapathObservabilityConfig specifies configuration
|
|
8900
8929
|
of observability features of advanced datapath.
|
|
8901
8930
|
|
|
8931
|
+
|
|
8932
|
+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
|
|
8933
|
+
|
|
8902
8934
|
Attributes:
|
|
8903
8935
|
enable_metrics (bool):
|
|
8904
8936
|
Expose flow metrics on nodes
|
|
8905
8937
|
relay_mode (google.cloud.container_v1.types.AdvancedDatapathObservabilityConfig.RelayMode):
|
|
8906
8938
|
Method used to make Relay available
|
|
8939
|
+
enable_relay (bool):
|
|
8940
|
+
Enable Relay component
|
|
8941
|
+
|
|
8942
|
+
This field is a member of `oneof`_ ``_enable_relay``.
|
|
8907
8943
|
"""
|
|
8908
8944
|
|
|
8909
8945
|
class RelayMode(proto.Enum):
|
|
@@ -8933,6 +8969,11 @@ class AdvancedDatapathObservabilityConfig(proto.Message):
|
|
|
8933
8969
|
number=2,
|
|
8934
8970
|
enum=RelayMode,
|
|
8935
8971
|
)
|
|
8972
|
+
enable_relay: bool = proto.Field(
|
|
8973
|
+
proto.BOOL,
|
|
8974
|
+
number=3,
|
|
8975
|
+
optional=True,
|
|
8976
|
+
)
|
|
8936
8977
|
|
|
8937
8978
|
|
|
8938
8979
|
class NodePoolLoggingConfig(proto.Message):
|
|
@@ -30,6 +30,7 @@ from .types.cluster_service import (
|
|
|
30
30
|
AuthenticatorGroupsConfig,
|
|
31
31
|
Autopilot,
|
|
32
32
|
AutopilotCompatibilityIssue,
|
|
33
|
+
AutopilotConversionStatus,
|
|
33
34
|
AutoprovisioningNodePoolDefaults,
|
|
34
35
|
AutoUpgradeOptions,
|
|
35
36
|
BestEffortProvisioning,
|
|
@@ -215,6 +216,7 @@ __all__ = (
|
|
|
215
216
|
"AutoUpgradeOptions",
|
|
216
217
|
"Autopilot",
|
|
217
218
|
"AutopilotCompatibilityIssue",
|
|
219
|
+
"AutopilotConversionStatus",
|
|
218
220
|
"AutoprovisioningNodePoolDefaults",
|
|
219
221
|
"BestEffortProvisioning",
|
|
220
222
|
"BinaryAuthorization",
|
|
@@ -2824,41 +2824,6 @@ class ClusterManagerAsyncClient:
|
|
|
2824
2824
|
may be used to reference them during pod
|
|
2825
2825
|
scheduling. They may also be resized up
|
|
2826
2826
|
or down, to accommodate the workload.
|
|
2827
|
-
These upgrade settings control the level
|
|
2828
|
-
of parallelism and the level of
|
|
2829
|
-
disruption caused by an upgrade.
|
|
2830
|
-
|
|
2831
|
-
maxUnavailable controls the number of
|
|
2832
|
-
nodes that can be simultaneously
|
|
2833
|
-
unavailable.
|
|
2834
|
-
|
|
2835
|
-
maxSurge controls the number of
|
|
2836
|
-
additional nodes that can be added to
|
|
2837
|
-
the node pool temporarily for the time
|
|
2838
|
-
of the upgrade to increase the number of
|
|
2839
|
-
available nodes.
|
|
2840
|
-
|
|
2841
|
-
(maxUnavailable + maxSurge) determines
|
|
2842
|
-
the level of parallelism (how many nodes
|
|
2843
|
-
are being upgraded at the same time).
|
|
2844
|
-
|
|
2845
|
-
Note: upgrades inevitably introduce some
|
|
2846
|
-
disruption since workloads need to be
|
|
2847
|
-
moved from old nodes to new, upgraded
|
|
2848
|
-
ones. Even if maxUnavailable=0, this
|
|
2849
|
-
holds true. (Disruption stays within the
|
|
2850
|
-
limits of PodDisruptionBudget, if it is
|
|
2851
|
-
configured.)
|
|
2852
|
-
|
|
2853
|
-
Consider a hypothetical node pool with 5
|
|
2854
|
-
nodes having maxSurge=2,
|
|
2855
|
-
maxUnavailable=1. This means the upgrade
|
|
2856
|
-
process upgrades 3 nodes simultaneously.
|
|
2857
|
-
It creates 2 additional (upgraded)
|
|
2858
|
-
nodes, then it brings down 3 old (not
|
|
2859
|
-
yet upgraded) nodes at the same time.
|
|
2860
|
-
This ensures that there are always at
|
|
2861
|
-
least 4 nodes available.
|
|
2862
2827
|
|
|
2863
2828
|
"""
|
|
2864
2829
|
# Create or coerce a protobuf request object.
|
|
@@ -2982,41 +2982,6 @@ class ClusterManagerClient(metaclass=ClusterManagerClientMeta):
|
|
|
2982
2982
|
may be used to reference them during pod
|
|
2983
2983
|
scheduling. They may also be resized up
|
|
2984
2984
|
or down, to accommodate the workload.
|
|
2985
|
-
These upgrade settings control the level
|
|
2986
|
-
of parallelism and the level of
|
|
2987
|
-
disruption caused by an upgrade.
|
|
2988
|
-
|
|
2989
|
-
maxUnavailable controls the number of
|
|
2990
|
-
nodes that can be simultaneously
|
|
2991
|
-
unavailable.
|
|
2992
|
-
|
|
2993
|
-
maxSurge controls the number of
|
|
2994
|
-
additional nodes that can be added to
|
|
2995
|
-
the node pool temporarily for the time
|
|
2996
|
-
of the upgrade to increase the number of
|
|
2997
|
-
available nodes.
|
|
2998
|
-
|
|
2999
|
-
(maxUnavailable + maxSurge) determines
|
|
3000
|
-
the level of parallelism (how many nodes
|
|
3001
|
-
are being upgraded at the same time).
|
|
3002
|
-
|
|
3003
|
-
Note: upgrades inevitably introduce some
|
|
3004
|
-
disruption since workloads need to be
|
|
3005
|
-
moved from old nodes to new, upgraded
|
|
3006
|
-
ones. Even if maxUnavailable=0, this
|
|
3007
|
-
holds true. (Disruption stays within the
|
|
3008
|
-
limits of PodDisruptionBudget, if it is
|
|
3009
|
-
configured.)
|
|
3010
|
-
|
|
3011
|
-
Consider a hypothetical node pool with 5
|
|
3012
|
-
nodes having maxSurge=2,
|
|
3013
|
-
maxUnavailable=1. This means the upgrade
|
|
3014
|
-
process upgrades 3 nodes simultaneously.
|
|
3015
|
-
It creates 2 additional (upgraded)
|
|
3016
|
-
nodes, then it brings down 3 old (not
|
|
3017
|
-
yet upgraded) nodes at the same time.
|
|
3018
|
-
This ensures that there are always at
|
|
3019
|
-
least 4 nodes available.
|
|
3020
2985
|
|
|
3021
2986
|
"""
|
|
3022
2987
|
# Create or coerce a protobuf request object.
|
|
@@ -24,6 +24,7 @@ from .cluster_service import (
|
|
|
24
24
|
AuthenticatorGroupsConfig,
|
|
25
25
|
Autopilot,
|
|
26
26
|
AutopilotCompatibilityIssue,
|
|
27
|
+
AutopilotConversionStatus,
|
|
27
28
|
AutoprovisioningNodePoolDefaults,
|
|
28
29
|
AutoUpgradeOptions,
|
|
29
30
|
BestEffortProvisioning,
|
|
@@ -207,6 +208,7 @@ __all__ = (
|
|
|
207
208
|
"AuthenticatorGroupsConfig",
|
|
208
209
|
"Autopilot",
|
|
209
210
|
"AutopilotCompatibilityIssue",
|
|
211
|
+
"AutopilotConversionStatus",
|
|
210
212
|
"AutoprovisioningNodePoolDefaults",
|
|
211
213
|
"AutoUpgradeOptions",
|
|
212
214
|
"BestEffortProvisioning",
|
|
@@ -190,6 +190,7 @@ __protobuf__ = proto.module(
|
|
|
190
190
|
"CostManagementConfig",
|
|
191
191
|
"TpuConfig",
|
|
192
192
|
"Master",
|
|
193
|
+
"AutopilotConversionStatus",
|
|
193
194
|
"Autopilot",
|
|
194
195
|
"WorkloadPolicyConfig",
|
|
195
196
|
"NotificationConfig",
|
|
@@ -2716,12 +2717,13 @@ class BinaryAuthorization(proto.Message):
|
|
|
2716
2717
|
singleton policy. This is equivalent to setting
|
|
2717
2718
|
the enabled boolean to true.
|
|
2718
2719
|
POLICY_BINDINGS (5):
|
|
2719
|
-
Use Binary Authorization with the
|
|
2720
|
-
policy_bindings.
|
|
2720
|
+
Use Binary Authorization Continuous Validation with the
|
|
2721
|
+
policies specified in policy_bindings.
|
|
2721
2722
|
POLICY_BINDINGS_AND_PROJECT_SINGLETON_POLICY_ENFORCE (6):
|
|
2722
|
-
Use Binary Authorization with the
|
|
2723
|
-
|
|
2724
|
-
|
|
2723
|
+
Use Binary Authorization Continuous Validation with the
|
|
2724
|
+
policies specified in policy_bindings and enforce Kubernetes
|
|
2725
|
+
admission requests with Binary Authorization using the
|
|
2726
|
+
project's singleton policy.
|
|
2725
2727
|
"""
|
|
2726
2728
|
EVALUATION_MODE_UNSPECIFIED = 0
|
|
2727
2729
|
DISABLED = 1
|
|
@@ -6427,30 +6429,6 @@ class NodePool(proto.Message):
|
|
|
6427
6429
|
to them, which may be used to reference them during pod
|
|
6428
6430
|
scheduling. They may also be resized up or down, to accommodate
|
|
6429
6431
|
the workload.
|
|
6430
|
-
These upgrade settings control the level of parallelism and the
|
|
6431
|
-
level of disruption caused by an upgrade.
|
|
6432
|
-
|
|
6433
|
-
maxUnavailable controls the number of nodes that can be
|
|
6434
|
-
simultaneously unavailable.
|
|
6435
|
-
|
|
6436
|
-
maxSurge controls the number of additional nodes that can be
|
|
6437
|
-
added to the node pool temporarily for the time of the upgrade
|
|
6438
|
-
to increase the number of available nodes.
|
|
6439
|
-
|
|
6440
|
-
(maxUnavailable + maxSurge) determines the level of parallelism
|
|
6441
|
-
(how many nodes are being upgraded at the same time).
|
|
6442
|
-
|
|
6443
|
-
Note: upgrades inevitably introduce some disruption since
|
|
6444
|
-
workloads need to be moved from old nodes to new, upgraded ones.
|
|
6445
|
-
Even if maxUnavailable=0, this holds true. (Disruption stays
|
|
6446
|
-
within the limits of PodDisruptionBudget, if it is configured.)
|
|
6447
|
-
|
|
6448
|
-
Consider a hypothetical node pool with 5 nodes having
|
|
6449
|
-
maxSurge=2, maxUnavailable=1. This means the upgrade process
|
|
6450
|
-
upgrades 3 nodes simultaneously. It creates 2 additional
|
|
6451
|
-
(upgraded) nodes, then it brings down 3 old (not yet upgraded)
|
|
6452
|
-
nodes at the same time. This ensures that there are always at
|
|
6453
|
-
least 4 nodes available.
|
|
6454
6432
|
|
|
6455
6433
|
Attributes:
|
|
6456
6434
|
name (str):
|
|
@@ -6526,6 +6504,9 @@ class NodePool(proto.Message):
|
|
|
6526
6504
|
on the value of node pool fields, and may be
|
|
6527
6505
|
sent on update requests to ensure the client has
|
|
6528
6506
|
an up-to-date value before proceeding.
|
|
6507
|
+
queued_provisioning (google.cloud.container_v1beta1.types.NodePool.QueuedProvisioning):
|
|
6508
|
+
Specifies the configuration of queued
|
|
6509
|
+
provisioning.
|
|
6529
6510
|
best_effort_provisioning (google.cloud.container_v1beta1.types.BestEffortProvisioning):
|
|
6530
6511
|
Enable best effort provisioning for nodes
|
|
6531
6512
|
"""
|
|
@@ -6568,7 +6549,31 @@ class NodePool(proto.Message):
|
|
|
6568
6549
|
ERROR = 6
|
|
6569
6550
|
|
|
6570
6551
|
class UpgradeSettings(proto.Message):
|
|
6571
|
-
r"""These upgrade settings
|
|
6552
|
+
r"""These upgrade settings control the level of parallelism and the
|
|
6553
|
+
level of disruption caused by an upgrade.
|
|
6554
|
+
|
|
6555
|
+
maxUnavailable controls the number of nodes that can be
|
|
6556
|
+
simultaneously unavailable.
|
|
6557
|
+
|
|
6558
|
+
maxSurge controls the number of additional nodes that can be added
|
|
6559
|
+
to the node pool temporarily for the time of the upgrade to increase
|
|
6560
|
+
the number of available nodes.
|
|
6561
|
+
|
|
6562
|
+
(maxUnavailable + maxSurge) determines the level of parallelism (how
|
|
6563
|
+
many nodes are being upgraded at the same time).
|
|
6564
|
+
|
|
6565
|
+
Note: upgrades inevitably introduce some disruption since workloads
|
|
6566
|
+
need to be moved from old nodes to new, upgraded ones. Even if
|
|
6567
|
+
maxUnavailable=0, this holds true. (Disruption stays within the
|
|
6568
|
+
limits of PodDisruptionBudget, if it is configured.)
|
|
6569
|
+
|
|
6570
|
+
Consider a hypothetical node pool with 5 nodes having maxSurge=2,
|
|
6571
|
+
maxUnavailable=1. This means the upgrade process upgrades 3 nodes
|
|
6572
|
+
simultaneously. It creates 2 additional (upgraded) nodes, then it
|
|
6573
|
+
brings down 3 old (not yet upgraded) nodes at the same time. This
|
|
6574
|
+
ensures that there are always at least 4 nodes available.
|
|
6575
|
+
|
|
6576
|
+
These upgrade settings configure the upgrade strategy for the node
|
|
6572
6577
|
pool. Use strategy to switch between the strategies applied to the
|
|
6573
6578
|
node pool.
|
|
6574
6579
|
|
|
@@ -6784,6 +6789,23 @@ class NodePool(proto.Message):
|
|
|
6784
6789
|
number=3,
|
|
6785
6790
|
)
|
|
6786
6791
|
|
|
6792
|
+
class QueuedProvisioning(proto.Message):
|
|
6793
|
+
r"""QueuedProvisioning defines the queued provisioning used by
|
|
6794
|
+
the node pool.
|
|
6795
|
+
|
|
6796
|
+
Attributes:
|
|
6797
|
+
enabled (bool):
|
|
6798
|
+
Denotes that this nodepool is QRM specific,
|
|
6799
|
+
meaning nodes can be only obtained through
|
|
6800
|
+
queuing via the Cluster Autoscaler
|
|
6801
|
+
ProvisioningRequest API.
|
|
6802
|
+
"""
|
|
6803
|
+
|
|
6804
|
+
enabled: bool = proto.Field(
|
|
6805
|
+
proto.BOOL,
|
|
6806
|
+
number=1,
|
|
6807
|
+
)
|
|
6808
|
+
|
|
6787
6809
|
name: str = proto.Field(
|
|
6788
6810
|
proto.STRING,
|
|
6789
6811
|
number=1,
|
|
@@ -6870,6 +6892,11 @@ class NodePool(proto.Message):
|
|
|
6870
6892
|
proto.STRING,
|
|
6871
6893
|
number=110,
|
|
6872
6894
|
)
|
|
6895
|
+
queued_provisioning: QueuedProvisioning = proto.Field(
|
|
6896
|
+
proto.MESSAGE,
|
|
6897
|
+
number=112,
|
|
6898
|
+
message=QueuedProvisioning,
|
|
6899
|
+
)
|
|
6873
6900
|
best_effort_provisioning: "BestEffortProvisioning" = proto.Field(
|
|
6874
6901
|
proto.MESSAGE,
|
|
6875
6902
|
number=113,
|
|
@@ -9584,6 +9611,36 @@ class Master(proto.Message):
|
|
|
9584
9611
|
r"""Master is the configuration for components on master."""
|
|
9585
9612
|
|
|
9586
9613
|
|
|
9614
|
+
class AutopilotConversionStatus(proto.Message):
|
|
9615
|
+
r"""AutopilotConversionStatus represents conversion status.
|
|
9616
|
+
|
|
9617
|
+
Attributes:
|
|
9618
|
+
state (google.cloud.container_v1beta1.types.AutopilotConversionStatus.State):
|
|
9619
|
+
Output only. The current state of the
|
|
9620
|
+
conversion.
|
|
9621
|
+
"""
|
|
9622
|
+
|
|
9623
|
+
class State(proto.Enum):
|
|
9624
|
+
r"""The current state of the conversion.
|
|
9625
|
+
|
|
9626
|
+
Values:
|
|
9627
|
+
STATE_UNSPECIFIED (0):
|
|
9628
|
+
STATE_UNSPECIFIED indicates the state is unspecified.
|
|
9629
|
+
DONE (5):
|
|
9630
|
+
DONE indicates the conversion has been
|
|
9631
|
+
completed. Old node pools will continue being
|
|
9632
|
+
deleted in the background.
|
|
9633
|
+
"""
|
|
9634
|
+
STATE_UNSPECIFIED = 0
|
|
9635
|
+
DONE = 5
|
|
9636
|
+
|
|
9637
|
+
state: State = proto.Field(
|
|
9638
|
+
proto.ENUM,
|
|
9639
|
+
number=2,
|
|
9640
|
+
enum=State,
|
|
9641
|
+
)
|
|
9642
|
+
|
|
9643
|
+
|
|
9587
9644
|
class Autopilot(proto.Message):
|
|
9588
9645
|
r"""Autopilot is the configuration for Autopilot settings on the
|
|
9589
9646
|
cluster.
|
|
@@ -9593,6 +9650,8 @@ class Autopilot(proto.Message):
|
|
|
9593
9650
|
Enable Autopilot
|
|
9594
9651
|
workload_policy_config (google.cloud.container_v1beta1.types.WorkloadPolicyConfig):
|
|
9595
9652
|
Workload policy configuration for Autopilot.
|
|
9653
|
+
conversion_status (google.cloud.container_v1beta1.types.AutopilotConversionStatus):
|
|
9654
|
+
ConversionStatus shows conversion status.
|
|
9596
9655
|
"""
|
|
9597
9656
|
|
|
9598
9657
|
enabled: bool = proto.Field(
|
|
@@ -9604,6 +9663,11 @@ class Autopilot(proto.Message):
|
|
|
9604
9663
|
number=2,
|
|
9605
9664
|
message="WorkloadPolicyConfig",
|
|
9606
9665
|
)
|
|
9666
|
+
conversion_status: "AutopilotConversionStatus" = proto.Field(
|
|
9667
|
+
proto.MESSAGE,
|
|
9668
|
+
number=3,
|
|
9669
|
+
message="AutopilotConversionStatus",
|
|
9670
|
+
)
|
|
9607
9671
|
|
|
9608
9672
|
|
|
9609
9673
|
class WorkloadPolicyConfig(proto.Message):
|
|
@@ -10018,11 +10082,18 @@ class AdvancedDatapathObservabilityConfig(proto.Message):
|
|
|
10018
10082
|
r"""AdvancedDatapathObservabilityConfig specifies configuration
|
|
10019
10083
|
of observability features of advanced datapath.
|
|
10020
10084
|
|
|
10085
|
+
|
|
10086
|
+
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
|
|
10087
|
+
|
|
10021
10088
|
Attributes:
|
|
10022
10089
|
enable_metrics (bool):
|
|
10023
10090
|
Expose flow metrics on nodes
|
|
10024
10091
|
relay_mode (google.cloud.container_v1beta1.types.AdvancedDatapathObservabilityConfig.RelayMode):
|
|
10025
10092
|
Method used to make Relay available
|
|
10093
|
+
enable_relay (bool):
|
|
10094
|
+
Enable Relay component
|
|
10095
|
+
|
|
10096
|
+
This field is a member of `oneof`_ ``_enable_relay``.
|
|
10026
10097
|
"""
|
|
10027
10098
|
|
|
10028
10099
|
class RelayMode(proto.Enum):
|
|
@@ -10052,6 +10123,11 @@ class AdvancedDatapathObservabilityConfig(proto.Message):
|
|
|
10052
10123
|
number=2,
|
|
10053
10124
|
enum=RelayMode,
|
|
10054
10125
|
)
|
|
10126
|
+
enable_relay: bool = proto.Field(
|
|
10127
|
+
proto.BOOL,
|
|
10128
|
+
number=3,
|
|
10129
|
+
optional=True,
|
|
10130
|
+
)
|
|
10055
10131
|
|
|
10056
10132
|
|
|
10057
10133
|
class NodePoolLoggingConfig(proto.Message):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: google-cloud-container
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.35.0
|
|
4
4
|
Summary: Google Cloud Container API client library
|
|
5
5
|
Home-page: https://github.com/googleapis/google-cloud-python
|
|
6
6
|
Author: Google LLC
|
|
@@ -21,6 +21,10 @@ Classifier: Operating System :: OS Independent
|
|
|
21
21
|
Classifier: Topic :: Internet
|
|
22
22
|
Requires-Python: >=3.7
|
|
23
23
|
License-File: LICENSE
|
|
24
|
+
Requires-Dist: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0
|
|
25
|
+
Requires-Dist: proto-plus<2.0.0dev,>=1.22.0
|
|
26
|
+
Requires-Dist: proto-plus<2.0.0dev,>=1.22.2; python_version >= "3.11"
|
|
27
|
+
Requires-Dist: protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5
|
|
24
28
|
|
|
25
29
|
Python Client for Kubernetes Engine
|
|
26
30
|
===================================
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container/__init__.py
RENAMED
|
File without changes
|
{google-cloud-container-2.33.0 → google-cloud-container-2.35.0}/google/cloud/container/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{google-cloud-container-2.33.0 → google-cloud-container-2.35.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.33.0 → google-cloud-container-2.35.0}/tests/unit/gapic/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|