tencentcloud-sdk-python-tke 3.1.112__tar.gz → 3.1.121__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.
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/setup.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20180525/models.py +69 -58
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud_sdk_python_tke.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_tke-3.1.121/tencentcloud_sdk_python_tke.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_tke-3.1.112/tencentcloud_sdk_python_tke.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/README.rst +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/setup.cfg +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20180525/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20180525/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20180525/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20180525/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20220501/__init__.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20220501/errorcodes.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20220501/models.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20220501/tke_client.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud/tke/v20220501/tke_client_async.py +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud_sdk_python_tke.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud_sdk_python_tke.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_tke-3.1.112 → tencentcloud_sdk_python_tke-3.1.121}/tencentcloud_sdk_python_tke.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.121
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.121
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.121,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Tke SDK for Python',
|
|
@@ -7342,27 +7342,27 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7342
7342
|
|
|
7343
7343
|
def __init__(self):
|
|
7344
7344
|
r"""
|
|
7345
|
-
:param _ClusterType:
|
|
7345
|
+
:param _ClusterType: <p>集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。</p>
|
|
7346
7346
|
:type ClusterType: str
|
|
7347
|
-
:param _ClusterCIDRSettings:
|
|
7347
|
+
:param _ClusterCIDRSettings: <p>集群容器网络配置信息</p>
|
|
7348
7348
|
:type ClusterCIDRSettings: :class:`tencentcloud.tke.v20180525.models.ClusterCIDRSettings`
|
|
7349
|
-
:param _RunInstancesForNode: CVM创建透传参数,json
|
|
7349
|
+
:param _RunInstancesForNode: <p>CVM创建透传参数,json化字符串格式,详见<a href="https://cloud.tencent.com/document/product/213/15730">CVM创建实例</a>接口。总机型(包括地域)数量不超过10个,相同机型(地域)购买多台机器可以通过设置参数中RunInstances中InstanceCount来实现。</p>
|
|
7350
7350
|
:type RunInstancesForNode: list of RunInstancesForNode
|
|
7351
|
-
:param _ClusterBasicSettings:
|
|
7351
|
+
:param _ClusterBasicSettings: <p>集群的基本配置信息</p>
|
|
7352
7352
|
:type ClusterBasicSettings: :class:`tencentcloud.tke.v20180525.models.ClusterBasicSettings`
|
|
7353
|
-
:param _ClusterAdvancedSettings:
|
|
7353
|
+
:param _ClusterAdvancedSettings: <p>集群高级配置信息</p>
|
|
7354
7354
|
:type ClusterAdvancedSettings: :class:`tencentcloud.tke.v20180525.models.ClusterAdvancedSettings`
|
|
7355
|
-
:param _InstanceAdvancedSettings:
|
|
7355
|
+
:param _InstanceAdvancedSettings: <p>节点高级配置信息</p>
|
|
7356
7356
|
:type InstanceAdvancedSettings: :class:`tencentcloud.tke.v20180525.models.InstanceAdvancedSettings`
|
|
7357
|
-
:param _ExistedInstancesForNode:
|
|
7357
|
+
:param _ExistedInstancesForNode: <p>已存在实例的配置信息。所有实例必须在同一个VPC中,最大数量不超过 50,不支持添加竞价实例。</p>
|
|
7358
7358
|
:type ExistedInstancesForNode: list of ExistedInstancesForNode
|
|
7359
|
-
:param _InstanceDataDiskMountSettings: CVM
|
|
7359
|
+
:param _InstanceDataDiskMountSettings: <p>CVM类型和其对应的数据盘挂载配置信息</p>
|
|
7360
7360
|
:type InstanceDataDiskMountSettings: list of InstanceDataDiskMountSetting
|
|
7361
|
-
:param _ExtensionAddons:
|
|
7361
|
+
:param _ExtensionAddons: <p>需要安装的扩展组件信息</p>
|
|
7362
7362
|
:type ExtensionAddons: list of ExtensionAddon
|
|
7363
|
-
:param _CdcId:
|
|
7363
|
+
:param _CdcId: <p>本地专用集群Id</p>
|
|
7364
7364
|
:type CdcId: str
|
|
7365
|
-
:param _DisableAddons:
|
|
7365
|
+
:param _DisableAddons: <p>屏蔽安装指定Addon组件,填写相应的AddonName</p>
|
|
7366
7366
|
:type DisableAddons: list of str
|
|
7367
7367
|
"""
|
|
7368
7368
|
self._ClusterType = None
|
|
@@ -7379,7 +7379,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7379
7379
|
|
|
7380
7380
|
@property
|
|
7381
7381
|
def ClusterType(self):
|
|
7382
|
-
r"""
|
|
7382
|
+
r"""<p>集群类型,托管集群:MANAGED_CLUSTER,独立集群:INDEPENDENT_CLUSTER。</p>
|
|
7383
7383
|
:rtype: str
|
|
7384
7384
|
"""
|
|
7385
7385
|
return self._ClusterType
|
|
@@ -7390,7 +7390,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7390
7390
|
|
|
7391
7391
|
@property
|
|
7392
7392
|
def ClusterCIDRSettings(self):
|
|
7393
|
-
r"""
|
|
7393
|
+
r"""<p>集群容器网络配置信息</p>
|
|
7394
7394
|
:rtype: :class:`tencentcloud.tke.v20180525.models.ClusterCIDRSettings`
|
|
7395
7395
|
"""
|
|
7396
7396
|
return self._ClusterCIDRSettings
|
|
@@ -7401,7 +7401,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7401
7401
|
|
|
7402
7402
|
@property
|
|
7403
7403
|
def RunInstancesForNode(self):
|
|
7404
|
-
r"""CVM创建透传参数,json
|
|
7404
|
+
r"""<p>CVM创建透传参数,json化字符串格式,详见<a href="https://cloud.tencent.com/document/product/213/15730">CVM创建实例</a>接口。总机型(包括地域)数量不超过10个,相同机型(地域)购买多台机器可以通过设置参数中RunInstances中InstanceCount来实现。</p>
|
|
7405
7405
|
:rtype: list of RunInstancesForNode
|
|
7406
7406
|
"""
|
|
7407
7407
|
return self._RunInstancesForNode
|
|
@@ -7412,7 +7412,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7412
7412
|
|
|
7413
7413
|
@property
|
|
7414
7414
|
def ClusterBasicSettings(self):
|
|
7415
|
-
r"""
|
|
7415
|
+
r"""<p>集群的基本配置信息</p>
|
|
7416
7416
|
:rtype: :class:`tencentcloud.tke.v20180525.models.ClusterBasicSettings`
|
|
7417
7417
|
"""
|
|
7418
7418
|
return self._ClusterBasicSettings
|
|
@@ -7423,7 +7423,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7423
7423
|
|
|
7424
7424
|
@property
|
|
7425
7425
|
def ClusterAdvancedSettings(self):
|
|
7426
|
-
r"""
|
|
7426
|
+
r"""<p>集群高级配置信息</p>
|
|
7427
7427
|
:rtype: :class:`tencentcloud.tke.v20180525.models.ClusterAdvancedSettings`
|
|
7428
7428
|
"""
|
|
7429
7429
|
return self._ClusterAdvancedSettings
|
|
@@ -7434,7 +7434,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7434
7434
|
|
|
7435
7435
|
@property
|
|
7436
7436
|
def InstanceAdvancedSettings(self):
|
|
7437
|
-
r"""
|
|
7437
|
+
r"""<p>节点高级配置信息</p>
|
|
7438
7438
|
:rtype: :class:`tencentcloud.tke.v20180525.models.InstanceAdvancedSettings`
|
|
7439
7439
|
"""
|
|
7440
7440
|
return self._InstanceAdvancedSettings
|
|
@@ -7445,7 +7445,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7445
7445
|
|
|
7446
7446
|
@property
|
|
7447
7447
|
def ExistedInstancesForNode(self):
|
|
7448
|
-
r"""
|
|
7448
|
+
r"""<p>已存在实例的配置信息。所有实例必须在同一个VPC中,最大数量不超过 50,不支持添加竞价实例。</p>
|
|
7449
7449
|
:rtype: list of ExistedInstancesForNode
|
|
7450
7450
|
"""
|
|
7451
7451
|
return self._ExistedInstancesForNode
|
|
@@ -7456,7 +7456,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7456
7456
|
|
|
7457
7457
|
@property
|
|
7458
7458
|
def InstanceDataDiskMountSettings(self):
|
|
7459
|
-
r"""CVM
|
|
7459
|
+
r"""<p>CVM类型和其对应的数据盘挂载配置信息</p>
|
|
7460
7460
|
:rtype: list of InstanceDataDiskMountSetting
|
|
7461
7461
|
"""
|
|
7462
7462
|
return self._InstanceDataDiskMountSettings
|
|
@@ -7467,7 +7467,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7467
7467
|
|
|
7468
7468
|
@property
|
|
7469
7469
|
def ExtensionAddons(self):
|
|
7470
|
-
r"""
|
|
7470
|
+
r"""<p>需要安装的扩展组件信息</p>
|
|
7471
7471
|
:rtype: list of ExtensionAddon
|
|
7472
7472
|
"""
|
|
7473
7473
|
return self._ExtensionAddons
|
|
@@ -7478,7 +7478,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7478
7478
|
|
|
7479
7479
|
@property
|
|
7480
7480
|
def CdcId(self):
|
|
7481
|
-
r"""
|
|
7481
|
+
r"""<p>本地专用集群Id</p>
|
|
7482
7482
|
:rtype: str
|
|
7483
7483
|
"""
|
|
7484
7484
|
return self._CdcId
|
|
@@ -7489,7 +7489,7 @@ class CreateClusterRequest(AbstractModel):
|
|
|
7489
7489
|
|
|
7490
7490
|
@property
|
|
7491
7491
|
def DisableAddons(self):
|
|
7492
|
-
r"""
|
|
7492
|
+
r"""<p>屏蔽安装指定Addon组件,填写相应的AddonName</p>
|
|
7493
7493
|
:rtype: list of str
|
|
7494
7494
|
"""
|
|
7495
7495
|
return self._DisableAddons
|
|
@@ -7556,7 +7556,7 @@ class CreateClusterResponse(AbstractModel):
|
|
|
7556
7556
|
|
|
7557
7557
|
def __init__(self):
|
|
7558
7558
|
r"""
|
|
7559
|
-
:param _ClusterId:
|
|
7559
|
+
:param _ClusterId: <p>集群ID</p>
|
|
7560
7560
|
:type ClusterId: str
|
|
7561
7561
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7562
7562
|
:type RequestId: str
|
|
@@ -7566,7 +7566,7 @@ class CreateClusterResponse(AbstractModel):
|
|
|
7566
7566
|
|
|
7567
7567
|
@property
|
|
7568
7568
|
def ClusterId(self):
|
|
7569
|
-
r"""
|
|
7569
|
+
r"""<p>集群ID</p>
|
|
7570
7570
|
:rtype: str
|
|
7571
7571
|
"""
|
|
7572
7572
|
return self._ClusterId
|
|
@@ -36325,37 +36325,36 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36325
36325
|
|
|
36326
36326
|
def __init__(self):
|
|
36327
36327
|
r"""
|
|
36328
|
-
:param _DesiredPodNumber:
|
|
36328
|
+
:param _DesiredPodNumber: <p>该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限</p>
|
|
36329
36329
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36330
36330
|
:type DesiredPodNumber: int
|
|
36331
|
-
:param _GPUArgs: GPU驱动相关参数,相关的GPU参数获取:https://cloud.tencent.com/document/api/213/15715
|
|
36331
|
+
:param _GPUArgs: <p>GPU驱动相关参数,相关的GPU参数获取:https://cloud.tencent.com/document/api/213/15715</p>
|
|
36332
36332
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36333
36333
|
:type GPUArgs: :class:`tencentcloud.tke.v20180525.models.GPUArgs`
|
|
36334
|
-
:param _PreStartUserScript: base64
|
|
36334
|
+
:param _PreStartUserScript: <p>base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效</p>
|
|
36335
36335
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36336
36336
|
:type PreStartUserScript: str
|
|
36337
|
-
:param _Taints:
|
|
36337
|
+
:param _Taints: <p>节点污点</p>
|
|
36338
36338
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36339
36339
|
:type Taints: list of Taint
|
|
36340
|
-
:param _MountTarget:
|
|
36341
|
-
注意:多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
|
|
36340
|
+
:param _MountTarget: <p>数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。<br>注意:多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。</p>
|
|
36342
36341
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36343
36342
|
:type MountTarget: str
|
|
36344
|
-
:param _DockerGraphPath: dockerd --graph 指定值。若未指定此参数,将使用内置默认路径 /var/lib/docker
|
|
36343
|
+
:param _DockerGraphPath: <p>dockerd --graph 指定值。若未指定此参数,将使用内置默认路径 /var/lib/docker 作为存储根目录。</p>
|
|
36345
36344
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36346
36345
|
:type DockerGraphPath: str
|
|
36347
|
-
:param _UserScript: base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config
|
|
36346
|
+
:param _UserScript: <p>base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config 命令使节点加入调度</p>
|
|
36348
36347
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36349
36348
|
:type UserScript: str
|
|
36350
|
-
:param _Unschedulable:
|
|
36349
|
+
:param _Unschedulable: <p>设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.</p>
|
|
36351
36350
|
:type Unschedulable: int
|
|
36352
|
-
:param _Labels:
|
|
36351
|
+
:param _Labels: <p>节点Label数组</p>
|
|
36353
36352
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36354
36353
|
:type Labels: list of Label
|
|
36355
|
-
:param _DataDisks:
|
|
36354
|
+
:param _DataDisks: <p>多盘数据盘挂载信息:新建节点时请确保购买CVM的参数传递了购买多个数据盘的信息,如CreateClusterInstances API的RunInstancesPara下的DataDisks也需要设置购买多个数据盘, 具体可以参考CreateClusterInstances接口的添加集群节点(多块数据盘)样例;添加已有节点时,请确保填写的分区信息在节点上真实存在</p>
|
|
36356
36355
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36357
36356
|
:type DataDisks: list of DataDisk
|
|
36358
|
-
:param _ExtraArgs:
|
|
36357
|
+
:param _ExtraArgs: <p>节点相关的自定义参数信息</p>
|
|
36359
36358
|
:type ExtraArgs: :class:`tencentcloud.tke.v20180525.models.InstanceExtraArgs`
|
|
36360
36359
|
"""
|
|
36361
36360
|
self._DesiredPodNumber = None
|
|
@@ -36372,7 +36371,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36372
36371
|
|
|
36373
36372
|
@property
|
|
36374
36373
|
def DesiredPodNumber(self):
|
|
36375
|
-
r"""
|
|
36374
|
+
r"""<p>该节点属于podCIDR大小自定义模式时,可指定节点上运行的pod数量上限</p>
|
|
36376
36375
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36377
36376
|
:rtype: int
|
|
36378
36377
|
"""
|
|
@@ -36384,7 +36383,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36384
36383
|
|
|
36385
36384
|
@property
|
|
36386
36385
|
def GPUArgs(self):
|
|
36387
|
-
r"""GPU驱动相关参数,相关的GPU参数获取:https://cloud.tencent.com/document/api/213/15715
|
|
36386
|
+
r"""<p>GPU驱动相关参数,相关的GPU参数获取:https://cloud.tencent.com/document/api/213/15715</p>
|
|
36388
36387
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36389
36388
|
:rtype: :class:`tencentcloud.tke.v20180525.models.GPUArgs`
|
|
36390
36389
|
"""
|
|
@@ -36396,7 +36395,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36396
36395
|
|
|
36397
36396
|
@property
|
|
36398
36397
|
def PreStartUserScript(self):
|
|
36399
|
-
r"""base64
|
|
36398
|
+
r"""<p>base64 编码的用户脚本,在初始化节点之前执行,目前只对添加已有节点生效</p>
|
|
36400
36399
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36401
36400
|
:rtype: str
|
|
36402
36401
|
"""
|
|
@@ -36408,7 +36407,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36408
36407
|
|
|
36409
36408
|
@property
|
|
36410
36409
|
def Taints(self):
|
|
36411
|
-
r"""
|
|
36410
|
+
r"""<p>节点污点</p>
|
|
36412
36411
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36413
36412
|
:rtype: list of Taint
|
|
36414
36413
|
"""
|
|
@@ -36420,8 +36419,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36420
36419
|
|
|
36421
36420
|
@property
|
|
36422
36421
|
def MountTarget(self):
|
|
36423
|
-
r"""
|
|
36424
|
-
注意:多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。
|
|
36422
|
+
r"""<p>数据盘挂载点, 默认不挂载数据盘. 已格式化的 ext3,ext4,xfs 文件系统的数据盘将直接挂载,其他文件系统或未格式化的数据盘将自动格式化为ext4 (tlinux系统格式化成xfs)并挂载,请注意备份数据! 无数据盘或有多块数据盘的云主机此设置不生效。<br>注意:多盘场景请使用下方的DataDisks数据结构,设置对应的云盘类型、云盘大小、挂载路径、是否格式化等信息。</p>
|
|
36425
36423
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36426
36424
|
:rtype: str
|
|
36427
36425
|
"""
|
|
@@ -36433,7 +36431,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36433
36431
|
|
|
36434
36432
|
@property
|
|
36435
36433
|
def DockerGraphPath(self):
|
|
36436
|
-
r"""dockerd --graph 指定值。若未指定此参数,将使用内置默认路径 /var/lib/docker
|
|
36434
|
+
r"""<p>dockerd --graph 指定值。若未指定此参数,将使用内置默认路径 /var/lib/docker 作为存储根目录。</p>
|
|
36437
36435
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36438
36436
|
:rtype: str
|
|
36439
36437
|
"""
|
|
@@ -36445,7 +36443,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36445
36443
|
|
|
36446
36444
|
@property
|
|
36447
36445
|
def UserScript(self):
|
|
36448
|
-
r"""base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config
|
|
36446
|
+
r"""<p>base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看, 如果要求节点需要在进行初始化完成后才可加入调度, 可配合 unschedulable 参数使用, 在 userScript 最后初始化完成后, 添加 kubectl uncordon nodename --kubeconfig=/root/.kube/config 命令使节点加入调度</p>
|
|
36449
36447
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36450
36448
|
:rtype: str
|
|
36451
36449
|
"""
|
|
@@ -36457,7 +36455,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36457
36455
|
|
|
36458
36456
|
@property
|
|
36459
36457
|
def Unschedulable(self):
|
|
36460
|
-
r"""
|
|
36458
|
+
r"""<p>设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.</p>
|
|
36461
36459
|
:rtype: int
|
|
36462
36460
|
"""
|
|
36463
36461
|
return self._Unschedulable
|
|
@@ -36468,7 +36466,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36468
36466
|
|
|
36469
36467
|
@property
|
|
36470
36468
|
def Labels(self):
|
|
36471
|
-
r"""
|
|
36469
|
+
r"""<p>节点Label数组</p>
|
|
36472
36470
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36473
36471
|
:rtype: list of Label
|
|
36474
36472
|
"""
|
|
@@ -36480,7 +36478,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36480
36478
|
|
|
36481
36479
|
@property
|
|
36482
36480
|
def DataDisks(self):
|
|
36483
|
-
r"""
|
|
36481
|
+
r"""<p>多盘数据盘挂载信息:新建节点时请确保购买CVM的参数传递了购买多个数据盘的信息,如CreateClusterInstances API的RunInstancesPara下的DataDisks也需要设置购买多个数据盘, 具体可以参考CreateClusterInstances接口的添加集群节点(多块数据盘)样例;添加已有节点时,请确保填写的分区信息在节点上真实存在</p>
|
|
36484
36482
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
36485
36483
|
:rtype: list of DataDisk
|
|
36486
36484
|
"""
|
|
@@ -36492,7 +36490,7 @@ class InstanceAdvancedSettings(AbstractModel):
|
|
|
36492
36490
|
|
|
36493
36491
|
@property
|
|
36494
36492
|
def ExtraArgs(self):
|
|
36495
|
-
r"""
|
|
36493
|
+
r"""<p>节点相关的自定义参数信息</p>
|
|
36496
36494
|
:rtype: :class:`tencentcloud.tke.v20180525.models.InstanceExtraArgs`
|
|
36497
36495
|
"""
|
|
36498
36496
|
return self._ExtraArgs
|
|
@@ -40514,21 +40512,23 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40514
40512
|
|
|
40515
40513
|
def __init__(self):
|
|
40516
40514
|
r"""
|
|
40517
|
-
:param _ClusterId:
|
|
40515
|
+
:param _ClusterId: <p>集群ID</p>
|
|
40518
40516
|
:type ClusterId: str
|
|
40519
|
-
:param _Tags:
|
|
40520
|
-
[{"TagKey":"env","TagValue":"dev"}]}]
|
|
40517
|
+
:param _Tags: <p>集群标签:<br>[{"TagKey":"env","TagValue":"dev"}]}]</p>
|
|
40521
40518
|
:type Tags: list of Tag
|
|
40522
|
-
:param _SyncSubresource:
|
|
40519
|
+
:param _SyncSubresource: <p>是否同步集群内子资源标签</p>
|
|
40523
40520
|
:type SyncSubresource: bool
|
|
40521
|
+
:param _SyncNodePoolTags: <p>是否同步节点池标签</p>
|
|
40522
|
+
:type SyncNodePoolTags: bool
|
|
40524
40523
|
"""
|
|
40525
40524
|
self._ClusterId = None
|
|
40526
40525
|
self._Tags = None
|
|
40527
40526
|
self._SyncSubresource = None
|
|
40527
|
+
self._SyncNodePoolTags = None
|
|
40528
40528
|
|
|
40529
40529
|
@property
|
|
40530
40530
|
def ClusterId(self):
|
|
40531
|
-
r"""
|
|
40531
|
+
r"""<p>集群ID</p>
|
|
40532
40532
|
:rtype: str
|
|
40533
40533
|
"""
|
|
40534
40534
|
return self._ClusterId
|
|
@@ -40539,8 +40539,7 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40539
40539
|
|
|
40540
40540
|
@property
|
|
40541
40541
|
def Tags(self):
|
|
40542
|
-
r"""
|
|
40543
|
-
[{"TagKey":"env","TagValue":"dev"}]}]
|
|
40542
|
+
r"""<p>集群标签:<br>[{"TagKey":"env","TagValue":"dev"}]}]</p>
|
|
40544
40543
|
:rtype: list of Tag
|
|
40545
40544
|
"""
|
|
40546
40545
|
return self._Tags
|
|
@@ -40551,7 +40550,7 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40551
40550
|
|
|
40552
40551
|
@property
|
|
40553
40552
|
def SyncSubresource(self):
|
|
40554
|
-
r"""
|
|
40553
|
+
r"""<p>是否同步集群内子资源标签</p>
|
|
40555
40554
|
:rtype: bool
|
|
40556
40555
|
"""
|
|
40557
40556
|
return self._SyncSubresource
|
|
@@ -40560,6 +40559,17 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40560
40559
|
def SyncSubresource(self, SyncSubresource):
|
|
40561
40560
|
self._SyncSubresource = SyncSubresource
|
|
40562
40561
|
|
|
40562
|
+
@property
|
|
40563
|
+
def SyncNodePoolTags(self):
|
|
40564
|
+
r"""<p>是否同步节点池标签</p>
|
|
40565
|
+
:rtype: bool
|
|
40566
|
+
"""
|
|
40567
|
+
return self._SyncNodePoolTags
|
|
40568
|
+
|
|
40569
|
+
@SyncNodePoolTags.setter
|
|
40570
|
+
def SyncNodePoolTags(self, SyncNodePoolTags):
|
|
40571
|
+
self._SyncNodePoolTags = SyncNodePoolTags
|
|
40572
|
+
|
|
40563
40573
|
|
|
40564
40574
|
def _deserialize(self, params):
|
|
40565
40575
|
self._ClusterId = params.get("ClusterId")
|
|
@@ -40570,6 +40580,7 @@ class ModifyClusterTagsRequest(AbstractModel):
|
|
|
40570
40580
|
obj._deserialize(item)
|
|
40571
40581
|
self._Tags.append(obj)
|
|
40572
40582
|
self._SyncSubresource = params.get("SyncSubresource")
|
|
40583
|
+
self._SyncNodePoolTags = params.get("SyncNodePoolTags")
|
|
40573
40584
|
memeber_set = set(params.keys())
|
|
40574
40585
|
for name, value in vars(self).items():
|
|
40575
40586
|
property_name = name[1:]
|
|
@@ -40587,7 +40598,7 @@ class ModifyClusterTagsResponse(AbstractModel):
|
|
|
40587
40598
|
|
|
40588
40599
|
def __init__(self):
|
|
40589
40600
|
r"""
|
|
40590
|
-
:param _Tags:
|
|
40601
|
+
:param _Tags: <p>集群标签</p>
|
|
40591
40602
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
40592
40603
|
:type Tags: list of Tag
|
|
40593
40604
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -40598,7 +40609,7 @@ class ModifyClusterTagsResponse(AbstractModel):
|
|
|
40598
40609
|
|
|
40599
40610
|
@property
|
|
40600
40611
|
def Tags(self):
|
|
40601
|
-
r"""
|
|
40612
|
+
r"""<p>集群标签</p>
|
|
40602
40613
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
40603
40614
|
:rtype: list of Tag
|
|
40604
40615
|
"""
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-tke
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.121
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.1.121
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.121
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.112
|
|
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
|