@alicloud/cs20151215 7.0.4 → 7.1.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 +120 -42
- package/dist/client.js +332 -71
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +119 -621
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsRequest.js +73 -0
- package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentsResponse.js +69 -0
- package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +70 -195
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +63 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +366 -71
- package/src/models/CreateClusterNodePoolRequest.ts +126 -367
- package/src/models/CreateClusterRequest.ts +119 -621
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
- package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
- package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
- package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
- package/src/models/ListNodePoolComponentsRequest.ts +76 -0
- package/src/models/ListNodePoolComponentsResponse.ts +40 -0
- package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +70 -195
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
- package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +25 -0
|
@@ -10,7 +10,8 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* [
|
|
13
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
14
|
+
*
|
|
14
15
|
* The peak bandwidth of the EIP.
|
|
15
16
|
*
|
|
16
17
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
@@ -23,14 +24,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
23
24
|
eipBandwidth?: number;
|
|
24
25
|
/**
|
|
25
26
|
* @remarks
|
|
26
|
-
* [
|
|
27
|
-
*
|
|
28
|
-
* The EIP billing type. Valid values:
|
|
29
|
-
*
|
|
30
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
31
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
32
|
-
*
|
|
33
|
-
* Default value: `PayByBandwidth`.
|
|
27
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
34
28
|
*
|
|
35
29
|
* @example
|
|
36
30
|
* null
|
|
@@ -42,26 +36,13 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
42
36
|
* @remarks
|
|
43
37
|
* Specifies whether to enable auto scaling. Valid values:
|
|
44
38
|
*
|
|
45
|
-
* - `true`: enables the auto scaling feature for the node pool. When the capacity planning of the cluster 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 node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
46
|
-
*
|
|
47
|
-
* - `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.
|
|
48
|
-
*
|
|
49
|
-
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
50
|
-
*
|
|
51
|
-
* Default value: `false`.
|
|
52
|
-
*
|
|
53
39
|
* @example
|
|
54
40
|
* true
|
|
55
41
|
*/
|
|
56
42
|
enable?: boolean;
|
|
57
43
|
/**
|
|
58
44
|
* @remarks
|
|
59
|
-
* [
|
|
60
|
-
*
|
|
61
|
-
* - `true`: associates an EIP.
|
|
62
|
-
* - `false`: does not associate an EIP.
|
|
63
|
-
*
|
|
64
|
-
* Default value: `false`.
|
|
45
|
+
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
65
46
|
*
|
|
66
47
|
* @example
|
|
67
48
|
* null
|
|
@@ -71,9 +52,7 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
71
52
|
isBondEip?: boolean;
|
|
72
53
|
/**
|
|
73
54
|
* @remarks
|
|
74
|
-
* The maximum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
75
|
-
*
|
|
76
|
-
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
55
|
+
* The maximum number of instances that can be scaled out in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
77
56
|
*
|
|
78
57
|
* @example
|
|
79
58
|
* 10
|
|
@@ -81,12 +60,12 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
81
60
|
maxInstances?: number;
|
|
82
61
|
/**
|
|
83
62
|
* @remarks
|
|
84
|
-
* The minimum number of instances
|
|
63
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
85
64
|
*
|
|
86
65
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
87
66
|
*
|
|
88
|
-
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances
|
|
89
|
-
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool
|
|
67
|
+
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after it takes effect.
|
|
68
|
+
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the auto scaling feature takes effect.
|
|
90
69
|
*
|
|
91
70
|
* @example
|
|
92
71
|
* 2
|
|
@@ -96,13 +75,6 @@ export class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
96
75
|
* @remarks
|
|
97
76
|
* The auto scaling type, classified by instance type. Valid values:
|
|
98
77
|
*
|
|
99
|
-
* - `cpu`: regular instance type.
|
|
100
|
-
* - `gpu`: GPU instance type.
|
|
101
|
-
* - `gpushare`: GPU sharing type.
|
|
102
|
-
* - `spot`: spot instance type.
|
|
103
|
-
*
|
|
104
|
-
* Default value: `cpu`.
|
|
105
|
-
*
|
|
106
78
|
* @example
|
|
107
79
|
* cpu
|
|
108
80
|
*
|
|
@@ -185,12 +157,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
185
157
|
cmsEnabled?: boolean;
|
|
186
158
|
/**
|
|
187
159
|
* @remarks
|
|
188
|
-
* The
|
|
189
|
-
*
|
|
190
|
-
* - `static`: allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
191
|
-
* - `none`: enables the existing default CPU affinity scheme.
|
|
192
|
-
*
|
|
193
|
-
* Default value: `none`.
|
|
160
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
194
161
|
*
|
|
195
162
|
* @example
|
|
196
163
|
* none
|
|
@@ -198,19 +165,12 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
198
165
|
cpuPolicy?: string;
|
|
199
166
|
/**
|
|
200
167
|
* @remarks
|
|
201
|
-
* The node labels.
|
|
202
|
-
*
|
|
203
|
-
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
204
|
-
* - Label keys cannot be duplicated and can be up to 64 characters. Label values can be empty and can be up to 128 characters. Neither label keys nor label values can start with `aliyun`, `acs:`, `https://`, or `http://`. For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
168
|
+
* The node labels. You can add labels to the nodes in the Kubernetes cluster. Label definition rules:
|
|
205
169
|
*/
|
|
206
170
|
labels?: Tag[];
|
|
207
171
|
/**
|
|
208
172
|
* @remarks
|
|
209
|
-
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
210
|
-
*
|
|
211
|
-
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit. The node IP is the full private IP address of the node.
|
|
212
|
-
*
|
|
213
|
-
* The parameter contains four parts separated by commas. For example, if you pass in "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is: aliyun.192.168.xxx.xxx.com.
|
|
173
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP address + suffix.
|
|
214
174
|
*
|
|
215
175
|
* @example
|
|
216
176
|
* customized,aliyun,ip,com
|
|
@@ -218,7 +178,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
218
178
|
nodeNameMode?: string;
|
|
219
179
|
/**
|
|
220
180
|
* @remarks
|
|
221
|
-
* The
|
|
181
|
+
* The pre-user data of the instance. Before a node joins the cluster, the specified pre-user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
222
182
|
*
|
|
223
183
|
* @example
|
|
224
184
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -226,11 +186,11 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
226
186
|
preUserData?: string;
|
|
227
187
|
/**
|
|
228
188
|
* @remarks
|
|
229
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
189
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
230
190
|
*
|
|
231
|
-
* - containerd:
|
|
232
|
-
* - Sandboxed-Container.runv:
|
|
233
|
-
* - docker:
|
|
191
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
192
|
+
* - Sandboxed-Container.runv: Sandboxed container runtime that provides higher isolation. Supports clusters of version 1.31 and earlier.
|
|
193
|
+
* - docker: No longer maintained. Supports clusters of version 1.22 and earlier.
|
|
234
194
|
*
|
|
235
195
|
* Default value: containerd.
|
|
236
196
|
*
|
|
@@ -253,11 +213,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
253
213
|
taints?: Taint[];
|
|
254
214
|
/**
|
|
255
215
|
* @remarks
|
|
256
|
-
* Specifies whether the nodes added
|
|
257
|
-
*
|
|
258
|
-
* - true: Unschedulable.
|
|
259
|
-
*
|
|
260
|
-
* - false: Schedulable.
|
|
216
|
+
* Specifies whether the nodes added during the scale-out are unschedulable.
|
|
261
217
|
*
|
|
262
218
|
* @example
|
|
263
219
|
* false
|
|
@@ -265,7 +221,7 @@ export class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
265
221
|
unschedulable?: boolean;
|
|
266
222
|
/**
|
|
267
223
|
* @remarks
|
|
268
|
-
* The instance user data. After
|
|
224
|
+
* The instance user data. After a node joins the cluster, the specified user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
269
225
|
*
|
|
270
226
|
* @example
|
|
271
227
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -331,11 +287,17 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
331
287
|
*/
|
|
332
288
|
autoRepairPolicyId?: string;
|
|
333
289
|
/**
|
|
290
|
+
* @remarks
|
|
291
|
+
* The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a number (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value: 1.
|
|
292
|
+
*
|
|
334
293
|
* @example
|
|
335
294
|
* 5
|
|
336
295
|
*/
|
|
337
296
|
maxParallelRepairingNodes?: string;
|
|
338
297
|
/**
|
|
298
|
+
* @remarks
|
|
299
|
+
* The circuit breaker condition for self-healing. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. You can specify a number (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default value: 100%.
|
|
300
|
+
*
|
|
339
301
|
* @example
|
|
340
302
|
* 20%
|
|
341
303
|
*/
|
|
@@ -344,11 +306,6 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
344
306
|
* @remarks
|
|
345
307
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
346
308
|
*
|
|
347
|
-
* - `true`: allows node restart.
|
|
348
|
-
* - `false`: does not allow node restart.
|
|
349
|
-
*
|
|
350
|
-
* Default value: `true`.
|
|
351
|
-
*
|
|
352
309
|
* @example
|
|
353
310
|
* true
|
|
354
311
|
*/
|
|
@@ -385,11 +342,7 @@ export class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
385
342
|
export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
386
343
|
/**
|
|
387
344
|
* @remarks
|
|
388
|
-
* Specifies whether to allow
|
|
389
|
-
* - `true`: allows automatic kubelet upgrade.
|
|
390
|
-
* - `false`: does not allow automatic kubelet upgrade.
|
|
391
|
-
*
|
|
392
|
-
* Default value: `true`.
|
|
345
|
+
* Specifies whether to allow auto upgrade of kubelet. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
393
346
|
*
|
|
394
347
|
* @example
|
|
395
348
|
* true
|
|
@@ -397,11 +350,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
397
350
|
autoUpgradeKubelet?: boolean;
|
|
398
351
|
/**
|
|
399
352
|
* @remarks
|
|
400
|
-
* Specifies whether to allow
|
|
401
|
-
* - `true`: allows automatic OS upgrade.
|
|
402
|
-
* - `false`: does not allow automatic OS upgrade.
|
|
403
|
-
*
|
|
404
|
-
* Default value: `false`.
|
|
353
|
+
* Specifies whether to allow auto upgrade of the operating system. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
405
354
|
*
|
|
406
355
|
* @example
|
|
407
356
|
* false
|
|
@@ -409,11 +358,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
409
358
|
autoUpgradeOs?: boolean;
|
|
410
359
|
/**
|
|
411
360
|
* @remarks
|
|
412
|
-
* Specifies whether to allow
|
|
413
|
-
* - `true`: allows automatic runtime upgrade.
|
|
414
|
-
* - `false`: does not allow automatic runtime upgrade.
|
|
415
|
-
*
|
|
416
|
-
* Default value: `true`.
|
|
361
|
+
* Specifies whether to allow auto upgrade of the runtime. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
417
362
|
*
|
|
418
363
|
* @example
|
|
419
364
|
* false
|
|
@@ -447,9 +392,7 @@ export class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
447
392
|
export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
448
393
|
/**
|
|
449
394
|
* @remarks
|
|
450
|
-
* Specifies the packages to exclude during vulnerability
|
|
451
|
-
*
|
|
452
|
-
* Default value: `kernel`.
|
|
395
|
+
* Specifies the packages to exclude during vulnerability fix.
|
|
453
396
|
*
|
|
454
397
|
* @example
|
|
455
398
|
* kernel
|
|
@@ -457,11 +400,11 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
457
400
|
excludePackages?: string;
|
|
458
401
|
/**
|
|
459
402
|
* @remarks
|
|
460
|
-
* Specifies whether to allow node
|
|
461
|
-
* - `true`:
|
|
462
|
-
* - `false`:
|
|
403
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
404
|
+
* - `true`: Node restarts are allowed.
|
|
405
|
+
* - `false`: Node restarts are not allowed.
|
|
463
406
|
*
|
|
464
|
-
* Default value: `true
|
|
407
|
+
* Default value: `true`
|
|
465
408
|
*
|
|
466
409
|
* @example
|
|
467
410
|
* true
|
|
@@ -469,13 +412,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
469
412
|
restartNode?: boolean;
|
|
470
413
|
/**
|
|
471
414
|
* @remarks
|
|
472
|
-
* The vulnerability levels allowed for
|
|
473
|
-
*
|
|
474
|
-
* - `asap`: high
|
|
475
|
-
* - `later`: medium
|
|
476
|
-
* - `nntf`: low
|
|
477
|
-
*
|
|
478
|
-
* Default value: `asap`.
|
|
415
|
+
* The vulnerability levels that are allowed for auto fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
479
416
|
*
|
|
480
417
|
* @example
|
|
481
418
|
* asap,nntf
|
|
@@ -509,14 +446,7 @@ export class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
509
446
|
export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
510
447
|
/**
|
|
511
448
|
* @remarks
|
|
512
|
-
* [
|
|
513
|
-
*
|
|
514
|
-
* Specifies whether to enable auto upgrade:
|
|
515
|
-
*
|
|
516
|
-
* - true: enables auto upgrade.
|
|
517
|
-
* - false: disables auto upgrade.
|
|
518
|
-
*
|
|
519
|
-
* Default value: `true`.
|
|
449
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
520
450
|
*
|
|
521
451
|
* @example
|
|
522
452
|
* true
|
|
@@ -528,21 +458,13 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
528
458
|
* @remarks
|
|
529
459
|
* The maximum number of unavailable nodes.
|
|
530
460
|
*
|
|
531
|
-
* Valid values: [1,1000\\].
|
|
532
|
-
*
|
|
533
|
-
* Default value: 1.
|
|
534
|
-
*
|
|
535
461
|
* @example
|
|
536
462
|
* 1
|
|
537
463
|
*/
|
|
538
464
|
maxUnavailable?: number;
|
|
539
465
|
/**
|
|
540
466
|
* @remarks
|
|
541
|
-
* The number of extra nodes.
|
|
542
|
-
*
|
|
543
|
-
* During an upgrade, nodes become unavailable. You can create extra nodes to compensate for the cluster workload.
|
|
544
|
-
*
|
|
545
|
-
* > The number of extra nodes should not exceed the current number of nodes.
|
|
467
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
546
468
|
*
|
|
547
469
|
* @example
|
|
548
470
|
* 5
|
|
@@ -550,9 +472,7 @@ export class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
550
472
|
surge?: number;
|
|
551
473
|
/**
|
|
552
474
|
* @remarks
|
|
553
|
-
* The percentage of extra nodes.
|
|
554
|
-
*
|
|
555
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
475
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
556
476
|
*
|
|
557
477
|
* @example
|
|
558
478
|
* 0
|
|
@@ -595,9 +515,9 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
595
515
|
* @remarks
|
|
596
516
|
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
597
517
|
*
|
|
598
|
-
* - `true`:
|
|
518
|
+
* - `true`: Automatically repairs nodes.
|
|
599
519
|
*
|
|
600
|
-
* - `false`:
|
|
520
|
+
* - `false`: Does not automatically repair nodes.
|
|
601
521
|
*
|
|
602
522
|
* Default value: `true`.
|
|
603
523
|
*
|
|
@@ -613,10 +533,6 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
613
533
|
/**
|
|
614
534
|
* @remarks
|
|
615
535
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
616
|
-
* - `true`: enables auto upgrade.
|
|
617
|
-
* - `false`: disables auto upgrade.
|
|
618
|
-
*
|
|
619
|
-
* Default value: `true`.
|
|
620
536
|
*
|
|
621
537
|
* @example
|
|
622
538
|
* true
|
|
@@ -631,11 +547,6 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
631
547
|
* @remarks
|
|
632
548
|
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
633
549
|
*
|
|
634
|
-
* - `true`: allows automatic CVE fixing.
|
|
635
|
-
* - `false`: does not allow automatic CVE fixing.
|
|
636
|
-
*
|
|
637
|
-
* Default value: `true`.
|
|
638
|
-
*
|
|
639
550
|
* @example
|
|
640
551
|
* true
|
|
641
552
|
*/
|
|
@@ -645,25 +556,24 @@ export class ModifyClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
645
556
|
* The auto CVE fix policy.
|
|
646
557
|
*/
|
|
647
558
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
559
|
+
/**
|
|
560
|
+
* @remarks
|
|
561
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Common node pools do not support this feature.
|
|
562
|
+
*/
|
|
648
563
|
driftEnabled?: boolean;
|
|
649
564
|
/**
|
|
650
565
|
* @remarks
|
|
651
566
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
652
567
|
*
|
|
653
|
-
* - `true`: enables the managed node pool.
|
|
654
|
-
* - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
655
|
-
*
|
|
656
|
-
* Default value: `false`.
|
|
657
|
-
*
|
|
658
568
|
* @example
|
|
659
569
|
* true
|
|
660
570
|
*/
|
|
661
571
|
enable?: boolean;
|
|
662
572
|
/**
|
|
663
573
|
* @remarks
|
|
664
|
-
* [
|
|
574
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
665
575
|
*
|
|
666
|
-
* The
|
|
576
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
667
577
|
*
|
|
668
578
|
* @deprecated
|
|
669
579
|
*/
|
|
@@ -732,9 +642,7 @@ export class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
732
642
|
name?: string;
|
|
733
643
|
/**
|
|
734
644
|
* @remarks
|
|
735
|
-
* The resource group ID of the node pool. Instances
|
|
736
|
-
*
|
|
737
|
-
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
|
|
645
|
+
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
738
646
|
*
|
|
739
647
|
* @example
|
|
740
648
|
* rg-acfmyvw3wjm****
|
|
@@ -774,10 +682,10 @@ export class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
774
682
|
id?: string;
|
|
775
683
|
/**
|
|
776
684
|
* @remarks
|
|
777
|
-
* The private node pool
|
|
778
|
-
* - `Open`:
|
|
779
|
-
* - `Target`:
|
|
780
|
-
* - `None`:
|
|
685
|
+
* The type of the private node pool. The private pool option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use during launch. Valid values:
|
|
686
|
+
* - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to launch the instance.
|
|
687
|
+
* - `Target`: targeted mode. The instance is launched using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
688
|
+
* - `None`: none mode. The instance launch does not use private pool capacity.
|
|
781
689
|
*
|
|
782
690
|
* @example
|
|
783
691
|
* Open
|
|
@@ -814,10 +722,12 @@ export class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
814
722
|
privatePoolIds?: string[];
|
|
815
723
|
/**
|
|
816
724
|
* @remarks
|
|
817
|
-
* The resource pool strategy used when
|
|
818
|
-
*
|
|
819
|
-
*
|
|
820
|
-
*
|
|
725
|
+
* The resource pool strategy used when instances are created. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools, which are available for instance startup. Valid values:
|
|
726
|
+
*
|
|
727
|
+
* - PrivatePoolFirst: private pool preferred. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
728
|
+
* - PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
729
|
+
* - None: no resource pool strategy is used.
|
|
730
|
+
*
|
|
821
731
|
* Default value: None.
|
|
822
732
|
*
|
|
823
733
|
* @example
|
|
@@ -861,7 +771,7 @@ export class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
861
771
|
instanceType?: string;
|
|
862
772
|
/**
|
|
863
773
|
* @remarks
|
|
864
|
-
* The maximum price
|
|
774
|
+
* The maximum price of a single instance.
|
|
865
775
|
*
|
|
866
776
|
* <props="china">Unit: CNY/hour.
|
|
867
777
|
*
|
|
@@ -901,22 +811,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
901
811
|
* @remarks
|
|
902
812
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
903
813
|
*
|
|
904
|
-
* - `true`: enables auto-renewal.
|
|
905
|
-
* - `false`: disables auto-renewal.
|
|
906
|
-
*
|
|
907
|
-
* Default value: `false`.
|
|
908
|
-
*
|
|
909
814
|
* @example
|
|
910
815
|
* true
|
|
911
816
|
*/
|
|
912
817
|
autoRenew?: boolean;
|
|
913
818
|
/**
|
|
914
819
|
* @remarks
|
|
915
|
-
* The
|
|
916
|
-
* - When PeriodUnit=Week: 1, 2, 3.
|
|
917
|
-
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
918
|
-
*
|
|
919
|
-
* Default value: 1.
|
|
820
|
+
* The duration of a single auto-renewal cycle. Valid values:
|
|
920
821
|
*
|
|
921
822
|
* @example
|
|
922
823
|
* 1
|
|
@@ -924,10 +825,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
924
825
|
autoRenewPeriod?: number;
|
|
925
826
|
/**
|
|
926
827
|
* @remarks
|
|
927
|
-
*
|
|
828
|
+
* Specifies whether to allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
928
829
|
*
|
|
929
|
-
* - `true`:
|
|
930
|
-
* - `false`:
|
|
830
|
+
* - `true`: allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
831
|
+
* - `false`: does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
931
832
|
*
|
|
932
833
|
* @example
|
|
933
834
|
* true
|
|
@@ -935,12 +836,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
935
836
|
compensateWithOnDemand?: boolean;
|
|
936
837
|
/**
|
|
937
838
|
* @remarks
|
|
938
|
-
* The data cloud disk
|
|
839
|
+
* The data cloud disk configurations for nodes. Valid values: 0 to 10. You can add up to 10 data cloud disks.
|
|
939
840
|
*/
|
|
940
841
|
dataDisks?: DataDisk[];
|
|
941
842
|
/**
|
|
942
843
|
* @remarks
|
|
943
|
-
* The deployment set
|
|
844
|
+
* The deployment set to which the ECS instances created by the node pool belong. This setting takes effect only on new nodes. The deployment set of existing nodes is not changed.
|
|
944
845
|
*
|
|
945
846
|
* @example
|
|
946
847
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -950,10 +851,6 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
950
851
|
* @remarks
|
|
951
852
|
* The desired number of nodes in the node pool.
|
|
952
853
|
*
|
|
953
|
-
* The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
|
|
954
|
-
*
|
|
955
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust it later to add nodes.
|
|
956
|
-
*
|
|
957
854
|
* @example
|
|
958
855
|
* 2
|
|
959
856
|
*/
|
|
@@ -963,6 +860,14 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
963
860
|
* The block device initialization configuration.
|
|
964
861
|
*/
|
|
965
862
|
diskInit?: DiskInit[];
|
|
863
|
+
/**
|
|
864
|
+
* @remarks
|
|
865
|
+
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types. When enabled, the total number of system cloud disks and data cloud disks does not exceed the high-density cloud disk count supported by the instance type.
|
|
866
|
+
*
|
|
867
|
+
* @example
|
|
868
|
+
* false
|
|
869
|
+
*/
|
|
870
|
+
enableHighDensityMode?: boolean;
|
|
966
871
|
/**
|
|
967
872
|
* @remarks
|
|
968
873
|
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system. The latest system image is used by default.
|
|
@@ -983,7 +888,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
983
888
|
* - `CentOS`: CentOS image.
|
|
984
889
|
* - `Windows`: Windows image.
|
|
985
890
|
* - `WindowsCore`: WindowsCore image.
|
|
986
|
-
* - `ContainerOS`:
|
|
891
|
+
* - `ContainerOS`: Container-optimized image.
|
|
987
892
|
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
988
893
|
*
|
|
989
894
|
* @example
|
|
@@ -994,33 +899,23 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
994
899
|
* @remarks
|
|
995
900
|
* The billing method of nodes in the node pool. Valid values:
|
|
996
901
|
*
|
|
997
|
-
* - `PrePaid`: subscription.
|
|
998
|
-
* - `PostPaid`: pay-as-you-go.
|
|
999
|
-
*
|
|
1000
|
-
* Default value: `PostPaid`.
|
|
1001
|
-
*
|
|
1002
902
|
* @example
|
|
1003
903
|
* PostPaid
|
|
1004
904
|
*/
|
|
1005
905
|
instanceChargeType?: string;
|
|
1006
906
|
/**
|
|
1007
907
|
* @remarks
|
|
1008
|
-
* The instance attribute
|
|
908
|
+
* The instance attribute configurations.
|
|
1009
909
|
*/
|
|
1010
910
|
instancePatterns?: InstancePatterns[];
|
|
1011
911
|
/**
|
|
1012
912
|
* @remarks
|
|
1013
|
-
* The list of node instance types. You can
|
|
1014
|
-
*
|
|
1015
|
-
* Supported number of instance types: [1,10].
|
|
913
|
+
* The list of node instance types. You can specify multiple instance types as alternatives. During node creation, the system attempts to purchase instances starting from the first specification until the creation succeeds. The final purchased instance type may vary depending on inventory availability.
|
|
1016
914
|
*/
|
|
1017
915
|
instanceTypes?: string[];
|
|
1018
916
|
/**
|
|
1019
917
|
* @remarks
|
|
1020
|
-
* The billing
|
|
1021
|
-
*
|
|
1022
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
1023
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
918
|
+
* The billing method for public IP addresses. Valid values:
|
|
1024
919
|
*
|
|
1025
920
|
* @example
|
|
1026
921
|
* PayByBandwidth
|
|
@@ -1028,7 +923,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1028
923
|
internetChargeType?: string;
|
|
1029
924
|
/**
|
|
1030
925
|
* @remarks
|
|
1031
|
-
* The maximum outbound bandwidth for node public IP
|
|
926
|
+
* The maximum outbound bandwidth for the node public IP address. Unit: Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
1032
927
|
*
|
|
1033
928
|
* @example
|
|
1034
929
|
* 5
|
|
@@ -1036,7 +931,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1036
931
|
internetMaxBandwidthOut?: number;
|
|
1037
932
|
/**
|
|
1038
933
|
* @remarks
|
|
1039
|
-
* The key pair name.
|
|
934
|
+
* The key pair name. Specify either this parameter or `login_password`. When the node pool is a managed node pool, only `key_pair` is supported.
|
|
1040
935
|
*
|
|
1041
936
|
* @example
|
|
1042
937
|
* pro-nodepool
|
|
@@ -1044,7 +939,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1044
939
|
keyPair?: string;
|
|
1045
940
|
/**
|
|
1046
941
|
* @remarks
|
|
1047
|
-
* The SSH logon password.
|
|
942
|
+
* The SSH logon password. Specify either this parameter or `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1048
943
|
*
|
|
1049
944
|
* @example
|
|
1050
945
|
* Hello1234
|
|
@@ -1054,23 +949,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1054
949
|
* @remarks
|
|
1055
950
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1056
951
|
*
|
|
1057
|
-
* - `PRIORITY`: scales based on the vSwitches (VSwitchIds.N) you defined. 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.
|
|
1058
|
-
*
|
|
1059
|
-
* - `COST_OPTIMIZED`: attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1060
|
-
*
|
|
1061
|
-
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1062
|
-
*
|
|
1063
|
-
* - `BALANCE`: evenly allocates ECS instances 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).
|
|
1064
|
-
*
|
|
1065
|
-
* Default value: `PRIORITY`.
|
|
1066
|
-
*
|
|
1067
952
|
* @example
|
|
1068
953
|
* BALANCE
|
|
1069
954
|
*/
|
|
1070
955
|
multiAzPolicy?: string;
|
|
1071
956
|
/**
|
|
1072
957
|
* @remarks
|
|
1073
|
-
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created
|
|
958
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created with priority when the number of pay-as-you-go instances is less than this value.
|
|
1074
959
|
*
|
|
1075
960
|
* @example
|
|
1076
961
|
* 0
|
|
@@ -1078,7 +963,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1078
963
|
onDemandBaseCapacity?: number;
|
|
1079
964
|
/**
|
|
1080
965
|
* @remarks
|
|
1081
|
-
* The percentage of pay-as-you-go instances among instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
966
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
1082
967
|
*
|
|
1083
968
|
* @example
|
|
1084
969
|
* 20
|
|
@@ -1086,10 +971,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1086
971
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1087
972
|
/**
|
|
1088
973
|
* @remarks
|
|
1089
|
-
* The subscription duration of nodes in the node pool. This parameter takes effect
|
|
974
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid` and is required in this case.
|
|
1090
975
|
*
|
|
1091
|
-
* - When `period_unit=Week`, valid values of `period`:
|
|
1092
|
-
* - When `period_unit=Month`, valid values of `period`:
|
|
976
|
+
* - When `period_unit=Week`, valid values of `period`: 1, 2, 3, and 4.
|
|
977
|
+
* - When `period_unit=Month`, valid values of `period`: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
1093
978
|
*
|
|
1094
979
|
* @example
|
|
1095
980
|
* 1
|
|
@@ -1099,18 +984,13 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1099
984
|
* @remarks
|
|
1100
985
|
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1101
986
|
*
|
|
1102
|
-
* - `Month`: the billing cycle is month.
|
|
1103
|
-
* - `Week`: the billing cycle is week.
|
|
1104
|
-
*
|
|
1105
|
-
* Default value: `Month`.
|
|
1106
|
-
*
|
|
1107
987
|
* @example
|
|
1108
988
|
* Month
|
|
1109
989
|
*/
|
|
1110
990
|
periodUnit?: string;
|
|
1111
991
|
/**
|
|
1112
992
|
* @remarks
|
|
1113
|
-
* **
|
|
993
|
+
* **[Deprecated]** Use the `image_type` parameter instead.
|
|
1114
994
|
*
|
|
1115
995
|
* The operating system platform. Valid values:
|
|
1116
996
|
*
|
|
@@ -1132,23 +1012,18 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1132
1012
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1133
1013
|
/**
|
|
1134
1014
|
* @remarks
|
|
1135
|
-
* The list of
|
|
1015
|
+
* The list of RDS instances.
|
|
1136
1016
|
*/
|
|
1137
1017
|
rdsInstances?: string[];
|
|
1138
1018
|
/**
|
|
1139
1019
|
* @remarks
|
|
1140
|
-
* The resource
|
|
1141
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1142
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1020
|
+
* The resource pools and resource pool policies used when creating instances. After you set this parameter, note the following:
|
|
1143
1021
|
*/
|
|
1144
1022
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1145
1023
|
/**
|
|
1146
1024
|
* @remarks
|
|
1147
1025
|
* The scaling group mode. Valid values:
|
|
1148
1026
|
*
|
|
1149
|
-
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1150
|
-
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations (compute resources are not charged during the stopped state, only storage fees are charged, except for local disk instance types).
|
|
1151
|
-
*
|
|
1152
1027
|
* @example
|
|
1153
1028
|
* release
|
|
1154
1029
|
*/
|
|
@@ -1160,7 +1035,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1160
1035
|
securityGroupIds?: string[];
|
|
1161
1036
|
/**
|
|
1162
1037
|
* @remarks
|
|
1163
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1038
|
+
* The number of available instance types. The scaling group creates spot instances in a cost-optimized manner across multiple instance types. Valid values: [1,10\\].
|
|
1164
1039
|
*
|
|
1165
1040
|
* @example
|
|
1166
1041
|
* 5
|
|
@@ -1168,10 +1043,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1168
1043
|
spotInstancePools?: number;
|
|
1169
1044
|
/**
|
|
1170
1045
|
* @remarks
|
|
1171
|
-
* Specifies whether to enable spot instance supplementation. If enabled, when the
|
|
1172
|
-
*
|
|
1173
|
-
* - `true`: Enables spot instance supplementation.
|
|
1174
|
-
* - `false`: Disables spot instance supplementation.
|
|
1046
|
+
* Specifies whether to enable spot instance supplementation. If enabled, when the scaling group receives a system message that a spot instance will be reclaimed, it attempts to create a new instance to replace the spot instance that is about to be reclaimed. Valid values:
|
|
1175
1047
|
*
|
|
1176
1048
|
* @example
|
|
1177
1049
|
* false
|
|
@@ -1179,18 +1051,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1179
1051
|
spotInstanceRemedy?: boolean;
|
|
1180
1052
|
/**
|
|
1181
1053
|
* @remarks
|
|
1182
|
-
* The price limit
|
|
1054
|
+
* The price limit configurations for spot instances.
|
|
1183
1055
|
*/
|
|
1184
1056
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1185
1057
|
/**
|
|
1186
1058
|
* @remarks
|
|
1187
|
-
* The spot instance
|
|
1188
|
-
*
|
|
1189
|
-
* - `NoSpot`: non-spot instance.
|
|
1190
|
-
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1191
|
-
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1192
|
-
*
|
|
1193
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1059
|
+
* The type of spot instance. Valid values:
|
|
1194
1060
|
*
|
|
1195
1061
|
* @example
|
|
1196
1062
|
* SpotWithPriceLimit
|
|
@@ -1198,11 +1064,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1198
1064
|
spotStrategy?: string;
|
|
1199
1065
|
/**
|
|
1200
1066
|
* @remarks
|
|
1201
|
-
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1202
|
-
* - true: enables burst. When enabled, the cloud disk temporarily improves performance during sudden data read/write pressure from fluctuating workloads until the workload returns to a steady state.
|
|
1203
|
-
* - false: disables burst.
|
|
1204
|
-
*
|
|
1205
|
-
* 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).
|
|
1067
|
+
* Specifies whether to enable burst (I/O performance burst) for the node system cloud disk. Valid values:
|
|
1206
1068
|
*
|
|
1207
1069
|
* @example
|
|
1208
1070
|
* true
|
|
@@ -1210,17 +1072,17 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1210
1072
|
systemDiskBurstingEnabled?: boolean;
|
|
1211
1073
|
/**
|
|
1212
1074
|
* @remarks
|
|
1213
|
-
*
|
|
1075
|
+
* The multiple cloud disk types for the system cloud disk. If a cloud disk type with a higher priority is unavailable, the system automatically attempts the next priority cloud disk type to create the system cloud disk.
|
|
1214
1076
|
*/
|
|
1215
1077
|
systemDiskCategories?: string[];
|
|
1216
1078
|
/**
|
|
1217
1079
|
* @remarks
|
|
1218
|
-
* The type of the
|
|
1080
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
1219
1081
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1220
1082
|
* - `cloud_ssd`: standard SSD.
|
|
1221
1083
|
* - `cloud_essd`: ESSD.
|
|
1222
1084
|
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1223
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1085
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1224
1086
|
*
|
|
1225
1087
|
* Default value: `cloud_efficiency`.
|
|
1226
1088
|
*
|
|
@@ -1240,10 +1102,6 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1240
1102
|
* @remarks
|
|
1241
1103
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1242
1104
|
*
|
|
1243
|
-
* - true: encrypts the system cloud disk.
|
|
1244
|
-
*
|
|
1245
|
-
* - false: does not encrypt the system cloud disk.
|
|
1246
|
-
*
|
|
1247
1105
|
* @example
|
|
1248
1106
|
* false
|
|
1249
1107
|
*/
|
|
@@ -1259,10 +1117,6 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1259
1117
|
/**
|
|
1260
1118
|
* @remarks
|
|
1261
1119
|
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1262
|
-
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1263
|
-
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1264
|
-
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1265
|
-
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1266
1120
|
*
|
|
1267
1121
|
* @example
|
|
1268
1122
|
* PL1
|
|
@@ -1270,11 +1124,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1270
1124
|
systemDiskPerformanceLevel?: string;
|
|
1271
1125
|
/**
|
|
1272
1126
|
* @remarks
|
|
1273
|
-
* The provisioned read/write IOPS
|
|
1274
|
-
*
|
|
1275
|
-
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1276
|
-
*
|
|
1277
|
-
* 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).
|
|
1127
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1278
1128
|
*
|
|
1279
1129
|
* @example
|
|
1280
1130
|
* 1000
|
|
@@ -1284,12 +1134,6 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1284
1134
|
* @remarks
|
|
1285
1135
|
* The size of the node system cloud disk. Unit: GiB.
|
|
1286
1136
|
*
|
|
1287
|
-
* Valid values: [20,2048\\].
|
|
1288
|
-
*
|
|
1289
|
-
* The value must be greater than or equal to max{20, ImageSize}.
|
|
1290
|
-
*
|
|
1291
|
-
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1292
|
-
*
|
|
1293
1137
|
* @example
|
|
1294
1138
|
* 120
|
|
1295
1139
|
*/
|
|
@@ -1304,14 +1148,12 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1304
1148
|
systemDiskSnapshotPolicyId?: string;
|
|
1305
1149
|
/**
|
|
1306
1150
|
* @remarks
|
|
1307
|
-
*
|
|
1308
|
-
*
|
|
1309
|
-
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1151
|
+
* Adds tags only to ECS instances.
|
|
1310
1152
|
*/
|
|
1311
1153
|
tags?: Tag[];
|
|
1312
1154
|
/**
|
|
1313
1155
|
* @remarks
|
|
1314
|
-
* The list of vSwitch IDs. Valid values:
|
|
1156
|
+
* The list of vSwitch IDs. Valid values: 1 to 8.
|
|
1315
1157
|
*
|
|
1316
1158
|
* > To ensure high availability, select vSwitches in different zones.
|
|
1317
1159
|
*/
|
|
@@ -1325,6 +1167,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1325
1167
|
deploymentsetId: 'deploymentset_id',
|
|
1326
1168
|
desiredSize: 'desired_size',
|
|
1327
1169
|
diskInit: 'disk_init',
|
|
1170
|
+
enableHighDensityMode: 'enable_high_density_mode',
|
|
1328
1171
|
imageId: 'image_id',
|
|
1329
1172
|
imageType: 'image_type',
|
|
1330
1173
|
instanceChargeType: 'instance_charge_type',
|
|
@@ -1373,6 +1216,7 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1373
1216
|
deploymentsetId: 'string',
|
|
1374
1217
|
desiredSize: 'number',
|
|
1375
1218
|
diskInit: { 'type': 'array', 'itemType': DiskInit },
|
|
1219
|
+
enableHighDensityMode: 'boolean',
|
|
1376
1220
|
imageId: 'string',
|
|
1377
1221
|
imageType: 'string',
|
|
1378
1222
|
instanceChargeType: 'string',
|
|
@@ -1460,10 +1304,10 @@ export class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1460
1304
|
export class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1461
1305
|
/**
|
|
1462
1306
|
* @remarks
|
|
1463
|
-
* Specifies whether to enable confidential computing
|
|
1307
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1464
1308
|
*
|
|
1465
1309
|
* - `true`: Enabled.
|
|
1466
|
-
* - `false`:
|
|
1310
|
+
* - `false`: Not enabled.
|
|
1467
1311
|
*
|
|
1468
1312
|
* Default value: `false`.
|
|
1469
1313
|
*
|
|
@@ -1538,7 +1382,7 @@ export class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1538
1382
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1539
1383
|
/**
|
|
1540
1384
|
* @remarks
|
|
1541
|
-
*
|
|
1385
|
+
* Specifies whether to synchronously update node labels and taints.
|
|
1542
1386
|
*
|
|
1543
1387
|
* @example
|
|
1544
1388
|
* true
|