tencentcloud-sdk-nodejs-tke 4.1.269 → 4.1.270
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/es/services/tke/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const tke: {
|
|
2
|
-
v20180525: {
|
|
3
|
-
Client: typeof import("./v20180525/tke_client").Client;
|
|
4
|
-
Models: typeof import("./v20180525/tke_models");
|
|
5
|
-
};
|
|
6
2
|
v20220501: {
|
|
7
3
|
Client: typeof import("./v20220501/tke_client").Client;
|
|
8
4
|
Models: typeof import("./v20220501/tke_models");
|
|
9
5
|
};
|
|
6
|
+
v20180525: {
|
|
7
|
+
Client: typeof import("./v20180525/tke_client").Client;
|
|
8
|
+
Models: typeof import("./v20180525/tke_models");
|
|
9
|
+
};
|
|
10
10
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.tke = void 0;
|
|
4
|
-
const v20180525_1 = require("./v20180525");
|
|
5
4
|
const v20220501_1 = require("./v20220501");
|
|
5
|
+
const v20180525_1 = require("./v20180525");
|
|
6
6
|
exports.tke = {
|
|
7
|
-
v20180525: v20180525_1.v20180525,
|
|
8
7
|
v20220501: v20220501_1.v20220501,
|
|
8
|
+
v20180525: v20180525_1.v20180525,
|
|
9
9
|
};
|
|
@@ -1207,46 +1207,39 @@ export interface DescribeClustersRequest {
|
|
|
1207
1207
|
*/
|
|
1208
1208
|
export interface UpgradeClusterInstancesRequest {
|
|
1209
1209
|
/**
|
|
1210
|
-
*
|
|
1210
|
+
* <p>集群ID(请登录 <a href="https://console.cloud.tencent.com/tke2">TKE 控制台</a> 获取集群 ID )</p>
|
|
1211
1211
|
*/
|
|
1212
1212
|
ClusterId: string;
|
|
1213
1213
|
/**
|
|
1214
|
-
* create
|
|
1215
|
-
pause 表示停止任务
|
|
1216
|
-
resume表示继续任务
|
|
1217
|
-
abort表示终止任务
|
|
1214
|
+
* <p>create 表示开始一次升级任务<br>pause 表示停止任务<br>resume表示继续任务<br>abort表示终止任务</p>
|
|
1218
1215
|
*/
|
|
1219
1216
|
Operation: string;
|
|
1220
1217
|
/**
|
|
1221
|
-
*
|
|
1222
|
-
reset 大版本重装升级
|
|
1223
|
-
hot 小版本热升级
|
|
1224
|
-
major 大版本原地升级
|
|
1218
|
+
* <p>升级类型,只有Operation是create需要设置<br>reset 大版本重装升级<br>hot 小版本热升级<br>major 大版本原地升级</p>
|
|
1225
1219
|
*/
|
|
1226
1220
|
UpgradeType?: string;
|
|
1227
1221
|
/**
|
|
1228
|
-
*
|
|
1229
|
-
](https://cloud.tencent.com/document/api/457/50366) 获取
|
|
1222
|
+
* <p>需要升级的节点列表,可以通过控制台或 <a href="https://cloud.tencent.com/document/api/457/50366">查询待升级节点接口</a> 获取</p>
|
|
1230
1223
|
*/
|
|
1231
1224
|
InstanceIds?: Array<string>;
|
|
1232
1225
|
/**
|
|
1233
|
-
*
|
|
1226
|
+
* <p>当节点重新加入集群时候所使用的参数,参考添加已有节点接口</p>
|
|
1234
1227
|
*/
|
|
1235
1228
|
ResetParam?: UpgradeNodeResetParam;
|
|
1236
1229
|
/**
|
|
1237
|
-
*
|
|
1230
|
+
* <p>是否忽略节点升级前检查,默认值 false</p>
|
|
1238
1231
|
*/
|
|
1239
1232
|
SkipPreCheck?: boolean;
|
|
1240
1233
|
/**
|
|
1241
|
-
*
|
|
1234
|
+
* <p>最大可容忍的不可用Pod百分比,如果设置 0 表示不做校验</p><p>取值范围:[0, 100]</p><p>默认值:20</p>
|
|
1242
1235
|
*/
|
|
1243
1236
|
MaxNotReadyPercent?: number;
|
|
1244
1237
|
/**
|
|
1245
|
-
*
|
|
1238
|
+
* <p>是否升级节点运行时,默认false不升级</p>
|
|
1246
1239
|
*/
|
|
1247
1240
|
UpgradeRunTime?: boolean;
|
|
1248
1241
|
/**
|
|
1249
|
-
*
|
|
1242
|
+
* <p>支持多个节点并行升级,默认值为 1,最大并行数为15</p>
|
|
1250
1243
|
*/
|
|
1251
1244
|
Concurrent?: number;
|
|
1252
1245
|
}
|
|
@@ -5626,31 +5619,31 @@ export interface DescribePrometheusTemplatesResponse {
|
|
|
5626
5619
|
*/
|
|
5627
5620
|
export interface ModifyExternalNodePoolRequest {
|
|
5628
5621
|
/**
|
|
5629
|
-
*
|
|
5622
|
+
* <p>集群ID</p>
|
|
5630
5623
|
*/
|
|
5631
5624
|
ClusterId: string;
|
|
5632
5625
|
/**
|
|
5633
|
-
*
|
|
5626
|
+
* <p>节点池ID</p>
|
|
5634
5627
|
*/
|
|
5635
5628
|
NodePoolId: string;
|
|
5636
5629
|
/**
|
|
5637
|
-
*
|
|
5630
|
+
* <p>节点池名称</p>
|
|
5638
5631
|
*/
|
|
5639
5632
|
Name?: string;
|
|
5640
5633
|
/**
|
|
5641
|
-
*
|
|
5634
|
+
* <p>注册节点标签</p>
|
|
5642
5635
|
*/
|
|
5643
5636
|
Labels?: Array<Label>;
|
|
5644
5637
|
/**
|
|
5645
|
-
*
|
|
5638
|
+
* <p>注册节点污点</p>
|
|
5646
5639
|
*/
|
|
5647
5640
|
Taints?: Array<Taint>;
|
|
5648
5641
|
/**
|
|
5649
|
-
*
|
|
5642
|
+
* <p>删除保护开关</p>
|
|
5650
5643
|
*/
|
|
5651
5644
|
DeletionProtection?: boolean;
|
|
5652
5645
|
/**
|
|
5653
|
-
* base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/
|
|
5646
|
+
* <p>base64 编码的用户脚本, 此脚本会在 k8s 组件运行后执行, 需要用户保证脚本的可重入及重试逻辑, 脚本及其生成的日志文件可在节点的 /data/ccs_userscript/ 路径查看</p>
|
|
5654
5647
|
*/
|
|
5655
5648
|
UserScript?: string;
|
|
5656
5649
|
}
|
|
@@ -7167,63 +7160,63 @@ export interface ModifyRollOutSequenceRequest {
|
|
|
7167
7160
|
*/
|
|
7168
7161
|
export interface CreateClusterNodePoolRequest {
|
|
7169
7162
|
/**
|
|
7170
|
-
* cluster id
|
|
7163
|
+
* <p>cluster id</p>
|
|
7171
7164
|
*/
|
|
7172
7165
|
ClusterId: string;
|
|
7173
7166
|
/**
|
|
7174
|
-
* AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440
|
|
7167
|
+
* <p>AutoScalingGroupPara AS组参数,参考 https://cloud.tencent.com/document/product/377/20440</p>
|
|
7175
7168
|
*/
|
|
7176
7169
|
AutoScalingGroupPara: string;
|
|
7177
7170
|
/**
|
|
7178
|
-
* LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447
|
|
7171
|
+
* <p>LaunchConfigurePara 运行参数,参考 https://cloud.tencent.com/document/product/377/20447</p>
|
|
7179
7172
|
*/
|
|
7180
7173
|
LaunchConfigurePara: string;
|
|
7181
7174
|
/**
|
|
7182
|
-
* InstanceAdvancedSettings
|
|
7175
|
+
* <p>InstanceAdvancedSettings</p>
|
|
7183
7176
|
*/
|
|
7184
7177
|
InstanceAdvancedSettings: InstanceAdvancedSettings;
|
|
7185
7178
|
/**
|
|
7186
|
-
*
|
|
7179
|
+
* <p>是否启用自动伸缩</p>
|
|
7187
7180
|
*/
|
|
7188
7181
|
EnableAutoscale: boolean;
|
|
7189
7182
|
/**
|
|
7190
|
-
*
|
|
7183
|
+
* <p>节点池名称</p>
|
|
7191
7184
|
*/
|
|
7192
7185
|
Name?: string;
|
|
7193
7186
|
/**
|
|
7194
|
-
* Labels
|
|
7187
|
+
* <p>Labels标签</p>
|
|
7195
7188
|
*/
|
|
7196
7189
|
Labels?: Array<Label>;
|
|
7197
7190
|
/**
|
|
7198
|
-
* Taints
|
|
7191
|
+
* <p>Taints互斥</p>
|
|
7199
7192
|
*/
|
|
7200
7193
|
Taints?: Array<Taint>;
|
|
7201
7194
|
/**
|
|
7202
|
-
*
|
|
7195
|
+
* <p>节点Annotation 列表</p>
|
|
7203
7196
|
*/
|
|
7204
7197
|
Annotations?: Array<AnnotationValue>;
|
|
7205
7198
|
/**
|
|
7206
|
-
*
|
|
7199
|
+
* <p>节点池纬度运行时类型及版本</p>
|
|
7207
7200
|
*/
|
|
7208
7201
|
ContainerRuntime?: string;
|
|
7209
7202
|
/**
|
|
7210
|
-
*
|
|
7203
|
+
* <p>运行时版本</p>
|
|
7211
7204
|
*/
|
|
7212
7205
|
RuntimeVersion?: string;
|
|
7213
7206
|
/**
|
|
7214
|
-
*
|
|
7207
|
+
* <p>节点池os,当为自定义镜像时,传镜像id;否则为公共镜像的osName</p>
|
|
7215
7208
|
*/
|
|
7216
7209
|
NodePoolOs?: string;
|
|
7217
7210
|
/**
|
|
7218
|
-
*
|
|
7211
|
+
* <p>容器的镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)</p>
|
|
7219
7212
|
*/
|
|
7220
7213
|
OsCustomizeType?: string;
|
|
7221
7214
|
/**
|
|
7222
|
-
*
|
|
7215
|
+
* <p>资源标签</p>
|
|
7223
7216
|
*/
|
|
7224
7217
|
Tags?: Array<Tag>;
|
|
7225
7218
|
/**
|
|
7226
|
-
*
|
|
7219
|
+
* <p>删除保护开关</p>
|
|
7227
7220
|
*/
|
|
7228
7221
|
DeletionProtection?: boolean;
|
|
7229
7222
|
}
|
|
@@ -7263,7 +7256,7 @@ export interface ReleaseValues {
|
|
|
7263
7256
|
*/
|
|
7264
7257
|
export interface CreateClusterNodePoolResponse {
|
|
7265
7258
|
/**
|
|
7266
|
-
*
|
|
7259
|
+
* <p>节点池id</p>
|
|
7267
7260
|
*/
|
|
7268
7261
|
NodePoolId?: string;
|
|
7269
7262
|
/**
|
|
@@ -13925,83 +13918,83 @@ export interface DeleteEdgeCVMInstancesRequest {
|
|
|
13925
13918
|
*/
|
|
13926
13919
|
export interface ModifyClusterNodePoolRequest {
|
|
13927
13920
|
/**
|
|
13928
|
-
*
|
|
13921
|
+
* <p>集群ID</p>
|
|
13929
13922
|
*/
|
|
13930
13923
|
ClusterId: string;
|
|
13931
13924
|
/**
|
|
13932
|
-
*
|
|
13925
|
+
* <p>节点池ID</p>
|
|
13933
13926
|
*/
|
|
13934
13927
|
NodePoolId: string;
|
|
13935
13928
|
/**
|
|
13936
|
-
*
|
|
13929
|
+
* <p>名称,最长63个字符,只能包含小写字母、数字及分隔符“_”,且必须以小写字母开头,数字或小写字母结尾</p>
|
|
13937
13930
|
*/
|
|
13938
13931
|
Name?: string;
|
|
13939
13932
|
/**
|
|
13940
|
-
*
|
|
13933
|
+
* <p>最大节点数</p>
|
|
13941
13934
|
*/
|
|
13942
13935
|
MaxNodesNum?: number;
|
|
13943
13936
|
/**
|
|
13944
|
-
*
|
|
13937
|
+
* <p>最小节点数</p>
|
|
13945
13938
|
*/
|
|
13946
13939
|
MinNodesNum?: number;
|
|
13947
13940
|
/**
|
|
13948
|
-
*
|
|
13941
|
+
* <p>标签</p>
|
|
13949
13942
|
*/
|
|
13950
13943
|
Labels?: Array<Label>;
|
|
13951
13944
|
/**
|
|
13952
|
-
*
|
|
13945
|
+
* <p>污点</p>
|
|
13953
13946
|
*/
|
|
13954
13947
|
Taints?: Array<Taint>;
|
|
13955
13948
|
/**
|
|
13956
|
-
*
|
|
13949
|
+
* <p>节点 Annotation 列表</p>
|
|
13957
13950
|
*/
|
|
13958
13951
|
Annotations?: Array<AnnotationValue>;
|
|
13959
13952
|
/**
|
|
13960
|
-
*
|
|
13953
|
+
* <p>是否开启伸缩</p>
|
|
13961
13954
|
*/
|
|
13962
13955
|
EnableAutoscale?: boolean;
|
|
13963
13956
|
/**
|
|
13964
|
-
*
|
|
13957
|
+
* <p>操作系统名称</p>
|
|
13965
13958
|
*/
|
|
13966
13959
|
OsName?: string;
|
|
13967
13960
|
/**
|
|
13968
|
-
*
|
|
13961
|
+
* <p>镜像版本,"DOCKER_CUSTOMIZE"(容器定制版),"GENERAL"(普通版本,默认值)</p>
|
|
13969
13962
|
*/
|
|
13970
13963
|
OsCustomizeType?: string;
|
|
13971
13964
|
/**
|
|
13972
|
-
* GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG
|
|
13965
|
+
* <p>GPU驱动版本,CUDA版本,cuDNN版本以及是否启用MIG特性</p>
|
|
13973
13966
|
*/
|
|
13974
13967
|
GPUArgs?: GPUArgs;
|
|
13975
13968
|
/**
|
|
13976
|
-
* base64
|
|
13969
|
+
* <p>base64编码后的自定义脚本</p>
|
|
13977
13970
|
*/
|
|
13978
13971
|
UserScript?: string;
|
|
13979
13972
|
/**
|
|
13980
|
-
*
|
|
13973
|
+
* <p>更新label和taint时忽略存量节点</p>
|
|
13981
13974
|
*/
|
|
13982
13975
|
IgnoreExistedNode?: boolean;
|
|
13983
13976
|
/**
|
|
13984
|
-
*
|
|
13977
|
+
* <p>节点自定义参数</p>
|
|
13985
13978
|
*/
|
|
13986
13979
|
ExtraArgs?: InstanceExtraArgs;
|
|
13987
13980
|
/**
|
|
13988
|
-
*
|
|
13981
|
+
* <p>资源标签</p>
|
|
13989
13982
|
*/
|
|
13990
13983
|
Tags?: Array<Tag>;
|
|
13991
13984
|
/**
|
|
13992
|
-
*
|
|
13985
|
+
* <p>设置加入的节点是否参与调度,默认值为0,表示参与调度;非0表示不参与调度, 待节点初始化完成之后, 可执行kubectl uncordon nodename使node加入调度.</p>
|
|
13993
13986
|
*/
|
|
13994
13987
|
Unschedulable?: number;
|
|
13995
13988
|
/**
|
|
13996
|
-
*
|
|
13989
|
+
* <p>删除保护开关</p>
|
|
13997
13990
|
*/
|
|
13998
13991
|
DeletionProtection?: boolean;
|
|
13999
13992
|
/**
|
|
14000
|
-
* dockerd --graph 指定值, 默认为 /var/lib/docker
|
|
13993
|
+
* <p>dockerd --graph 指定值, 默认为 /var/lib/docker</p>
|
|
14001
13994
|
*/
|
|
14002
13995
|
DockerGraphPath?: string;
|
|
14003
13996
|
/**
|
|
14004
|
-
* base64
|
|
13997
|
+
* <p>base64编码后的自定义脚本</p>
|
|
14005
13998
|
*/
|
|
14006
13999
|
PreStartUserScript?: string;
|
|
14007
14000
|
}
|