@alicloud/cs20151215 7.2.3 → 7.2.4
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 +14 -14
- package/dist/client.js +14 -14
- package/dist/models/CreateClusterNodePoolRequest.d.ts +222 -234
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +18 -18
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +19 -9
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -14
- package/src/models/CreateClusterNodePoolRequest.ts +224 -234
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +18 -18
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +21 -9
- package/src/models/Nodepool.ts +152 -202
|
@@ -9,9 +9,7 @@ import { Taint } from "./Taint";
|
|
|
9
9
|
export declare class NodepoolAutoScaling extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* **[Deprecated]**
|
|
13
|
-
*
|
|
14
|
-
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
12
|
+
* **[Deprecated]** The peak bandwidth of the elastic IP address (EIP). Unit: Mbit/s.
|
|
15
13
|
*
|
|
16
14
|
* @example
|
|
17
15
|
* 5
|
|
@@ -21,13 +19,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
21
19
|
eipBandwidth?: number;
|
|
22
20
|
/**
|
|
23
21
|
* @remarks
|
|
24
|
-
* **[Deprecated]**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
*
|
|
28
|
-
* - `PayByBandwidth`: Pay-by-bandwidth.
|
|
29
|
-
* - `PayByTraffic`: Pay-by-data-transfer.
|
|
30
|
-
*
|
|
22
|
+
* **[Deprecated]** The billing method of the EIP. Valid values:
|
|
23
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
24
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
31
25
|
* Default value: PayByBandwidth.
|
|
32
26
|
*
|
|
33
27
|
* @example
|
|
@@ -39,10 +33,9 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
39
33
|
/**
|
|
40
34
|
* @remarks
|
|
41
35
|
* Specifies whether to enable auto scaling. Valid values:
|
|
42
|
-
* -
|
|
43
|
-
* -
|
|
44
|
-
*
|
|
45
|
-
* Default value: `false`.
|
|
36
|
+
* - true: enables auto scaling for the node pool.
|
|
37
|
+
* - false: disables auto scaling. If this parameter is set to false, other configuration parameters in auto_scaling do not take effect.
|
|
38
|
+
* Default value: false.
|
|
46
39
|
*
|
|
47
40
|
* This parameter is required.
|
|
48
41
|
*
|
|
@@ -52,14 +45,10 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
52
45
|
enable?: boolean;
|
|
53
46
|
/**
|
|
54
47
|
* @remarks
|
|
55
|
-
* **[Deprecated]**
|
|
56
|
-
*
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
* - `true`: Associates an EIP.
|
|
60
|
-
* - `false`: Does not associate an EIP.
|
|
61
|
-
*
|
|
62
|
-
* Default value: `false`.
|
|
48
|
+
* **[Deprecated]** Specifies whether to associate an EIP. Valid values:
|
|
49
|
+
* - true: associates an EIP.
|
|
50
|
+
* - false: does not associate an EIP.
|
|
51
|
+
* Default value: false.
|
|
63
52
|
*
|
|
64
53
|
* @example
|
|
65
54
|
* true
|
|
@@ -90,13 +79,11 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
90
79
|
/**
|
|
91
80
|
* @remarks
|
|
92
81
|
* The auto-scaling type, which is classified by the instance type used for auto scaling. Valid values:
|
|
93
|
-
*
|
|
94
|
-
* -
|
|
95
|
-
* -
|
|
96
|
-
* -
|
|
97
|
-
*
|
|
98
|
-
*
|
|
99
|
-
* Default value: `cpu`.
|
|
82
|
+
* - cpu: regular instance.
|
|
83
|
+
* - gpu: GPU-accelerated instance.
|
|
84
|
+
* - gpushare: shared GPU instance.
|
|
85
|
+
* - spot: spot instance.
|
|
86
|
+
* Default value: cpu.
|
|
100
87
|
*
|
|
101
88
|
* @example
|
|
102
89
|
* cpu
|
|
@@ -116,9 +103,7 @@ export declare class NodepoolAutoScaling extends $dara.Model {
|
|
|
116
103
|
export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
117
104
|
/**
|
|
118
105
|
* @remarks
|
|
119
|
-
* **[Deprecated]**
|
|
120
|
-
*
|
|
121
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbit/s.
|
|
106
|
+
* **[Deprecated]** The network bandwidth of the edge-optimized node pool. Unit: Mbit/s.
|
|
122
107
|
*
|
|
123
108
|
* @example
|
|
124
109
|
* 10
|
|
@@ -128,9 +113,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
128
113
|
bandwidth?: number;
|
|
129
114
|
/**
|
|
130
115
|
* @remarks
|
|
131
|
-
* **[Deprecated]**
|
|
132
|
-
*
|
|
133
|
-
* The instance ID of the Cloud Connect Network (CCN) attached to the enhanced edge node pool.
|
|
116
|
+
* **[Deprecated]** The instance ID of the Cloud Connect Network (CCN) attached to the edge-optimized node pool.
|
|
134
117
|
*
|
|
135
118
|
* @example
|
|
136
119
|
* ccn-qm5i0i0q9yi*******
|
|
@@ -140,9 +123,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
140
123
|
ccnId?: string;
|
|
141
124
|
/**
|
|
142
125
|
* @remarks
|
|
143
|
-
* **[Deprecated]**
|
|
144
|
-
*
|
|
145
|
-
* The region of the CCN instance that is bound to the enhanced edge node pool.
|
|
126
|
+
* **[Deprecated]** The region of the CCN instance associated with the edge-optimized node pool.
|
|
146
127
|
*
|
|
147
128
|
* @example
|
|
148
129
|
* cn-shanghai
|
|
@@ -152,9 +133,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
152
133
|
ccnRegionId?: string;
|
|
153
134
|
/**
|
|
154
135
|
* @remarks
|
|
155
|
-
* **[Deprecated]**
|
|
156
|
-
*
|
|
157
|
-
* The instance ID of the Cloud Enterprise Network (CEN) attached to the enhanced edge node pool.
|
|
136
|
+
* **[Deprecated]** The instance ID of the Cloud Enterprise Network (CEN) attached to the edge-optimized node pool.
|
|
158
137
|
*
|
|
159
138
|
* @example
|
|
160
139
|
* cen-ey9k9nfhz0f*******
|
|
@@ -164,9 +143,7 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
164
143
|
cenId?: string;
|
|
165
144
|
/**
|
|
166
145
|
* @remarks
|
|
167
|
-
* **[Deprecated]**
|
|
168
|
-
*
|
|
169
|
-
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
146
|
+
* **[Deprecated]** The subscription duration of the edge-optimized node pool. Unit: months.
|
|
170
147
|
*
|
|
171
148
|
* @example
|
|
172
149
|
* 1
|
|
@@ -188,12 +165,10 @@ export declare class NodepoolInterconnectConfig extends $dara.Model {
|
|
|
188
165
|
export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
189
166
|
/**
|
|
190
167
|
* @remarks
|
|
191
|
-
* Specifies whether to install
|
|
192
|
-
*
|
|
193
|
-
* -
|
|
194
|
-
*
|
|
195
|
-
*
|
|
196
|
-
* Default value: `false`.
|
|
168
|
+
* Specifies whether to install CloudMonitor on ECS nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Enabling this feature is recommended. Valid values:
|
|
169
|
+
* - true: installs CloudMonitor on ECS nodes.
|
|
170
|
+
* - false: does not install CloudMonitor on ECS nodes.
|
|
171
|
+
* Default value: false.
|
|
197
172
|
*
|
|
198
173
|
* @example
|
|
199
174
|
* true
|
|
@@ -202,11 +177,9 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
202
177
|
/**
|
|
203
178
|
* @remarks
|
|
204
179
|
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
205
|
-
*
|
|
206
|
-
* -
|
|
207
|
-
*
|
|
208
|
-
*
|
|
209
|
-
* Default value: `none`.
|
|
180
|
+
* - static: allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
181
|
+
* - none: uses the default CPU affinity scheme.
|
|
182
|
+
* Default value: none.
|
|
210
183
|
*
|
|
211
184
|
* @example
|
|
212
185
|
* none
|
|
@@ -214,17 +187,15 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
214
187
|
cpuPolicy?: string;
|
|
215
188
|
/**
|
|
216
189
|
* @remarks
|
|
217
|
-
* The node labels
|
|
190
|
+
* The node labels, which are added to the nodes in the Kubernetes cluster.
|
|
218
191
|
*/
|
|
219
192
|
labels?: Tag[];
|
|
220
193
|
/**
|
|
221
194
|
* @remarks
|
|
222
195
|
* The node name consists of three parts: prefix + node IP address + suffix.
|
|
223
|
-
*
|
|
224
196
|
* - The prefix and suffix can each consist of one or more parts separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or a digit.
|
|
225
197
|
* - The node IP address is the complete private IP address of the node.
|
|
226
|
-
*
|
|
227
|
-
* The parameter value contains four parts separated by commas. For example, if the parameter is set to "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.
|
|
198
|
+
* The parameter value contains four parts separated by commas. For example, if the parameter is set to the "customized,aliyun,ip,com" string (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.
|
|
228
199
|
*
|
|
229
200
|
* @example
|
|
230
201
|
* customized,aliyun,ip,com
|
|
@@ -233,11 +204,10 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
233
204
|
/**
|
|
234
205
|
* @remarks
|
|
235
206
|
* The container runtime. Valid values:
|
|
236
|
-
* -
|
|
237
|
-
* -
|
|
238
|
-
* -
|
|
239
|
-
*
|
|
240
|
-
* Default value: `containerd`.
|
|
207
|
+
* - containerd: recommended. Supported by all cluster versions.
|
|
208
|
+
* - Sandboxed-Container.runv: sandboxed container. Provides higher isolation. Supported by clusters of Kubernetes 1.24 and earlier.
|
|
209
|
+
* - docker: supported by clusters of Kubernetes 1.22 and earlier.
|
|
210
|
+
* Default value: containerd.
|
|
241
211
|
*
|
|
242
212
|
* This parameter is required.
|
|
243
213
|
*
|
|
@@ -262,7 +232,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
262
232
|
taints?: Taint[];
|
|
263
233
|
/**
|
|
264
234
|
* @remarks
|
|
265
|
-
* The
|
|
235
|
+
* The custom data of the node.
|
|
266
236
|
*
|
|
267
237
|
* @example
|
|
268
238
|
* MXM=
|
|
@@ -282,7 +252,7 @@ export declare class NodepoolKubernetesConfig extends $dara.Model {
|
|
|
282
252
|
export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
283
253
|
/**
|
|
284
254
|
* @remarks
|
|
285
|
-
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired
|
|
255
|
+
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired at the same time. You can specify a number (such as 5, valid values: 1 to 100000) or a percentage (such as 10%, valid values: 1% to 100%). Default value: 1.
|
|
286
256
|
*
|
|
287
257
|
* @example
|
|
288
258
|
* 5
|
|
@@ -290,7 +260,7 @@ export declare class NodepoolManagementAutoRepairPolicy extends $dara.Model {
|
|
|
290
260
|
maxParallelRepairingNodes?: string;
|
|
291
261
|
/**
|
|
292
262
|
* @remarks
|
|
293
|
-
* The
|
|
263
|
+
* The circuit breaker threshold for self-healing. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters the circuit breaker state and stops initiating new self-healing actions. You can specify a number (such as 10, valid values: 1 to 100000) or a percentage (such as 20%, valid values: 1% to 100%). Default value: 100%.
|
|
294
264
|
*
|
|
295
265
|
* @example
|
|
296
266
|
* 20%
|
|
@@ -366,10 +336,9 @@ export declare class NodepoolManagementAutoVulFixPolicy extends $dara.Model {
|
|
|
366
336
|
export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
367
337
|
/**
|
|
368
338
|
* @remarks
|
|
369
|
-
* Specifies whether to enable auto
|
|
370
|
-
*
|
|
371
|
-
* -
|
|
372
|
-
* - `false`: Disables auto-upgrade.
|
|
339
|
+
* Specifies whether to enable auto upgrade. Valid values:
|
|
340
|
+
* - true: Enables auto upgrade.
|
|
341
|
+
* - false: Disables auto upgrade.
|
|
373
342
|
*
|
|
374
343
|
* @example
|
|
375
344
|
* false
|
|
@@ -387,7 +356,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
387
356
|
maxUnavailable?: number;
|
|
388
357
|
/**
|
|
389
358
|
* @remarks
|
|
390
|
-
* The number of
|
|
359
|
+
* The number of surge nodes.
|
|
391
360
|
*
|
|
392
361
|
* @example
|
|
393
362
|
* 0
|
|
@@ -395,7 +364,7 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
395
364
|
surge?: number;
|
|
396
365
|
/**
|
|
397
366
|
* @remarks
|
|
398
|
-
* The percentage of
|
|
367
|
+
* The percentage of surge nodes. This parameter and surge are mutually exclusive.
|
|
399
368
|
*
|
|
400
369
|
* @example
|
|
401
370
|
* 0
|
|
@@ -415,15 +384,14 @@ export declare class NodepoolManagementUpgradeConfig extends $dara.Model {
|
|
|
415
384
|
export declare class NodepoolManagement extends $dara.Model {
|
|
416
385
|
/**
|
|
417
386
|
* @remarks
|
|
418
|
-
* Specifies whether to enable
|
|
387
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
419
388
|
*/
|
|
420
389
|
autoFaultDiagnosis?: boolean;
|
|
421
390
|
/**
|
|
422
391
|
* @remarks
|
|
423
|
-
* Specifies whether to enable auto-repair. This parameter takes effect only when
|
|
424
|
-
*
|
|
425
|
-
* -
|
|
426
|
-
* - `false`: Disables auto-repair.
|
|
392
|
+
* Specifies whether to enable auto-repair. This parameter takes effect only when enable is set to true. Valid values:
|
|
393
|
+
* - true: enables auto-repair.
|
|
394
|
+
* - false: disables auto-repair.
|
|
427
395
|
*
|
|
428
396
|
* @example
|
|
429
397
|
* false
|
|
@@ -436,7 +404,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
436
404
|
autoRepairPolicy?: NodepoolManagementAutoRepairPolicy;
|
|
437
405
|
/**
|
|
438
406
|
* @remarks
|
|
439
|
-
* Specifies whether to enable auto
|
|
407
|
+
* Specifies whether to enable auto upgrade.
|
|
440
408
|
*
|
|
441
409
|
* @example
|
|
442
410
|
* true
|
|
@@ -444,7 +412,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
444
412
|
autoUpgrade?: boolean;
|
|
445
413
|
/**
|
|
446
414
|
* @remarks
|
|
447
|
-
* The auto
|
|
415
|
+
* The auto upgrade policy.
|
|
448
416
|
*/
|
|
449
417
|
autoUpgradePolicy?: NodepoolManagementAutoUpgradePolicy;
|
|
450
418
|
/**
|
|
@@ -462,15 +430,14 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
462
430
|
autoVulFixPolicy?: NodepoolManagementAutoVulFixPolicy;
|
|
463
431
|
/**
|
|
464
432
|
* @remarks
|
|
465
|
-
* Specifies whether to enable node
|
|
433
|
+
* Specifies whether to enable the node drift capability. This feature is only supported by smart managed node pools and is enabled by default. Regular node pools do not support this feature.
|
|
466
434
|
*/
|
|
467
435
|
driftEnabled?: boolean;
|
|
468
436
|
/**
|
|
469
437
|
* @remarks
|
|
470
438
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
471
|
-
*
|
|
472
|
-
* -
|
|
473
|
-
* - `false`: Disables the managed node pool. Other related configurations take effect only when `enable` is set to `true`.
|
|
439
|
+
* - true: Enables the managed node pool.
|
|
440
|
+
* - false: Does not enable the managed node pool. Other related configurations take effect only when enable is set to true.
|
|
474
441
|
*
|
|
475
442
|
* @example
|
|
476
443
|
* false
|
|
@@ -478,7 +445,7 @@ export declare class NodepoolManagement extends $dara.Model {
|
|
|
478
445
|
enable?: boolean;
|
|
479
446
|
/**
|
|
480
447
|
* @remarks
|
|
481
|
-
* The auto
|
|
448
|
+
* The auto upgrade configuration. This configuration takes effect only when enable is set to true.
|
|
482
449
|
*
|
|
483
450
|
* @deprecated
|
|
484
451
|
*/
|
|
@@ -535,7 +502,7 @@ export declare class NodepoolNodeComponentsConfig extends $dara.Model {
|
|
|
535
502
|
};
|
|
536
503
|
/**
|
|
537
504
|
* @remarks
|
|
538
|
-
* The node component
|
|
505
|
+
* The environment variables for the node component.
|
|
539
506
|
*/
|
|
540
507
|
envs?: NodepoolNodeComponentsConfigEnvs[];
|
|
541
508
|
static names(): {
|
|
@@ -565,7 +532,7 @@ export declare class NodepoolNodeComponents extends $dara.Model {
|
|
|
565
532
|
name?: string;
|
|
566
533
|
/**
|
|
567
534
|
* @remarks
|
|
568
|
-
* The node component
|
|
535
|
+
* The version of the node component.
|
|
569
536
|
*
|
|
570
537
|
* @example
|
|
571
538
|
* 1.33.3-aliyun.1
|
|
@@ -621,9 +588,8 @@ export declare class NodepoolNodepoolInfo extends $dara.Model {
|
|
|
621
588
|
/**
|
|
622
589
|
* @remarks
|
|
623
590
|
* The type of the node pool. Valid values:
|
|
624
|
-
*
|
|
625
|
-
* -
|
|
626
|
-
* - `edge`: Edge node pool.
|
|
591
|
+
* - ess: Node pool.
|
|
592
|
+
* - edge: Edge node pool.
|
|
627
593
|
*
|
|
628
594
|
* @example
|
|
629
595
|
* ess
|
|
@@ -644,8 +610,8 @@ export declare class NodepoolScalingGroupCpuOptions extends $dara.Model {
|
|
|
644
610
|
/**
|
|
645
611
|
* @remarks
|
|
646
612
|
* Specifies whether to enable nested virtualization. Valid values:
|
|
647
|
-
* disabled: Disables nested virtualization.
|
|
648
|
-
* enabled: Enables nested virtualization.
|
|
613
|
+
* - disabled: Disables nested virtualization.
|
|
614
|
+
* - enabled: Enables nested virtualization.
|
|
649
615
|
*
|
|
650
616
|
* @example
|
|
651
617
|
* enabled
|
|
@@ -673,13 +639,13 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
673
639
|
id?: string;
|
|
674
640
|
/**
|
|
675
641
|
* @remarks
|
|
676
|
-
* The
|
|
642
|
+
* The type of the private pool, which specifies the capacity options of the private pool for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for you to select when you start instances. Valid values:
|
|
677
643
|
*
|
|
678
|
-
* - Open
|
|
644
|
+
* - `Open`: open mode. The system automatically matches an open private pool. If no matching open private pool is found, the system uses resources from the public pool.
|
|
679
645
|
*
|
|
680
|
-
* - Target
|
|
646
|
+
* - `Target`: targeted mode. The system uses the specified private pool to start instances. If the specified private pool is unavailable, the instances fail to start.
|
|
681
647
|
*
|
|
682
|
-
* - None
|
|
648
|
+
* - `None`: no private pool. The system does not use private pools to start instances.
|
|
683
649
|
*
|
|
684
650
|
* @example
|
|
685
651
|
* Open
|
|
@@ -699,15 +665,15 @@ export declare class NodepoolScalingGroupPrivatePoolOptions extends $dara.Model
|
|
|
699
665
|
export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model {
|
|
700
666
|
/**
|
|
701
667
|
* @remarks
|
|
702
|
-
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can specify
|
|
668
|
+
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can only specify the IDs of private pools in Target mode. Valid values of N: 1 to 20.
|
|
703
669
|
*/
|
|
704
670
|
privatePoolIds?: string[];
|
|
705
671
|
/**
|
|
706
672
|
* @remarks
|
|
707
|
-
* The resource pool
|
|
708
|
-
* PrivatePoolFirst:
|
|
709
|
-
* PrivatePoolOnly:
|
|
710
|
-
* None:
|
|
673
|
+
* The resource pool policy used to create instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as the public pool. You can select a resource pool when you start instances. Valid values:
|
|
674
|
+
* PrivatePoolFirst: private pools take precedence. If you select this policy and specify resource_pool_options.private_pool_ids, the specified private pools are preferentially used. If no private pool is specified or the specified private pools have insufficient capacity, the system automatically matches an open private pool. If no matching private pool is found, the system uses the public pool to create instances.
|
|
675
|
+
* PrivatePoolOnly: only private pools are used. If you select this policy, you must specify resource_pool_options.private_pool_ids. If the specified private pools have insufficient capacity, the instances fail to start.
|
|
676
|
+
* None: no resource pool policy is used.
|
|
711
677
|
* Default value: None.
|
|
712
678
|
*
|
|
713
679
|
* @example
|
|
@@ -728,7 +694,7 @@ export declare class NodepoolScalingGroupResourcePoolOptions extends $dara.Model
|
|
|
728
694
|
export declare class NodepoolScalingGroupSpotPriceLimit extends $dara.Model {
|
|
729
695
|
/**
|
|
730
696
|
* @remarks
|
|
731
|
-
* The spot instance
|
|
697
|
+
* The instance type of the spot instance.
|
|
732
698
|
*
|
|
733
699
|
* @example
|
|
734
700
|
* ecs.c6.large
|
|
@@ -784,12 +750,11 @@ export declare class NodepoolScalingGroupTags extends $dara.Model {
|
|
|
784
750
|
export declare class NodepoolScalingGroup extends $dara.Model {
|
|
785
751
|
/**
|
|
786
752
|
* @remarks
|
|
787
|
-
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when instance_charge_type is set to
|
|
788
|
-
*
|
|
789
|
-
* -
|
|
790
|
-
* - `false`: Disables auto-renewal.
|
|
753
|
+
* Specifies whether to enable auto-renewal for the node pool. This parameter takes effect only when instance_charge_type is set to PrePaid. Valid values:
|
|
754
|
+
* - true: Enables auto-renewal.
|
|
755
|
+
* - false: Disables auto-renewal.
|
|
791
756
|
*
|
|
792
|
-
* Default value:
|
|
757
|
+
* Default value: true.
|
|
793
758
|
*
|
|
794
759
|
* @example
|
|
795
760
|
* false
|
|
@@ -797,9 +762,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
797
762
|
autoRenew?: boolean;
|
|
798
763
|
/**
|
|
799
764
|
* @remarks
|
|
800
|
-
* The auto-renewal epoch for the node pool. This parameter
|
|
765
|
+
* The auto-renewal epoch for the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
801
766
|
*
|
|
802
|
-
*
|
|
767
|
+
* If `PeriodUnit` is set to `Month`, valid values are 1, 2, 3, 6, and 12.
|
|
803
768
|
*
|
|
804
769
|
* Default value: 1.
|
|
805
770
|
*
|
|
@@ -809,10 +774,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
809
774
|
autoRenewPeriod?: number;
|
|
810
775
|
/**
|
|
811
776
|
* @remarks
|
|
812
|
-
* Specifies whether to
|
|
813
|
-
*
|
|
814
|
-
* -
|
|
815
|
-
* - false: Does not allow the system to automatically try to create pay-as-you-go instances to meet the required number of ECS instances.
|
|
777
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when multi_az_policy is set to COST_OPTIMIZED and sufficient spot instances cannot be created due to price or inventory constraints. Valid values:
|
|
778
|
+
* - true: Allows automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
779
|
+
* - false: Does not allow automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
816
780
|
*
|
|
817
781
|
* @example
|
|
818
782
|
* true
|
|
@@ -820,7 +784,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
820
784
|
compensateWithOnDemand?: boolean;
|
|
821
785
|
/**
|
|
822
786
|
* @remarks
|
|
823
|
-
* The CPU
|
|
787
|
+
* The CPU configuration options.
|
|
824
788
|
*/
|
|
825
789
|
cpuOptions?: NodepoolScalingGroupCpuOptions;
|
|
826
790
|
/**
|
|
@@ -859,8 +823,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
859
823
|
imageId?: string;
|
|
860
824
|
/**
|
|
861
825
|
* @remarks
|
|
862
|
-
* The operating system image
|
|
863
|
-
*
|
|
826
|
+
* The type of the operating system image. This parameter and platform are mutually exclusive. Valid values:
|
|
864
827
|
* - AliyunLinux: Alinux2 image.
|
|
865
828
|
* - AliyunLinux3: Alinux3 image.
|
|
866
829
|
* - AliyunLinux3Arm64: Alinux3 ARM image.
|
|
@@ -877,11 +840,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
877
840
|
/**
|
|
878
841
|
* @remarks
|
|
879
842
|
* The billing method of the nodes in the node pool. Valid values:
|
|
843
|
+
* - PrePaid: Subscription.
|
|
844
|
+
* - PostPaid: Pay-as-you-go.
|
|
880
845
|
*
|
|
881
|
-
*
|
|
882
|
-
* - `PostPaid`: Pay-as-you-go.
|
|
883
|
-
*
|
|
884
|
-
* Default value: `PostPaid`.
|
|
846
|
+
* Default value: PostPaid.
|
|
885
847
|
*
|
|
886
848
|
* This parameter is required.
|
|
887
849
|
*
|
|
@@ -891,13 +853,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
891
853
|
instanceChargeType?: string;
|
|
892
854
|
/**
|
|
893
855
|
* @remarks
|
|
894
|
-
* The metadata access configuration for the ECS instance.
|
|
895
|
-
* This parameter is available only to users in the whitelist. To use this parameter, submit a ticket.
|
|
856
|
+
* The metadata access configuration for the ECS instance. This parameter is currently available only to whitelisted users. To use this parameter, submit a ticket.
|
|
896
857
|
*/
|
|
897
858
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
898
859
|
/**
|
|
899
860
|
* @remarks
|
|
900
|
-
* The instance
|
|
861
|
+
* The instance properties.
|
|
901
862
|
*/
|
|
902
863
|
instancePatterns?: InstancePatterns[];
|
|
903
864
|
/**
|
|
@@ -911,8 +872,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
911
872
|
* @remarks
|
|
912
873
|
* The billing method for public IP addresses. Valid values:
|
|
913
874
|
*
|
|
914
|
-
* - PayByBandwidth
|
|
915
|
-
* - PayByTraffic
|
|
875
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
876
|
+
* - `PayByTraffic`: pay-by-traffic.
|
|
916
877
|
*
|
|
917
878
|
* @example
|
|
918
879
|
* PayByBandwidth
|
|
@@ -920,7 +881,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
920
881
|
internetChargeType?: string;
|
|
921
882
|
/**
|
|
922
883
|
* @remarks
|
|
923
|
-
* The maximum outbound bandwidth for
|
|
884
|
+
* The maximum outbound bandwidth for a public IP address of a node. Unit: Mbit/s. Valid values: 1 to 100.
|
|
924
885
|
*
|
|
925
886
|
* @example
|
|
926
887
|
* 10
|
|
@@ -928,9 +889,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
928
889
|
internetMaxBandwidthOut?: number;
|
|
929
890
|
/**
|
|
930
891
|
* @remarks
|
|
931
|
-
* The name of the key pair. You must specify this parameter or login_password
|
|
892
|
+
* The name of the key pair. You must specify this parameter or `login_password`.
|
|
932
893
|
*
|
|
933
|
-
* > If you create a managed node pool, only key_pair is supported.
|
|
894
|
+
* > If you create a managed node pool, only `key_pair` is supported.
|
|
934
895
|
*
|
|
935
896
|
* @example
|
|
936
897
|
* np-key
|
|
@@ -943,7 +904,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
943
904
|
loginAsNonRoot?: boolean;
|
|
944
905
|
/**
|
|
945
906
|
* @remarks
|
|
946
|
-
* The SSH logon password. You must specify this parameter or key_pair
|
|
907
|
+
* The SSH logon password. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
947
908
|
*
|
|
948
909
|
* @example
|
|
949
910
|
* Hello1234
|
|
@@ -951,17 +912,17 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
951
912
|
loginPassword?: string;
|
|
952
913
|
/**
|
|
953
914
|
* @remarks
|
|
954
|
-
* The
|
|
915
|
+
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
955
916
|
*
|
|
956
|
-
* - PRIORITY
|
|
917
|
+
* - `PRIORITY`: scales ECS instances based on the priorities of vSwitches that you specify in VSwitchIds.N. If an ECS instance cannot be created in the zone of the highest-priority vSwitch, the system automatically uses the next highest-priority vSwitch to create the ECS instance.
|
|
957
918
|
*
|
|
958
|
-
* - COST_OPTIMIZED
|
|
919
|
+
* - `COST_OPTIMIZED`: creates ECS instances based on the unit prices of vCPUs in ascending order. If the scaling configuration settings specify multiple instance types and the billing method for spot instances, the system preferentially creates the corresponding spot instances. You can use the `CompensateWithOnDemand` parameter to specify whether the system automatically creates pay-as-you-go instances when spot instances cannot be created due to insufficient resources.
|
|
959
920
|
*
|
|
960
|
-
* > COST_OPTIMIZED takes effect only when the scaling configuration
|
|
921
|
+
* > `COST_OPTIMIZED` takes effect only when the scaling configuration settings specify multiple instance types or spot instances are selected.
|
|
961
922
|
*
|
|
962
|
-
* - BALANCE
|
|
923
|
+
* - `BALANCE`: evenly distributes ECS instances across the zones specified in the scaling group. If the instances are unevenly distributed across zones due to insufficient resources, you can call the RebalanceInstances operation to balance the resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
963
924
|
*
|
|
964
|
-
* Default value: PRIORITY
|
|
925
|
+
* Default value: `PRIORITY`.
|
|
965
926
|
*
|
|
966
927
|
* @example
|
|
967
928
|
* COST_OPTIMIZED
|
|
@@ -969,7 +930,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
969
930
|
multiAzPolicy?: string;
|
|
970
931
|
/**
|
|
971
932
|
* @remarks
|
|
972
|
-
* The minimum number of pay-as-you-go instances required
|
|
933
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than this value, the system preferentially creates pay-as-you-go instances.
|
|
973
934
|
*
|
|
974
935
|
* @example
|
|
975
936
|
* 0
|
|
@@ -977,7 +938,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
977
938
|
onDemandBaseCapacity?: number;
|
|
978
939
|
/**
|
|
979
940
|
* @remarks
|
|
980
|
-
* The percentage of pay-as-you-go instances among the
|
|
941
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances specified by `on_demand_base_capacity`. Valid values: 0 to 100.
|
|
981
942
|
*
|
|
982
943
|
* @example
|
|
983
944
|
* 20
|
|
@@ -985,7 +946,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
985
946
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
986
947
|
/**
|
|
987
948
|
* @remarks
|
|
988
|
-
* The subscription duration
|
|
949
|
+
* The subscription duration of nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`. When `period_unit` is set to Month, valid values of `period` are 1, 2, 3, 6, and 12.
|
|
989
950
|
*
|
|
990
951
|
* Default value: 1.
|
|
991
952
|
*
|
|
@@ -995,9 +956,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
995
956
|
period?: number;
|
|
996
957
|
/**
|
|
997
958
|
* @remarks
|
|
998
|
-
* The subscription period
|
|
959
|
+
* The subscription period of nodes in the node pool. You must specify this parameter when `instance_charge_type` is set to `PrePaid`.
|
|
999
960
|
*
|
|
1000
|
-
* `Month`:
|
|
961
|
+
* `Month`: only months are supported.
|
|
1001
962
|
*
|
|
1002
963
|
* @example
|
|
1003
964
|
* Month
|
|
@@ -1027,8 +988,8 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1027
988
|
privatePoolOptions?: NodepoolScalingGroupPrivatePoolOptions;
|
|
1028
989
|
/**
|
|
1029
990
|
* @remarks
|
|
1030
|
-
* The name of the
|
|
1031
|
-
* >Notice:
|
|
991
|
+
* The name of the RAM role for worker nodes.
|
|
992
|
+
* >Notice: Only ACK managed clusters of version 1.22 and later support configuring this parameter when you create a node pool.</notice>
|
|
1032
993
|
*
|
|
1033
994
|
* @example
|
|
1034
995
|
* example-role
|
|
@@ -1041,19 +1002,19 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1041
1002
|
rdsInstances?: string[];
|
|
1042
1003
|
/**
|
|
1043
1004
|
* @remarks
|
|
1044
|
-
* The resource pool and resource pool
|
|
1005
|
+
* The resource pool and resource pool policy used to create instances. Take note of the following items when you configure this parameter:
|
|
1045
1006
|
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1046
|
-
* This parameter cannot be configured
|
|
1007
|
+
* This parameter cannot be configured together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1047
1008
|
*/
|
|
1048
1009
|
resourcePoolOptions?: NodepoolScalingGroupResourcePoolOptions;
|
|
1049
1010
|
/**
|
|
1050
1011
|
* @remarks
|
|
1051
1012
|
* The scaling group mode. Valid values:
|
|
1052
1013
|
*
|
|
1053
|
-
* - release
|
|
1054
|
-
* - recycle
|
|
1014
|
+
* - `release`: standard pattern. The scaling group scales instances by creating and releasing ECS instances based on the usage of the requested resources.
|
|
1015
|
+
* - `recycle`: swift pattern. The scaling group scales instances by creating, stopping, and starting ECS instances to accelerate subsequent scaling operations. When an instance is stopped, you are not charged for compute resources, but you are still charged for storage resources, except for instances with local disks.
|
|
1055
1016
|
*
|
|
1056
|
-
* Default value: release
|
|
1017
|
+
* Default value: `release`.
|
|
1057
1018
|
*
|
|
1058
1019
|
* @example
|
|
1059
1020
|
* release
|
|
@@ -1061,7 +1022,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1061
1022
|
scalingPolicy?: string;
|
|
1062
1023
|
/**
|
|
1063
1024
|
* @remarks
|
|
1064
|
-
* The ID of the security group
|
|
1025
|
+
* The ID of the security group to which the node pool belongs. You must specify this parameter or `security_group_ids`. We recommend that you specify `security_group_ids`.
|
|
1065
1026
|
*
|
|
1066
1027
|
* @example
|
|
1067
1028
|
* sg-2zeihch86ooz9io4****
|
|
@@ -1069,12 +1030,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1069
1030
|
securityGroupId?: string;
|
|
1070
1031
|
/**
|
|
1071
1032
|
* @remarks
|
|
1072
|
-
* The list of security group IDs.
|
|
1033
|
+
* The list of security group IDs. 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` takes precedence.
|
|
1073
1034
|
*/
|
|
1074
1035
|
securityGroupIds?: string[];
|
|
1075
1036
|
/**
|
|
1076
1037
|
* @remarks
|
|
1077
|
-
* The number of
|
|
1038
|
+
* The number of active instance types. The scaling group evenly creates spot instances based on the most cost-effective instance types. Valid values: 1 to 10.
|
|
1078
1039
|
*
|
|
1079
1040
|
* @example
|
|
1080
1041
|
* 5
|
|
@@ -1082,10 +1043,10 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1082
1043
|
spotInstancePools?: number;
|
|
1083
1044
|
/**
|
|
1084
1045
|
* @remarks
|
|
1085
|
-
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance will be reclaimed, the scaling group
|
|
1046
|
+
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message indicating that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1086
1047
|
*
|
|
1087
|
-
* - true
|
|
1088
|
-
* - false
|
|
1048
|
+
* - `true`: enables spot instance replenishment.
|
|
1049
|
+
* - `false`: disables spot instance replenishment.
|
|
1089
1050
|
*
|
|
1090
1051
|
* @example
|
|
1091
1052
|
* false
|
|
@@ -1093,15 +1054,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1093
1054
|
spotInstanceRemedy?: boolean;
|
|
1094
1055
|
/**
|
|
1095
1056
|
* @remarks
|
|
1096
|
-
* The
|
|
1057
|
+
* The maximum price configuration for a single spot instance of a specific instance type in the current marketplace.
|
|
1097
1058
|
*/
|
|
1098
1059
|
spotPriceLimit?: NodepoolScalingGroupSpotPriceLimit[];
|
|
1099
1060
|
/**
|
|
1100
1061
|
* @remarks
|
|
1101
|
-
* The spot instance
|
|
1102
|
-
* - NoSpot:
|
|
1103
|
-
* - SpotWithPriceLimit:
|
|
1104
|
-
* - SpotAsPriceGo:
|
|
1062
|
+
* The type of spot instance. Valid values:
|
|
1063
|
+
* - NoSpot: non-spot instance.
|
|
1064
|
+
* - SpotWithPriceLimit: spot instance with a maximum price.
|
|
1065
|
+
* - SpotAsPriceGo: spot instance whose price is automatically set by the system based on the current market price.
|
|
1105
1066
|
*
|
|
1106
1067
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
1107
1068
|
*
|
|
@@ -1111,12 +1072,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1111
1072
|
spotStrategy?: string;
|
|
1112
1073
|
/**
|
|
1113
1074
|
* @remarks
|
|
1114
|
-
* Specifies whether to enable
|
|
1075
|
+
* Specifies whether to enable bursting for the system disk of the node. Valid values:
|
|
1115
1076
|
*
|
|
1116
|
-
* - true:
|
|
1117
|
-
* - false:
|
|
1077
|
+
* - true: yes.
|
|
1078
|
+
* - false: no.
|
|
1118
1079
|
*
|
|
1119
|
-
* This parameter is supported only when SystemDiskCategory is set to cloud_auto
|
|
1080
|
+
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1120
1081
|
*
|
|
1121
1082
|
* @example
|
|
1122
1083
|
* true
|
|
@@ -1124,9 +1085,9 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1124
1085
|
systemDiskBurstingEnabled?: boolean;
|
|
1125
1086
|
/**
|
|
1126
1087
|
* @remarks
|
|
1127
|
-
* The
|
|
1088
|
+
* The categories of the system disk. If the system disk cannot be created by using the disk category with the highest priority, the system automatically tries the next disk category. Valid values:
|
|
1128
1089
|
*
|
|
1129
|
-
* - cloud: basic disk.
|
|
1090
|
+
* - cloud: basic cloud disk.
|
|
1130
1091
|
* - cloud_efficiency: ultra disk.
|
|
1131
1092
|
* - cloud_ssd: standard SSD.
|
|
1132
1093
|
* - cloud_essd: ESSD.
|
|
@@ -1134,15 +1095,15 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1134
1095
|
systemDiskCategories?: string[];
|
|
1135
1096
|
/**
|
|
1136
1097
|
* @remarks
|
|
1137
|
-
* The
|
|
1098
|
+
* The category of the system disk. Valid values:
|
|
1138
1099
|
*
|
|
1139
|
-
* - cloud_efficiency
|
|
1140
|
-
* - cloud_ssd
|
|
1141
|
-
* - cloud_essd
|
|
1142
|
-
* - cloud_auto
|
|
1143
|
-
* - cloud_essd_entry
|
|
1100
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1101
|
+
* - `cloud_ssd`: standard SSD.
|
|
1102
|
+
* - `cloud_essd`: ESSD.
|
|
1103
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1104
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1144
1105
|
*
|
|
1145
|
-
* Default value: cloud_efficiency
|
|
1106
|
+
* Default value: `cloud_efficiency`.
|
|
1146
1107
|
*
|
|
1147
1108
|
* @example
|
|
1148
1109
|
* cloud_efficiency
|
|
@@ -1150,7 +1111,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1150
1111
|
systemDiskCategory?: string;
|
|
1151
1112
|
/**
|
|
1152
1113
|
* @remarks
|
|
1153
|
-
* The encryption algorithm used for the system
|
|
1114
|
+
* The encryption algorithm used for the system disk. Valid value: aes-256.
|
|
1154
1115
|
*
|
|
1155
1116
|
* @example
|
|
1156
1117
|
* aes-256
|
|
@@ -1158,14 +1119,14 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1158
1119
|
systemDiskEncryptAlgorithm?: string;
|
|
1159
1120
|
/**
|
|
1160
1121
|
* @remarks
|
|
1161
|
-
* Specifies whether to encrypt the system
|
|
1162
|
-
* - true:
|
|
1163
|
-
* - false:
|
|
1122
|
+
* Specifies whether to encrypt the system disk. Valid values:
|
|
1123
|
+
* - true: encrypts the system disk.
|
|
1124
|
+
* - false: does not encrypt the system disk.
|
|
1164
1125
|
*/
|
|
1165
1126
|
systemDiskEncrypted?: boolean;
|
|
1166
1127
|
/**
|
|
1167
1128
|
* @remarks
|
|
1168
|
-
* The ID of the KMS key used for the system
|
|
1129
|
+
* The ID of the KMS key used for the system disk.
|
|
1169
1130
|
*
|
|
1170
1131
|
* @example
|
|
1171
1132
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1173,12 +1134,12 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1173
1134
|
systemDiskKmsKeyId?: string;
|
|
1174
1135
|
/**
|
|
1175
1136
|
* @remarks
|
|
1176
|
-
* The performance level of the system
|
|
1137
|
+
* The performance level of the system disk. This parameter takes effect only for ESSDs. Valid values:
|
|
1177
1138
|
*
|
|
1178
|
-
* - PL0:
|
|
1179
|
-
* - PL1:
|
|
1180
|
-
* - PL2:
|
|
1181
|
-
* - PL3:
|
|
1139
|
+
* - PL0: delivers medium maximum concurrent I/O performance and relatively stable read/write latency.
|
|
1140
|
+
* - PL1: delivers medium maximum concurrent I/O performance and relatively stable read/write latency.
|
|
1141
|
+
* - PL2: delivers high maximum concurrent I/O performance and stable read/write latency.
|
|
1142
|
+
* - PL3: delivers ultra-high maximum concurrent I/O performance and extremely stable read/write latency.
|
|
1182
1143
|
*
|
|
1183
1144
|
* @example
|
|
1184
1145
|
* PL1
|
|
@@ -1186,9 +1147,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1186
1147
|
systemDiskPerformanceLevel?: string;
|
|
1187
1148
|
/**
|
|
1188
1149
|
* @remarks
|
|
1189
|
-
* The provisioned read
|
|
1190
|
-
*
|
|
1191
|
-
* This parameter is supported only when SystemDiskCategory is set to cloud_auto. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1150
|
+
* The provisioned read and write IOPS for the system cloud disk of the node. Valid values: 0 to min{50,000, 1000 × Capacity - Baseline performance}. Baseline performance = min{1,800 + 50 × Capacity, 50,000}. This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1192
1151
|
*
|
|
1193
1152
|
* @example
|
|
1194
1153
|
* 1000
|
|
@@ -1196,9 +1155,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1196
1155
|
systemDiskProvisionedIops?: number;
|
|
1197
1156
|
/**
|
|
1198
1157
|
* @remarks
|
|
1199
|
-
* The size of the system cloud disk. Unit: GiB.
|
|
1200
|
-
*
|
|
1201
|
-
* Valid values: 40 to 500.
|
|
1158
|
+
* The size of the system cloud disk for the node. Unit: GiB. Valid values: 40 to 500.
|
|
1202
1159
|
*
|
|
1203
1160
|
* @example
|
|
1204
1161
|
* 120
|
|
@@ -1206,9 +1163,7 @@ export declare class NodepoolScalingGroup extends $dara.Model {
|
|
|
1206
1163
|
systemDiskSize?: number;
|
|
1207
1164
|
/**
|
|
1208
1165
|
* @remarks
|
|
1209
|
-
*
|
|
1210
|
-
*
|
|
1211
|
-
* Tag keys must be unique and can be up to 128 characters in length. Neither tag keys nor tag values can start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1166
|
+
* The tags to add to ECS instances only. Tag keys must be unique and can be up to 128 characters in length. Neither tag keys nor tag values can start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1212
1167
|
*/
|
|
1213
1168
|
tags?: NodepoolScalingGroupTags[];
|
|
1214
1169
|
/**
|
|
@@ -1259,9 +1214,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1259
1214
|
autoScaling?: NodepoolAutoScaling;
|
|
1260
1215
|
/**
|
|
1261
1216
|
* @remarks
|
|
1262
|
-
* **[Deprecated]** Use
|
|
1263
|
-
*
|
|
1264
|
-
* The number of nodes in the node pool.
|
|
1217
|
+
* **[Deprecated]** Use desired_size instead. The number of nodes in the node pool.
|
|
1265
1218
|
*
|
|
1266
1219
|
* @example
|
|
1267
1220
|
* 1
|
|
@@ -1271,19 +1224,16 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1271
1224
|
count?: number;
|
|
1272
1225
|
/**
|
|
1273
1226
|
* @remarks
|
|
1274
|
-
* **[Deprecated]**
|
|
1275
|
-
*
|
|
1276
|
-
* The configuration of the edge node pool.
|
|
1227
|
+
* **[Deprecated]** The configuration of the edge node pool.
|
|
1277
1228
|
*
|
|
1278
1229
|
* @deprecated
|
|
1279
1230
|
*/
|
|
1280
1231
|
interconnectConfig?: NodepoolInterconnectConfig;
|
|
1281
1232
|
/**
|
|
1282
1233
|
* @remarks
|
|
1283
|
-
* The network type of the edge node pool. This parameter is valid only
|
|
1284
|
-
*
|
|
1285
|
-
* -
|
|
1286
|
-
* - `private`: Dedicated. Supported in Kubernetes 1.22 and later.
|
|
1234
|
+
* The network type of the edge node pool. This parameter is valid only when type is set to edge. Valid values:
|
|
1235
|
+
* - basic: basic.
|
|
1236
|
+
* - private: dedicated. Supported in Kubernetes 1.22 and later.
|
|
1287
1237
|
*
|
|
1288
1238
|
* @example
|
|
1289
1239
|
* basic
|
|
@@ -1301,7 +1251,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1301
1251
|
management?: NodepoolManagement;
|
|
1302
1252
|
/**
|
|
1303
1253
|
* @remarks
|
|
1304
|
-
* The maximum number of nodes that the edge node pool can accommodate. The value must be greater than or equal to 0. A value of 0 indicates no
|
|
1254
|
+
* The maximum number of nodes that the edge node pool can accommodate. The value must be greater than or equal to 0. A value of 0 indicates no extra limit, meaning the node pool is only limited by the maximum number of nodes that the entire cluster can accommodate. This value is usually greater than 0 for edge node pools. For ess node pools and default edge node pools, this value is 0.
|
|
1305
1255
|
*
|
|
1306
1256
|
* @example
|
|
1307
1257
|
* 10
|
|
@@ -1329,7 +1279,7 @@ export declare class Nodepool extends $dara.Model {
|
|
|
1329
1279
|
scalingGroup?: NodepoolScalingGroup;
|
|
1330
1280
|
/**
|
|
1331
1281
|
* @remarks
|
|
1332
|
-
* The confidential computing node pool
|
|
1282
|
+
* The configuration of the confidential computing node pool.
|
|
1333
1283
|
*/
|
|
1334
1284
|
teeConfig?: NodepoolTeeConfig;
|
|
1335
1285
|
static names(): {
|