tencentcloud-sdk-nodejs-tke 4.1.36 → 4.1.38

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-tke",
3
- "version": "4.1.36",
3
+ "version": "4.1.38",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -2015,6 +2015,7 @@ export interface Instance {
2015
2015
  CreatedTime?: string;
2016
2016
  /**
2017
2017
  * 节点内网IP
2018
+ 注意:此字段可能返回 null,表示取不到有效值。
2018
2019
  */
2019
2020
  LanIP?: string;
2020
2021
  /**
@@ -6542,38 +6543,62 @@ export interface DescribePrometheusRecordRulesResponse {
6542
6543
  * 集群高级配置
6543
6544
  */
6544
6545
  export interface ClusterAdvancedSettings {
6545
- /**
6546
- * 是否启用IPVS
6547
- */
6548
- IPVS?: boolean;
6549
6546
  /**
6550
6547
  * 是否启用集群节点自动扩缩容(创建集群流程不支持开启此功能)
6551
6548
  */
6552
6549
  AsEnabled?: boolean;
6550
+ /**
6551
+ * 是否开启审计开关
6552
+ */
6553
+ AuditEnabled?: boolean;
6554
+ /**
6555
+ * 审计日志上传到的topic
6556
+ */
6557
+ AuditLogTopicId?: string;
6558
+ /**
6559
+ * 审计日志上传到的logset日志集
6560
+ */
6561
+ AuditLogsetId?: string;
6562
+ /**
6563
+ * 自定义模式下的基础pod数量
6564
+ */
6565
+ BasePodNumber?: number;
6566
+ /**
6567
+ * 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
6568
+ */
6569
+ CiliumMode?: string;
6553
6570
  /**
6554
6571
  * 集群使用的runtime类型,包括"docker"和"containerd"两种类型,默认为"docker"
6555
6572
  */
6556
6573
  ContainerRuntime?: string;
6557
6574
  /**
6558
- * 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
6575
+ * 是否启用集群删除保护
6559
6576
  */
6560
- NodeNameType?: string;
6577
+ DeletionProtection?: boolean;
6578
+ /**
6579
+ * 是否开节点podCIDR大小的自定义模式
6580
+ */
6581
+ EnableCustomizedPodCIDR?: boolean;
6582
+ /**
6583
+ * 元数据拆分存储Etcd配置
6584
+ */
6585
+ EtcdOverrideConfigs?: Array<EtcdOverrideConfig>;
6561
6586
  /**
6562
6587
  * 集群自定义参数
6563
6588
  */
6564
6589
  ExtraArgs?: ClusterExtraArgs;
6565
6590
  /**
6566
- * 集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
6591
+ * 是否启用IPVS
6567
6592
  */
6568
- NetworkType?: string;
6593
+ IPVS?: boolean;
6569
6594
  /**
6570
- * 集群VPC-CNI模式是否为非固定IP,默认: FALSE 固定IP。
6595
+ * 集群VPC-CNI模式下是否是双栈集群,默认false,表明非双栈集群。
6571
6596
  */
6572
- IsNonStaticIpMode?: boolean;
6597
+ IsDualStack?: boolean;
6573
6598
  /**
6574
- * 是否启用集群删除保护
6599
+ * 集群VPC-CNI模式是否为非固定IP,默认: FALSE 固定IP。
6575
6600
  */
6576
- DeletionProtection?: boolean;
6601
+ IsNonStaticIpMode?: boolean;
6577
6602
  /**
6578
6603
  * 集群的网络代理模型,目前tke集群支持的网络代理模式有三种:iptables,ipvs,ipvs-bpf,此参数仅在使用ipvs-bpf模式时使用,三种网络模式的参数设置关系如下:
6579
6604
  iptables模式:IPVS和KubeProxyMode都不设置
@@ -6585,45 +6610,25 @@ export interface ClusterAdvancedSettings {
6585
6610
  */
6586
6611
  KubeProxyMode?: string;
6587
6612
  /**
6588
- * 是否开启审计开关
6589
- */
6590
- AuditEnabled?: boolean;
6591
- /**
6592
- * 审计日志上传到的logset日志集
6613
+ * 集群网络类型(包括GR(全局路由)和VPC-CNI两种模式,默认为GR。
6593
6614
  */
6594
- AuditLogsetId?: string;
6615
+ NetworkType?: string;
6595
6616
  /**
6596
- * 审计日志上传到的topic
6617
+ * 集群中节点NodeName类型(包括 hostname,lan-ip两种形式,默认为lan-ip。如果开启了hostname模式,创建节点时需要设置HostName参数,并且InstanceName需要和HostName一致)
6597
6618
  */
6598
- AuditLogTopicId?: string;
6619
+ NodeNameType?: string;
6599
6620
  /**
6600
- * 区分共享网卡多IP模式和独立网卡模式,共享网卡多 IP 模式填写"tke-route-eni",独立网卡模式填写"tke-direct-eni",默认为共享网卡模式
6621
+ * 是否开启QGPU共享
6601
6622
  */
6602
- VpcCniType?: string;
6623
+ QGPUShareEnable?: boolean;
6603
6624
  /**
6604
6625
  * 运行时版本
6605
6626
  */
6606
6627
  RuntimeVersion?: string;
6607
6628
  /**
6608
- * 是否开节点podCIDR大小的自定义模式
6609
- */
6610
- EnableCustomizedPodCIDR?: boolean;
6611
- /**
6612
- * 自定义模式下的基础pod数量
6613
- */
6614
- BasePodNumber?: number;
6615
- /**
6616
- * 启用 CiliumMode 的模式,空值表示不启用,“clusterIP” 表示启用 Cilium 支持 ClusterIP
6617
- */
6618
- CiliumMode?: string;
6619
- /**
6620
- * 集群VPC-CNI模式下是否是双栈集群,默认false,表明非双栈集群。
6621
- */
6622
- IsDualStack?: boolean;
6623
- /**
6624
- * 是否开启QGPU共享
6629
+ * 区分共享网卡多IP模式和独立网卡模式,共享网卡多 IP 模式填写"tke-route-eni",独立网卡模式填写"tke-direct-eni",默认为共享网卡模式
6625
6630
  */
6626
- QGPUShareEnable?: boolean;
6631
+ VpcCniType?: string;
6627
6632
  }
6628
6633
  /**
6629
6634
  * DescribePodsBySpec返回参数结构体
@@ -10405,6 +10410,11 @@ export interface UninstallEdgeLogAgentRequest {
10405
10410
  * 集群master自定义参数
10406
10411
  */
10407
10412
  export interface ClusterExtraArgs {
10413
+ /**
10414
+ * etcd自定义参数,只支持独立集群
10415
+ 注意:此字段可能返回 null,表示取不到有效值。
10416
+ */
10417
+ Etcd?: Array<string>;
10408
10418
  /**
10409
10419
  * kube-apiserver自定义参数,参数格式为["k1=v1", "k1=v2"], 例如["max-requests-inflight=500","feature-gates=PodShareProcessNamespace=true,DynamicKubeletConfig=true"]
10410
10420
  注意:此字段可能返回 null,表示取不到有效值。
@@ -10420,11 +10430,6 @@ export interface ClusterExtraArgs {
10420
10430
  注意:此字段可能返回 null,表示取不到有效值。
10421
10431
  */
10422
10432
  KubeScheduler?: Array<string>;
10423
- /**
10424
- * etcd自定义参数,只支持独立集群
10425
- 注意:此字段可能返回 null,表示取不到有效值。
10426
- */
10427
- Etcd?: Array<string>;
10428
10433
  }
10429
10434
  /**
10430
10435
  * 注释
@@ -12257,6 +12262,15 @@ export interface DeleteImageCachesResponse {
12257
12262
  */
12258
12263
  RequestId?: string;
12259
12264
  }
12265
+ /**
12266
+ * 元数据拆分存储Etcd配置
12267
+ */
12268
+ export interface EtcdOverrideConfig {
12269
+ /**
12270
+ * k8s资源,支持核心资源,控制类资源,配置及敏感资源
12271
+ */
12272
+ Resources: Array<string>;
12273
+ }
12260
12274
  /**
12261
12275
  * DescribeEKSContainerInstanceRegions返回参数结构体
12262
12276
  */