@alicloud/cs20151215 7.0.3 → 7.0.5
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 +38 -50
- package/dist/client.js +72 -79
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +182 -369
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +174 -649
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +195 -232
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +153 -244
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +107 -250
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +128 -209
- package/dist/models/Nodepool.js +29 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +73 -79
- package/src/models/CreateClusterNodePoolRequest.ts +204 -370
- package/src/models/CreateClusterRequest.ts +191 -649
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +216 -232
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +174 -244
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +113 -250
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +147 -209
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +7 -0
|
@@ -9,9 +9,7 @@ import { Taint } from "./Taint";
|
|
|
9
9
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* Specifies whether to enable intelligent managed mode.
|
|
13
|
-
* - true: Enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
14
|
-
* - false: Does not enable intelligent managed mode.
|
|
12
|
+
* Specifies whether to enable intelligent managed mode.
|
|
15
13
|
*
|
|
16
14
|
* @example
|
|
17
15
|
* true
|
|
@@ -31,7 +29,7 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
31
29
|
export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
32
30
|
/**
|
|
33
31
|
* @remarks
|
|
34
|
-
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
32
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
35
33
|
*
|
|
36
34
|
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
37
35
|
*
|
|
@@ -43,13 +41,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
43
41
|
eipBandwidth?: number;
|
|
44
42
|
/**
|
|
45
43
|
* @remarks
|
|
46
|
-
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
47
|
-
*
|
|
48
|
-
* The billing method of the EIP. Valid values:
|
|
49
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
50
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
51
|
-
*
|
|
52
|
-
* Default value: `PayByBandwidth`.
|
|
44
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
53
45
|
*
|
|
54
46
|
* @example
|
|
55
47
|
* null
|
|
@@ -59,15 +51,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
59
51
|
eipInternetChargeType?: string;
|
|
60
52
|
/**
|
|
61
53
|
* @remarks
|
|
62
|
-
* Specifies whether to enable
|
|
63
|
-
*
|
|
64
|
-
* - `true`: enables the automatic scaling feature for the node pool. When the cluster capacity planning cannot meet application Pod scheduling requirements, ACK automatically scales node resources based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant node elastic scaling by default. Clusters of versions earlier than 1.24 use node automatic scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
65
|
-
*
|
|
66
|
-
* - `false`: disables automatic scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
67
|
-
*
|
|
68
|
-
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
69
|
-
*
|
|
70
|
-
* Default value: `false`.
|
|
54
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
71
55
|
*
|
|
72
56
|
* @example
|
|
73
57
|
* false
|
|
@@ -75,15 +59,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
75
59
|
enable?: boolean;
|
|
76
60
|
/**
|
|
77
61
|
* @remarks
|
|
78
|
-
* [Deprecated] This
|
|
79
|
-
*
|
|
80
|
-
* Specifies whether to associate an EIP. Valid values:
|
|
81
|
-
*
|
|
82
|
-
* - `true`: associates an EIP.
|
|
83
|
-
*
|
|
84
|
-
* - `false`: does not associate an EIP.
|
|
85
|
-
*
|
|
86
|
-
* Default value: `false`.
|
|
62
|
+
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
87
63
|
*
|
|
88
64
|
* @example
|
|
89
65
|
* null
|
|
@@ -93,9 +69,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
93
69
|
isBondEip?: boolean;
|
|
94
70
|
/**
|
|
95
71
|
* @remarks
|
|
96
|
-
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances.
|
|
97
|
-
*
|
|
98
|
-
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
72
|
+
* The maximum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
99
73
|
*
|
|
100
74
|
* @example
|
|
101
75
|
* 10
|
|
@@ -103,12 +77,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
103
77
|
maxInstances?: number;
|
|
104
78
|
/**
|
|
105
79
|
* @remarks
|
|
106
|
-
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances.
|
|
107
|
-
*
|
|
108
|
-
* Valid values: [0, max_instances]. Default value: 0.
|
|
109
|
-
*
|
|
110
|
-
* > - If the minimum instance count is not 0, the scaling group triggers automatic creation of the corresponding number of ECS instances after the automatic scaling feature takes effect.
|
|
111
|
-
* > - Set the maximum instance count to a value no less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the automatic scaling feature takes effect.
|
|
80
|
+
* The minimum number of instances that can be scaled in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
112
81
|
*
|
|
113
82
|
* @example
|
|
114
83
|
* 1
|
|
@@ -116,18 +85,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
116
85
|
minInstances?: number;
|
|
117
86
|
/**
|
|
118
87
|
* @remarks
|
|
119
|
-
* The automatic scaling instance type.
|
|
120
|
-
*
|
|
121
|
-
* - `cpu`: regular instance type.
|
|
122
|
-
*
|
|
123
|
-
* - `gpu`: GPU instance type.
|
|
124
|
-
*
|
|
125
|
-
* - `gpushare`: GPU shared type.
|
|
126
|
-
*
|
|
127
|
-
* - `spot`: spot instance type.
|
|
128
|
-
*
|
|
129
|
-
* Default value: `cpu`.
|
|
130
|
-
* >Notice: This field cannot be modified after the node pool is created.
|
|
88
|
+
* The automatic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
|
|
131
89
|
*
|
|
132
90
|
* @example
|
|
133
91
|
* cpu
|
|
@@ -145,6 +103,10 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
145
103
|
});
|
|
146
104
|
}
|
|
147
105
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool.
|
|
109
|
+
*/
|
|
148
110
|
autoAttachEnabled?: boolean;
|
|
149
111
|
/**
|
|
150
112
|
* @remarks
|
|
@@ -162,6 +124,10 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
162
124
|
* ng-ec3c96ff0aa****
|
|
163
125
|
*/
|
|
164
126
|
groupId?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @remarks
|
|
129
|
+
* The Worker RAM role used by the Lingjun node pool.
|
|
130
|
+
*/
|
|
165
131
|
workerRamRoleName?: string;
|
|
166
132
|
static names(): {
|
|
167
133
|
[key: string]: string;
|
|
@@ -177,9 +143,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
177
143
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
178
144
|
/**
|
|
179
145
|
* @remarks
|
|
180
|
-
* [
|
|
181
|
-
*
|
|
182
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
146
|
+
* **[Deprecated]**
|
|
183
147
|
*
|
|
184
148
|
* @example
|
|
185
149
|
* null
|
|
@@ -187,9 +151,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
187
151
|
bandwidth?: number;
|
|
188
152
|
/**
|
|
189
153
|
* @remarks
|
|
190
|
-
* [
|
|
191
|
-
*
|
|
192
|
-
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
154
|
+
* **[Deprecated]**
|
|
193
155
|
*
|
|
194
156
|
* @example
|
|
195
157
|
* null
|
|
@@ -197,9 +159,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
197
159
|
ccnId?: string;
|
|
198
160
|
/**
|
|
199
161
|
* @remarks
|
|
200
|
-
* [
|
|
201
|
-
*
|
|
202
|
-
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
162
|
+
* **[Deprecated]**
|
|
203
163
|
*
|
|
204
164
|
* @example
|
|
205
165
|
* null
|
|
@@ -207,9 +167,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
207
167
|
ccnRegionId?: string;
|
|
208
168
|
/**
|
|
209
169
|
* @remarks
|
|
210
|
-
* [
|
|
211
|
-
*
|
|
212
|
-
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
170
|
+
* **[Deprecated]**
|
|
213
171
|
*
|
|
214
172
|
* @example
|
|
215
173
|
* null
|
|
@@ -217,9 +175,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
217
175
|
cenId?: string;
|
|
218
176
|
/**
|
|
219
177
|
* @remarks
|
|
220
|
-
* [
|
|
221
|
-
*
|
|
222
|
-
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
178
|
+
* **[Deprecated]**
|
|
223
179
|
*
|
|
224
180
|
* @example
|
|
225
181
|
* null
|
|
@@ -239,11 +195,11 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
239
195
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
240
196
|
/**
|
|
241
197
|
* @remarks
|
|
242
|
-
* Specifies whether to install CloudMonitor on ECS nodes. After installation, you can view monitoring information
|
|
198
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After installation, you can view monitoring information of the created ECS instances in the CloudMonitor console. We recommend that you enable this feature. Valid values:
|
|
243
199
|
*
|
|
244
|
-
* - `true`: Installs CloudMonitor on ECS nodes.
|
|
200
|
+
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
245
201
|
*
|
|
246
|
-
* - `false`: Does not install CloudMonitor on ECS nodes.
|
|
202
|
+
* - `false`: Does not install the CloudMonitor agent on ECS nodes.
|
|
247
203
|
*
|
|
248
204
|
* Default value: `false`.
|
|
249
205
|
*
|
|
@@ -253,12 +209,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
253
209
|
cmsEnabled?: boolean;
|
|
254
210
|
/**
|
|
255
211
|
* @remarks
|
|
256
|
-
* The
|
|
257
|
-
*
|
|
258
|
-
* - `static`: Allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
259
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
260
|
-
*
|
|
261
|
-
* Default value: `none`.
|
|
212
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
262
213
|
*
|
|
263
214
|
* @example
|
|
264
215
|
* none
|
|
@@ -266,27 +217,12 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
266
217
|
cpuPolicy?: string;
|
|
267
218
|
/**
|
|
268
219
|
* @remarks
|
|
269
|
-
* The node labels.
|
|
220
|
+
* The node labels. You can add labels to nodes in the Kubernetes cluster.
|
|
270
221
|
*/
|
|
271
222
|
labels?: Tag[];
|
|
272
223
|
/**
|
|
273
224
|
* @remarks
|
|
274
|
-
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed.
|
|
275
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address with hyphens (-) replacing the dots (.) in the IP address, and does not include the prefix or suffix.
|
|
276
|
-
*
|
|
277
|
-
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
278
|
-
*
|
|
279
|
-
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
280
|
-
*
|
|
281
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with an uppercase or lowercase letter and cannot start or end with a hyphen (-) or period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
282
|
-
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
283
|
-
* - The node IP is the full private IP address of the node.
|
|
284
|
-
*
|
|
285
|
-
* Example: The node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test.
|
|
286
|
-
*
|
|
287
|
-
* - For Linux nodes, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
288
|
-
*
|
|
289
|
-
* - For Windows nodes, the ECS instance hostname is 192-XX-YY-55, and the node name and ECS instance name are both aliyun.com192.XX.YY.55test.
|
|
225
|
+
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed accordingly.
|
|
290
226
|
*
|
|
291
227
|
* @example
|
|
292
228
|
* aliyun.com192.XX.YY.55test
|
|
@@ -294,7 +230,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
294
230
|
nodeNameMode?: string;
|
|
295
231
|
/**
|
|
296
232
|
* @remarks
|
|
297
|
-
* The instance pre-custom data. Before the node joins the cluster, the specified pre-custom data script
|
|
233
|
+
* The instance pre-custom data. Before the node joins the cluster, the specified pre-custom data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
298
234
|
*
|
|
299
235
|
* @example
|
|
300
236
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -302,13 +238,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
302
238
|
preUserData?: string;
|
|
303
239
|
/**
|
|
304
240
|
* @remarks
|
|
305
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
306
|
-
*
|
|
307
|
-
* - containerd: Recommended. Supports all cluster versions.
|
|
308
|
-
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
309
|
-
* - docker: No longer maintained. Supports cluster versions 1.22 and earlier.
|
|
310
|
-
*
|
|
311
|
-
* Default value: containerd.
|
|
241
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
312
242
|
*
|
|
313
243
|
* @example
|
|
314
244
|
* containerd
|
|
@@ -329,11 +259,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
329
259
|
taints?: Taint[];
|
|
330
260
|
/**
|
|
331
261
|
* @remarks
|
|
332
|
-
* Specifies whether scaled-out nodes are unschedulable.
|
|
333
|
-
*
|
|
334
|
-
* - true: Unschedulable.
|
|
335
|
-
*
|
|
336
|
-
* - false: Schedulable.
|
|
262
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
337
263
|
*
|
|
338
264
|
* @example
|
|
339
265
|
* true
|
|
@@ -341,7 +267,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
341
267
|
unschedulable?: boolean;
|
|
342
268
|
/**
|
|
343
269
|
* @remarks
|
|
344
|
-
* The instance user data. After the node joins the cluster, the specified instance user data script
|
|
270
|
+
* The instance user data. After the node joins the cluster, the specified instance user data script is run. For more information, see [User-Data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
345
271
|
*
|
|
346
272
|
* @example
|
|
347
273
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -361,17 +287,28 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
361
287
|
export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
362
288
|
/**
|
|
363
289
|
* @remarks
|
|
364
|
-
* Specifies whether
|
|
290
|
+
* Specifies whether manual approval is required for node repair.
|
|
365
291
|
*/
|
|
366
292
|
approvalRequired?: boolean;
|
|
367
293
|
/**
|
|
368
294
|
* @remarks
|
|
369
|
-
*
|
|
295
|
+
* The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a number (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value: 1.
|
|
370
296
|
*
|
|
371
|
-
*
|
|
372
|
-
*
|
|
297
|
+
* @example
|
|
298
|
+
* 5
|
|
299
|
+
*/
|
|
300
|
+
maxParallelRepairingNodes?: string;
|
|
301
|
+
/**
|
|
302
|
+
* @remarks
|
|
303
|
+
* The circuit breaker condition for self-healing. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. You can specify a number (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default value: 100%.
|
|
373
304
|
*
|
|
374
|
-
*
|
|
305
|
+
* @example
|
|
306
|
+
* 20%
|
|
307
|
+
*/
|
|
308
|
+
maxUnhealthyNodesThreshold?: string;
|
|
309
|
+
/**
|
|
310
|
+
* @remarks
|
|
311
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
375
312
|
*
|
|
376
313
|
* @example
|
|
377
314
|
* true
|
|
@@ -391,11 +328,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
391
328
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
392
329
|
/**
|
|
393
330
|
* @remarks
|
|
394
|
-
* Specifies whether to allow automatic kubelet upgrade.
|
|
395
|
-
* - `true`: allows automatic kubelet upgrade.
|
|
396
|
-
* - `false`: does not allow automatic kubelet upgrade.
|
|
397
|
-
*
|
|
398
|
-
* Default value: `true`.
|
|
331
|
+
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
399
332
|
*
|
|
400
333
|
* @example
|
|
401
334
|
* true
|
|
@@ -403,12 +336,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
403
336
|
autoUpgradeKubelet?: boolean;
|
|
404
337
|
/**
|
|
405
338
|
* @remarks
|
|
406
|
-
* Specifies whether to allow automatic operating system upgrade.
|
|
407
|
-
* - `true`: allows automatic operating system upgrade.
|
|
408
|
-
* - `false`: does not allow automatic operating system upgrade.
|
|
409
|
-
*
|
|
410
|
-
*
|
|
411
|
-
* Default value: `false`.
|
|
339
|
+
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
412
340
|
*
|
|
413
341
|
* @example
|
|
414
342
|
* false
|
|
@@ -416,11 +344,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
416
344
|
autoUpgradeOs?: boolean;
|
|
417
345
|
/**
|
|
418
346
|
* @remarks
|
|
419
|
-
* Specifies whether to allow automatic runtime upgrade.
|
|
420
|
-
* - `true`: allows automatic runtime upgrade.
|
|
421
|
-
* - `false`: does not allow automatic runtime upgrade.
|
|
422
|
-
*
|
|
423
|
-
* Default value: `true`.
|
|
347
|
+
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
424
348
|
*
|
|
425
349
|
* @example
|
|
426
350
|
* false
|
|
@@ -440,9 +364,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
440
364
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
441
365
|
/**
|
|
442
366
|
* @remarks
|
|
443
|
-
* The packages to exclude during vulnerability
|
|
444
|
-
*
|
|
445
|
-
* Default value: `kernel`.
|
|
367
|
+
* The packages to exclude during vulnerability fix.
|
|
446
368
|
*
|
|
447
369
|
* @example
|
|
448
370
|
* kernel
|
|
@@ -450,9 +372,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
450
372
|
excludePackages?: string;
|
|
451
373
|
/**
|
|
452
374
|
* @remarks
|
|
453
|
-
* Specifies whether to allow node
|
|
454
|
-
* - `true`:
|
|
455
|
-
* - `false`:
|
|
375
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
376
|
+
* - `true`: Node restarts are allowed.
|
|
377
|
+
* - `false`: Node restarts are not allowed.
|
|
456
378
|
*
|
|
457
379
|
* Default value: `true`.
|
|
458
380
|
*
|
|
@@ -462,13 +384,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
462
384
|
restartNode?: boolean;
|
|
463
385
|
/**
|
|
464
386
|
* @remarks
|
|
465
|
-
* The vulnerability levels allowed for automatic
|
|
466
|
-
*
|
|
467
|
-
* - `asap`: high
|
|
468
|
-
* - `later`: medium
|
|
469
|
-
* - `nntf`: low
|
|
470
|
-
*
|
|
471
|
-
* Default value: `asap`.
|
|
387
|
+
* The vulnerability levels allowed for automatic fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
472
388
|
*
|
|
473
389
|
* @example
|
|
474
390
|
* asap,nntf
|
|
@@ -488,13 +404,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
488
404
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
489
405
|
/**
|
|
490
406
|
* @remarks
|
|
491
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
492
|
-
*
|
|
493
|
-
* Specifies whether to enable auto upgrade. Valid values:
|
|
494
|
-
*
|
|
495
|
-
* - `true`: enables auto upgrade.
|
|
496
|
-
*
|
|
497
|
-
* - `false`: disables auto upgrade.
|
|
407
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
498
408
|
*
|
|
499
409
|
* @example
|
|
500
410
|
* null
|
|
@@ -505,9 +415,6 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
505
415
|
/**
|
|
506
416
|
* @remarks
|
|
507
417
|
* The maximum number of unavailable nodes.
|
|
508
|
-
* Valid values: [1,1000\\].
|
|
509
|
-
*
|
|
510
|
-
* Default value: 1.
|
|
511
418
|
*
|
|
512
419
|
* @example
|
|
513
420
|
* 1
|
|
@@ -515,11 +422,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
515
422
|
maxUnavailable?: number;
|
|
516
423
|
/**
|
|
517
424
|
* @remarks
|
|
518
|
-
* The number of extra nodes.
|
|
519
|
-
*
|
|
520
|
-
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
521
|
-
*
|
|
522
|
-
* > The number of extra nodes should not exceed the current number of nodes.
|
|
425
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
523
426
|
*
|
|
524
427
|
* @example
|
|
525
428
|
* 0
|
|
@@ -527,9 +430,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
527
430
|
surge?: number;
|
|
528
431
|
/**
|
|
529
432
|
* @remarks
|
|
530
|
-
* The percentage of extra nodes.
|
|
531
|
-
*
|
|
532
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
433
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
533
434
|
*
|
|
534
435
|
* @example
|
|
535
436
|
* 0
|
|
@@ -547,16 +448,14 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
547
448
|
});
|
|
548
449
|
}
|
|
549
450
|
export declare class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
451
|
+
/**
|
|
452
|
+
* @remarks
|
|
453
|
+
* Specifies whether to enable ECS fault detection for node self-healing.
|
|
454
|
+
*/
|
|
550
455
|
autoFaultDiagnosis?: boolean;
|
|
551
456
|
/**
|
|
552
457
|
* @remarks
|
|
553
|
-
* Specifies whether to
|
|
554
|
-
*
|
|
555
|
-
* - `true`: enables auto repair.
|
|
556
|
-
*
|
|
557
|
-
* - `false`: disables auto repair.
|
|
558
|
-
*
|
|
559
|
-
* Default value: `true`.
|
|
458
|
+
* Specifies whether to enable automatic node repair. This parameter takes effect only when `enable=true`.
|
|
560
459
|
*
|
|
561
460
|
* @example
|
|
562
461
|
* true
|
|
@@ -564,16 +463,12 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
564
463
|
autoRepair?: boolean;
|
|
565
464
|
/**
|
|
566
465
|
* @remarks
|
|
567
|
-
* The
|
|
466
|
+
* The automatic node repair policy.
|
|
568
467
|
*/
|
|
569
468
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
570
469
|
/**
|
|
571
470
|
* @remarks
|
|
572
|
-
* Specifies whether to
|
|
573
|
-
* - `true`: enables auto upgrade.
|
|
574
|
-
* - `false`: disables auto upgrade.
|
|
575
|
-
*
|
|
576
|
-
* Default value: `true`.
|
|
471
|
+
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
577
472
|
*
|
|
578
473
|
* @example
|
|
579
474
|
* true
|
|
@@ -581,17 +476,12 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
581
476
|
autoUpgrade?: boolean;
|
|
582
477
|
/**
|
|
583
478
|
* @remarks
|
|
584
|
-
* The
|
|
479
|
+
* The automatic node upgrade policy.
|
|
585
480
|
*/
|
|
586
481
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
587
482
|
/**
|
|
588
483
|
* @remarks
|
|
589
|
-
* Specifies whether to
|
|
590
|
-
*
|
|
591
|
-
* - `true`: allows automatic CVE fixing.
|
|
592
|
-
* - `false`: does not allow automatic CVE fixing.
|
|
593
|
-
*
|
|
594
|
-
* Default value: `true`.
|
|
484
|
+
* Specifies whether to enable automatic CVE vulnerability fix. This parameter takes effect only when `enable=true`.
|
|
595
485
|
*
|
|
596
486
|
* @example
|
|
597
487
|
* true
|
|
@@ -599,19 +489,17 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
599
489
|
autoVulFix?: boolean;
|
|
600
490
|
/**
|
|
601
491
|
* @remarks
|
|
602
|
-
* The
|
|
492
|
+
* The automatic CVE fix policy.
|
|
603
493
|
*/
|
|
604
494
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
495
|
+
/**
|
|
496
|
+
* @remarks
|
|
497
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Regular node pools do not support this feature.
|
|
498
|
+
*/
|
|
605
499
|
driftEnabled?: boolean;
|
|
606
500
|
/**
|
|
607
501
|
* @remarks
|
|
608
|
-
* Specifies whether to enable the managed
|
|
609
|
-
*
|
|
610
|
-
* - `true`: enables the managed feature.
|
|
611
|
-
*
|
|
612
|
-
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
613
|
-
*
|
|
614
|
-
* Default value: false.
|
|
502
|
+
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
615
503
|
*
|
|
616
504
|
* @example
|
|
617
505
|
* false
|
|
@@ -619,9 +507,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
619
507
|
enable?: boolean;
|
|
620
508
|
/**
|
|
621
509
|
* @remarks
|
|
622
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
510
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
623
511
|
*
|
|
624
|
-
* The
|
|
512
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
625
513
|
*
|
|
626
514
|
* @deprecated
|
|
627
515
|
*/
|
|
@@ -640,7 +528,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
640
528
|
export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
641
529
|
/**
|
|
642
530
|
* @remarks
|
|
643
|
-
* The node component
|
|
531
|
+
* The custom configuration of the node component.
|
|
644
532
|
*
|
|
645
533
|
* @example
|
|
646
534
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -722,9 +610,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
722
610
|
name?: string;
|
|
723
611
|
/**
|
|
724
612
|
* @remarks
|
|
725
|
-
* The resource group ID of the node pool. Instances
|
|
726
|
-
*
|
|
727
|
-
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
|
|
613
|
+
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
728
614
|
*
|
|
729
615
|
* @example
|
|
730
616
|
* rg-acfmyvw3wjmb****
|
|
@@ -734,11 +620,6 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
734
620
|
* @remarks
|
|
735
621
|
* The node pool type. Valid values:
|
|
736
622
|
*
|
|
737
|
-
* - `ess`: standard node pool (includes managed features and automatic scaling).
|
|
738
|
-
* - `edge`: edge node pool.
|
|
739
|
-
* - `lingjun`: Lingjun node pool.
|
|
740
|
-
* - `hybrid`: hybrid cloud node pool.
|
|
741
|
-
*
|
|
742
623
|
* @example
|
|
743
624
|
* ess
|
|
744
625
|
*/
|
|
@@ -754,6 +635,26 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
754
635
|
[key: string]: any;
|
|
755
636
|
});
|
|
756
637
|
}
|
|
638
|
+
export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
639
|
+
/**
|
|
640
|
+
* @remarks
|
|
641
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
|
|
642
|
+
*
|
|
643
|
+
* @example
|
|
644
|
+
* enabled
|
|
645
|
+
*/
|
|
646
|
+
nestedVirtualization?: string;
|
|
647
|
+
static names(): {
|
|
648
|
+
[key: string]: string;
|
|
649
|
+
};
|
|
650
|
+
static types(): {
|
|
651
|
+
[key: string]: any;
|
|
652
|
+
};
|
|
653
|
+
validate(): void;
|
|
654
|
+
constructor(map?: {
|
|
655
|
+
[key: string]: any;
|
|
656
|
+
});
|
|
657
|
+
}
|
|
757
658
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
758
659
|
/**
|
|
759
660
|
* @remarks
|
|
@@ -765,10 +666,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
765
666
|
id?: string;
|
|
766
667
|
/**
|
|
767
668
|
* @remarks
|
|
768
|
-
* The private node pool
|
|
769
|
-
* - `Open`:
|
|
770
|
-
* - `Target`:
|
|
771
|
-
* - `None`:
|
|
669
|
+
* The type of the private node pool. The private pool option for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use during startup. Valid values:
|
|
670
|
+
* - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to start the instance.
|
|
671
|
+
* - `Target`: targeted mode. The instance is started using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to start.
|
|
672
|
+
* - `None`: none mode. The instance does not use private pool capacity during startup.
|
|
772
673
|
*
|
|
773
674
|
* @example
|
|
774
675
|
* Target
|
|
@@ -793,7 +694,13 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
793
694
|
privatePoolIds?: string[];
|
|
794
695
|
/**
|
|
795
696
|
* @remarks
|
|
796
|
-
* The resource pool strategy used when
|
|
697
|
+
* The resource pool strategy used when instances are created. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools, which are available for instance startup. Valid values:
|
|
698
|
+
*
|
|
699
|
+
* - PrivatePoolFirst: private pool first. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
700
|
+
* - PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
701
|
+
* - None: no resource pool strategy is used.
|
|
702
|
+
*
|
|
703
|
+
* Default value: None.
|
|
797
704
|
*
|
|
798
705
|
* @example
|
|
799
706
|
* PrivatePoolFirst
|
|
@@ -813,7 +720,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
813
720
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
814
721
|
/**
|
|
815
722
|
* @remarks
|
|
816
|
-
* The spot instance
|
|
723
|
+
* The instance type of the spot instance.
|
|
817
724
|
*
|
|
818
725
|
* @example
|
|
819
726
|
* ecs.c6.large
|
|
@@ -821,7 +728,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
821
728
|
instanceType?: string;
|
|
822
729
|
/**
|
|
823
730
|
* @remarks
|
|
824
|
-
* The maximum price
|
|
731
|
+
* The maximum price of a single instance.
|
|
825
732
|
* <props="china">Unit: CNY/hour.
|
|
826
733
|
*
|
|
827
734
|
*
|
|
@@ -874,12 +781,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupTags extends $dara.
|
|
|
874
781
|
export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
875
782
|
/**
|
|
876
783
|
* @remarks
|
|
877
|
-
* Specifies whether to enable auto-renewal for nodes in the node pool.
|
|
878
|
-
*
|
|
879
|
-
* - `true`: enables auto-renewal.
|
|
880
|
-
* - `false`: disables auto-renewal.
|
|
881
|
-
*
|
|
882
|
-
* Default value: `false`.
|
|
784
|
+
* Specifies whether to enable auto-renewal for nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
883
785
|
*
|
|
884
786
|
* @example
|
|
885
787
|
* true
|
|
@@ -887,11 +789,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
887
789
|
autoRenew?: boolean;
|
|
888
790
|
/**
|
|
889
791
|
* @remarks
|
|
890
|
-
* The duration of
|
|
891
|
-
* - PeriodUnit=Week: 1, 2, 3.
|
|
892
|
-
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
893
|
-
*
|
|
894
|
-
* Default value: 1.
|
|
792
|
+
* The duration of a single auto-renewal cycle. Valid values:
|
|
895
793
|
*
|
|
896
794
|
* @example
|
|
897
795
|
* 1
|
|
@@ -899,7 +797,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
899
797
|
autoRenewPeriod?: number;
|
|
900
798
|
/**
|
|
901
799
|
* @remarks
|
|
902
|
-
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
800
|
+
* **[Deprecated]** Use the security_hardening_os parameter instead.
|
|
903
801
|
*
|
|
904
802
|
* @example
|
|
905
803
|
* null
|
|
@@ -909,10 +807,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
909
807
|
cisEnabled?: boolean;
|
|
910
808
|
/**
|
|
911
809
|
* @remarks
|
|
912
|
-
*
|
|
810
|
+
* Specifies whether to allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
913
811
|
*
|
|
914
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
915
|
-
* - `false`: Does not allow automatic creation of pay-as-you-go instances to meet
|
|
812
|
+
* - `true`: Allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
813
|
+
* - `false`: Does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
916
814
|
*
|
|
917
815
|
* @example
|
|
918
816
|
* true
|
|
@@ -920,15 +818,20 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
920
818
|
compensateWithOnDemand?: boolean;
|
|
921
819
|
/**
|
|
922
820
|
* @remarks
|
|
923
|
-
* The
|
|
821
|
+
* The CPU-related configuration options.
|
|
822
|
+
*/
|
|
823
|
+
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
824
|
+
/**
|
|
825
|
+
* @remarks
|
|
826
|
+
* The data cloud disk configurations for nodes in the node pool.
|
|
924
827
|
*/
|
|
925
828
|
dataDisks?: DataDisk[];
|
|
926
829
|
/**
|
|
927
830
|
* @remarks
|
|
928
|
-
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery. When
|
|
831
|
+
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When ECS instances are created within a deployment set, they are launched in the specified region based on the preconfigured deployment strategy.
|
|
929
832
|
*
|
|
930
833
|
*
|
|
931
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited.
|
|
834
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports a maximum of 20 × number of zones (the number of zones is determined by the vSwitches). Select a deployment set with caution and ensure that the quota in the deployment set is sufficient to avoid node scale-out failures.
|
|
932
835
|
*
|
|
933
836
|
* @example
|
|
934
837
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -938,10 +841,6 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
938
841
|
* @remarks
|
|
939
842
|
* The desired number of nodes in the node pool.
|
|
940
843
|
*
|
|
941
|
-
* The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
|
|
942
|
-
*
|
|
943
|
-
* If you do not need to create nodes, set this value to 0 and manually adjust it later to add nodes.
|
|
944
|
-
*
|
|
945
844
|
* @example
|
|
946
845
|
* 0
|
|
947
846
|
*/
|
|
@@ -951,6 +850,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
951
850
|
* The block device initialization configuration.
|
|
952
851
|
*/
|
|
953
852
|
diskInit?: DiskInit[];
|
|
853
|
+
/**
|
|
854
|
+
* @remarks
|
|
855
|
+
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types. When enabled, the total number of system cloud disks and data cloud disks does not exceed the high-density cloud disk limit supported by the instance type.
|
|
856
|
+
*
|
|
857
|
+
* @example
|
|
858
|
+
* false
|
|
859
|
+
*/
|
|
860
|
+
enableHighDensityMode?: boolean;
|
|
954
861
|
/**
|
|
955
862
|
* @remarks
|
|
956
863
|
* The custom image ID. The system-provided image is used by default.
|
|
@@ -961,18 +868,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
961
868
|
imageId?: string;
|
|
962
869
|
/**
|
|
963
870
|
* @remarks
|
|
964
|
-
* The operating system image
|
|
965
|
-
*
|
|
966
|
-
* - `AliyunLinux`: Alinux2 image.
|
|
967
|
-
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
968
|
-
* - `AliyunLinux3`: Alinux3 image.
|
|
969
|
-
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
970
|
-
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
971
|
-
* - `CentOS`: CentOS image.
|
|
972
|
-
* - `Windows`: Windows image.
|
|
973
|
-
* - `WindowsCore`: WindowsCore image.
|
|
974
|
-
* - `ContainerOS`: container-optimized image.
|
|
975
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
871
|
+
* The type of operating system image. Valid values:
|
|
976
872
|
*
|
|
977
873
|
* @example
|
|
978
874
|
* AliyunLinux3
|
|
@@ -982,12 +878,6 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
982
878
|
* @remarks
|
|
983
879
|
* The billing method of nodes in the node pool. Valid values:
|
|
984
880
|
*
|
|
985
|
-
* - `PrePaid`: subscription.
|
|
986
|
-
*
|
|
987
|
-
* - `PostPaid`: pay-as-you-go.
|
|
988
|
-
*
|
|
989
|
-
* Default value: `PostPaid`.
|
|
990
|
-
*
|
|
991
881
|
* This parameter is required.
|
|
992
882
|
*
|
|
993
883
|
* @example
|
|
@@ -1006,10 +896,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1006
896
|
instancePatterns?: InstancePatterns[];
|
|
1007
897
|
/**
|
|
1008
898
|
* @remarks
|
|
1009
|
-
* The list of instance types for nodes in the node pool. When the node pool scales out, instances are created
|
|
1010
|
-
*
|
|
1011
|
-
* Supported number of instance types: [1,10].
|
|
899
|
+
* The list of instance types for nodes in the node pool. When the node pool scales out, instances are created based on eligible instance types from this list.
|
|
1012
900
|
*
|
|
901
|
+
* Number of supported instance types: [1, 10].
|
|
1013
902
|
*
|
|
1014
903
|
* > To ensure high availability, select multiple instance types.
|
|
1015
904
|
*
|
|
@@ -1018,10 +907,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1018
907
|
instanceTypes?: string[];
|
|
1019
908
|
/**
|
|
1020
909
|
* @remarks
|
|
1021
|
-
* The billing method
|
|
910
|
+
* The billing method for public IP addresses. Valid values:
|
|
1022
911
|
*
|
|
1023
912
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1024
|
-
* - PayByTraffic: pay-by-
|
|
913
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1025
914
|
*
|
|
1026
915
|
* @example
|
|
1027
916
|
* PayByTraffic
|
|
@@ -1029,7 +918,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1029
918
|
internetChargeType?: string;
|
|
1030
919
|
/**
|
|
1031
920
|
* @remarks
|
|
1032
|
-
* The maximum outbound public
|
|
921
|
+
* The maximum outbound bandwidth for the public IP of nodes. Unit: Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
1033
922
|
*
|
|
1034
923
|
* @example
|
|
1035
924
|
* 5
|
|
@@ -1037,9 +926,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1037
926
|
internetMaxBandwidthOut?: number;
|
|
1038
927
|
/**
|
|
1039
928
|
* @remarks
|
|
1040
|
-
* The key pair
|
|
1041
|
-
*
|
|
1042
|
-
* >If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
929
|
+
* The name of the key pair for password-free logon. Use either this parameter or `login_password`.
|
|
1043
930
|
*
|
|
1044
931
|
* @example
|
|
1045
932
|
* np-key-name
|
|
@@ -1047,11 +934,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1047
934
|
keyPair?: string;
|
|
1048
935
|
/**
|
|
1049
936
|
* @remarks
|
|
1050
|
-
* Specifies whether to log on to the ECS
|
|
937
|
+
* Specifies whether to log on to the scaled-out ECS instances as a non-root user.
|
|
1051
938
|
*
|
|
1052
|
-
* - true:
|
|
939
|
+
* - true: Log on as a non-root user (ecs-user).
|
|
1053
940
|
*
|
|
1054
|
-
* - false:
|
|
941
|
+
* - false: Log on as the root user.
|
|
1055
942
|
*
|
|
1056
943
|
* @example
|
|
1057
944
|
* true
|
|
@@ -1059,7 +946,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1059
946
|
loginAsNonRoot?: boolean;
|
|
1060
947
|
/**
|
|
1061
948
|
* @remarks
|
|
1062
|
-
* The SSH logon password.
|
|
949
|
+
* The SSH logon password. Use either this parameter or `key_pair`. The password must be 8 to 30 characters in length and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1063
950
|
*
|
|
1064
951
|
* @example
|
|
1065
952
|
* ****
|
|
@@ -1067,15 +954,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1067
954
|
loginPassword?: string;
|
|
1068
955
|
/**
|
|
1069
956
|
* @remarks
|
|
1070
|
-
* The scaling policy for ECS instances in
|
|
957
|
+
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1071
958
|
*
|
|
1072
|
-
* - `PRIORITY`: Scales based on the vSwitches (VSwitchIds.N) you define. When ECS instances cannot be created in the zone of
|
|
959
|
+
* - `PRIORITY`: Scales ECS instances based on the vSwitches (VSwitchIds.N) that you define. When ECS instances cannot be created in the zone of the vSwitch with the highest priority, the system automatically uses the vSwitch with the next highest priority to create ECS instances.
|
|
1073
960
|
*
|
|
1074
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with the
|
|
961
|
+
* - `COST_OPTIMIZED`: Attempts to create ECS instances in order of vCPU unit price from lowest to highest. When the scaling configuration specifies multiple instance types with the spot billing method, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
1075
962
|
*
|
|
1076
963
|
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1077
964
|
*
|
|
1078
|
-
* - `BALANCE`: Evenly
|
|
965
|
+
* - `BALANCE`: Evenly distributes ECS instances across the multiple zones specified in the scaling group. If the zones become unbalanced due to insufficient inventory or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation to rebalance resources.
|
|
1079
966
|
*
|
|
1080
967
|
* Default value: `PRIORITY`.
|
|
1081
968
|
*
|
|
@@ -1085,7 +972,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1085
972
|
multiAzPolicy?: string;
|
|
1086
973
|
/**
|
|
1087
974
|
* @remarks
|
|
1088
|
-
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\].
|
|
975
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. When the number of pay-as-you-go instances is less than this value, pay-as-you-go instances are preferentially created.
|
|
1089
976
|
*
|
|
1090
977
|
* @example
|
|
1091
978
|
* 0
|
|
@@ -1101,10 +988,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1101
988
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1102
989
|
/**
|
|
1103
990
|
* @remarks
|
|
1104
|
-
* The subscription duration of nodes in the node pool.
|
|
1105
|
-
*
|
|
1106
|
-
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1107
|
-
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
991
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1108
992
|
*
|
|
1109
993
|
* @example
|
|
1110
994
|
* 1
|
|
@@ -1112,12 +996,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1112
996
|
period?: number;
|
|
1113
997
|
/**
|
|
1114
998
|
* @remarks
|
|
1115
|
-
* The
|
|
1116
|
-
*
|
|
1117
|
-
* - `Month`: billed on a monthly basis.
|
|
1118
|
-
* - `Week`: billed on a weekly basis.
|
|
1119
|
-
*
|
|
1120
|
-
* Default value: `Month`.
|
|
999
|
+
* The unit of the subscription period for nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1121
1000
|
*
|
|
1122
1001
|
* @example
|
|
1123
1002
|
* Month
|
|
@@ -1125,15 +1004,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1125
1004
|
periodUnit?: string;
|
|
1126
1005
|
/**
|
|
1127
1006
|
* @remarks
|
|
1128
|
-
* [
|
|
1129
|
-
*
|
|
1130
|
-
* The operating system distribution. Valid values:
|
|
1131
|
-
* - `CentOS`
|
|
1132
|
-
* - `AliyunLinux`
|
|
1133
|
-
* - `Windows`
|
|
1134
|
-
* - `WindowsCore`
|
|
1135
|
-
*
|
|
1136
|
-
* Default value: `AliyunLinux`.
|
|
1007
|
+
* **[Deprecated]** Use the `image_type` parameter instead.
|
|
1137
1008
|
*
|
|
1138
1009
|
* @example
|
|
1139
1010
|
* null
|
|
@@ -1148,12 +1019,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1148
1019
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1149
1020
|
/**
|
|
1150
1021
|
* @remarks
|
|
1151
|
-
* The
|
|
1022
|
+
* The name of the worker RAM role.
|
|
1152
1023
|
*
|
|
1153
|
-
* * If left empty, the default
|
|
1154
|
-
* * If specified, the RAM role must be a **normal service role
|
|
1024
|
+
* * If this parameter is left empty, the default worker RAM role created by the cluster is used.
|
|
1025
|
+
* * If this parameter is specified, the specified RAM role must be a **normal service role**, and its **trusted service** must be configured as **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1155
1026
|
*
|
|
1156
|
-
* >Notice:
|
|
1027
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 or later.</notice>
|
|
1157
1028
|
*
|
|
1158
1029
|
* @example
|
|
1159
1030
|
* example-role
|
|
@@ -1166,18 +1037,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1166
1037
|
rdsInstances?: string[];
|
|
1167
1038
|
/**
|
|
1168
1039
|
* @remarks
|
|
1169
|
-
* The resource pool and resource pool
|
|
1040
|
+
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
|
|
1170
1041
|
*/
|
|
1171
1042
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1172
1043
|
/**
|
|
1173
1044
|
* @remarks
|
|
1174
1045
|
* The scaling group mode. Valid values:
|
|
1175
1046
|
*
|
|
1176
|
-
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1177
|
-
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves subsequent scaling speed. Stopped instances are not charged for compute resources, only for storage. This does not apply to instances with local disks.
|
|
1178
|
-
*
|
|
1179
|
-
* Default value: `release`.
|
|
1180
|
-
*
|
|
1181
1047
|
* @example
|
|
1182
1048
|
* release
|
|
1183
1049
|
*/
|
|
@@ -1194,17 +1060,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1194
1060
|
securityGroupId?: string;
|
|
1195
1061
|
/**
|
|
1196
1062
|
* @remarks
|
|
1197
|
-
* The list of security group IDs.
|
|
1063
|
+
* The list of security group IDs. Use either this parameter or `security_group_id`. We recommend that you use `security_group_ids`. If both `security_group_id` and `security_group_ids` are specified, `security_group_ids` takes precedence.
|
|
1198
1064
|
*/
|
|
1199
1065
|
securityGroupIds?: string[];
|
|
1200
1066
|
/**
|
|
1201
1067
|
* @remarks
|
|
1202
|
-
*
|
|
1203
|
-
*
|
|
1204
|
-
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1205
|
-
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1206
|
-
*
|
|
1207
|
-
* Default value: `false`.
|
|
1068
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1208
1069
|
*
|
|
1209
1070
|
* @example
|
|
1210
1071
|
* false
|
|
@@ -1212,7 +1073,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1212
1073
|
securityHardeningOs?: boolean;
|
|
1213
1074
|
/**
|
|
1214
1075
|
* @remarks
|
|
1215
|
-
* Specifies whether to enable
|
|
1076
|
+
* Specifies whether to enable MLPS 2.0 security hardening. You can enable MLPS 2.0 security hardening for nodes only when the system image is Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3. Alibaba Cloud provides classified protection compliance baseline check standards and scanning programs for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1216
1077
|
*
|
|
1217
1078
|
* @example
|
|
1218
1079
|
* false
|
|
@@ -1220,7 +1081,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1220
1081
|
socEnabled?: boolean;
|
|
1221
1082
|
/**
|
|
1222
1083
|
* @remarks
|
|
1223
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
1084
|
+
* The number of available instance types. The scaling group creates spot instances of multiple types at the lowest cost. Valid values: [1,10\\].
|
|
1224
1085
|
*
|
|
1225
1086
|
* @example
|
|
1226
1087
|
* 5
|
|
@@ -1228,10 +1089,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1228
1089
|
spotInstancePools?: number;
|
|
1229
1090
|
/**
|
|
1230
1091
|
* @remarks
|
|
1231
|
-
* Specifies whether to enable
|
|
1232
|
-
*
|
|
1233
|
-
* - `true`: Enables supplementing spot instances.
|
|
1234
|
-
* - `false`: Disables supplementing spot instances.
|
|
1092
|
+
* Specifies whether to enable supplementation of spot instances. If enabled, when the system receives a notification that a spot instance will be reclaimed, the scaling group attempts to create a new instance to replace the spot instance that will be reclaimed. Valid values:
|
|
1235
1093
|
*
|
|
1236
1094
|
* @example
|
|
1237
1095
|
* false
|
|
@@ -1239,20 +1097,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1239
1097
|
spotInstanceRemedy?: boolean;
|
|
1240
1098
|
/**
|
|
1241
1099
|
* @remarks
|
|
1242
|
-
* The price limit
|
|
1100
|
+
* The price limit configurations for a single spot instance of the current instance type.
|
|
1243
1101
|
*/
|
|
1244
1102
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1245
1103
|
/**
|
|
1246
1104
|
* @remarks
|
|
1247
|
-
* The spot instance
|
|
1248
|
-
*
|
|
1249
|
-
* - `NoSpot`: non-spot instance.
|
|
1250
|
-
*
|
|
1251
|
-
* - `SpotWithPriceLimit`: spot instance with a price limit.
|
|
1252
|
-
*
|
|
1253
|
-
* - `SpotAsPriceGo`: system automatically bids at the current market price.
|
|
1254
|
-
*
|
|
1255
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1105
|
+
* The type of spot instance. Valid values:
|
|
1256
1106
|
*
|
|
1257
1107
|
* @example
|
|
1258
1108
|
* NoSpot
|
|
@@ -1260,11 +1110,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1260
1110
|
spotStrategy?: string;
|
|
1261
1111
|
/**
|
|
1262
1112
|
* @remarks
|
|
1263
|
-
* Specifies whether to enable burst (performance
|
|
1264
|
-
* - true: Enabled.
|
|
1265
|
-
* - false: Disabled.
|
|
1266
|
-
*
|
|
1267
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1113
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1268
1114
|
*
|
|
1269
1115
|
* @example
|
|
1270
1116
|
* true
|
|
@@ -1272,17 +1118,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1272
1118
|
systemDiskBurstingEnabled?: boolean;
|
|
1273
1119
|
/**
|
|
1274
1120
|
* @remarks
|
|
1275
|
-
* Multiple system cloud disk
|
|
1121
|
+
* Multiple disk types for the system cloud disk. If a disk type with a higher priority is unavailable, the system automatically attempts to create the system cloud disk with the next priority disk type.
|
|
1276
1122
|
*/
|
|
1277
1123
|
systemDiskCategories?: string[];
|
|
1278
1124
|
/**
|
|
1279
1125
|
* @remarks
|
|
1280
|
-
* The system cloud disk
|
|
1126
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
1281
1127
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1282
1128
|
* - `cloud_ssd`: standard SSD.
|
|
1283
1129
|
* - `cloud_essd`: ESSD.
|
|
1284
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1285
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1130
|
+
* - `cloud_auto`: ESSD AutoPL.
|
|
1131
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1286
1132
|
*
|
|
1287
1133
|
* Default value: `cloud_efficiency`.
|
|
1288
1134
|
*
|
|
@@ -1292,7 +1138,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1292
1138
|
systemDiskCategory?: string;
|
|
1293
1139
|
/**
|
|
1294
1140
|
* @remarks
|
|
1295
|
-
* The encryption algorithm
|
|
1141
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1296
1142
|
*
|
|
1297
1143
|
* @example
|
|
1298
1144
|
* aes-256
|
|
@@ -1302,10 +1148,6 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1302
1148
|
* @remarks
|
|
1303
1149
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1304
1150
|
*
|
|
1305
|
-
* - true: Encrypted.
|
|
1306
|
-
*
|
|
1307
|
-
* - false: Not encrypted.
|
|
1308
|
-
*
|
|
1309
1151
|
* @example
|
|
1310
1152
|
* false
|
|
1311
1153
|
*/
|
|
@@ -1320,11 +1162,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1320
1162
|
systemDiskKmsKeyId?: string;
|
|
1321
1163
|
/**
|
|
1322
1164
|
* @remarks
|
|
1323
|
-
* The performance level of the
|
|
1324
|
-
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1325
|
-
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1326
|
-
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1327
|
-
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1165
|
+
* The performance level of the system cloud disk for nodes. This parameter takes effect only for ESSD disks. The performance level is related to the disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1328
1166
|
*
|
|
1329
1167
|
* @example
|
|
1330
1168
|
* PL1
|
|
@@ -1332,11 +1170,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1332
1170
|
systemDiskPerformanceLevel?: string;
|
|
1333
1171
|
/**
|
|
1334
1172
|
* @remarks
|
|
1335
|
-
* The provisioned read/write IOPS
|
|
1336
|
-
*
|
|
1337
|
-
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1338
|
-
*
|
|
1339
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
1173
|
+
* The provisioned read/write IOPS of the node system cloud disk.
|
|
1340
1174
|
*
|
|
1341
1175
|
* @example
|
|
1342
1176
|
* 1000
|
|
@@ -1344,9 +1178,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1344
1178
|
systemDiskProvisionedIops?: number;
|
|
1345
1179
|
/**
|
|
1346
1180
|
* @remarks
|
|
1347
|
-
* The system cloud disk
|
|
1348
|
-
*
|
|
1349
|
-
* Valid values: [20,2048\\].
|
|
1181
|
+
* The size of the system cloud disk for nodes. Unit: GiB.
|
|
1350
1182
|
*
|
|
1351
1183
|
* @example
|
|
1352
1184
|
* 120
|
|
@@ -1362,9 +1194,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1362
1194
|
systemDiskSnapshotPolicyId?: string;
|
|
1363
1195
|
/**
|
|
1364
1196
|
* @remarks
|
|
1365
|
-
* Tags added only to ECS instances.
|
|
1366
|
-
*
|
|
1367
|
-
* Tag keys cannot be duplicated and have a maximum length of 128 characters. Tag keys and values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1197
|
+
* Tags that are added only to ECS instances.
|
|
1368
1198
|
*/
|
|
1369
1199
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1370
1200
|
/**
|
|
@@ -1390,11 +1220,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1390
1220
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1391
1221
|
/**
|
|
1392
1222
|
* @remarks
|
|
1393
|
-
* Specifies whether to enable confidential computing
|
|
1394
|
-
*
|
|
1395
|
-
* - true: Enables confidential computing.
|
|
1396
|
-
*
|
|
1397
|
-
* - false: Does not enable confidential computing.
|
|
1223
|
+
* Specifies whether to enable the confidential computing cluster.
|
|
1398
1224
|
*
|
|
1399
1225
|
* @example
|
|
1400
1226
|
* true
|
|
@@ -1414,7 +1240,7 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1414
1240
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1415
1241
|
/**
|
|
1416
1242
|
* @remarks
|
|
1417
|
-
* The
|
|
1243
|
+
* The intelligent managed configuration for the node pool.
|
|
1418
1244
|
*/
|
|
1419
1245
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1420
1246
|
/**
|
|
@@ -1424,9 +1250,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1424
1250
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1425
1251
|
/**
|
|
1426
1252
|
* @remarks
|
|
1427
|
-
* [
|
|
1428
|
-
*
|
|
1429
|
-
* The number of nodes in the node pool.
|
|
1253
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1430
1254
|
*
|
|
1431
1255
|
* @example
|
|
1432
1256
|
* null
|
|
@@ -1441,9 +1265,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1441
1265
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1442
1266
|
/**
|
|
1443
1267
|
* @remarks
|
|
1444
|
-
* Specifies whether the
|
|
1445
|
-
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1446
|
-
* - `false`: Container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1268
|
+
* Specifies whether the Pod network mode uses host network mode.
|
|
1447
1269
|
*
|
|
1448
1270
|
* @example
|
|
1449
1271
|
* true
|
|
@@ -1451,19 +1273,14 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1451
1273
|
hostNetwork?: boolean;
|
|
1452
1274
|
/**
|
|
1453
1275
|
* @remarks
|
|
1454
|
-
* [
|
|
1455
|
-
*
|
|
1456
|
-
* The edge node pool configuration.
|
|
1276
|
+
* **[Deprecated]**
|
|
1457
1277
|
*
|
|
1458
1278
|
* @deprecated
|
|
1459
1279
|
*/
|
|
1460
1280
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1461
1281
|
/**
|
|
1462
1282
|
* @remarks
|
|
1463
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
1464
|
-
*
|
|
1465
|
-
* - `basic`: Public network. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the cloud VPC internal network.
|
|
1466
|
-
* - `private`: Private network. Nodes in cloud node pool connect to the cloud through Express Connect, VPN, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
1283
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1467
1284
|
*
|
|
1468
1285
|
* @example
|
|
1469
1286
|
* basic
|
|
@@ -1472,8 +1289,6 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1472
1289
|
/**
|
|
1473
1290
|
* @remarks
|
|
1474
1291
|
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
1475
|
-
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity.
|
|
1476
|
-
* - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity.
|
|
1477
1292
|
*
|
|
1478
1293
|
* @example
|
|
1479
1294
|
* true
|
|
@@ -1486,14 +1301,12 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1486
1301
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1487
1302
|
/**
|
|
1488
1303
|
* @remarks
|
|
1489
|
-
* The managed node pool
|
|
1304
|
+
* The configuration of the managed node pool feature.
|
|
1490
1305
|
*/
|
|
1491
1306
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1492
1307
|
/**
|
|
1493
1308
|
* @remarks
|
|
1494
|
-
* [
|
|
1495
|
-
*
|
|
1496
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1309
|
+
* **[Deprecated]**
|
|
1497
1310
|
*
|
|
1498
1311
|
* @example
|
|
1499
1312
|
* null
|
|
@@ -1503,7 +1316,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1503
1316
|
maxNodes?: number;
|
|
1504
1317
|
/**
|
|
1505
1318
|
* @remarks
|
|
1506
|
-
* The node
|
|
1319
|
+
* The list of node components.
|
|
1507
1320
|
*/
|
|
1508
1321
|
nodeComponents?: CreateClusterNodePoolRequestNodeComponents[];
|
|
1509
1322
|
/**
|