tencentcloud-sdk-python-tke 3.0.1429__tar.gz → 3.0.1447__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.
Files changed (20) hide show
  1. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/setup.py +1 -1
  3. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/tke/v20180525/models.py +32 -2
  5. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/tke/v20220501/models.py +32 -2
  6. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +1 -1
  7. tencentcloud-sdk-python-tke-3.0.1447/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
  8. tencentcloud-sdk-python-tke-3.0.1429/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
  9. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/README.rst +0 -0
  10. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/setup.cfg +0 -0
  11. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/tke/__init__.py +0 -0
  12. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/tke/v20180525/__init__.py +0 -0
  13. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
  14. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/tke/v20180525/tke_client.py +0 -0
  15. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/tke/v20220501/__init__.py +0 -0
  16. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
  17. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud/tke/v20220501/tke_client.py +0 -0
  18. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
  19. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
  20. {tencentcloud-sdk-python-tke-3.0.1429 → tencentcloud-sdk-python-tke-3.0.1447}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.1429
3
+ Version: 3.0.1447
4
4
  Summary: Tencent Cloud Tke SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
8
8
 
9
9
  setup(
10
10
  name='tencentcloud-sdk-python-tke',
11
- install_requires=["tencentcloud-sdk-python-common>=3.0.1429,<4.0.0"],
11
+ install_requires=["tencentcloud-sdk-python-common>=3.0.1447,<4.0.0"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Tke SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1429'
17
+ __version__ = '3.0.1447'
@@ -2300,6 +2300,8 @@ class ClusterAdvancedSettings(AbstractModel):
2300
2300
  :type CiliumMode: str
2301
2301
  :param _ContainerRuntime: 集群使用的runtime类型,包括"docker"和"containerd"两种类型,默认为"docker"
2302
2302
  :type ContainerRuntime: str
2303
+ :param _DataPlaneV2: 是否启用 DataPlaneV2(cilium替代kube-proxy)
2304
+ :type DataPlaneV2: bool
2303
2305
  :param _DeletionProtection: 是否启用集群删除保护
2304
2306
  :type DeletionProtection: bool
2305
2307
  :param _EnableCustomizedPodCIDR: 是否开节点podCIDR大小的自定义模式
@@ -2322,7 +2324,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2322
2324
  1. 集群版本必须为1.14及以上;
2323
2325
  2. 系统镜像必须是: Tencent Linux 2.4;
2324
2326
  :type KubeProxyMode: str
2325
- :param _NetworkType: 集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
2327
+ :param _NetworkType: 集群网络类型。包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
2326
2328
  :type NetworkType: str
2327
2329
  :param _NodeNameType: 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
2328
2330
  :type NodeNameType: str
@@ -2340,6 +2342,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2340
2342
  self._BasePodNumber = None
2341
2343
  self._CiliumMode = None
2342
2344
  self._ContainerRuntime = None
2345
+ self._DataPlaneV2 = None
2343
2346
  self._DeletionProtection = None
2344
2347
  self._EnableCustomizedPodCIDR = None
2345
2348
  self._EtcdOverrideConfigs = None
@@ -2431,6 +2434,17 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2431
2434
  def ContainerRuntime(self, ContainerRuntime):
2432
2435
  self._ContainerRuntime = ContainerRuntime
2433
2436
 
2437
+ @property
2438
+ def DataPlaneV2(self):
2439
+ """是否启用 DataPlaneV2(cilium替代kube-proxy)
2440
+ :rtype: bool
2441
+ """
2442
+ return self._DataPlaneV2
2443
+
2444
+ @DataPlaneV2.setter
2445
+ def DataPlaneV2(self, DataPlaneV2):
2446
+ self._DataPlaneV2 = DataPlaneV2
2447
+
2434
2448
  @property
2435
2449
  def DeletionProtection(self):
2436
2450
  """是否启用集群删除保护
@@ -2527,7 +2541,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2527
2541
 
2528
2542
  @property
2529
2543
  def NetworkType(self):
2530
- """集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
2544
+ """集群网络类型。包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
2531
2545
  :rtype: str
2532
2546
  """
2533
2547
  return self._NetworkType
@@ -2589,6 +2603,7 @@ ipvs-bpf模式: 设置KubeProxyMode为kube-proxy-bpf
2589
2603
  self._BasePodNumber = params.get("BasePodNumber")
2590
2604
  self._CiliumMode = params.get("CiliumMode")
2591
2605
  self._ContainerRuntime = params.get("ContainerRuntime")
2606
+ self._DataPlaneV2 = params.get("DataPlaneV2")
2592
2607
  self._DeletionProtection = params.get("DeletionProtection")
2593
2608
  self._EnableCustomizedPodCIDR = params.get("EnableCustomizedPodCIDR")
2594
2609
  if params.get("EtcdOverrideConfigs") is not None:
@@ -4053,6 +4068,8 @@ class ClusterNetworkSettings(AbstractModel):
4053
4068
  - 容器网络插件为CiliumOverlay。
4054
4069
  - 支持CDC的托管集群,且网络插件为VPC-CNI。
4055
4070
  :type SubnetId: str
4071
+ :param _DataPlaneV2: 是否启用了 DataPlaneV2(cilium替代kube-proxy)
4072
+ :type DataPlaneV2: bool
4056
4073
  """
4057
4074
  self._ClusterCIDR = None
4058
4075
  self._IgnoreClusterCIDRConflict = None
@@ -4069,6 +4086,7 @@ class ClusterNetworkSettings(AbstractModel):
4069
4086
  self._Ipv6ServiceCIDR = None
4070
4087
  self._CiliumMode = None
4071
4088
  self._SubnetId = None
4089
+ self._DataPlaneV2 = None
4072
4090
 
4073
4091
  @property
4074
4092
  def ClusterCIDR(self):
@@ -4239,6 +4257,17 @@ class ClusterNetworkSettings(AbstractModel):
4239
4257
  def SubnetId(self, SubnetId):
4240
4258
  self._SubnetId = SubnetId
4241
4259
 
4260
+ @property
4261
+ def DataPlaneV2(self):
4262
+ """是否启用了 DataPlaneV2(cilium替代kube-proxy)
4263
+ :rtype: bool
4264
+ """
4265
+ return self._DataPlaneV2
4266
+
4267
+ @DataPlaneV2.setter
4268
+ def DataPlaneV2(self, DataPlaneV2):
4269
+ self._DataPlaneV2 = DataPlaneV2
4270
+
4242
4271
 
4243
4272
  def _deserialize(self, params):
4244
4273
  self._ClusterCIDR = params.get("ClusterCIDR")
@@ -4256,6 +4285,7 @@ class ClusterNetworkSettings(AbstractModel):
4256
4285
  self._Ipv6ServiceCIDR = params.get("Ipv6ServiceCIDR")
4257
4286
  self._CiliumMode = params.get("CiliumMode")
4258
4287
  self._SubnetId = params.get("SubnetId")
4288
+ self._DataPlaneV2 = params.get("DataPlaneV2")
4259
4289
  memeber_set = set(params.keys())
4260
4290
  for name, value in vars(self).items():
4261
4291
  property_name = name[1:]
@@ -363,10 +363,14 @@ class CreateNativeNodePoolParam(AbstractModel):
363
363
  :type InternetAccessible: :class:`tencentcloud.tke.v20220501.models.InternetAccessible`
364
364
  :param _DataDisks: 原生节点池数据盘列表
365
365
  :type DataDisks: list of DataDisk
366
+ :param _QGPUEnable: qgpu开关
367
+ :type QGPUEnable: bool
366
368
  :param _KeyIds: 节点池ssh公钥id数组
367
369
  :type KeyIds: list of str
368
370
  :param _MachineType: 节点池类型
369
371
  :type MachineType: str
372
+ :param _AutomationService: 原生节点池安装节点自动化助手开关
373
+ :type AutomationService: bool
370
374
  """
371
375
  self._Scaling = None
372
376
  self._SubnetIds = None
@@ -387,8 +391,10 @@ class CreateNativeNodePoolParam(AbstractModel):
387
391
  self._Replicas = None
388
392
  self._InternetAccessible = None
389
393
  self._DataDisks = None
394
+ self._QGPUEnable = None
390
395
  self._KeyIds = None
391
396
  self._MachineType = None
397
+ self._AutomationService = None
392
398
 
393
399
  @property
394
400
  def Scaling(self):
@@ -599,6 +605,17 @@ class CreateNativeNodePoolParam(AbstractModel):
599
605
  def DataDisks(self, DataDisks):
600
606
  self._DataDisks = DataDisks
601
607
 
608
+ @property
609
+ def QGPUEnable(self):
610
+ """qgpu开关
611
+ :rtype: bool
612
+ """
613
+ return self._QGPUEnable
614
+
615
+ @QGPUEnable.setter
616
+ def QGPUEnable(self, QGPUEnable):
617
+ self._QGPUEnable = QGPUEnable
618
+
602
619
  @property
603
620
  def KeyIds(self):
604
621
  """节点池ssh公钥id数组
@@ -621,6 +638,17 @@ class CreateNativeNodePoolParam(AbstractModel):
621
638
  def MachineType(self, MachineType):
622
639
  self._MachineType = MachineType
623
640
 
641
+ @property
642
+ def AutomationService(self):
643
+ """原生节点池安装节点自动化助手开关
644
+ :rtype: bool
645
+ """
646
+ return self._AutomationService
647
+
648
+ @AutomationService.setter
649
+ def AutomationService(self, AutomationService):
650
+ self._AutomationService = AutomationService
651
+
624
652
 
625
653
  def _deserialize(self, params):
626
654
  if params.get("Scaling") is not None:
@@ -661,8 +689,10 @@ class CreateNativeNodePoolParam(AbstractModel):
661
689
  obj = DataDisk()
662
690
  obj._deserialize(item)
663
691
  self._DataDisks.append(obj)
692
+ self._QGPUEnable = params.get("QGPUEnable")
664
693
  self._KeyIds = params.get("KeyIds")
665
694
  self._MachineType = params.get("MachineType")
695
+ self._AutomationService = params.get("AutomationService")
666
696
  memeber_set = set(params.keys())
667
697
  for name, value in vars(self).items():
668
698
  property_name = name[1:]
@@ -696,7 +726,7 @@ class CreateNodePoolRequest(AbstractModel):
696
726
  :type DeletionProtection: bool
697
727
  :param _Unschedulable: 节点是否默认不可调度
698
728
  :type Unschedulable: bool
699
- :param _Native: 原生节点池创建参数
729
+ :param _Native: 原生节点池创建参数(Type字段设置为Native时需填写)
700
730
  :type Native: :class:`tencentcloud.tke.v20220501.models.CreateNativeNodePoolParam`
701
731
  :param _Annotations: 节点 Annotation 列表
702
732
  :type Annotations: list of Annotation
@@ -802,7 +832,7 @@ class CreateNodePoolRequest(AbstractModel):
802
832
 
803
833
  @property
804
834
  def Native(self):
805
- """原生节点池创建参数
835
+ """原生节点池创建参数(Type字段设置为Native时需填写)
806
836
  :rtype: :class:`tencentcloud.tke.v20220501.models.CreateNativeNodePoolParam`
807
837
  """
808
838
  return self._Native
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: tencentcloud-sdk-python-tke
3
- Version: 3.0.1429
3
+ Version: 3.0.1447
4
4
  Summary: Tencent Cloud Tke SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common<4.0.0,>=3.0.1447
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common<4.0.0,>=3.0.1429