@alicloud/cs20151215 6.7.1 → 7.0.0
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/dist/client.d.ts +4 -4
- package/dist/client.js +4 -4
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -263
- package/dist/models/CreateClusterNodePoolRequest.js +1 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +235 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +92 -88
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +4 -1
- package/dist/models/InstallNodePoolComponentsRequest.js +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +8 -5
- package/dist/models/Nodepool.js +1 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +6 -3
- package/dist/models/UpdateNodePoolComponentRequest.js +1 -1
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +4 -4
- package/src/models/CreateClusterNodePoolRequest.ts +268 -264
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +236 -233
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +93 -89
- package/src/models/InstallNodePoolComponentsRequest.ts +5 -2
- package/src/models/Nodepool.ts +9 -6
- package/src/models/UpdateNodePoolComponentRequest.ts +7 -4
|
@@ -12,7 +12,7 @@ import { Taint } from "./Taint";
|
|
|
12
12
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode extends $dara.Model {
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
*
|
|
15
|
+
* 是否开启智能托管。
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -52,7 +52,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
52
52
|
eipBandwidth?: number;
|
|
53
53
|
/**
|
|
54
54
|
* @remarks
|
|
55
|
-
* The billing method for
|
|
55
|
+
* The billing method for EIPs. Valid values:
|
|
56
56
|
*
|
|
57
57
|
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
58
58
|
* - `PayByTraffic`: pay-by-traffic.
|
|
@@ -63,11 +63,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
63
63
|
eipInternetChargeType?: string;
|
|
64
64
|
/**
|
|
65
65
|
* @remarks
|
|
66
|
-
* Specifies whether
|
|
66
|
+
* Specifies whether auto scaling is enabled. Valid values:
|
|
67
67
|
*
|
|
68
|
-
* - `true`: Enables the
|
|
68
|
+
* - `true`: Enables the auto scaling feature for the node pool. When the cluster capacity planning cannot meet the scheduling requirements of application Pods, ACK automatically scales nodes based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant elasticity by default. Clusters of versions earlier than 1.24 use auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
69
69
|
*
|
|
70
|
-
* - `false`: Disables
|
|
70
|
+
* - `false`: Disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
71
71
|
*
|
|
72
72
|
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
73
73
|
*
|
|
@@ -104,11 +104,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
104
104
|
minInstances?: number;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The
|
|
107
|
+
* The auto scaling type, categorized by instance type. Valid values:
|
|
108
108
|
*
|
|
109
|
-
* - `cpu`:
|
|
109
|
+
* - `cpu`: regular instance type.
|
|
110
110
|
* - `gpu`: GPU instance type.
|
|
111
|
-
* - `gpushare`: GPU
|
|
111
|
+
* - `gpushare`: GPU sharing type.
|
|
112
112
|
* - `spot`: spot instance type.
|
|
113
113
|
*
|
|
114
114
|
* @example
|
|
@@ -151,7 +151,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling extends $d
|
|
|
151
151
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends $dara.Model {
|
|
152
152
|
/**
|
|
153
153
|
* @remarks
|
|
154
|
-
*
|
|
154
|
+
* 灵骏集群ID。
|
|
155
155
|
*
|
|
156
156
|
* @example
|
|
157
157
|
* i113790071760688002461
|
|
@@ -159,7 +159,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
|
|
|
159
159
|
clusterId?: string;
|
|
160
160
|
/**
|
|
161
161
|
* @remarks
|
|
162
|
-
*
|
|
162
|
+
* 灵骏分组ID。
|
|
163
163
|
*
|
|
164
164
|
* @example
|
|
165
165
|
* i128147721760688002463
|
|
@@ -191,9 +191,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup extends
|
|
|
191
191
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig extends $dara.Model {
|
|
192
192
|
/**
|
|
193
193
|
* @remarks
|
|
194
|
-
*
|
|
194
|
+
* 【该字段已废弃】
|
|
195
195
|
*
|
|
196
|
-
*
|
|
196
|
+
* 边缘增强型节点池的网络带宽,单位:Mbps。
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* 10
|
|
@@ -201,9 +201,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
201
201
|
bandwidth?: number;
|
|
202
202
|
/**
|
|
203
203
|
* @remarks
|
|
204
|
-
*
|
|
204
|
+
* 【该字段已废弃】
|
|
205
205
|
*
|
|
206
|
-
*
|
|
206
|
+
* 边缘增强型节点池绑定的云连接网实例ID(CCNID)。
|
|
207
207
|
*
|
|
208
208
|
* @example
|
|
209
209
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -211,9 +211,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
211
211
|
ccnId?: string;
|
|
212
212
|
/**
|
|
213
213
|
* @remarks
|
|
214
|
-
*
|
|
214
|
+
* 【该字段已废弃】
|
|
215
215
|
*
|
|
216
|
-
*
|
|
216
|
+
* 边缘增强型节点池绑定的云连接网实例所属的区域。
|
|
217
217
|
*
|
|
218
218
|
* @example
|
|
219
219
|
* cn-shanghai
|
|
@@ -221,9 +221,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
221
221
|
ccnRegionId?: string;
|
|
222
222
|
/**
|
|
223
223
|
* @remarks
|
|
224
|
-
*
|
|
224
|
+
* 【该字段已废弃】
|
|
225
225
|
*
|
|
226
|
-
*
|
|
226
|
+
* 边缘增强型节点池绑定的云企业网实例ID(CENID)。
|
|
227
227
|
*
|
|
228
228
|
* @example
|
|
229
229
|
* cen-ey9k9nfhz0f*******
|
|
@@ -231,9 +231,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig ext
|
|
|
231
231
|
cenId?: string;
|
|
232
232
|
/**
|
|
233
233
|
* @remarks
|
|
234
|
-
*
|
|
234
|
+
* 【该字段已废弃】
|
|
235
235
|
*
|
|
236
|
-
*
|
|
236
|
+
* 边缘增强型节点池的购买时长,单位:月。
|
|
237
237
|
*
|
|
238
238
|
* @example
|
|
239
239
|
* 1
|
|
@@ -273,7 +273,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
273
273
|
* @remarks
|
|
274
274
|
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information for the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
275
275
|
*
|
|
276
|
-
* - `true`: Install the.
|
|
276
|
+
* - `true`: Install the CloudMonitor agent on ECS nodes.
|
|
277
|
+
* - `false`: Do not install the CloudMonitor agent on ECS.
|
|
277
278
|
*
|
|
278
279
|
* @example
|
|
279
280
|
* true
|
|
@@ -281,10 +282,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
281
282
|
cmsEnabled?: boolean;
|
|
282
283
|
/**
|
|
283
284
|
* @remarks
|
|
284
|
-
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6
|
|
285
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
285
286
|
*
|
|
286
|
-
* - `static`:
|
|
287
|
-
* - `none`:
|
|
287
|
+
* - `static`: allows Pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
288
|
+
* - `none`: uses the existing default CPU affinity scheme.
|
|
288
289
|
*
|
|
289
290
|
* @example
|
|
290
291
|
* none
|
|
@@ -297,14 +298,14 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
297
298
|
labels?: Tag[];
|
|
298
299
|
/**
|
|
299
300
|
* @remarks
|
|
300
|
-
*
|
|
301
|
+
* 自定义节点名称。
|
|
301
302
|
*
|
|
302
|
-
*
|
|
303
|
+
* 节点名称由三部分组成:前缀 \\+ 节点 IP 地址子串 \\+ 后缀:
|
|
303
304
|
*
|
|
304
|
-
* -
|
|
305
|
-
* -
|
|
305
|
+
* - 前缀和后缀均可由“.”分隔的一个或多个部分构成,每个部分可以使用小写字母、数字和“-”,节点名称首尾必须为小写字母和数字。
|
|
306
|
+
* - IP 地址段长度指截取节点 IP 地址末尾的位数,取值范围 5-12。
|
|
306
307
|
*
|
|
307
|
-
*
|
|
308
|
+
* 例如,节点 IP 地址为:192.168.0.55,指定前缀为 aliyun.com,IP 地址段长度为 5,后缀为 test,则节点名称为aliyun.com00055test。
|
|
308
309
|
*
|
|
309
310
|
* @example
|
|
310
311
|
* aliyun.com192.XX.YY.55test
|
|
@@ -312,7 +313,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
312
313
|
nodeNameMode?: string;
|
|
313
314
|
/**
|
|
314
315
|
* @remarks
|
|
315
|
-
*
|
|
316
|
+
* 节点池预自定义数据,即运行于节点初始化之前的脚本。更多详情,请参见[生成实例自定义数据](https://help.aliyun.com/document_detail/49121.html)。
|
|
316
317
|
*
|
|
317
318
|
* @example
|
|
318
319
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD
|
|
@@ -322,9 +323,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
322
323
|
* @remarks
|
|
323
324
|
* The container runtime name. ACK supports the following three container runtimes:
|
|
324
325
|
*
|
|
325
|
-
* - containerd: recommended.
|
|
326
|
-
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation.
|
|
327
|
-
* - docker: no longer maintained.
|
|
326
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
327
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supports clusters of version 1.31 or earlier.
|
|
328
|
+
* - docker: no longer maintained. Supports clusters of version 1.22 or earlier.
|
|
328
329
|
*
|
|
329
330
|
* @example
|
|
330
331
|
* containerd
|
|
@@ -340,12 +341,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig exten
|
|
|
340
341
|
runtimeVersion?: string;
|
|
341
342
|
/**
|
|
342
343
|
* @remarks
|
|
343
|
-
* The node taint information. Taints and tolerations work together to prevent
|
|
344
|
+
* The node taint information. Taints and tolerations work together to prevent Pods from being scheduled to inappropriate nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
344
345
|
*/
|
|
345
346
|
taints?: Taint[];
|
|
346
347
|
/**
|
|
347
348
|
* @remarks
|
|
348
|
-
* Specifies whether the scaled
|
|
349
|
+
* Specifies whether the scaled nodes are unschedulable.
|
|
349
350
|
*
|
|
350
351
|
* - true: Unschedulable.
|
|
351
352
|
*
|
|
@@ -733,9 +734,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsManagement extends $da
|
|
|
733
734
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig extends $dara.Model {
|
|
734
735
|
/**
|
|
735
736
|
* @remarks
|
|
736
|
-
*
|
|
737
|
+
* 节点组件自定义配置。
|
|
738
|
+
*
|
|
739
|
+
* @example
|
|
740
|
+
* {"cpuManagerPolicy":"static"}
|
|
737
741
|
*/
|
|
738
|
-
customConfig?: { [key: string]:
|
|
742
|
+
customConfig?: { [key: string]: any };
|
|
739
743
|
static names(): { [key: string]: string } {
|
|
740
744
|
return {
|
|
741
745
|
customConfig: 'custom_config',
|
|
@@ -744,7 +748,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig e
|
|
|
744
748
|
|
|
745
749
|
static types(): { [key: string]: any } {
|
|
746
750
|
return {
|
|
747
|
-
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': '
|
|
751
|
+
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
748
752
|
};
|
|
749
753
|
}
|
|
750
754
|
|
|
@@ -763,12 +767,12 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig e
|
|
|
763
767
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends $dara.Model {
|
|
764
768
|
/**
|
|
765
769
|
* @remarks
|
|
766
|
-
*
|
|
770
|
+
* 节点组件配置。
|
|
767
771
|
*/
|
|
768
772
|
config?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponentsConfig;
|
|
769
773
|
/**
|
|
770
774
|
* @remarks
|
|
771
|
-
*
|
|
775
|
+
* 节点组件名称。
|
|
772
776
|
*
|
|
773
777
|
* @example
|
|
774
778
|
* kubelet
|
|
@@ -776,7 +780,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
776
780
|
name?: string;
|
|
777
781
|
/**
|
|
778
782
|
* @remarks
|
|
779
|
-
*
|
|
783
|
+
* 节点组件版本。
|
|
780
784
|
*
|
|
781
785
|
* @example
|
|
782
786
|
* 1.33.3-aliyun.1
|
|
@@ -813,7 +817,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents extends
|
|
|
813
817
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfigNodeOsConfig extends $dara.Model {
|
|
814
818
|
/**
|
|
815
819
|
* @remarks
|
|
816
|
-
* The
|
|
820
|
+
* The Hugepage configuration.
|
|
817
821
|
*/
|
|
818
822
|
hugepage?: Hugepage;
|
|
819
823
|
static names(): { [key: string]: string } {
|
|
@@ -891,10 +895,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $
|
|
|
891
895
|
created?: string;
|
|
892
896
|
/**
|
|
893
897
|
* @remarks
|
|
894
|
-
* Indicates whether
|
|
898
|
+
* Indicates whether this is the default node pool. Typically, a cluster has only one default node pool. Valid values:
|
|
895
899
|
*
|
|
896
|
-
* - `true`:
|
|
897
|
-
* - `false`:
|
|
900
|
+
* - `true`: This is the default node pool.
|
|
901
|
+
* - `false`: This is not the default node pool.
|
|
898
902
|
*
|
|
899
903
|
* @example
|
|
900
904
|
* true
|
|
@@ -998,7 +1002,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupPrivatePoo
|
|
|
998
1002
|
id?: string;
|
|
999
1003
|
/**
|
|
1000
1004
|
* @remarks
|
|
1001
|
-
* The
|
|
1005
|
+
* The private pool type. Specifies the private pool capacity option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launch. Valid values:
|
|
1002
1006
|
*
|
|
1003
1007
|
* - `Open`: open mode. Automatically matches open-type private pool capacity. If no matching private pool capacity is available, public pool resources are used for instance launch.
|
|
1004
1008
|
*
|
|
@@ -1156,10 +1160,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1156
1160
|
cisEnabled?: boolean;
|
|
1157
1161
|
/**
|
|
1158
1162
|
* @remarks
|
|
1159
|
-
* Specifies whether to allow
|
|
1163
|
+
* Specifies whether to allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory reasons. This parameter takes effect only when `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1160
1164
|
*
|
|
1161
|
-
* - `true`: Allow
|
|
1162
|
-
* - `false`: Do not allow
|
|
1165
|
+
* - `true`: Allow automatic creation of pay-as-you-go instances.
|
|
1166
|
+
* - `false`: Do not allow automatic creation of pay-as-you-go instances.
|
|
1163
1167
|
*
|
|
1164
1168
|
* @example
|
|
1165
1169
|
* true
|
|
@@ -1167,7 +1171,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1167
1171
|
compensateWithOnDemand?: boolean;
|
|
1168
1172
|
/**
|
|
1169
1173
|
* @remarks
|
|
1170
|
-
* The configurations for data cloud
|
|
1174
|
+
* The configurations for node data cloud disks, including type and size.
|
|
1171
1175
|
*/
|
|
1172
1176
|
dataDisks?: DataDisk[];
|
|
1173
1177
|
/**
|
|
@@ -1235,7 +1239,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1235
1239
|
instancePatterns?: InstancePatterns[];
|
|
1236
1240
|
/**
|
|
1237
1241
|
* @remarks
|
|
1238
|
-
* The list of node instance types. You can select multiple instance types as alternatives.
|
|
1242
|
+
* The list of node instance types. You can select multiple instance types as alternatives. During node creation, the system attempts to purchase instances starting from the first specification until successful. The final purchased instance type may vary depending on inventory availability.
|
|
1239
1243
|
*
|
|
1240
1244
|
* @example
|
|
1241
1245
|
* ecs.n4.large
|
|
@@ -1272,7 +1276,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1272
1276
|
keyPair?: string;
|
|
1273
1277
|
/**
|
|
1274
1278
|
* @remarks
|
|
1275
|
-
* Specifies whether the scaled
|
|
1279
|
+
* Specifies whether the scaled ECS instances use a non-root user for logon.
|
|
1276
1280
|
*
|
|
1277
1281
|
* - true: Log on as a non-root user (ecs-user).
|
|
1278
1282
|
*
|
|
@@ -1298,11 +1302,11 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1298
1302
|
*
|
|
1299
1303
|
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
1300
1304
|
*
|
|
1301
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in
|
|
1305
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with spot billing, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory or other reasons.
|
|
1302
1306
|
*
|
|
1303
1307
|
* >`COST_OPTIMIZED` takes effect only when multiple instance types are configured in the scaling configuration or spot instances are selected.
|
|
1304
1308
|
*
|
|
1305
|
-
* - `BALANCE`:
|
|
1309
|
+
* - `BALANCE`: Allocates ECS instances evenly across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
1306
1310
|
*
|
|
1307
1311
|
* @example
|
|
1308
1312
|
* COST_OPTIMIZED
|
|
@@ -1337,7 +1341,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1337
1341
|
period?: number;
|
|
1338
1342
|
/**
|
|
1339
1343
|
* @remarks
|
|
1340
|
-
* The billing cycle
|
|
1344
|
+
* The billing cycle of nodes. This parameter must be specified when `instance_charge_type` is set to `PrePaid`.
|
|
1341
1345
|
*
|
|
1342
1346
|
* - `Month`: billed on a monthly basis.
|
|
1343
1347
|
* - `Week`: billed on a weekly basis.
|
|
@@ -1405,7 +1409,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1405
1409
|
* The scaling group mode. Valid values:
|
|
1406
1410
|
*
|
|
1407
1411
|
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1408
|
-
* - `recycle`:
|
|
1412
|
+
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances to improve subsequent scaling speed. (Compute resources are not charged during the stopped state. Only storage fees are charged, except for local disk instance types.).
|
|
1409
1413
|
*
|
|
1410
1414
|
* @example
|
|
1411
1415
|
* release
|
|
@@ -1441,7 +1445,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1441
1445
|
securityHardeningOs?: boolean;
|
|
1442
1446
|
/**
|
|
1443
1447
|
* @remarks
|
|
1444
|
-
* Specifies whether to enable MLPS 2.0 security hardening. This
|
|
1448
|
+
* Specifies whether to enable MLPS 2.0 security hardening. This feature can be enabled only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides baseline check standards and scanning programs that comply with classified protection compliance for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1445
1449
|
*
|
|
1446
1450
|
* @example
|
|
1447
1451
|
* false
|
|
@@ -1457,10 +1461,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1457
1461
|
spotInstancePools?: number;
|
|
1458
1462
|
/**
|
|
1459
1463
|
* @remarks
|
|
1460
|
-
* Specifies whether to enable
|
|
1464
|
+
* Specifies whether to enable supplementation of spot instances. When enabled, the scaling group attempts to create new instances to replace spot instances that are about to be reclaimed. Valid values:
|
|
1461
1465
|
*
|
|
1462
|
-
* - `true`: Enable
|
|
1463
|
-
* - `false`: Disable
|
|
1466
|
+
* - `true`: Enable supplementation of spot instances.
|
|
1467
|
+
* - `false`: Disable supplementation of spot instances.
|
|
1464
1468
|
*
|
|
1465
1469
|
* @example
|
|
1466
1470
|
* false
|
|
@@ -1468,7 +1472,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1468
1472
|
spotInstanceRemedy?: boolean;
|
|
1469
1473
|
/**
|
|
1470
1474
|
* @remarks
|
|
1471
|
-
* The price
|
|
1475
|
+
* The price limit configurations for spot instances.
|
|
1472
1476
|
*/
|
|
1473
1477
|
spotPriceLimit?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroupSpotPriceLimit[];
|
|
1474
1478
|
/**
|
|
@@ -1486,9 +1490,9 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1486
1490
|
spotStrategy?: string;
|
|
1487
1491
|
/**
|
|
1488
1492
|
* @remarks
|
|
1489
|
-
* Specifies whether to enable burst (performance
|
|
1490
|
-
* - true:
|
|
1491
|
-
* - false:
|
|
1493
|
+
* Specifies whether to enable burst (performance burst) for the system cloud disk. Valid values:
|
|
1494
|
+
* - true: Enable burst. When workloads encounter sudden data read/write pressure, the cloud disk temporarily improves performance based on actual conditions until the workload returns to a steady state.
|
|
1495
|
+
* - false: Disable burst.
|
|
1492
1496
|
*
|
|
1493
1497
|
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1494
1498
|
*
|
|
@@ -1498,7 +1502,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1498
1502
|
systemDiskBurstingEnabled?: boolean;
|
|
1499
1503
|
/**
|
|
1500
1504
|
* @remarks
|
|
1501
|
-
* The multi-disk types for
|
|
1505
|
+
* The multi-disk types for system cloud disks. When a higher-priority disk type is unavailable, the system automatically attempts the next-priority disk type to create the system cloud disk.
|
|
1502
1506
|
*/
|
|
1503
1507
|
systemDiskCategories?: string[];
|
|
1504
1508
|
/**
|
|
@@ -1506,7 +1510,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1506
1510
|
* The system cloud disk type for nodes. Valid values:
|
|
1507
1511
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1508
1512
|
* - `cloud_ssd`: standard SSD.
|
|
1509
|
-
* - `cloud_essd`:
|
|
1513
|
+
* - `cloud_essd`: ESSD.
|
|
1510
1514
|
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1511
1515
|
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1512
1516
|
*
|
|
@@ -1526,8 +1530,8 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1526
1530
|
* @remarks
|
|
1527
1531
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1528
1532
|
*
|
|
1529
|
-
* - true:
|
|
1530
|
-
* - false:
|
|
1533
|
+
* - true: Encrypt the system cloud disk.
|
|
1534
|
+
* - false: Do not encrypt the system cloud disk.
|
|
1531
1535
|
*
|
|
1532
1536
|
* @example
|
|
1533
1537
|
* false
|
|
@@ -1543,7 +1547,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1543
1547
|
systemDiskKmsKeyId?: string;
|
|
1544
1548
|
/**
|
|
1545
1549
|
* @remarks
|
|
1546
|
-
* The performance level of the system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level
|
|
1550
|
+
* The performance level of the system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the disk size. For more information, see [ESSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
1547
1551
|
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1548
1552
|
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1549
1553
|
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
@@ -1555,7 +1559,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1555
1559
|
systemDiskPerformanceLevel?: string;
|
|
1556
1560
|
/**
|
|
1557
1561
|
* @remarks
|
|
1558
|
-
* The provisioned read/write IOPS for the system cloud disk. This parameter is
|
|
1562
|
+
* The provisioned read/write IOPS for the system cloud disk. This parameter is configured when the disk type is cloud_auto.
|
|
1559
1563
|
*
|
|
1560
1564
|
* @example
|
|
1561
1565
|
* 1000
|
|
@@ -1563,7 +1567,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1563
1567
|
systemDiskProvisionedIops?: number;
|
|
1564
1568
|
/**
|
|
1565
1569
|
* @remarks
|
|
1566
|
-
* The
|
|
1570
|
+
* The system cloud disk size for nodes. Unit: GiB.
|
|
1567
1571
|
*
|
|
1568
1572
|
* Valid values: [20,2048\\].
|
|
1569
1573
|
*
|
|
@@ -1749,7 +1753,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup extends $
|
|
|
1749
1753
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.Model {
|
|
1750
1754
|
/**
|
|
1751
1755
|
* @remarks
|
|
1752
|
-
* The number of failed
|
|
1756
|
+
* The number of failed nodes.
|
|
1753
1757
|
*
|
|
1754
1758
|
* @example
|
|
1755
1759
|
* 0
|
|
@@ -1757,7 +1761,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1757
1761
|
failedNodes?: number;
|
|
1758
1762
|
/**
|
|
1759
1763
|
* @remarks
|
|
1760
|
-
* The number of healthy
|
|
1764
|
+
* The number of healthy nodes.
|
|
1761
1765
|
*
|
|
1762
1766
|
* @example
|
|
1763
1767
|
* 3
|
|
@@ -1789,7 +1793,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1789
1793
|
removingNodes?: number;
|
|
1790
1794
|
/**
|
|
1791
1795
|
* @remarks
|
|
1792
|
-
* The number of nodes
|
|
1796
|
+
* The number of nodes in the serving state.
|
|
1793
1797
|
*
|
|
1794
1798
|
* @example
|
|
1795
1799
|
* 3
|
|
@@ -1800,7 +1804,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1800
1804
|
* The node pool state. Valid values:
|
|
1801
1805
|
*
|
|
1802
1806
|
* - `active`: The node pool is active.
|
|
1803
|
-
* - `scaling`: The node pool is
|
|
1807
|
+
* - `scaling`: The node pool is scaling.
|
|
1804
1808
|
* - `removing`: Nodes are being removed.
|
|
1805
1809
|
* - `deleting`: The node pool is being deleted.
|
|
1806
1810
|
* - `updating`: The node pool is being updated.
|
|
@@ -1855,10 +1859,10 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsStatus extends $dara.M
|
|
|
1855
1859
|
export class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig extends $dara.Model {
|
|
1856
1860
|
/**
|
|
1857
1861
|
* @remarks
|
|
1858
|
-
*
|
|
1862
|
+
* 是否开启加密计算集群,取值:
|
|
1859
1863
|
*
|
|
1860
|
-
* - `true
|
|
1861
|
-
* - `false
|
|
1864
|
+
* - `true`:开启。
|
|
1865
|
+
* - `false`:不开启。
|
|
1862
1866
|
*
|
|
1863
1867
|
* @example
|
|
1864
1868
|
* false
|
|
@@ -1888,32 +1892,32 @@ export class DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig extends $dar
|
|
|
1888
1892
|
export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
1889
1893
|
/**
|
|
1890
1894
|
* @remarks
|
|
1891
|
-
*
|
|
1895
|
+
* 智能托管配置。
|
|
1892
1896
|
*/
|
|
1893
1897
|
autoMode?: DescribeClusterNodePoolsResponseBodyNodepoolsAutoMode;
|
|
1894
1898
|
/**
|
|
1895
1899
|
* @remarks
|
|
1896
|
-
* The
|
|
1900
|
+
* The auto scaling configuration.
|
|
1897
1901
|
*/
|
|
1898
1902
|
autoScaling?: DescribeClusterNodePoolsResponseBodyNodepoolsAutoScaling;
|
|
1899
1903
|
/**
|
|
1900
1904
|
* @remarks
|
|
1901
|
-
*
|
|
1905
|
+
* 灵骏节点组信息。
|
|
1902
1906
|
*/
|
|
1903
1907
|
efloNodeGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsEfloNodeGroup;
|
|
1904
1908
|
/**
|
|
1905
1909
|
* @remarks
|
|
1906
|
-
*
|
|
1910
|
+
* 【该字段已废弃】
|
|
1907
1911
|
*
|
|
1908
|
-
*
|
|
1912
|
+
* 边缘节点池网络相关的配置。该值只对edge类型的节点池有意义。
|
|
1909
1913
|
*/
|
|
1910
1914
|
interconnectConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsInterconnectConfig;
|
|
1911
1915
|
/**
|
|
1912
1916
|
* @remarks
|
|
1913
|
-
*
|
|
1917
|
+
* 边缘节点池的网络类型,该参数仅对`type`为`edge`类型的节点池生效,取值范围:
|
|
1914
1918
|
*
|
|
1915
|
-
* - `basic
|
|
1916
|
-
* - `private
|
|
1919
|
+
* - `basic`:公网。节点池内的节点通过公网与云端节点进行交互,节点池内应用不能直接访问云端VPC内网。
|
|
1920
|
+
* - `private`:专用网络。节点池内的节点通过专线、VPN或CEN等方式实现云上与云下网络打通,拥有更高的云边通信质量,提供更有效的安全保障。
|
|
1917
1921
|
*
|
|
1918
1922
|
* @example
|
|
1919
1923
|
* basic
|
|
@@ -1931,7 +1935,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1931
1935
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
1932
1936
|
/**
|
|
1933
1937
|
* @remarks
|
|
1934
|
-
*
|
|
1938
|
+
* 边缘节点池允许容纳的最大节点数量. 节点池内可以容纳的最大节点数量,该参数大于等于0。0表示无额外限制(仅受限于集群整体可以容纳的节点数,节点池本身无额外限制)。边缘节点池该参数值往往大于0;ess类型节点池和默认的edge类型节点池该参数值为0
|
|
1935
1939
|
*
|
|
1936
1940
|
* @example
|
|
1937
1941
|
* 10
|
|
@@ -1939,7 +1943,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1939
1943
|
maxNodes?: number;
|
|
1940
1944
|
/**
|
|
1941
1945
|
* @remarks
|
|
1942
|
-
*
|
|
1946
|
+
* 节点组件列表。
|
|
1943
1947
|
*/
|
|
1944
1948
|
nodeComponents?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeComponents[];
|
|
1945
1949
|
/**
|
|
@@ -1964,7 +1968,7 @@ export class DescribeClusterNodePoolsResponseBodyNodepools extends $dara.Model {
|
|
|
1964
1968
|
status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
|
|
1965
1969
|
/**
|
|
1966
1970
|
* @remarks
|
|
1967
|
-
*
|
|
1971
|
+
* 加密计算配置。
|
|
1968
1972
|
*/
|
|
1969
1973
|
teeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsTeeConfig;
|
|
1970
1974
|
static names(): { [key: string]: string } {
|
|
@@ -6,8 +6,11 @@ export class InstallNodePoolComponentsRequestComponentsConfig extends $dara.Mode
|
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
8
|
* The custom configuration of the component.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {"cpuManagerPolicy":"static"}
|
|
9
12
|
*/
|
|
10
|
-
customConfig?: { [key: string]:
|
|
13
|
+
customConfig?: { [key: string]: any };
|
|
11
14
|
static names(): { [key: string]: string } {
|
|
12
15
|
return {
|
|
13
16
|
customConfig: 'customConfig',
|
|
@@ -16,7 +19,7 @@ export class InstallNodePoolComponentsRequestComponentsConfig extends $dara.Mode
|
|
|
16
19
|
|
|
17
20
|
static types(): { [key: string]: any } {
|
|
18
21
|
return {
|
|
19
|
-
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': '
|
|
22
|
+
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
20
23
|
};
|
|
21
24
|
}
|
|
22
25
|
|
package/src/models/Nodepool.ts
CHANGED
|
@@ -632,8 +632,11 @@ export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
632
632
|
/**
|
|
633
633
|
* @remarks
|
|
634
634
|
* 节点组件自定义配置。
|
|
635
|
+
*
|
|
636
|
+
* @example
|
|
637
|
+
* {"cpuManagerPolicy":"static"}
|
|
635
638
|
*/
|
|
636
|
-
customConfig?: { [key: string]:
|
|
639
|
+
customConfig?: { [key: string]: any };
|
|
637
640
|
static names(): { [key: string]: string } {
|
|
638
641
|
return {
|
|
639
642
|
customConfig: 'custom_config',
|
|
@@ -642,7 +645,7 @@ export class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
642
645
|
|
|
643
646
|
static types(): { [key: string]: any } {
|
|
644
647
|
return {
|
|
645
|
-
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': '
|
|
648
|
+
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
|
|
646
649
|
};
|
|
647
650
|
}
|
|
648
651
|
|
|
@@ -1573,7 +1576,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1573
1576
|
autoScaling?: NodepoolAutoScaling;
|
|
1574
1577
|
/**
|
|
1575
1578
|
* @remarks
|
|
1576
|
-
*
|
|
1579
|
+
* This parameter is deprecated. Use desired_size instead.
|
|
1577
1580
|
*
|
|
1578
1581
|
* The number of nodes in the node pool.
|
|
1579
1582
|
*
|
|
@@ -1585,7 +1588,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1585
1588
|
count?: number;
|
|
1586
1589
|
/**
|
|
1587
1590
|
* @remarks
|
|
1588
|
-
*
|
|
1591
|
+
* This parameter is deprecated.
|
|
1589
1592
|
*
|
|
1590
1593
|
* The edge node pool configuration.
|
|
1591
1594
|
*
|
|
@@ -1594,7 +1597,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1594
1597
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1595
1598
|
/**
|
|
1596
1599
|
* @remarks
|
|
1597
|
-
* The network type of the edge node pool. This
|
|
1600
|
+
* The network type of the edge node pool. This parameter is valid only for node pools whose `type` is `edge`. Valid values:
|
|
1598
1601
|
*
|
|
1599
1602
|
* - `basic`: basic.
|
|
1600
1603
|
* - `private`: dedicated. Supported in version 1.22 and later.
|
|
@@ -1643,7 +1646,7 @@ export class Nodepool extends $dara.Model {
|
|
|
1643
1646
|
scalingGroup?: NodepoolScalingGroup;
|
|
1644
1647
|
/**
|
|
1645
1648
|
* @remarks
|
|
1646
|
-
* The confidential computing node pool
|
|
1649
|
+
* The confidential computing configuration of the node pool.
|
|
1647
1650
|
*/
|
|
1648
1651
|
teeConfig?: NodepoolTeeConfig;
|
|
1649
1652
|
static names(): { [key: string]: string } {
|