@alicloud/cs20151215 7.0.1 → 7.0.2
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 +12 -12
- package/dist/client.js +15 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +267 -267
- package/dist/models/CreateClusterNodePoolRequest.js +4 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +232 -225
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +174 -167
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +6 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +0 -6
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +228 -218
- package/dist/models/ModifyClusterNodePoolRequest.js +25 -1
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +5 -5
- package/dist/models/model.d.ts +1 -0
- package/dist/models/model.js +25 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +16 -12
- package/src/models/CreateClusterNodePoolRequest.ts +271 -267
- package/src/models/CreateClusterNodePoolResponseBody.ts +3 -3
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +238 -225
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +180 -167
- package/src/models/KubeletConfig.ts +0 -6
- package/src/models/ModifyClusterNodePoolRequest.ts +243 -218
- package/src/models/ModifyClusterNodePoolResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +5 -5
- package/src/models/model.ts +1 -0
|
@@ -7,10 +7,10 @@ import { Taint } from "./Taint";
|
|
|
7
7
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* [This field is deprecated]
|
|
11
|
-
*
|
|
10
|
+
* [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
11
|
+
* The peak EIP bandwidth.
|
|
12
12
|
*
|
|
13
|
-
* Valid values: [1,100]. Unit:
|
|
13
|
+
* Valid values: [1,100]. Unit: Mbit/s.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* null
|
|
@@ -20,12 +20,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
20
20
|
eipBandwidth?: number;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* [This field is deprecated]
|
|
23
|
+
* [This field is deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
24
24
|
*
|
|
25
|
-
* EIP billing type. Valid values:
|
|
25
|
+
* The EIP billing type. Valid values:
|
|
26
26
|
*
|
|
27
|
-
* - `PayByBandwidth`:
|
|
28
|
-
* - `PayByTraffic`:
|
|
27
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
28
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
29
29
|
*
|
|
30
30
|
* Default value: `PayByBandwidth`.
|
|
31
31
|
*
|
|
@@ -37,14 +37,13 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
37
37
|
eipInternetChargeType?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
41
41
|
*
|
|
42
|
-
* - `true`:
|
|
43
|
-
* clusters with versions below 1.24 enable node auto scaling by default. For more information, see [Node Scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
42
|
+
* - `true`: Enables auto scaling 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 auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
44
43
|
*
|
|
45
|
-
* - `false`:
|
|
44
|
+
* - `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.
|
|
46
45
|
*
|
|
47
|
-
* When
|
|
46
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
48
47
|
*
|
|
49
48
|
* Default value: `false`.
|
|
50
49
|
*
|
|
@@ -54,10 +53,10 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
54
53
|
enable?: boolean;
|
|
55
54
|
/**
|
|
56
55
|
* @remarks
|
|
57
|
-
* [This field is deprecated] This field is deprecated.
|
|
56
|
+
* [This field is deprecated] This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
58
57
|
*
|
|
59
|
-
* - `true`:
|
|
60
|
-
* - `false`:
|
|
58
|
+
* - `true`: Associates an EIP.
|
|
59
|
+
* - `false`: Does not associate an EIP.
|
|
61
60
|
*
|
|
62
61
|
* Default value: `false`.
|
|
63
62
|
*
|
|
@@ -69,7 +68,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
69
68
|
isBondEip?: boolean;
|
|
70
69
|
/**
|
|
71
70
|
* @remarks
|
|
72
|
-
* The maximum number of
|
|
71
|
+
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
73
72
|
*
|
|
74
73
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
75
74
|
*
|
|
@@ -79,12 +78,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
79
78
|
maxInstances?: number;
|
|
80
79
|
/**
|
|
81
80
|
* @remarks
|
|
82
|
-
* The minimum number of
|
|
81
|
+
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
83
82
|
*
|
|
84
83
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
85
84
|
*
|
|
86
|
-
* > -
|
|
87
|
-
* > -
|
|
85
|
+
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances are automatically created after the scaling group takes effect.
|
|
86
|
+
* > - 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 elastic scaling feature takes effect.
|
|
88
87
|
*
|
|
89
88
|
* @example
|
|
90
89
|
* 2
|
|
@@ -92,12 +91,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
92
91
|
minInstances?: number;
|
|
93
92
|
/**
|
|
94
93
|
* @remarks
|
|
95
|
-
*
|
|
94
|
+
* The auto scaling type, classified by instance type. Valid values:
|
|
96
95
|
*
|
|
97
|
-
* - `cpu`:
|
|
96
|
+
* - `cpu`: regular instance type.
|
|
98
97
|
* - `gpu`: GPU instance type.
|
|
99
98
|
* - `gpushare`: GPU sharing type.
|
|
100
|
-
* - `spot`:
|
|
99
|
+
* - `spot`: spot instance type.
|
|
101
100
|
*
|
|
102
101
|
* Default value: `cpu`.
|
|
103
102
|
*
|
|
@@ -118,13 +117,26 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
118
117
|
[key: string]: any;
|
|
119
118
|
});
|
|
120
119
|
}
|
|
120
|
+
export declare class ModifyClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
121
|
+
autoAttachEnabled?: string;
|
|
122
|
+
static names(): {
|
|
123
|
+
[key: string]: string;
|
|
124
|
+
};
|
|
125
|
+
static types(): {
|
|
126
|
+
[key: string]: any;
|
|
127
|
+
};
|
|
128
|
+
validate(): void;
|
|
129
|
+
constructor(map?: {
|
|
130
|
+
[key: string]: any;
|
|
131
|
+
});
|
|
132
|
+
}
|
|
121
133
|
export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
122
134
|
/**
|
|
123
135
|
* @remarks
|
|
124
|
-
*
|
|
136
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information about the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
125
137
|
*
|
|
126
|
-
* - `true`:
|
|
127
|
-
* - `false`:
|
|
138
|
+
* - `true`: installs the CloudMonitor agent on ECS nodes.
|
|
139
|
+
* - `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
128
140
|
*
|
|
129
141
|
* Default value: `false`.
|
|
130
142
|
*
|
|
@@ -134,10 +146,10 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
134
146
|
cmsEnabled?: boolean;
|
|
135
147
|
/**
|
|
136
148
|
* @remarks
|
|
137
|
-
*
|
|
149
|
+
* The CPU management policy for nodes. The following two policies are supported for cluster versions 1.12.6 and later:
|
|
138
150
|
*
|
|
139
|
-
* - `static`:
|
|
140
|
-
* - `none`:
|
|
151
|
+
* - `static`: allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
152
|
+
* - `none`: enables the existing default CPU affinity scheme.
|
|
141
153
|
*
|
|
142
154
|
* Default value: `none`.
|
|
143
155
|
*
|
|
@@ -147,19 +159,19 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
147
159
|
cpuPolicy?: string;
|
|
148
160
|
/**
|
|
149
161
|
* @remarks
|
|
150
|
-
*
|
|
162
|
+
* The node labels. Adds labels to Kubernetes cluster nodes. Label definition rules:
|
|
151
163
|
*
|
|
152
|
-
* - Labels
|
|
153
|
-
* - Label keys cannot be duplicated and can be up to 64 characters. Label values can be empty and up to 128 characters.
|
|
164
|
+
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
165
|
+
* - Label keys cannot be duplicated and can be up to 64 characters in length. Label values can be empty and can be up to 128 characters in length. 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).
|
|
154
166
|
*/
|
|
155
167
|
labels?: Tag[];
|
|
156
168
|
/**
|
|
157
169
|
* @remarks
|
|
158
|
-
*
|
|
170
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
159
171
|
*
|
|
160
|
-
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can
|
|
172
|
+
* 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.
|
|
161
173
|
*
|
|
162
|
-
* The parameter
|
|
174
|
+
* The parameter contains four parts separated by commas. For example, if you pass in the string "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.
|
|
163
175
|
*
|
|
164
176
|
* @example
|
|
165
177
|
* customized,aliyun,ip,com
|
|
@@ -167,7 +179,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
167
179
|
nodeNameMode?: string;
|
|
168
180
|
/**
|
|
169
181
|
* @remarks
|
|
170
|
-
*
|
|
182
|
+
* The pre-user data for the instance. Before the 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).
|
|
171
183
|
*
|
|
172
184
|
* @example
|
|
173
185
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -175,11 +187,11 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
175
187
|
preUserData?: string;
|
|
176
188
|
/**
|
|
177
189
|
* @remarks
|
|
178
|
-
*
|
|
190
|
+
* The container runtime name. ACK supports the following three container runtimes:
|
|
179
191
|
*
|
|
180
|
-
* - containerd:
|
|
181
|
-
* - Sandboxed-Container.runv:
|
|
182
|
-
* - docker:
|
|
192
|
+
* - containerd: recommended. Supported by all cluster versions.
|
|
193
|
+
* - Sandboxed-Container.runv: sandboxed container that provides higher isolation. Supported by cluster versions 1.31 and earlier.
|
|
194
|
+
* - docker: no longer maintained. Supported by cluster versions 1.22 and earlier.
|
|
183
195
|
*
|
|
184
196
|
* Default value: containerd.
|
|
185
197
|
*
|
|
@@ -189,7 +201,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
189
201
|
runtime?: string;
|
|
190
202
|
/**
|
|
191
203
|
* @remarks
|
|
192
|
-
*
|
|
204
|
+
* The container runtime version.
|
|
193
205
|
*
|
|
194
206
|
* @example
|
|
195
207
|
* 1.6.38
|
|
@@ -197,16 +209,16 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
197
209
|
runtimeVersion?: string;
|
|
198
210
|
/**
|
|
199
211
|
* @remarks
|
|
200
|
-
*
|
|
212
|
+
* The node taint configuration.
|
|
201
213
|
*/
|
|
202
214
|
taints?: Taint[];
|
|
203
215
|
/**
|
|
204
216
|
* @remarks
|
|
205
|
-
*
|
|
217
|
+
* Specifies whether the nodes added during scale-out are unschedulable.
|
|
206
218
|
*
|
|
207
|
-
* - true:
|
|
219
|
+
* - true: unschedulable.
|
|
208
220
|
*
|
|
209
|
-
* - false:
|
|
221
|
+
* - false: schedulable.
|
|
210
222
|
*
|
|
211
223
|
* @example
|
|
212
224
|
* false
|
|
@@ -214,7 +226,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
214
226
|
unschedulable?: boolean;
|
|
215
227
|
/**
|
|
216
228
|
* @remarks
|
|
217
|
-
*
|
|
229
|
+
* The instance user data. After the 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).
|
|
218
230
|
*
|
|
219
231
|
* @example
|
|
220
232
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -234,12 +246,12 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
234
246
|
export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
235
247
|
/**
|
|
236
248
|
* @remarks
|
|
237
|
-
*
|
|
249
|
+
* Specifies whether node repair requires manual approval.
|
|
238
250
|
*/
|
|
239
251
|
approvalRequired?: boolean;
|
|
240
252
|
/**
|
|
241
253
|
* @remarks
|
|
242
|
-
*
|
|
254
|
+
* The auto repair policy ID.
|
|
243
255
|
*
|
|
244
256
|
* @example
|
|
245
257
|
* r-xxxxxxxxxx
|
|
@@ -247,10 +259,10 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
247
259
|
autoRepairPolicyId?: string;
|
|
248
260
|
/**
|
|
249
261
|
* @remarks
|
|
250
|
-
*
|
|
262
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
251
263
|
*
|
|
252
|
-
* - `true`:
|
|
253
|
-
* - `false`:
|
|
264
|
+
* - `true`: Allows node restart.
|
|
265
|
+
* - `false`: Does not allow node restart.
|
|
254
266
|
*
|
|
255
267
|
* Default value: `true`.
|
|
256
268
|
*
|
|
@@ -272,9 +284,9 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
272
284
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
273
285
|
/**
|
|
274
286
|
* @remarks
|
|
275
|
-
*
|
|
276
|
-
* - `true`:
|
|
277
|
-
* - `false`:
|
|
287
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
288
|
+
* - `true`: Allows automatic kubelet upgrade.
|
|
289
|
+
* - `false`: Does not allow automatic kubelet upgrade.
|
|
278
290
|
*
|
|
279
291
|
* Default value: `true`.
|
|
280
292
|
*
|
|
@@ -284,9 +296,9 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
284
296
|
autoUpgradeKubelet?: boolean;
|
|
285
297
|
/**
|
|
286
298
|
* @remarks
|
|
287
|
-
*
|
|
288
|
-
* - `true`:
|
|
289
|
-
* - `false`:
|
|
299
|
+
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
300
|
+
* - `true`: Allows automatic operating system upgrade.
|
|
301
|
+
* - `false`: Does not allow automatic operating system upgrade.
|
|
290
302
|
*
|
|
291
303
|
* Default value: `false`.
|
|
292
304
|
*
|
|
@@ -296,9 +308,9 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
296
308
|
autoUpgradeOs?: boolean;
|
|
297
309
|
/**
|
|
298
310
|
* @remarks
|
|
299
|
-
*
|
|
300
|
-
* - `true`:
|
|
301
|
-
* - `false`:
|
|
311
|
+
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
312
|
+
* - `true`: Allows automatic runtime upgrade.
|
|
313
|
+
* - `false`: Does not allow automatic runtime upgrade.
|
|
302
314
|
*
|
|
303
315
|
* Default value: `true`.
|
|
304
316
|
*
|
|
@@ -320,7 +332,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
320
332
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
321
333
|
/**
|
|
322
334
|
* @remarks
|
|
323
|
-
* Specifies the packages to
|
|
335
|
+
* Specifies the packages to exclude during vulnerability fixing.
|
|
324
336
|
*
|
|
325
337
|
* Default value: `kernel`.
|
|
326
338
|
*
|
|
@@ -330,9 +342,9 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
330
342
|
excludePackages?: string;
|
|
331
343
|
/**
|
|
332
344
|
* @remarks
|
|
333
|
-
*
|
|
334
|
-
* - `true`:
|
|
335
|
-
* - `false`:
|
|
345
|
+
* Specifies whether to allow node restart. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
346
|
+
* - `true`: Allows node restart.
|
|
347
|
+
* - `false`: Does not allow node restart.
|
|
336
348
|
*
|
|
337
349
|
* Default value: `true`.
|
|
338
350
|
*
|
|
@@ -342,11 +354,11 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
342
354
|
restartNode?: boolean;
|
|
343
355
|
/**
|
|
344
356
|
* @remarks
|
|
345
|
-
*
|
|
357
|
+
* The vulnerability levels allowed for automatic fixing, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
346
358
|
*
|
|
347
|
-
* - `asap`:
|
|
348
|
-
* - `later`:
|
|
349
|
-
* - `nntf`:
|
|
359
|
+
* - `asap`: high
|
|
360
|
+
* - `later`: medium
|
|
361
|
+
* - `nntf`: low
|
|
350
362
|
*
|
|
351
363
|
* Default value: `asap`.
|
|
352
364
|
*
|
|
@@ -368,12 +380,12 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
368
380
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
369
381
|
/**
|
|
370
382
|
* @remarks
|
|
371
|
-
* [This field is deprecated]
|
|
383
|
+
* [This field is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
372
384
|
*
|
|
373
|
-
*
|
|
385
|
+
* Specifies whether to enable auto upgrade:
|
|
374
386
|
*
|
|
375
|
-
* - true:
|
|
376
|
-
* - false:
|
|
387
|
+
* - true: Enabled.
|
|
388
|
+
* - false: Disabled.
|
|
377
389
|
*
|
|
378
390
|
* Default value: `true`.
|
|
379
391
|
*
|
|
@@ -385,9 +397,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
385
397
|
autoUpgrade?: boolean;
|
|
386
398
|
/**
|
|
387
399
|
* @remarks
|
|
388
|
-
*
|
|
400
|
+
* The maximum number of unavailable nodes.
|
|
389
401
|
*
|
|
390
|
-
* Valid values: [1,1000\\]
|
|
402
|
+
* Valid values: [1,1000\\].
|
|
391
403
|
*
|
|
392
404
|
* Default value: 1.
|
|
393
405
|
*
|
|
@@ -397,11 +409,11 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
397
409
|
maxUnavailable?: number;
|
|
398
410
|
/**
|
|
399
411
|
* @remarks
|
|
400
|
-
*
|
|
412
|
+
* The number of extra nodes. This parameter is mutually exclusive with `surge_percentage`.
|
|
401
413
|
*
|
|
402
|
-
*
|
|
414
|
+
* Nodes become unavailable during an upgrade. You can create extra nodes to compensate for the cluster workload.
|
|
403
415
|
*
|
|
404
|
-
* >
|
|
416
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
405
417
|
*
|
|
406
418
|
* @example
|
|
407
419
|
* 5
|
|
@@ -409,9 +421,9 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
409
421
|
surge?: number;
|
|
410
422
|
/**
|
|
411
423
|
* @remarks
|
|
412
|
-
*
|
|
424
|
+
* The percentage of extra nodes. This parameter is mutually exclusive with `surge`.
|
|
413
425
|
*
|
|
414
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage
|
|
426
|
+
* 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.
|
|
415
427
|
*
|
|
416
428
|
* @example
|
|
417
429
|
* 0
|
|
@@ -432,11 +444,11 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
432
444
|
autoFaultDiagnosis?: boolean;
|
|
433
445
|
/**
|
|
434
446
|
* @remarks
|
|
435
|
-
*
|
|
447
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
436
448
|
*
|
|
437
|
-
* - `true`:
|
|
449
|
+
* - `true`: Enables auto repair.
|
|
438
450
|
*
|
|
439
|
-
* - `false`:
|
|
451
|
+
* - `false`: Disables auto repair.
|
|
440
452
|
*
|
|
441
453
|
* Default value: `true`.
|
|
442
454
|
*
|
|
@@ -446,14 +458,14 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
446
458
|
autoRepair?: boolean;
|
|
447
459
|
/**
|
|
448
460
|
* @remarks
|
|
449
|
-
*
|
|
461
|
+
* The auto repair node policy.
|
|
450
462
|
*/
|
|
451
463
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
452
464
|
/**
|
|
453
465
|
* @remarks
|
|
454
|
-
*
|
|
455
|
-
* - `true`:
|
|
456
|
-
* - `false`:
|
|
466
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
467
|
+
* - `true`: Enables auto upgrade.
|
|
468
|
+
* - `false`: Disables auto upgrade.
|
|
457
469
|
*
|
|
458
470
|
* Default value: `true`.
|
|
459
471
|
*
|
|
@@ -463,15 +475,15 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
463
475
|
autoUpgrade?: boolean;
|
|
464
476
|
/**
|
|
465
477
|
* @remarks
|
|
466
|
-
*
|
|
478
|
+
* The auto upgrade policy.
|
|
467
479
|
*/
|
|
468
480
|
autoUpgradePolicy?: ModifyClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
469
481
|
/**
|
|
470
482
|
* @remarks
|
|
471
|
-
*
|
|
483
|
+
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
472
484
|
*
|
|
473
|
-
* - `true`:
|
|
474
|
-
* - `false`:
|
|
485
|
+
* - `true`: Allows automatic CVE fixing.
|
|
486
|
+
* - `false`: Does not allow automatic CVE fixing.
|
|
475
487
|
*
|
|
476
488
|
* Default value: `true`.
|
|
477
489
|
*
|
|
@@ -481,15 +493,15 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
481
493
|
autoVulFix?: boolean;
|
|
482
494
|
/**
|
|
483
495
|
* @remarks
|
|
484
|
-
*
|
|
496
|
+
* The auto CVE fix policy.
|
|
485
497
|
*/
|
|
486
498
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
487
499
|
/**
|
|
488
500
|
* @remarks
|
|
489
|
-
*
|
|
501
|
+
* Specifies whether to enable the managed node pool. Valid values:
|
|
490
502
|
*
|
|
491
|
-
* - `true`:
|
|
492
|
-
* - `false`:
|
|
503
|
+
* - `true`: Enables the managed node pool.
|
|
504
|
+
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
493
505
|
*
|
|
494
506
|
* Default value: `false`.
|
|
495
507
|
*
|
|
@@ -499,9 +511,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
499
511
|
enable?: boolean;
|
|
500
512
|
/**
|
|
501
513
|
* @remarks
|
|
502
|
-
* [This field is deprecated]
|
|
514
|
+
* [This field is deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
503
515
|
*
|
|
504
|
-
*
|
|
516
|
+
* The auto upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
505
517
|
*
|
|
506
518
|
* @deprecated
|
|
507
519
|
*/
|
|
@@ -520,9 +532,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
520
532
|
export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
521
533
|
/**
|
|
522
534
|
* @remarks
|
|
523
|
-
*
|
|
535
|
+
* The node pool name.
|
|
524
536
|
*
|
|
525
|
-
* Naming rules: The name can contain digits, Chinese characters,
|
|
537
|
+
* Naming rules: The name must be 1 to 63 characters in length and can contain digits, Chinese characters, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
526
538
|
*
|
|
527
539
|
* @example
|
|
528
540
|
* default-nodepool
|
|
@@ -530,9 +542,9 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
530
542
|
name?: string;
|
|
531
543
|
/**
|
|
532
544
|
* @remarks
|
|
533
|
-
* The resource group ID of the node pool. Instances created by the node pool
|
|
545
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
534
546
|
*
|
|
535
|
-
* A resource can
|
|
547
|
+
* 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.
|
|
536
548
|
*
|
|
537
549
|
* @example
|
|
538
550
|
* rg-acfmyvw3wjm****
|
|
@@ -552,7 +564,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
552
564
|
export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
553
565
|
/**
|
|
554
566
|
* @remarks
|
|
555
|
-
*
|
|
567
|
+
* The private node pool ID. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
556
568
|
*
|
|
557
569
|
* @example
|
|
558
570
|
* eap-bp67acfmxazb4****
|
|
@@ -560,10 +572,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
560
572
|
id?: string;
|
|
561
573
|
/**
|
|
562
574
|
* @remarks
|
|
563
|
-
*
|
|
564
|
-
* - `Open`:
|
|
565
|
-
* - `Target`:
|
|
566
|
-
* - `None`:
|
|
575
|
+
* The private node pool type. Specifies the private pool capacity option for launching instances. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instance launching. Valid values:
|
|
576
|
+
* - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used.
|
|
577
|
+
* - `Target`: specified mode. The instance is launched using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
578
|
+
* - `None`: not used. The instance does not use private pool capacity.
|
|
567
579
|
*
|
|
568
580
|
* @example
|
|
569
581
|
* Open
|
|
@@ -583,15 +595,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
583
595
|
export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
584
596
|
/**
|
|
585
597
|
* @remarks
|
|
586
|
-
*
|
|
598
|
+
* The list of private pool IDs, which are the IDs of elasticity assurance or capacity reservation services. Only Target mode private pool IDs can be specified. Valid values of N: 1 to 20.
|
|
587
599
|
*/
|
|
588
600
|
privatePoolIds?: string[];
|
|
589
601
|
/**
|
|
590
602
|
* @remarks
|
|
591
|
-
*
|
|
592
|
-
* PrivatePoolFirst:
|
|
593
|
-
* PrivatePoolOnly:
|
|
594
|
-
* None:
|
|
603
|
+
* The resource pool policy used when creating instances. Resource pools include private pools generated after an elasticity assurance or capacity reservation takes effect, and public pools, for instance launching. Valid values:
|
|
604
|
+
* PrivatePoolFirst: private pool first. When this policy 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 capacity is insufficient, open private pool capacity is automatically matched. If no matching private pool is available, public pool resources are used.
|
|
605
|
+
* PrivatePoolOnly: private pool only. When this policy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool capacity is insufficient, the instance fails to launch.
|
|
606
|
+
* None: no resource pool policy is used.
|
|
595
607
|
* Default value: None.
|
|
596
608
|
*
|
|
597
609
|
* @example
|
|
@@ -612,7 +624,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
612
624
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
613
625
|
/**
|
|
614
626
|
* @remarks
|
|
615
|
-
*
|
|
627
|
+
* The spot instance type.
|
|
616
628
|
*
|
|
617
629
|
* @example
|
|
618
630
|
* ecs.c6.large
|
|
@@ -620,7 +632,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
620
632
|
instanceType?: string;
|
|
621
633
|
/**
|
|
622
634
|
* @remarks
|
|
623
|
-
*
|
|
635
|
+
* The maximum price per instance.
|
|
624
636
|
*
|
|
625
637
|
* <props="china">Unit: CNY/hour.
|
|
626
638
|
*
|
|
@@ -646,10 +658,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
646
658
|
export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
647
659
|
/**
|
|
648
660
|
* @remarks
|
|
649
|
-
*
|
|
661
|
+
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
650
662
|
*
|
|
651
|
-
* - `true`:
|
|
652
|
-
* - `false`:
|
|
663
|
+
* - `true`: Enables auto-renewal.
|
|
664
|
+
* - `false`: Disables auto-renewal.
|
|
653
665
|
*
|
|
654
666
|
* Default value: `false`.
|
|
655
667
|
*
|
|
@@ -659,7 +671,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
659
671
|
autoRenew?: boolean;
|
|
660
672
|
/**
|
|
661
673
|
* @remarks
|
|
662
|
-
*
|
|
674
|
+
* The auto-renewal period for a single renewal cycle. Valid values:
|
|
663
675
|
* - When PeriodUnit=Week: 1, 2, 3.
|
|
664
676
|
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
665
677
|
*
|
|
@@ -671,10 +683,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
671
683
|
autoRenewPeriod?: number;
|
|
672
684
|
/**
|
|
673
685
|
* @remarks
|
|
674
|
-
* When `multi_az_policy` is set to `COST_OPTIMIZED`, whether to allow automatically
|
|
686
|
+
* When `multi_az_policy` is set to `COST_OPTIMIZED`, specifies whether to allow the system to automatically create pay-as-you-go instances if spot instances cannot be created due to price or inventory reasons to meet the required number of ECS instances. Valid values:
|
|
675
687
|
*
|
|
676
|
-
* - `true`:
|
|
677
|
-
* - `false`:
|
|
688
|
+
* - `true`: Allows the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
689
|
+
* - `false`: Does not allow the system to automatically create pay-as-you-go instances to meet the required number of ECS instances.
|
|
678
690
|
*
|
|
679
691
|
* @example
|
|
680
692
|
* true
|
|
@@ -682,12 +694,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
682
694
|
compensateWithOnDemand?: boolean;
|
|
683
695
|
/**
|
|
684
696
|
* @remarks
|
|
685
|
-
*
|
|
697
|
+
* The node data cloud disk configuration. Valid values: [0,10\\]. You can add up to 10 data cloud disks.
|
|
686
698
|
*/
|
|
687
699
|
dataDisks?: DataDisk[];
|
|
688
700
|
/**
|
|
689
701
|
* @remarks
|
|
690
|
-
* The deployment set
|
|
702
|
+
* The deployment set ID for ECS instances scaled out by the node pool. This setting takes effect only on incremental nodes. The deployment set of existing nodes is not changed.
|
|
691
703
|
*
|
|
692
704
|
* @example
|
|
693
705
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -695,11 +707,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
695
707
|
deploymentsetId?: string;
|
|
696
708
|
/**
|
|
697
709
|
* @remarks
|
|
698
|
-
*
|
|
710
|
+
* The desired number of nodes in the node pool.
|
|
699
711
|
*
|
|
700
|
-
* The total number of nodes that the node pool should maintain.
|
|
712
|
+
* The total number of nodes that the node pool should maintain. Configure at least 2 nodes to ensure that cluster components run properly. You can adjust the desired node count to scale the node pool in or out.
|
|
701
713
|
*
|
|
702
|
-
* If you do not need to create nodes,
|
|
714
|
+
* If you do not need to create nodes, set this parameter to 0 and manually adjust the node count later.
|
|
703
715
|
*
|
|
704
716
|
* @example
|
|
705
717
|
* 2
|
|
@@ -707,12 +719,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
707
719
|
desiredSize?: number;
|
|
708
720
|
/**
|
|
709
721
|
* @remarks
|
|
710
|
-
*
|
|
722
|
+
* The block device initialization configuration.
|
|
711
723
|
*/
|
|
712
724
|
diskInit?: DiskInit[];
|
|
713
725
|
/**
|
|
714
726
|
* @remarks
|
|
715
|
-
*
|
|
727
|
+
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system. The latest system image is used by default.
|
|
716
728
|
*
|
|
717
729
|
* @example
|
|
718
730
|
* aliyun_3_x64_20G_alibase_20241218.vhd
|
|
@@ -720,18 +732,18 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
720
732
|
imageId?: string;
|
|
721
733
|
/**
|
|
722
734
|
* @remarks
|
|
723
|
-
*
|
|
735
|
+
* The operating system distribution type. Use this field to specify the node operating system. Valid values:
|
|
724
736
|
*
|
|
725
737
|
* - `AliyunLinux`: Alinux2 image.
|
|
726
|
-
* - `AliyunLinuxSecurity`: Alinux2
|
|
738
|
+
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
727
739
|
* - `AliyunLinux3`: Alinux3 image.
|
|
728
|
-
* - `AliyunLinux3Arm64`: Alinux3
|
|
729
|
-
* - `AliyunLinux3Security`: Alinux3
|
|
740
|
+
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
741
|
+
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
730
742
|
* - `CentOS`: CentOS image.
|
|
731
743
|
* - `Windows`: Windows image.
|
|
732
744
|
* - `WindowsCore`: WindowsCore image.
|
|
733
|
-
* - `ContainerOS`:
|
|
734
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3
|
|
745
|
+
* - `ContainerOS`: container-optimized image.
|
|
746
|
+
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
735
747
|
*
|
|
736
748
|
* @example
|
|
737
749
|
* AliyunLinux3
|
|
@@ -739,10 +751,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
739
751
|
imageType?: string;
|
|
740
752
|
/**
|
|
741
753
|
* @remarks
|
|
742
|
-
*
|
|
754
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
743
755
|
*
|
|
744
|
-
* - `PrePaid`:
|
|
745
|
-
* - `PostPaid`:
|
|
756
|
+
* - `PrePaid`: subscription.
|
|
757
|
+
* - `PostPaid`: pay-as-you-go.
|
|
746
758
|
*
|
|
747
759
|
* Default value: `PostPaid`.
|
|
748
760
|
*
|
|
@@ -752,22 +764,22 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
752
764
|
instanceChargeType?: string;
|
|
753
765
|
/**
|
|
754
766
|
* @remarks
|
|
755
|
-
*
|
|
767
|
+
* The instance attribute configuration.
|
|
756
768
|
*/
|
|
757
769
|
instancePatterns?: InstancePatterns[];
|
|
758
770
|
/**
|
|
759
771
|
* @remarks
|
|
760
|
-
*
|
|
772
|
+
* The list of node instance types. You can select multiple instance types as alternatives. When each node is created, 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.
|
|
761
773
|
*
|
|
762
774
|
* Supported number of instance types: [1,10].
|
|
763
775
|
*/
|
|
764
776
|
instanceTypes?: string[];
|
|
765
777
|
/**
|
|
766
778
|
* @remarks
|
|
767
|
-
*
|
|
779
|
+
* The billing type for public IP addresses. Valid values:
|
|
768
780
|
*
|
|
769
|
-
* - `PayByBandwidth`:
|
|
770
|
-
* - `PayByTraffic`:
|
|
781
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
782
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
771
783
|
*
|
|
772
784
|
* @example
|
|
773
785
|
* PayByBandwidth
|
|
@@ -775,7 +787,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
775
787
|
internetChargeType?: string;
|
|
776
788
|
/**
|
|
777
789
|
* @remarks
|
|
778
|
-
*
|
|
790
|
+
* The maximum outbound bandwidth for node public IP addresses, in Mbit/s. Valid values: [1,100\\].
|
|
779
791
|
*
|
|
780
792
|
* @example
|
|
781
793
|
* 5
|
|
@@ -783,7 +795,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
783
795
|
internetMaxBandwidthOut?: number;
|
|
784
796
|
/**
|
|
785
797
|
* @remarks
|
|
786
|
-
*
|
|
798
|
+
* The key pair name. This parameter is mutually exclusive with `login_password`. For managed node pools, only `key_pair` is supported.
|
|
787
799
|
*
|
|
788
800
|
* @example
|
|
789
801
|
* pro-nodepool
|
|
@@ -791,7 +803,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
791
803
|
keyPair?: string;
|
|
792
804
|
/**
|
|
793
805
|
* @remarks
|
|
794
|
-
* SSH
|
|
806
|
+
* The SSH logon password. This parameter is mutually exclusive with `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.
|
|
795
807
|
*
|
|
796
808
|
* @example
|
|
797
809
|
* Hello1234
|
|
@@ -799,15 +811,15 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
799
811
|
loginPassword?: string;
|
|
800
812
|
/**
|
|
801
813
|
* @remarks
|
|
802
|
-
*
|
|
814
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
803
815
|
*
|
|
804
|
-
* - `PRIORITY`:
|
|
816
|
+
* - `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.
|
|
805
817
|
*
|
|
806
|
-
* - `COST_OPTIMIZED`:
|
|
818
|
+
* - `COST_OPTIMIZED`: Attempts to create instances in order of lowest vCPU unit price. When the scaling configuration specifies multiple instance types with spot billing method, 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 insufficient inventory.
|
|
807
819
|
*
|
|
808
|
-
* > `COST_OPTIMIZED`
|
|
820
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
809
821
|
*
|
|
810
|
-
* - `BALANCE`:
|
|
822
|
+
* - `BALANCE`: Distributes ECS instances evenly across the 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).
|
|
811
823
|
*
|
|
812
824
|
* Default value: `PRIORITY`.
|
|
813
825
|
*
|
|
@@ -817,7 +829,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
817
829
|
multiAzPolicy?: string;
|
|
818
830
|
/**
|
|
819
831
|
* @remarks
|
|
820
|
-
*
|
|
832
|
+
* 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 first when the number of pay-as-you-go instances is less than this value.
|
|
821
833
|
*
|
|
822
834
|
* @example
|
|
823
835
|
* 0
|
|
@@ -825,7 +837,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
825
837
|
onDemandBaseCapacity?: number;
|
|
826
838
|
/**
|
|
827
839
|
* @remarks
|
|
828
|
-
*
|
|
840
|
+
* The percentage of pay-as-you-go instances among instances that exceed the minimum pay-as-you-go instance count (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
829
841
|
*
|
|
830
842
|
* @example
|
|
831
843
|
* 20
|
|
@@ -833,10 +845,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
833
845
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
834
846
|
/**
|
|
835
847
|
* @remarks
|
|
836
|
-
*
|
|
848
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
837
849
|
*
|
|
838
|
-
* - When `period_unit=Week`, valid values
|
|
839
|
-
* - When `period_unit=Month`, valid values
|
|
850
|
+
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
851
|
+
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
840
852
|
*
|
|
841
853
|
* @example
|
|
842
854
|
* 1
|
|
@@ -844,10 +856,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
844
856
|
period?: number;
|
|
845
857
|
/**
|
|
846
858
|
* @remarks
|
|
847
|
-
*
|
|
859
|
+
* The billing period of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
848
860
|
*
|
|
849
|
-
* - `Month`:
|
|
850
|
-
* - `Week`:
|
|
861
|
+
* - `Month`: billed on a monthly basis.
|
|
862
|
+
* - `Week`: billed on a weekly basis.
|
|
851
863
|
*
|
|
852
864
|
* Default value: `Month`.
|
|
853
865
|
*
|
|
@@ -857,9 +869,9 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
857
869
|
periodUnit?: string;
|
|
858
870
|
/**
|
|
859
871
|
* @remarks
|
|
860
|
-
*
|
|
872
|
+
* **This parameter is deprecated.** Use the `image_type` parameter instead.
|
|
861
873
|
*
|
|
862
|
-
*
|
|
874
|
+
* The operating system platform. Valid values:
|
|
863
875
|
*
|
|
864
876
|
* - `AliyunLinux`
|
|
865
877
|
* - `CentOS`
|
|
@@ -874,27 +886,27 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
874
886
|
platform?: string;
|
|
875
887
|
/**
|
|
876
888
|
* @remarks
|
|
877
|
-
*
|
|
889
|
+
* The private node pool configuration.
|
|
878
890
|
*/
|
|
879
891
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
880
892
|
/**
|
|
881
893
|
* @remarks
|
|
882
|
-
* RDS
|
|
894
|
+
* The list of ApsaraDB RDS instances.
|
|
883
895
|
*/
|
|
884
896
|
rdsInstances?: string[];
|
|
885
897
|
/**
|
|
886
898
|
* @remarks
|
|
887
|
-
*
|
|
888
|
-
* This parameter
|
|
899
|
+
* The resource pools and resource pool policy used when creating instances. Note the following when you set this parameter:
|
|
900
|
+
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
889
901
|
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
890
902
|
*/
|
|
891
903
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
892
904
|
/**
|
|
893
905
|
* @remarks
|
|
894
|
-
*
|
|
906
|
+
* The scaling group mode. Valid values:
|
|
895
907
|
*
|
|
896
|
-
* - `release`:
|
|
897
|
-
* - `recycle`:
|
|
908
|
+
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
909
|
+
* - `recycle`: swift 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.)
|
|
898
910
|
*
|
|
899
911
|
* @example
|
|
900
912
|
* release
|
|
@@ -902,12 +914,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
902
914
|
scalingPolicy?: string;
|
|
903
915
|
/**
|
|
904
916
|
* @remarks
|
|
905
|
-
*
|
|
917
|
+
* The list of security group IDs.
|
|
906
918
|
*/
|
|
907
919
|
securityGroupIds?: string[];
|
|
908
920
|
/**
|
|
909
921
|
* @remarks
|
|
910
|
-
*
|
|
922
|
+
* The number of available instance types. The scaling group creates spot instances across the lowest-cost instance types in a balanced manner. Valid values: [1,10\\].
|
|
911
923
|
*
|
|
912
924
|
* @example
|
|
913
925
|
* 5
|
|
@@ -915,10 +927,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
915
927
|
spotInstancePools?: number;
|
|
916
928
|
/**
|
|
917
929
|
* @remarks
|
|
918
|
-
*
|
|
919
|
-
*
|
|
920
|
-
* - `true`: Enable supplementing preemptible instances.
|
|
921
|
-
* - `false`: Disable supplementing preemptible instances.
|
|
930
|
+
* Specifies whether to enable spot instance supplementation. When enabled,
|
|
922
931
|
*
|
|
923
932
|
* @example
|
|
924
933
|
* false
|
|
@@ -926,18 +935,18 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
926
935
|
spotInstanceRemedy?: boolean;
|
|
927
936
|
/**
|
|
928
937
|
* @remarks
|
|
929
|
-
*
|
|
938
|
+
* The spot instance price limit configuration.
|
|
930
939
|
*/
|
|
931
940
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
932
941
|
/**
|
|
933
942
|
* @remarks
|
|
934
|
-
*
|
|
943
|
+
* The spot instance type. Valid values:
|
|
935
944
|
*
|
|
936
|
-
* - `NoSpot`:
|
|
937
|
-
* - `SpotWithPriceLimit`:
|
|
938
|
-
* - `SpotAsPriceGo`:
|
|
945
|
+
* - `NoSpot`: non-spot instance.
|
|
946
|
+
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
947
|
+
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
939
948
|
*
|
|
940
|
-
* For more information, see [
|
|
949
|
+
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
941
950
|
*
|
|
942
951
|
* @example
|
|
943
952
|
* SpotWithPriceLimit
|
|
@@ -945,11 +954,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
945
954
|
spotStrategy?: string;
|
|
946
955
|
/**
|
|
947
956
|
* @remarks
|
|
948
|
-
*
|
|
949
|
-
* - true:
|
|
950
|
-
* - false:
|
|
957
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
958
|
+
* - true: Enabled. When enabled, the cloud disk temporarily boosts performance during sudden data read/write pressure from fluctuating workloads until the workload stabilizes.
|
|
959
|
+
* - false: Disabled.
|
|
951
960
|
*
|
|
952
|
-
*
|
|
961
|
+
* 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).
|
|
953
962
|
*
|
|
954
963
|
* @example
|
|
955
964
|
* true
|
|
@@ -957,17 +966,17 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
957
966
|
systemDiskBurstingEnabled?: boolean;
|
|
958
967
|
/**
|
|
959
968
|
* @remarks
|
|
960
|
-
*
|
|
969
|
+
* The multiple system cloud disk types. When a higher-priority cloud disk type is unavailable, the system automatically attempts the next-priority cloud disk type to create the system cloud disk.
|
|
961
970
|
*/
|
|
962
971
|
systemDiskCategories?: string[];
|
|
963
972
|
/**
|
|
964
973
|
* @remarks
|
|
965
|
-
*
|
|
966
|
-
* - `cloud_efficiency`:
|
|
967
|
-
* - `cloud_ssd`: SSD
|
|
968
|
-
* - `cloud_essd`: ESSD
|
|
969
|
-
* - `cloud_auto`: ESSD AutoPL disk.
|
|
970
|
-
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
974
|
+
* The node system cloud disk type. Valid values:
|
|
975
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
976
|
+
* - `cloud_ssd`: standard SSD.
|
|
977
|
+
* - `cloud_essd`: ESSD.
|
|
978
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
979
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
971
980
|
*
|
|
972
981
|
* Default value: `cloud_efficiency`.
|
|
973
982
|
*
|
|
@@ -977,7 +986,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
977
986
|
systemDiskCategory?: string;
|
|
978
987
|
/**
|
|
979
988
|
* @remarks
|
|
980
|
-
*
|
|
989
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
981
990
|
*
|
|
982
991
|
* @example
|
|
983
992
|
* aes-256
|
|
@@ -985,11 +994,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
985
994
|
systemDiskEncryptAlgorithm?: string;
|
|
986
995
|
/**
|
|
987
996
|
* @remarks
|
|
988
|
-
*
|
|
997
|
+
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
989
998
|
*
|
|
990
|
-
* - true:
|
|
999
|
+
* - true: Encrypted.
|
|
991
1000
|
*
|
|
992
|
-
* - false:
|
|
1001
|
+
* - false: Not encrypted.
|
|
993
1002
|
*
|
|
994
1003
|
* @example
|
|
995
1004
|
* false
|
|
@@ -997,7 +1006,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
997
1006
|
systemDiskEncrypted?: boolean;
|
|
998
1007
|
/**
|
|
999
1008
|
* @remarks
|
|
1000
|
-
* KMS key ID used
|
|
1009
|
+
* The KMS key ID used by the system cloud disk.
|
|
1001
1010
|
*
|
|
1002
1011
|
* @example
|
|
1003
1012
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1005,11 +1014,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1005
1014
|
systemDiskKmsKeyId?: string;
|
|
1006
1015
|
/**
|
|
1007
1016
|
* @remarks
|
|
1008
|
-
*
|
|
1009
|
-
* - PL0:
|
|
1010
|
-
* - PL1:
|
|
1011
|
-
* - PL2:
|
|
1012
|
-
* - PL3:
|
|
1017
|
+
* 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).
|
|
1018
|
+
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1019
|
+
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1020
|
+
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1021
|
+
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1013
1022
|
*
|
|
1014
1023
|
* @example
|
|
1015
1024
|
* PL1
|
|
@@ -1017,11 +1026,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1017
1026
|
systemDiskPerformanceLevel?: string;
|
|
1018
1027
|
/**
|
|
1019
1028
|
* @remarks
|
|
1020
|
-
*
|
|
1029
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1021
1030
|
*
|
|
1022
|
-
* Valid values: 0~min{50,000, 1000
|
|
1031
|
+
* Valid values: 0~min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1023
1032
|
*
|
|
1024
|
-
*
|
|
1033
|
+
* 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).
|
|
1025
1034
|
*
|
|
1026
1035
|
* @example
|
|
1027
1036
|
* 1000
|
|
@@ -1029,11 +1038,11 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1029
1038
|
systemDiskProvisionedIops?: number;
|
|
1030
1039
|
/**
|
|
1031
1040
|
* @remarks
|
|
1032
|
-
*
|
|
1041
|
+
* The node system cloud disk size, in GiB.
|
|
1033
1042
|
*
|
|
1034
1043
|
* Valid values: [20,2048\\].
|
|
1035
1044
|
*
|
|
1036
|
-
* The value
|
|
1045
|
+
* The value must be greater than or equal to max{20, ImageSize}.
|
|
1037
1046
|
*
|
|
1038
1047
|
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1039
1048
|
*
|
|
@@ -1043,7 +1052,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1043
1052
|
systemDiskSize?: number;
|
|
1044
1053
|
/**
|
|
1045
1054
|
* @remarks
|
|
1046
|
-
*
|
|
1055
|
+
* The snapshot policy for the system cloud disk.
|
|
1047
1056
|
*
|
|
1048
1057
|
* @example
|
|
1049
1058
|
* sp-0jl6xnmme8v7o935****
|
|
@@ -1051,16 +1060,16 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1051
1060
|
systemDiskSnapshotPolicyId?: string;
|
|
1052
1061
|
/**
|
|
1053
1062
|
* @remarks
|
|
1054
|
-
* Tags added
|
|
1063
|
+
* Tags added to ECS instances only.
|
|
1055
1064
|
*
|
|
1056
|
-
* Tag keys cannot be duplicated and can be up to 128 characters. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1065
|
+
* 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://".
|
|
1057
1066
|
*/
|
|
1058
1067
|
tags?: Tag[];
|
|
1059
1068
|
/**
|
|
1060
1069
|
* @remarks
|
|
1061
|
-
*
|
|
1070
|
+
* The list of vSwitch IDs. Valid values: [1,8\\].
|
|
1062
1071
|
*
|
|
1063
|
-
* > To ensure high availability,
|
|
1072
|
+
* > To ensure high availability, select vSwitches in different zones.
|
|
1064
1073
|
*/
|
|
1065
1074
|
vswitchIds?: string[];
|
|
1066
1075
|
static names(): {
|
|
@@ -1077,10 +1086,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1077
1086
|
export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1078
1087
|
/**
|
|
1079
1088
|
* @remarks
|
|
1080
|
-
*
|
|
1089
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1081
1090
|
*
|
|
1082
|
-
* - `true`:
|
|
1083
|
-
* - `false`:
|
|
1091
|
+
* - `true`: enabled.
|
|
1092
|
+
* - `false`: disabled.
|
|
1084
1093
|
*
|
|
1085
1094
|
* Default value: `false`.
|
|
1086
1095
|
*
|
|
@@ -1102,45 +1111,46 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1102
1111
|
export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
1103
1112
|
/**
|
|
1104
1113
|
* @remarks
|
|
1105
|
-
*
|
|
1114
|
+
* The auto scaling configuration.
|
|
1106
1115
|
*/
|
|
1107
1116
|
autoScaling?: ModifyClusterNodePoolRequestAutoScaling;
|
|
1108
1117
|
/**
|
|
1109
1118
|
* @remarks
|
|
1110
|
-
*
|
|
1119
|
+
* Specifies whether to enable concurrency.
|
|
1111
1120
|
*
|
|
1112
1121
|
* @example
|
|
1113
1122
|
* true
|
|
1114
1123
|
*/
|
|
1115
1124
|
concurrency?: boolean;
|
|
1125
|
+
efloNodeGroup?: ModifyClusterNodePoolRequestEfloNodeGroup;
|
|
1116
1126
|
/**
|
|
1117
1127
|
* @remarks
|
|
1118
|
-
*
|
|
1128
|
+
* The cluster-related configuration.
|
|
1119
1129
|
*/
|
|
1120
1130
|
kubernetesConfig?: ModifyClusterNodePoolRequestKubernetesConfig;
|
|
1121
1131
|
/**
|
|
1122
1132
|
* @remarks
|
|
1123
|
-
*
|
|
1133
|
+
* The managed node pool configuration.
|
|
1124
1134
|
*/
|
|
1125
1135
|
management?: ModifyClusterNodePoolRequestManagement;
|
|
1126
1136
|
/**
|
|
1127
1137
|
* @remarks
|
|
1128
|
-
*
|
|
1138
|
+
* The node pool configuration.
|
|
1129
1139
|
*/
|
|
1130
1140
|
nodepoolInfo?: ModifyClusterNodePoolRequestNodepoolInfo;
|
|
1131
1141
|
/**
|
|
1132
1142
|
* @remarks
|
|
1133
|
-
*
|
|
1143
|
+
* The scaling group configuration of the node pool.
|
|
1134
1144
|
*/
|
|
1135
1145
|
scalingGroup?: ModifyClusterNodePoolRequestScalingGroup;
|
|
1136
1146
|
/**
|
|
1137
1147
|
* @remarks
|
|
1138
|
-
*
|
|
1148
|
+
* The confidential computing cluster configuration.
|
|
1139
1149
|
*/
|
|
1140
1150
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1141
1151
|
/**
|
|
1142
1152
|
* @remarks
|
|
1143
|
-
* Synchronously
|
|
1153
|
+
* Synchronously updates node labels and taints.
|
|
1144
1154
|
*
|
|
1145
1155
|
* @example
|
|
1146
1156
|
* true
|