@alicloud/cs20151215 6.5.2 → 6.6.1
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 +48 -30
- package/dist/client.js +99 -30
- package/dist/client.js.map +1 -1
- package/dist/models/Addon.d.ts +16 -1
- package/dist/models/Addon.js.map +1 -1
- package/dist/models/ContainerdConfig.d.ts +8 -0
- package/dist/models/ContainerdConfig.js.map +1 -1
- package/dist/models/CreateAutoRepairPolicyRequest.d.ts +0 -51
- package/dist/models/CreateAutoRepairPolicyRequest.js +1 -55
- package/dist/models/CreateAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/CreateTemplateResponseBody.d.ts +1 -1
- package/dist/models/DataDisk.d.ts +71 -0
- package/dist/models/DataDisk.js.map +1 -1
- package/dist/models/DeleteAlertContactResponse.d.ts +0 -24
- package/dist/models/DeleteAlertContactResponse.js.map +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +1 -52
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -56
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterAddonMetadataRequest.d.ts +7 -0
- package/dist/models/DescribeClusterAddonMetadataRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsRequest.d.ts +2 -0
- package/dist/models/DescribeClusterEventsRequest.js +4 -0
- package/dist/models/DescribeClusterEventsRequest.js.map +1 -1
- package/dist/models/DescribeClusterEventsResponseBody.d.ts +1 -0
- package/dist/models/DescribeClusterEventsResponseBody.js +2 -0
- package/dist/models/DescribeClusterEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterTasksRequest.d.ts +2 -0
- package/dist/models/DescribeClusterTasksRequest.js +4 -0
- package/dist/models/DescribeClusterTasksRequest.js.map +1 -1
- package/dist/models/DescribeClusterTasksResponseBody.d.ts +1 -0
- package/dist/models/DescribeClusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeClusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsForRegionRequest.d.ts +2 -0
- package/dist/models/DescribeEventsForRegionRequest.js +4 -0
- package/dist/models/DescribeEventsForRegionRequest.js.map +1 -1
- package/dist/models/DescribeEventsForRegionResponseBody.d.ts +1 -0
- package/dist/models/DescribeEventsForRegionResponseBody.js +2 -0
- package/dist/models/DescribeEventsForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeEventsRequest.d.ts +2 -0
- package/dist/models/DescribeEventsRequest.js +4 -0
- package/dist/models/DescribeEventsRequest.js.map +1 -1
- package/dist/models/DescribeEventsResponseBody.d.ts +8 -4
- package/dist/models/DescribeEventsResponseBody.js +2 -0
- package/dist/models/DescribeEventsResponseBody.js.map +1 -1
- package/dist/models/DescribeRegionsRequest.d.ts +27 -0
- package/dist/models/DescribeRegionsRequest.js.map +1 -1
- package/dist/models/DescribeRegionsResponseBody.d.ts +17 -0
- package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +34 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsResponseBody.d.ts +9 -0
- package/dist/models/InstallNodePoolComponentsResponseBody.js.map +1 -1
- package/dist/models/InstancePatterns.d.ts +77 -0
- package/dist/models/InstancePatterns.js.map +1 -1
- package/dist/models/KubeletConfig.d.ts +127 -0
- package/dist/models/KubeletConfig.js.map +1 -1
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +1 -52
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -56
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.d.ts +35 -0
- package/dist/models/ListClusterAddonInstanceResourcesResponseBody.js.map +1 -1
- package/dist/models/ListTagResourcesResponseBody.d.ts +3 -3
- package/dist/models/MaintenanceWindow.d.ts +31 -1
- package/dist/models/MaintenanceWindow.js.map +1 -1
- package/dist/models/ModifyAutoRepairPolicyRequest.d.ts +0 -51
- package/dist/models/ModifyAutoRepairPolicyRequest.js +1 -55
- package/dist/models/ModifyAutoRepairPolicyRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +508 -10
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +14 -0
- package/dist/models/Runtime.js.map +1 -1
- package/dist/models/Tag.d.ts +6 -0
- package/dist/models/Tag.js.map +1 -1
- package/dist/models/TagResourcesResponseBody.d.ts +1 -1
- package/dist/models/Taint.d.ts +15 -0
- package/dist/models/Taint.js.map +1 -1
- package/dist/models/UntagResourcesResponseBody.d.ts +1 -1
- package/dist/models/UpdateKmsencryptionRequest.d.ts +39 -0
- package/dist/models/UpdateKmsencryptionRequest.js +60 -0
- package/dist/models/UpdateKmsencryptionRequest.js.map +1 -0
- package/dist/models/UpdateKmsencryptionResponse.d.ts +17 -0
- package/dist/models/UpdateKmsencryptionResponse.js +63 -0
- package/dist/models/UpdateKmsencryptionResponse.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +35 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpdateNodePoolComponentResponseBody.d.ts +6 -0
- package/dist/models/UpdateNodePoolComponentResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +2 -8
- package/dist/models/model.js +50 -62
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +111 -30
- package/src/models/Addon.ts +16 -1
- package/src/models/ContainerdConfig.ts +8 -0
- package/src/models/CreateAutoRepairPolicyRequest.ts +0 -87
- package/src/models/CreateTemplateResponseBody.ts +1 -1
- package/src/models/DataDisk.ts +71 -0
- package/src/models/DeleteAlertContactResponse.ts +0 -24
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +2 -89
- package/src/models/DescribeClusterAddonMetadataRequest.ts +7 -0
- package/src/models/DescribeClusterEventsRequest.ts +6 -0
- package/src/models/DescribeClusterEventsResponseBody.ts +3 -0
- package/src/models/DescribeClusterTasksRequest.ts +6 -0
- package/src/models/DescribeClusterTasksResponseBody.ts +3 -0
- package/src/models/DescribeEventsForRegionRequest.ts +6 -0
- package/src/models/DescribeEventsForRegionResponseBody.ts +3 -0
- package/src/models/DescribeEventsRequest.ts +6 -0
- package/src/models/DescribeEventsResponseBody.ts +10 -4
- package/src/models/DescribeRegionsRequest.ts +27 -0
- package/src/models/DescribeRegionsResponseBody.ts +17 -0
- package/src/models/InstallNodePoolComponentsRequest.ts +34 -0
- package/src/models/InstallNodePoolComponentsResponseBody.ts +9 -0
- package/src/models/InstancePatterns.ts +77 -0
- package/src/models/KubeletConfig.ts +127 -0
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +2 -89
- package/src/models/ListClusterAddonInstanceResourcesResponseBody.ts +35 -0
- package/src/models/ListTagResourcesResponseBody.ts +3 -3
- package/src/models/MaintenanceWindow.ts +31 -1
- package/src/models/ModifyAutoRepairPolicyRequest.ts +0 -87
- package/src/models/Nodepool.ts +508 -10
- package/src/models/Runtime.ts +14 -0
- package/src/models/Tag.ts +6 -0
- package/src/models/TagResourcesResponseBody.ts +1 -1
- package/src/models/Taint.ts +15 -0
- package/src/models/UntagResourcesResponseBody.ts +1 -1
- package/src/models/UpdateKmsencryptionRequest.ts +54 -0
- package/src/models/UpdateKmsencryptionResponse.ts +33 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +35 -0
- package/src/models/UpdateNodePoolComponentResponseBody.ts +6 -0
- package/src/models/model.ts +2 -8
package/src/models/Nodepool.ts
CHANGED
|
@@ -10,6 +10,11 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
|
|
11
11
|
export class NodepoolAutoScaling extends $dara.Model {
|
|
12
12
|
/**
|
|
13
|
+
* @remarks
|
|
14
|
+
* This parameter is deprecated.
|
|
15
|
+
*
|
|
16
|
+
* The maximum bandwidth of the EIP. Unit: Mbit/s.
|
|
17
|
+
*
|
|
13
18
|
* @example
|
|
14
19
|
* 5
|
|
15
20
|
*
|
|
@@ -17,6 +22,16 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
17
22
|
*/
|
|
18
23
|
eipBandwidth?: number;
|
|
19
24
|
/**
|
|
25
|
+
* @remarks
|
|
26
|
+
* This parameter is deprecated.
|
|
27
|
+
*
|
|
28
|
+
* The metering method of the EIP. Valid values:
|
|
29
|
+
*
|
|
30
|
+
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
31
|
+
* * `PayByTraffic`: pay-by-data-transfer.
|
|
32
|
+
*
|
|
33
|
+
* Default value: PayByBandwidth.
|
|
34
|
+
*
|
|
20
35
|
* @example
|
|
21
36
|
* PayByBandwidth
|
|
22
37
|
*
|
|
@@ -25,6 +40,13 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
25
40
|
eipInternetChargeType?: string;
|
|
26
41
|
/**
|
|
27
42
|
* @remarks
|
|
43
|
+
* Specifies whether to enable auto scaling for the node pool. Valid values:
|
|
44
|
+
*
|
|
45
|
+
* * `true`: enables auto scaling for the node pool.
|
|
46
|
+
* * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in the `auto_scaling` section do not take effect.
|
|
47
|
+
*
|
|
48
|
+
* Default value: `false`.
|
|
49
|
+
*
|
|
28
50
|
* This parameter is required.
|
|
29
51
|
*
|
|
30
52
|
* @example
|
|
@@ -32,6 +54,16 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
32
54
|
*/
|
|
33
55
|
enable?: boolean;
|
|
34
56
|
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* This parameter is deprecated.
|
|
59
|
+
*
|
|
60
|
+
* Specifies whether to associate an elastic IP Address (EIP) with the node pool. Valid values:
|
|
61
|
+
*
|
|
62
|
+
* * `true`: associates an EIP with the node pool.
|
|
63
|
+
* * `false`: does not associate an EIP with the node pool.
|
|
64
|
+
*
|
|
65
|
+
* Default value: `false`.
|
|
66
|
+
*
|
|
35
67
|
* @example
|
|
36
68
|
* true
|
|
37
69
|
*
|
|
@@ -40,6 +72,8 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
40
72
|
isBondEip?: boolean;
|
|
41
73
|
/**
|
|
42
74
|
* @remarks
|
|
75
|
+
* The maximum number of instances that can be created in a scaling group.
|
|
76
|
+
*
|
|
43
77
|
* This parameter is required.
|
|
44
78
|
*
|
|
45
79
|
* @example
|
|
@@ -48,6 +82,8 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
48
82
|
maxInstances?: number;
|
|
49
83
|
/**
|
|
50
84
|
* @remarks
|
|
85
|
+
* The minimum number of instances that must be kept in a scaling group.
|
|
86
|
+
*
|
|
51
87
|
* This parameter is required.
|
|
52
88
|
*
|
|
53
89
|
* @example
|
|
@@ -55,6 +91,16 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
55
91
|
*/
|
|
56
92
|
minInstances?: number;
|
|
57
93
|
/**
|
|
94
|
+
* @remarks
|
|
95
|
+
* The instance types that can be used for the auto scaling of the node pool. Valid values:
|
|
96
|
+
*
|
|
97
|
+
* * `cpu`: regular instance.
|
|
98
|
+
* * `gpu`: GPU-accelerated instance.
|
|
99
|
+
* * `gpushare`: shared GPU-accelerated instance.
|
|
100
|
+
* * `spot`: preemptible instance.
|
|
101
|
+
*
|
|
102
|
+
* Default value: `cpu`.
|
|
103
|
+
*
|
|
58
104
|
* @example
|
|
59
105
|
* cpu
|
|
60
106
|
*/
|
|
@@ -94,6 +140,11 @@ export class NodepoolAutoScaling extends $dara.Model {
|
|
|
94
140
|
|
|
95
141
|
export class NodepoolInterconnectConfig extends $dara.Model {
|
|
96
142
|
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* This parameter is deprecated.
|
|
145
|
+
*
|
|
146
|
+
* The bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
147
|
+
*
|
|
97
148
|
* @example
|
|
98
149
|
* 10
|
|
99
150
|
*
|
|
@@ -101,6 +152,11 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
101
152
|
*/
|
|
102
153
|
bandwidth?: number;
|
|
103
154
|
/**
|
|
155
|
+
* @remarks
|
|
156
|
+
* This parameter is deprecated.
|
|
157
|
+
*
|
|
158
|
+
* The ID of the Cloud Connect Network (CCN) instance that is associated with the enhanced edge node pool.
|
|
159
|
+
*
|
|
104
160
|
* @example
|
|
105
161
|
* ccn-qm5i0i0q9yi*******
|
|
106
162
|
*
|
|
@@ -108,6 +164,11 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
108
164
|
*/
|
|
109
165
|
ccnId?: string;
|
|
110
166
|
/**
|
|
167
|
+
* @remarks
|
|
168
|
+
* This parameter is deprecated.
|
|
169
|
+
*
|
|
170
|
+
* The region in which the CCN instance that is associated with the enhanced edge node pool resides.
|
|
171
|
+
*
|
|
111
172
|
* @example
|
|
112
173
|
* cn-shanghai
|
|
113
174
|
*
|
|
@@ -115,6 +176,11 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
115
176
|
*/
|
|
116
177
|
ccnRegionId?: string;
|
|
117
178
|
/**
|
|
179
|
+
* @remarks
|
|
180
|
+
* This parameter is deprecated.
|
|
181
|
+
*
|
|
182
|
+
* The ID of the Cloud Enterprise Network (CEN) instance that is associated with the enhanced edge node pool.
|
|
183
|
+
*
|
|
118
184
|
* @example
|
|
119
185
|
* cen-ey9k9nfhz0f*******
|
|
120
186
|
*
|
|
@@ -122,6 +188,11 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
122
188
|
*/
|
|
123
189
|
cenId?: string;
|
|
124
190
|
/**
|
|
191
|
+
* @remarks
|
|
192
|
+
* This parameter is deprecated.
|
|
193
|
+
*
|
|
194
|
+
* The subscription duration of the enhanced edge node pool. The duration is measured in months.
|
|
195
|
+
*
|
|
125
196
|
* @example
|
|
126
197
|
* 1
|
|
127
198
|
*
|
|
@@ -159,39 +230,84 @@ export class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
159
230
|
|
|
160
231
|
export class NodepoolKubernetesConfig extends $dara.Model {
|
|
161
232
|
/**
|
|
233
|
+
* @remarks
|
|
234
|
+
* Specifies whether to install the CloudMonitor agent on Elastic Compute Service (ECS) nodes. After the CloudMonitor agent is installed on ECS nodes, you can view the monitoring information about the instances in the CloudMonitor console. We recommend that you install the CloudMonitor agent. Valid values:
|
|
235
|
+
*
|
|
236
|
+
* * `true`: installs the CloudMonitor agent on ECS nodes.
|
|
237
|
+
* * `false`: does not install the CloudMonitor agent on ECS nodes.
|
|
238
|
+
*
|
|
239
|
+
* Default value: `false`.
|
|
240
|
+
*
|
|
162
241
|
* @example
|
|
163
242
|
* true
|
|
164
243
|
*/
|
|
165
244
|
cmsEnabled?: boolean;
|
|
166
245
|
/**
|
|
246
|
+
* @remarks
|
|
247
|
+
* The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
248
|
+
*
|
|
249
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
250
|
+
* * `none`: specifies that the default CPU affinity is used.
|
|
251
|
+
*
|
|
252
|
+
* Default value: `none`.
|
|
253
|
+
*
|
|
167
254
|
* @example
|
|
168
255
|
* none
|
|
169
256
|
*/
|
|
170
257
|
cpuPolicy?: string;
|
|
258
|
+
/**
|
|
259
|
+
* @remarks
|
|
260
|
+
* The labels of the nodes in the node pool. You can add labels to the nodes in a Kubernetes cluster.
|
|
261
|
+
*/
|
|
171
262
|
labels?: Tag[];
|
|
172
263
|
/**
|
|
264
|
+
* @remarks
|
|
265
|
+
* The custom node name. A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
266
|
+
*
|
|
267
|
+
* * The prefix and the suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
|
|
268
|
+
* * The node IP address is the complete private IP address of the node.
|
|
269
|
+
*
|
|
270
|
+
* Set the parameter to a value that is in the customized,aliyun,ip,com format. The value consists of four parts that are separated by commas (,). customized and ip are fixed content. aliyun is the prefix and com is the suffix. Example: aliyun.192.168.xxx.xxx.com.
|
|
271
|
+
*
|
|
173
272
|
* @example
|
|
174
|
-
* customized,
|
|
273
|
+
* customized,aliyun,ip,com
|
|
175
274
|
*/
|
|
176
275
|
nodeNameMode?: string;
|
|
177
276
|
/**
|
|
178
277
|
* @remarks
|
|
278
|
+
* The container runtime. Valid values:
|
|
279
|
+
*
|
|
280
|
+
* * `containerd`: supports all Kubernetes versions. We recommend that you set the parameter to this value.
|
|
281
|
+
* * `Sandboxed-Container.runv`: Sandboxed container provides higher isolation and supports Kubernetes 1.24 and earlier.
|
|
282
|
+
* * `docker`: supports Kubernetes 1.22 and earlier.
|
|
283
|
+
*
|
|
284
|
+
* Default value: `containerd`.
|
|
285
|
+
*
|
|
179
286
|
* This parameter is required.
|
|
180
287
|
*
|
|
181
288
|
* @example
|
|
182
|
-
*
|
|
289
|
+
* containerd
|
|
183
290
|
*/
|
|
184
291
|
runtime?: string;
|
|
185
292
|
/**
|
|
186
293
|
* @remarks
|
|
294
|
+
* The version of the container runtime.
|
|
295
|
+
*
|
|
187
296
|
* This parameter is required.
|
|
188
297
|
*
|
|
189
298
|
* @example
|
|
190
|
-
*
|
|
299
|
+
* 1.6.20
|
|
191
300
|
*/
|
|
192
301
|
runtimeVersion?: string;
|
|
302
|
+
/**
|
|
303
|
+
* @remarks
|
|
304
|
+
* The configurations of the taints.
|
|
305
|
+
*/
|
|
193
306
|
taints?: Taint[];
|
|
194
307
|
/**
|
|
308
|
+
* @remarks
|
|
309
|
+
* The user data on the node.
|
|
310
|
+
*
|
|
195
311
|
* @example
|
|
196
312
|
* MXM=
|
|
197
313
|
*/
|
|
@@ -239,6 +355,9 @@ export class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
239
355
|
|
|
240
356
|
export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
241
357
|
/**
|
|
358
|
+
* @remarks
|
|
359
|
+
* Indicates whether node restart is allowed.
|
|
360
|
+
*
|
|
242
361
|
* @example
|
|
243
362
|
* true
|
|
244
363
|
*/
|
|
@@ -266,6 +385,9 @@ export class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
266
385
|
|
|
267
386
|
export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
268
387
|
/**
|
|
388
|
+
* @remarks
|
|
389
|
+
* Indicates whether the kubelet is automatically updated.
|
|
390
|
+
*
|
|
269
391
|
* @example
|
|
270
392
|
* true
|
|
271
393
|
*/
|
|
@@ -293,11 +415,17 @@ export class NodepoolManagementAutoUpgradePolicy extends $dara.Model {
|
|
|
293
415
|
|
|
294
416
|
export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
295
417
|
/**
|
|
418
|
+
* @remarks
|
|
419
|
+
* Indicates whether node restart is allowed.
|
|
420
|
+
*
|
|
296
421
|
* @example
|
|
297
422
|
* true
|
|
298
423
|
*/
|
|
299
424
|
restartNode?: boolean;
|
|
300
425
|
/**
|
|
426
|
+
* @remarks
|
|
427
|
+
* The severity level of CVEs that can be automatically patched. Separate multiple levels with commas (,).
|
|
428
|
+
*
|
|
301
429
|
* @example
|
|
302
430
|
* asap,nntf
|
|
303
431
|
*/
|
|
@@ -327,23 +455,40 @@ export class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
327
455
|
|
|
328
456
|
export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
329
457
|
/**
|
|
458
|
+
* @remarks
|
|
459
|
+
* Specifies whether to enable auto update. Valid values:
|
|
460
|
+
*
|
|
461
|
+
* * `true`: enables auto update.
|
|
462
|
+
* * `false`: disables auto update.
|
|
463
|
+
*
|
|
330
464
|
* @example
|
|
331
|
-
*
|
|
465
|
+
* false
|
|
332
466
|
*/
|
|
333
467
|
autoUpgrade?: boolean;
|
|
334
468
|
/**
|
|
469
|
+
* @remarks
|
|
470
|
+
* The maximum number of unavailable nodes. Valid values: 1 to 1000.
|
|
471
|
+
*
|
|
472
|
+
* Default value: 1.
|
|
473
|
+
*
|
|
335
474
|
* @example
|
|
336
|
-
*
|
|
475
|
+
* 0
|
|
337
476
|
*/
|
|
338
477
|
maxUnavailable?: number;
|
|
339
478
|
/**
|
|
479
|
+
* @remarks
|
|
480
|
+
* The number of additional nodes.
|
|
481
|
+
*
|
|
340
482
|
* @example
|
|
341
|
-
*
|
|
483
|
+
* 0
|
|
342
484
|
*/
|
|
343
485
|
surge?: number;
|
|
344
486
|
/**
|
|
487
|
+
* @remarks
|
|
488
|
+
* The percentage of additional nodes to the nodes in the node pool. You must specify this parameter or the `surge` parameter.
|
|
489
|
+
*
|
|
345
490
|
* @example
|
|
346
|
-
*
|
|
491
|
+
* 0
|
|
347
492
|
*/
|
|
348
493
|
surgePercentage?: number;
|
|
349
494
|
static names(): { [key: string]: string } {
|
|
@@ -375,29 +520,62 @@ export class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
375
520
|
|
|
376
521
|
export class NodepoolManagement extends $dara.Model {
|
|
377
522
|
/**
|
|
523
|
+
* @remarks
|
|
524
|
+
* Specifies whether to enable auto repair. This parameter takes effect only when you specify `enable=true`.
|
|
525
|
+
*
|
|
526
|
+
* * `true`: enables auto repair
|
|
527
|
+
* * `false`: disables auto repair.
|
|
528
|
+
*
|
|
378
529
|
* @example
|
|
379
|
-
*
|
|
530
|
+
* false
|
|
380
531
|
*/
|
|
381
532
|
autoRepair?: boolean;
|
|
533
|
+
/**
|
|
534
|
+
* @remarks
|
|
535
|
+
* The auto node repair policy.
|
|
536
|
+
*/
|
|
382
537
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
383
538
|
/**
|
|
539
|
+
* @remarks
|
|
540
|
+
* Indicates whether auto update is enabled.
|
|
541
|
+
*
|
|
384
542
|
* @example
|
|
385
543
|
* true
|
|
386
544
|
*/
|
|
387
545
|
autoUpgrade?: boolean;
|
|
546
|
+
/**
|
|
547
|
+
* @remarks
|
|
548
|
+
* The auto update policy.
|
|
549
|
+
*/
|
|
388
550
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
389
551
|
/**
|
|
552
|
+
* @remarks
|
|
553
|
+
* Indicates whether CVE vulnerabilities are automatically patched.
|
|
554
|
+
*
|
|
390
555
|
* @example
|
|
391
556
|
* true
|
|
392
557
|
*/
|
|
393
558
|
autoVulFix?: boolean;
|
|
559
|
+
/**
|
|
560
|
+
* @remarks
|
|
561
|
+
* The automatic CVE patching policy.
|
|
562
|
+
*/
|
|
394
563
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
395
564
|
/**
|
|
565
|
+
* @remarks
|
|
566
|
+
* Indicates whether the managed node pool feature is enabled. Valid values:
|
|
567
|
+
*
|
|
568
|
+
* * `true`: enables the managed node pool feature.
|
|
569
|
+
* * `false`: disables the managed node pool feature. Other parameters in this section take effect only if you set `enable` to true.
|
|
570
|
+
*
|
|
396
571
|
* @example
|
|
397
|
-
*
|
|
572
|
+
* false
|
|
398
573
|
*/
|
|
399
574
|
enable?: boolean;
|
|
400
575
|
/**
|
|
576
|
+
* @remarks
|
|
577
|
+
* The configurations of auto update. This parameter takes effect only if `enable` is set to true.
|
|
578
|
+
*
|
|
401
579
|
* @deprecated
|
|
402
580
|
*/
|
|
403
581
|
upgradeConfig?: NodepoolManagementUpgradeConfig;
|
|
@@ -515,6 +693,10 @@ export class NodepoolNodeComponents extends $dara.Model {
|
|
|
515
693
|
}
|
|
516
694
|
|
|
517
695
|
export class NodepoolNodeConfig extends $dara.Model {
|
|
696
|
+
/**
|
|
697
|
+
* @remarks
|
|
698
|
+
* The parameter settings of the kubelet.
|
|
699
|
+
*/
|
|
518
700
|
kubeletConfiguration?: KubeletConfig;
|
|
519
701
|
static names(): { [key: string]: string } {
|
|
520
702
|
return {
|
|
@@ -543,6 +725,8 @@ export class NodepoolNodeConfig extends $dara.Model {
|
|
|
543
725
|
export class NodepoolNodepoolInfo extends $dara.Model {
|
|
544
726
|
/**
|
|
545
727
|
* @remarks
|
|
728
|
+
* The name of the node pool.
|
|
729
|
+
*
|
|
546
730
|
* This parameter is required.
|
|
547
731
|
*
|
|
548
732
|
* @example
|
|
@@ -550,11 +734,20 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
550
734
|
*/
|
|
551
735
|
name?: string;
|
|
552
736
|
/**
|
|
737
|
+
* @remarks
|
|
738
|
+
* The ID of the resource group to which the node pool belongs.
|
|
739
|
+
*
|
|
553
740
|
* @example
|
|
554
741
|
* rg-acfmyvw3wjm****
|
|
555
742
|
*/
|
|
556
743
|
resourceGroupId?: string;
|
|
557
744
|
/**
|
|
745
|
+
* @remarks
|
|
746
|
+
* The type of node pool. Valid values:
|
|
747
|
+
*
|
|
748
|
+
* * `ess`: node pool.
|
|
749
|
+
* * `edge`: edge node pool.
|
|
750
|
+
*
|
|
558
751
|
* @example
|
|
559
752
|
* ess
|
|
560
753
|
*/
|
|
@@ -585,7 +778,25 @@ export class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
585
778
|
}
|
|
586
779
|
|
|
587
780
|
export class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
781
|
+
/**
|
|
782
|
+
* @remarks
|
|
783
|
+
* The ID of the private node pool.
|
|
784
|
+
*
|
|
785
|
+
* @example
|
|
786
|
+
* eap-bp67acfmxazb4****
|
|
787
|
+
*/
|
|
588
788
|
id?: string;
|
|
789
|
+
/**
|
|
790
|
+
* @remarks
|
|
791
|
+
* The type of the private node pool. This parameter specifies the type of the private node pool that you want to use to create instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values:
|
|
792
|
+
*
|
|
793
|
+
* * `Open`: specifies an open private node pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
|
|
794
|
+
* * `Target`: specifies a private node pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
|
|
795
|
+
* * `None`: does not use private pools. The resources of private node pools are not used to launch instances.
|
|
796
|
+
*
|
|
797
|
+
* @example
|
|
798
|
+
* Open
|
|
799
|
+
*/
|
|
589
800
|
matchCriteria?: string;
|
|
590
801
|
static names(): { [key: string]: string } {
|
|
591
802
|
return {
|
|
@@ -645,11 +856,17 @@ export class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
|
645
856
|
|
|
646
857
|
export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
647
858
|
/**
|
|
859
|
+
* @remarks
|
|
860
|
+
* The instance type of preemptible instances.
|
|
861
|
+
*
|
|
648
862
|
* @example
|
|
649
863
|
* ecs.c6.large
|
|
650
864
|
*/
|
|
651
865
|
instanceType?: string;
|
|
652
866
|
/**
|
|
867
|
+
* @remarks
|
|
868
|
+
* The price cap of a preemptible instance.
|
|
869
|
+
*
|
|
653
870
|
* @example
|
|
654
871
|
* 0.39
|
|
655
872
|
*/
|
|
@@ -679,11 +896,17 @@ export class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
|
679
896
|
|
|
680
897
|
export class NodepoolScalingGroupTags extends $dara.Model {
|
|
681
898
|
/**
|
|
899
|
+
* @remarks
|
|
900
|
+
* The key of the label.
|
|
901
|
+
*
|
|
682
902
|
* @example
|
|
683
903
|
* key
|
|
684
904
|
*/
|
|
685
905
|
key?: string;
|
|
686
906
|
/**
|
|
907
|
+
* @remarks
|
|
908
|
+
* The value of the label.
|
|
909
|
+
*
|
|
687
910
|
* @example
|
|
688
911
|
* value
|
|
689
912
|
*/
|
|
@@ -713,44 +936,97 @@ export class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
713
936
|
|
|
714
937
|
export class NodepoolScalingGroup extends $dara.Model {
|
|
715
938
|
/**
|
|
939
|
+
* @remarks
|
|
940
|
+
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only if you set `instance_charge_type` to `PrePaid`. Valid values:
|
|
941
|
+
*
|
|
942
|
+
* * `true`: enables auto-renewal.
|
|
943
|
+
* * `false`: disables auto-renewal.
|
|
944
|
+
*
|
|
945
|
+
* Default value: `true`
|
|
946
|
+
*
|
|
716
947
|
* @example
|
|
717
948
|
* false
|
|
718
949
|
*/
|
|
719
950
|
autoRenew?: boolean;
|
|
720
951
|
/**
|
|
952
|
+
* @remarks
|
|
953
|
+
* The auto-renewal duration of the nodes in the node pool. This parameter is available and required only if you set `instance_charge_type` to `PrePaid`.
|
|
954
|
+
*
|
|
955
|
+
* If you set `period_unit` to Month, the valid values of auto_renew_period are 1, 2, 3, 6, and 12.
|
|
956
|
+
*
|
|
957
|
+
* Default value: 1.
|
|
958
|
+
*
|
|
721
959
|
* @example
|
|
722
960
|
* 0
|
|
723
961
|
*/
|
|
724
962
|
autoRenewPeriod?: number;
|
|
725
963
|
/**
|
|
964
|
+
* @remarks
|
|
965
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as cost or insufficient inventory. This parameter takes effect if you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
966
|
+
*
|
|
967
|
+
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
968
|
+
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
969
|
+
*
|
|
726
970
|
* @example
|
|
727
971
|
* true
|
|
728
972
|
*/
|
|
729
973
|
compensateWithOnDemand?: boolean;
|
|
974
|
+
/**
|
|
975
|
+
* @remarks
|
|
976
|
+
* The configurations of the data disks that you want to attach to the nodes in the node pool.
|
|
977
|
+
*/
|
|
730
978
|
dataDisks?: DataDisk[];
|
|
731
979
|
/**
|
|
980
|
+
* @remarks
|
|
981
|
+
* The ID of the deployment set.
|
|
982
|
+
*
|
|
732
983
|
* @example
|
|
733
984
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
734
985
|
*/
|
|
735
986
|
deploymentsetId?: string;
|
|
736
987
|
/**
|
|
988
|
+
* @remarks
|
|
989
|
+
* The expected number of nodes in the node pool.
|
|
990
|
+
*
|
|
737
991
|
* @example
|
|
738
992
|
* 2
|
|
739
993
|
*/
|
|
740
994
|
desiredSize?: number;
|
|
741
995
|
diskInit?: DiskInit[];
|
|
742
996
|
/**
|
|
997
|
+
* @remarks
|
|
998
|
+
* The custom image ID. By default, the image provided by ACK is used.
|
|
999
|
+
*
|
|
743
1000
|
* @example
|
|
744
1001
|
* aliyun_2_1903_x64_20G_alibase_20200904.vhd
|
|
745
1002
|
*/
|
|
746
1003
|
imageId?: string;
|
|
747
1004
|
/**
|
|
1005
|
+
* @remarks
|
|
1006
|
+
* The type of the operating system image. You must specify this parameter or the platform parameter. Valid values:
|
|
1007
|
+
*
|
|
1008
|
+
* * `AliyunLinux`: Alibaba Cloud Linux 2.
|
|
1009
|
+
* * `AliyunLinux3`: Alibaba Cloud Linux 3
|
|
1010
|
+
* * `AliyunLinux3Arm64`: Alibaba Cloud Linux 3 (ARM).
|
|
1011
|
+
* * `AliyunLinuxUEFI`: Alibaba Cloud Linux UEFI 2.
|
|
1012
|
+
* * `CentOS`: CentOS.
|
|
1013
|
+
* * `Windows`: Windows.
|
|
1014
|
+
* * `WindowsCore`: Windows Core.
|
|
1015
|
+
* * `ContainerOS`: ContainerOS.
|
|
1016
|
+
*
|
|
748
1017
|
* @example
|
|
749
1018
|
* AliyunLinux
|
|
750
1019
|
*/
|
|
751
1020
|
imageType?: string;
|
|
752
1021
|
/**
|
|
753
1022
|
* @remarks
|
|
1023
|
+
* The billing method of the nodes in the node pool. Valid values:
|
|
1024
|
+
*
|
|
1025
|
+
* * `PrePaid`: subscription.
|
|
1026
|
+
* * `PostPaid`: pay-as-you-go.
|
|
1027
|
+
*
|
|
1028
|
+
* Default value: `PostPaid`.
|
|
1029
|
+
*
|
|
754
1030
|
* This parameter is required.
|
|
755
1031
|
*
|
|
756
1032
|
* @example
|
|
@@ -760,137 +1036,310 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
760
1036
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
761
1037
|
/**
|
|
762
1038
|
* @remarks
|
|
1039
|
+
* The instance type.
|
|
1040
|
+
*
|
|
763
1041
|
* This parameter is required.
|
|
764
1042
|
*/
|
|
765
1043
|
instanceTypes?: string[];
|
|
766
1044
|
/**
|
|
1045
|
+
* @remarks
|
|
1046
|
+
* The billing method of the public IP address. Valid values:
|
|
1047
|
+
*
|
|
1048
|
+
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
1049
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
1050
|
+
*
|
|
767
1051
|
* @example
|
|
768
1052
|
* PayByBandwidth
|
|
769
1053
|
*/
|
|
770
1054
|
internetChargeType?: string;
|
|
771
1055
|
/**
|
|
1056
|
+
* @remarks
|
|
1057
|
+
* The maximum outbound bandwidth of the public IP address. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1058
|
+
*
|
|
772
1059
|
* @example
|
|
773
1060
|
* 10
|
|
774
1061
|
*/
|
|
775
1062
|
internetMaxBandwidthOut?: number;
|
|
776
1063
|
/**
|
|
1064
|
+
* @remarks
|
|
1065
|
+
* The name of the key pair. You must specify this parameter or the `login_password` parameter.
|
|
1066
|
+
*
|
|
1067
|
+
* > If you want to create a managed node pool, you must specify `key_pair`.
|
|
1068
|
+
*
|
|
777
1069
|
* @example
|
|
778
1070
|
* np-key
|
|
779
1071
|
*/
|
|
780
1072
|
keyPair?: string;
|
|
1073
|
+
/**
|
|
1074
|
+
* @remarks
|
|
1075
|
+
* Specifies whether to allow a non-root user to log on to an ECS instance that is added to the node pool.
|
|
1076
|
+
*/
|
|
781
1077
|
loginAsNonRoot?: boolean;
|
|
782
1078
|
/**
|
|
1079
|
+
* @remarks
|
|
1080
|
+
* The password for SSH logon. You must specify this parameter or the `key_pair` parameter. 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.
|
|
1081
|
+
*
|
|
783
1082
|
* @example
|
|
784
|
-
* Hello1234
|
|
1083
|
+
* Hello1234
|
|
785
1084
|
*/
|
|
786
1085
|
loginPassword?: string;
|
|
787
1086
|
/**
|
|
1087
|
+
* @remarks
|
|
1088
|
+
* The ECS instance scaling policy for the multi-zone scaling group. Valid values:
|
|
1089
|
+
*
|
|
1090
|
+
* * `PRIORITY`: ECS instances are scaled based on the VSwitchIds.N parameter. If an ECS instance cannot be created in the zone in which the vSwitch that has the highest priority resides, Auto Scaling creates the ECS instance in the zone in which the vSwitch that has the next highest priority resides.
|
|
1091
|
+
*
|
|
1092
|
+
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created if preemptible instance types are specified in the scaling configurations. You can set `CompensateWithOnDemand` to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
1093
|
+
*
|
|
1094
|
+
* **
|
|
1095
|
+
*
|
|
1096
|
+
* **Note** `COST_OPTIMIZED` is valid only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
1097
|
+
*
|
|
1098
|
+
* * `BALANCE`: ECS instances are evenly distributed across multiple zones specified by the scaling group. If the distribution of ECS instances across zones is not balanced due to reasons such as insufficient inventory, you can call the RebalanceInstances operation to evenly distribute the ECS instances across zones. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html)
|
|
1099
|
+
*
|
|
1100
|
+
* Default value: `PRIORITY`.
|
|
1101
|
+
*
|
|
788
1102
|
* @example
|
|
789
1103
|
* COST_OPTIMIZED
|
|
790
1104
|
*/
|
|
791
1105
|
multiAzPolicy?: string;
|
|
792
1106
|
/**
|
|
1107
|
+
* @remarks
|
|
1108
|
+
* The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is smaller than the value of this parameter, Auto Scaling preferably creates pay-as-you-go instances.
|
|
1109
|
+
*
|
|
793
1110
|
* @example
|
|
794
1111
|
* 0
|
|
795
1112
|
*/
|
|
796
1113
|
onDemandBaseCapacity?: number;
|
|
797
1114
|
/**
|
|
1115
|
+
* @remarks
|
|
1116
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the number specified by `on_demand_base_capacity`. Valid values: 0 to 100.
|
|
1117
|
+
*
|
|
798
1118
|
* @example
|
|
799
1119
|
* 20
|
|
800
1120
|
*/
|
|
801
1121
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
802
1122
|
/**
|
|
1123
|
+
* @remarks
|
|
1124
|
+
* The subscription duration of the nodes in the node pool. This parameter takes effect and is required only if you set `instance_charge_type` to `PrePaid`. If you set `period_unit` to Month, the valid values of `period` are 1, 2, 3, 6, and 12.
|
|
1125
|
+
*
|
|
1126
|
+
* Default value: 1.
|
|
1127
|
+
*
|
|
803
1128
|
* @example
|
|
804
1129
|
* 0
|
|
805
1130
|
*/
|
|
806
1131
|
period?: number;
|
|
807
1132
|
/**
|
|
1133
|
+
* @remarks
|
|
1134
|
+
* The billing cycle of the nodes in the node pool. This parameter is required if you set `instance_charge_type` to `PrePaid`.
|
|
1135
|
+
*
|
|
1136
|
+
* Valid value: `Month`.
|
|
1137
|
+
*
|
|
808
1138
|
* @example
|
|
809
1139
|
* Month
|
|
810
1140
|
*/
|
|
811
1141
|
periodUnit?: string;
|
|
812
1142
|
/**
|
|
1143
|
+
* @remarks
|
|
1144
|
+
* The distribution of the operating system. Valid values:
|
|
1145
|
+
*
|
|
1146
|
+
* * `CentOS`
|
|
1147
|
+
* * `AliyunLinux`
|
|
1148
|
+
* * `Windows`
|
|
1149
|
+
* * `WindowsCore`
|
|
1150
|
+
*
|
|
1151
|
+
* Default value: `AliyunLinux`.
|
|
1152
|
+
*
|
|
813
1153
|
* @example
|
|
814
1154
|
* AliyunLinux
|
|
815
1155
|
*
|
|
816
1156
|
* @deprecated
|
|
817
1157
|
*/
|
|
818
1158
|
platform?: string;
|
|
1159
|
+
/**
|
|
1160
|
+
* @remarks
|
|
1161
|
+
* The configurations of the private node pool.
|
|
1162
|
+
*/
|
|
819
1163
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
820
1164
|
/**
|
|
1165
|
+
* @remarks
|
|
1166
|
+
* The name of the worker Resource Access Management (RAM) role. This parameter is available only to users in the whitelist. To use this parameter, submit a ticket.
|
|
1167
|
+
*
|
|
1168
|
+
* > You can configure this parameter when you create a node pool only for an ACK managed cluster that runs Kubernetes 1.22 or later.
|
|
1169
|
+
*
|
|
821
1170
|
* @example
|
|
822
1171
|
* example-role
|
|
823
1172
|
*/
|
|
824
1173
|
ramRoleName?: string;
|
|
1174
|
+
/**
|
|
1175
|
+
* @remarks
|
|
1176
|
+
* A list of ApsaraDB RDS instances.
|
|
1177
|
+
*/
|
|
825
1178
|
rdsInstances?: string[];
|
|
826
1179
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
827
1180
|
/**
|
|
1181
|
+
* @remarks
|
|
1182
|
+
* The scaling mode of the scaling group. Valid values:
|
|
1183
|
+
*
|
|
1184
|
+
* * `release`: the standard mode. ECS instances are created and released based on resource usage.
|
|
1185
|
+
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
|
|
1186
|
+
*
|
|
1187
|
+
* Default value: `release`.
|
|
1188
|
+
*
|
|
828
1189
|
* @example
|
|
829
1190
|
* release
|
|
830
1191
|
*/
|
|
831
1192
|
scalingPolicy?: string;
|
|
832
1193
|
/**
|
|
1194
|
+
* @remarks
|
|
1195
|
+
* The ID of the security group to which you want to add the node pool. You must specify this parameter or the `security_group_ids` parameter. We recommend that you specify `security_group_ids`.
|
|
1196
|
+
*
|
|
833
1197
|
* @example
|
|
834
1198
|
* sg-2zeihch86ooz9io4****
|
|
835
1199
|
*/
|
|
836
1200
|
securityGroupId?: string;
|
|
1201
|
+
/**
|
|
1202
|
+
* @remarks
|
|
1203
|
+
* The IDs of security groups. You must specify this parameter or `security_group_id`. We recommend that you specify `security_group_ids`. If you specify both `security_group_id` and `security_group_ids`, `security_group_ids` is used.
|
|
1204
|
+
*/
|
|
837
1205
|
securityGroupIds?: string[];
|
|
838
1206
|
/**
|
|
1207
|
+
* @remarks
|
|
1208
|
+
* The number of instance types that are available for creating preemptible instances. Auto Scaling creates preemptible instances of multiple instance types that are available at the lowest cost. Valid values: 1 to 10.
|
|
1209
|
+
*
|
|
839
1210
|
* @example
|
|
840
1211
|
* 5
|
|
841
1212
|
*/
|
|
842
1213
|
spotInstancePools?: number;
|
|
843
1214
|
/**
|
|
1215
|
+
* @remarks
|
|
1216
|
+
* Indicates whether preemptible instances can be supplemented. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group creates a new instance to replace this instance. Valid values:
|
|
1217
|
+
*
|
|
1218
|
+
* * `true`: supplements preemptible instances.
|
|
1219
|
+
* * `false`: does not supplement preemptible instances.
|
|
1220
|
+
*
|
|
844
1221
|
* @example
|
|
845
1222
|
* false
|
|
846
1223
|
*/
|
|
847
1224
|
spotInstanceRemedy?: boolean;
|
|
1225
|
+
/**
|
|
1226
|
+
* @remarks
|
|
1227
|
+
* The instance type of preemptible instances and the price cap for the instance type.
|
|
1228
|
+
*/
|
|
848
1229
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
849
1230
|
/**
|
|
1231
|
+
* @remarks
|
|
1232
|
+
* The type of preemptible instance. Valid values:
|
|
1233
|
+
*
|
|
1234
|
+
* * NoSpot: non-preemptible.
|
|
1235
|
+
* * SpotWithPriceLimit: a preemptible instance that is configured with the highest bid price.
|
|
1236
|
+
* * SpotAsPriceGo: bids based on the up-to-date market price are submitted.
|
|
1237
|
+
*
|
|
1238
|
+
* For more information, see [Preemptible Instance](https://help.aliyun.com/document_detail/157759.html).
|
|
1239
|
+
*
|
|
850
1240
|
* @example
|
|
851
1241
|
* NoSpot
|
|
852
1242
|
*/
|
|
853
1243
|
spotStrategy?: string;
|
|
854
1244
|
/**
|
|
1245
|
+
* @remarks
|
|
1246
|
+
* Specifies whether to enable the burst feature for the system disk. Valid values:
|
|
1247
|
+
*
|
|
1248
|
+
* * true: enables the burst feature.
|
|
1249
|
+
* * false: disables the burst feature.
|
|
1250
|
+
*
|
|
1251
|
+
* This parameter is available only if `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1252
|
+
*
|
|
855
1253
|
* @example
|
|
856
1254
|
* true
|
|
857
1255
|
*/
|
|
858
1256
|
systemDiskBurstingEnabled?: boolean;
|
|
1257
|
+
/**
|
|
1258
|
+
* @remarks
|
|
1259
|
+
* The system disk types. The system creates system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: cloud (basic disk), cloud_efficiency (ultra disk), cloud_ssd (standard SSD), and cloud_essd: (ESSD).
|
|
1260
|
+
*/
|
|
859
1261
|
systemDiskCategories?: string[];
|
|
860
1262
|
/**
|
|
1263
|
+
* @remarks
|
|
1264
|
+
* The type of the system disk. Valid values:
|
|
1265
|
+
*
|
|
1266
|
+
* * `cloud_efficiency`: ultra disk.
|
|
1267
|
+
* * `cloud_ssd`: standard SSD
|
|
1268
|
+
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
1269
|
+
* * `cloud_auto`: ESSD AutoPL disk.
|
|
1270
|
+
* * `cloud_essd_entry`: ESSD Entry disk.
|
|
1271
|
+
*
|
|
1272
|
+
* Default value: `cloud_efficiency`.
|
|
1273
|
+
*
|
|
861
1274
|
* @example
|
|
862
1275
|
* cloud_efficiency
|
|
863
1276
|
*/
|
|
864
1277
|
systemDiskCategory?: string;
|
|
865
1278
|
/**
|
|
1279
|
+
* @remarks
|
|
1280
|
+
* The algorithm that you want to use to encrypt the system disk. Set the value to aes-256.
|
|
1281
|
+
*
|
|
866
1282
|
* @example
|
|
867
1283
|
* aes-256
|
|
868
1284
|
*/
|
|
869
1285
|
systemDiskEncryptAlgorithm?: string;
|
|
1286
|
+
/**
|
|
1287
|
+
* @remarks
|
|
1288
|
+
* Specifies whether to encrypt the system disk. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
1289
|
+
*/
|
|
870
1290
|
systemDiskEncrypted?: boolean;
|
|
871
1291
|
/**
|
|
1292
|
+
* @remarks
|
|
1293
|
+
* The ID of the Key Management Service (KMS) key that is used to encrypt the system disk.
|
|
1294
|
+
*
|
|
872
1295
|
* @example
|
|
873
1296
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
874
1297
|
*/
|
|
875
1298
|
systemDiskKmsKeyId?: string;
|
|
876
1299
|
/**
|
|
1300
|
+
* @remarks
|
|
1301
|
+
* The performance level (PL) of the system disk. This parameter takes effect only for an ESSD. Valid values:
|
|
1302
|
+
*
|
|
1303
|
+
* * PL0: moderate maximum concurrent I/O performance and low I/O latency.
|
|
1304
|
+
* * PL1: moderate maximum concurrent I/O performance and low I/O latency.
|
|
1305
|
+
* * PL2: high maximum concurrent I/O performance and low I/O latency.
|
|
1306
|
+
* * PL3: ultra-high maximum concurrent I/O performance and ultra-low I/O latency.
|
|
1307
|
+
*
|
|
877
1308
|
* @example
|
|
878
1309
|
* PL1
|
|
879
1310
|
*/
|
|
880
1311
|
systemDiskPerformanceLevel?: string;
|
|
881
1312
|
/**
|
|
1313
|
+
* @remarks
|
|
1314
|
+
* The preset read/write IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS} Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
1315
|
+
*
|
|
1316
|
+
* This parameter is available only if `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1317
|
+
*
|
|
882
1318
|
* @example
|
|
883
1319
|
* 1000
|
|
884
1320
|
*/
|
|
885
1321
|
systemDiskProvisionedIops?: number;
|
|
886
1322
|
/**
|
|
1323
|
+
* @remarks
|
|
1324
|
+
* The size of the system disk. Unit: GiB.
|
|
1325
|
+
*
|
|
1326
|
+
* Valid values: 40 to 500.
|
|
1327
|
+
*
|
|
887
1328
|
* @example
|
|
888
1329
|
* 120
|
|
889
1330
|
*/
|
|
890
1331
|
systemDiskSize?: number;
|
|
1332
|
+
/**
|
|
1333
|
+
* @remarks
|
|
1334
|
+
* The labels that you want to add only to ECS instances.
|
|
1335
|
+
*
|
|
1336
|
+
* The tag key must be unique and can be up to 128 characters in length. The tag key and value must not start with aliyun or acs: or contain https:// or http://.
|
|
1337
|
+
*/
|
|
891
1338
|
tags?: NodepoolScalingGroupTags[];
|
|
892
1339
|
/**
|
|
893
1340
|
* @remarks
|
|
1341
|
+
* The IDs of vSwitches.
|
|
1342
|
+
*
|
|
894
1343
|
* This parameter is required.
|
|
895
1344
|
*/
|
|
896
1345
|
vswitchIds?: string[];
|
|
@@ -1042,6 +1491,8 @@ export class NodepoolScalingGroup extends $dara.Model {
|
|
|
1042
1491
|
export class NodepoolTeeConfig extends $dara.Model {
|
|
1043
1492
|
/**
|
|
1044
1493
|
* @remarks
|
|
1494
|
+
* Specifies whether to enable confidential computing for the node pool.
|
|
1495
|
+
*
|
|
1045
1496
|
* This parameter is required.
|
|
1046
1497
|
*
|
|
1047
1498
|
* @example
|
|
@@ -1070,8 +1521,17 @@ export class NodepoolTeeConfig extends $dara.Model {
|
|
|
1070
1521
|
}
|
|
1071
1522
|
|
|
1072
1523
|
export class Nodepool extends $dara.Model {
|
|
1524
|
+
/**
|
|
1525
|
+
* @remarks
|
|
1526
|
+
* The auto scaling configurations of the node pool.
|
|
1527
|
+
*/
|
|
1073
1528
|
autoScaling?: NodepoolAutoScaling;
|
|
1074
1529
|
/**
|
|
1530
|
+
* @remarks
|
|
1531
|
+
* This parameter is deprecated. Use desired_size instead.
|
|
1532
|
+
*
|
|
1533
|
+
* The number of nodes in the node pool.
|
|
1534
|
+
*
|
|
1075
1535
|
* @example
|
|
1076
1536
|
* 1
|
|
1077
1537
|
*
|
|
@@ -1079,25 +1539,63 @@ export class Nodepool extends $dara.Model {
|
|
|
1079
1539
|
*/
|
|
1080
1540
|
count?: number;
|
|
1081
1541
|
/**
|
|
1542
|
+
* @remarks
|
|
1543
|
+
* This parameter is deprecated.
|
|
1544
|
+
*
|
|
1545
|
+
* The configurations of the edge node pool.
|
|
1546
|
+
*
|
|
1082
1547
|
* @deprecated
|
|
1083
1548
|
*/
|
|
1084
1549
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1085
1550
|
/**
|
|
1551
|
+
* @remarks
|
|
1552
|
+
* The network type of the edge node pool. This parameter takes effect only if you set the `type` of the node pool to `edge`. Valid values:
|
|
1553
|
+
*
|
|
1554
|
+
* * `basic`: basic
|
|
1555
|
+
* * `private`: dedicated Only Kubernetes 1.22 and later support this value.
|
|
1556
|
+
*
|
|
1086
1557
|
* @example
|
|
1087
1558
|
* basic
|
|
1088
1559
|
*/
|
|
1089
1560
|
interconnectMode?: string;
|
|
1561
|
+
/**
|
|
1562
|
+
* @remarks
|
|
1563
|
+
* The configurations of the cluster.
|
|
1564
|
+
*/
|
|
1090
1565
|
kubernetesConfig?: NodepoolKubernetesConfig;
|
|
1566
|
+
/**
|
|
1567
|
+
* @remarks
|
|
1568
|
+
* The configurations of the managed node pool feature.
|
|
1569
|
+
*/
|
|
1091
1570
|
management?: NodepoolManagement;
|
|
1092
1571
|
/**
|
|
1572
|
+
* @remarks
|
|
1573
|
+
* The maximum number of nodes that can be created in the edge node pool. The value of this parameter must be greater than or equal to 0. A value of 0 indicates that the number of nodes in the node pool is limited only by the quota of nodes in the cluster. In most cases, this parameter is set to a value larger than 0 for edge node pools. This parameter is set to 0 for node pools whose type is ess or default edge node pools.
|
|
1574
|
+
*
|
|
1093
1575
|
* @example
|
|
1094
1576
|
* 10
|
|
1095
1577
|
*/
|
|
1096
1578
|
maxNodes?: number;
|
|
1097
1579
|
nodeComponents?: NodepoolNodeComponents[];
|
|
1580
|
+
/**
|
|
1581
|
+
* @remarks
|
|
1582
|
+
* The node configurations.
|
|
1583
|
+
*/
|
|
1098
1584
|
nodeConfig?: NodepoolNodeConfig;
|
|
1585
|
+
/**
|
|
1586
|
+
* @remarks
|
|
1587
|
+
* The configuration of a node pool.
|
|
1588
|
+
*/
|
|
1099
1589
|
nodepoolInfo?: NodepoolNodepoolInfo;
|
|
1590
|
+
/**
|
|
1591
|
+
* @remarks
|
|
1592
|
+
* The configurations of the scaling group that is used by the node pool.
|
|
1593
|
+
*/
|
|
1100
1594
|
scalingGroup?: NodepoolScalingGroup;
|
|
1595
|
+
/**
|
|
1596
|
+
* @remarks
|
|
1597
|
+
* The configurations of confidential computing.
|
|
1598
|
+
*/
|
|
1101
1599
|
teeConfig?: NodepoolTeeConfig;
|
|
1102
1600
|
static names(): { [key: string]: string } {
|
|
1103
1601
|
return {
|