@alicloud/cs20151215 7.0.4 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +120 -42
- package/dist/client.js +332 -71
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +119 -621
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsRequest.js +73 -0
- package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentsResponse.js +69 -0
- package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +70 -195
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +63 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +366 -71
- package/src/models/CreateClusterNodePoolRequest.ts +126 -367
- package/src/models/CreateClusterRequest.ts +119 -621
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
- package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
- package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
- package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
- package/src/models/ListNodePoolComponentsRequest.ts +76 -0
- package/src/models/ListNodePoolComponentsResponse.ts +40 -0
- package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +70 -195
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
- package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +25 -0
|
@@ -10,9 +10,6 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
12
|
* Specifies whether to enable intelligent managed mode.
|
|
13
|
-
* Valid values:
|
|
14
|
-
* - true: Enables intelligent managed mode. This can be enabled only when the cluster has intelligent managed mode enabled.
|
|
15
|
-
* - false: Disables intelligent managed mode.
|
|
16
13
|
*
|
|
17
14
|
* @example
|
|
18
15
|
* true
|
|
@@ -32,7 +29,7 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
32
29
|
export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
33
30
|
/**
|
|
34
31
|
* @remarks
|
|
35
|
-
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
32
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
36
33
|
*
|
|
37
34
|
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
38
35
|
*
|
|
@@ -44,13 +41,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
44
41
|
eipBandwidth?: number;
|
|
45
42
|
/**
|
|
46
43
|
* @remarks
|
|
47
|
-
* [Deprecated] Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
48
|
-
*
|
|
49
|
-
* The billing method of the EIP. Valid values:
|
|
50
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
51
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
52
|
-
*
|
|
53
|
-
* Default value: `PayByBandwidth`.
|
|
44
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
54
45
|
*
|
|
55
46
|
* @example
|
|
56
47
|
* null
|
|
@@ -60,15 +51,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
60
51
|
eipInternetChargeType?: string;
|
|
61
52
|
/**
|
|
62
53
|
* @remarks
|
|
63
|
-
* Specifies whether to enable
|
|
64
|
-
*
|
|
65
|
-
* - `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 and later enable instant node elasticity by default. Clusters of versions earlier than 1.24 enable node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
66
|
-
*
|
|
67
|
-
* - `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.
|
|
68
|
-
*
|
|
69
|
-
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
70
|
-
*
|
|
71
|
-
* Default value: `false`.
|
|
54
|
+
* Specifies whether to enable auto scaling. Valid values:
|
|
72
55
|
*
|
|
73
56
|
* @example
|
|
74
57
|
* false
|
|
@@ -76,15 +59,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
76
59
|
enable?: boolean;
|
|
77
60
|
/**
|
|
78
61
|
* @remarks
|
|
79
|
-
* [Deprecated] This
|
|
80
|
-
*
|
|
81
|
-
* Specifies whether to associate an EIP. Valid values:
|
|
82
|
-
*
|
|
83
|
-
* - `true`: associates an EIP.
|
|
84
|
-
*
|
|
85
|
-
* - `false`: does not associate an EIP.
|
|
86
|
-
*
|
|
87
|
-
* Default value: `false`.
|
|
62
|
+
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
88
63
|
*
|
|
89
64
|
* @example
|
|
90
65
|
* null
|
|
@@ -94,9 +69,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
94
69
|
isBondEip?: boolean;
|
|
95
70
|
/**
|
|
96
71
|
* @remarks
|
|
97
|
-
* The maximum number of
|
|
98
|
-
*
|
|
99
|
-
* 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`.
|
|
100
73
|
*
|
|
101
74
|
* @example
|
|
102
75
|
* 10
|
|
@@ -104,12 +77,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
104
77
|
maxInstances?: number;
|
|
105
78
|
/**
|
|
106
79
|
* @remarks
|
|
107
|
-
* The minimum number of
|
|
108
|
-
*
|
|
109
|
-
* Valid values: [0, max_instances]. Default value: 0.
|
|
110
|
-
*
|
|
111
|
-
* > - If the minimum instance count is not 0, the corresponding number of ECS instances are automatically created after the scaling group takes effect.
|
|
112
|
-
* > - 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 will be scaled in after the elastic 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`.
|
|
113
81
|
*
|
|
114
82
|
* @example
|
|
115
83
|
* 1
|
|
@@ -119,17 +87,6 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
119
87
|
* @remarks
|
|
120
88
|
* The automatic scaling instance type. This parameter takes effect only when `enable=true`. Valid values:
|
|
121
89
|
*
|
|
122
|
-
* - `cpu`: regular instance type.
|
|
123
|
-
*
|
|
124
|
-
* - `gpu`: GPU instance type.
|
|
125
|
-
*
|
|
126
|
-
* - `gpushare`: GPU shared type.
|
|
127
|
-
*
|
|
128
|
-
* - `spot`: spot instance type.
|
|
129
|
-
*
|
|
130
|
-
* Default value: `cpu`.
|
|
131
|
-
* >Notice: This field cannot be modified after the node pool is created.
|
|
132
|
-
*
|
|
133
90
|
* @example
|
|
134
91
|
* cpu
|
|
135
92
|
*/
|
|
@@ -148,7 +105,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
148
105
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
149
106
|
/**
|
|
150
107
|
* @remarks
|
|
151
|
-
* Specifies whether to enable automatic
|
|
108
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool.
|
|
152
109
|
*/
|
|
153
110
|
autoAttachEnabled?: boolean;
|
|
154
111
|
/**
|
|
@@ -186,9 +143,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
186
143
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
187
144
|
/**
|
|
188
145
|
* @remarks
|
|
189
|
-
* [
|
|
190
|
-
*
|
|
191
|
-
* The network bandwidth of the enhanced edge node pool. Unit: Mbps.
|
|
146
|
+
* **[Deprecated]**
|
|
192
147
|
*
|
|
193
148
|
* @example
|
|
194
149
|
* null
|
|
@@ -196,9 +151,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
196
151
|
bandwidth?: number;
|
|
197
152
|
/**
|
|
198
153
|
* @remarks
|
|
199
|
-
* [
|
|
200
|
-
*
|
|
201
|
-
* The Cloud Connect Network (CCN) instance ID bound to the enhanced edge node pool.
|
|
154
|
+
* **[Deprecated]**
|
|
202
155
|
*
|
|
203
156
|
* @example
|
|
204
157
|
* null
|
|
@@ -206,9 +159,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
206
159
|
ccnId?: string;
|
|
207
160
|
/**
|
|
208
161
|
* @remarks
|
|
209
|
-
* [
|
|
210
|
-
*
|
|
211
|
-
* The region of the Cloud Connect Network instance bound to the enhanced edge node pool.
|
|
162
|
+
* **[Deprecated]**
|
|
212
163
|
*
|
|
213
164
|
* @example
|
|
214
165
|
* null
|
|
@@ -216,9 +167,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
216
167
|
ccnRegionId?: string;
|
|
217
168
|
/**
|
|
218
169
|
* @remarks
|
|
219
|
-
* [
|
|
220
|
-
*
|
|
221
|
-
* The Cloud Enterprise Network (CEN) instance ID bound to the enhanced edge node pool.
|
|
170
|
+
* **[Deprecated]**
|
|
222
171
|
*
|
|
223
172
|
* @example
|
|
224
173
|
* null
|
|
@@ -226,9 +175,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
226
175
|
cenId?: string;
|
|
227
176
|
/**
|
|
228
177
|
* @remarks
|
|
229
|
-
* [
|
|
230
|
-
*
|
|
231
|
-
* The subscription duration of the enhanced edge node pool. Unit: months.
|
|
178
|
+
* **[Deprecated]**
|
|
232
179
|
*
|
|
233
180
|
* @example
|
|
234
181
|
* null
|
|
@@ -248,7 +195,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
248
195
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
249
196
|
/**
|
|
250
197
|
* @remarks
|
|
251
|
-
* Specifies whether to install the CloudMonitor agent 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:
|
|
252
199
|
*
|
|
253
200
|
* - `true`: Installs the CloudMonitor agent on ECS nodes.
|
|
254
201
|
*
|
|
@@ -262,12 +209,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
262
209
|
cmsEnabled?: boolean;
|
|
263
210
|
/**
|
|
264
211
|
* @remarks
|
|
265
|
-
* The
|
|
266
|
-
*
|
|
267
|
-
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
268
|
-
* - `none`: Enables the existing default CPU affinity scheme.
|
|
269
|
-
*
|
|
270
|
-
* 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:
|
|
271
213
|
*
|
|
272
214
|
* @example
|
|
273
215
|
* none
|
|
@@ -275,27 +217,12 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
275
217
|
cpuPolicy?: string;
|
|
276
218
|
/**
|
|
277
219
|
* @remarks
|
|
278
|
-
* The node labels.
|
|
220
|
+
* The node labels. You can add labels to nodes in the Kubernetes cluster.
|
|
279
221
|
*/
|
|
280
222
|
labels?: Tag[];
|
|
281
223
|
/**
|
|
282
224
|
* @remarks
|
|
283
|
-
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are all changed.
|
|
284
|
-
* > 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.
|
|
285
|
-
*
|
|
286
|
-
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
287
|
-
*
|
|
288
|
-
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or digit.
|
|
289
|
-
*
|
|
290
|
-
* - 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.
|
|
291
|
-
* - The prefix is required (ECS restriction). The suffix is optional.
|
|
292
|
-
* - The node IP is the full private IP address of the node.
|
|
293
|
-
*
|
|
294
|
-
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
295
|
-
*
|
|
296
|
-
* - For a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
297
|
-
*
|
|
298
|
-
* - For a Windows node, 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.
|
|
299
226
|
*
|
|
300
227
|
* @example
|
|
301
228
|
* aliyun.com192.XX.YY.55test
|
|
@@ -303,7 +230,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
303
230
|
nodeNameMode?: string;
|
|
304
231
|
/**
|
|
305
232
|
* @remarks
|
|
306
|
-
* The instance pre-
|
|
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).
|
|
307
234
|
*
|
|
308
235
|
* @example
|
|
309
236
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -311,13 +238,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
311
238
|
preUserData?: string;
|
|
312
239
|
/**
|
|
313
240
|
* @remarks
|
|
314
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
315
|
-
*
|
|
316
|
-
* - containerd: Recommended. Supports all cluster versions.
|
|
317
|
-
* - Sandboxed-Container.runv: Sandboxed container that provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
318
|
-
* - docker: No longer maintained. Supports cluster versions 1.22 and earlier.
|
|
319
|
-
*
|
|
320
|
-
* Default value: containerd.
|
|
241
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
321
242
|
*
|
|
322
243
|
* @example
|
|
323
244
|
* containerd
|
|
@@ -338,11 +259,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
338
259
|
taints?: Taint[];
|
|
339
260
|
/**
|
|
340
261
|
* @remarks
|
|
341
|
-
* Specifies whether scaled-out nodes are unschedulable.
|
|
342
|
-
*
|
|
343
|
-
* - true: Unschedulable.
|
|
344
|
-
*
|
|
345
|
-
* - false: Schedulable.
|
|
262
|
+
* Specifies whether the scaled-out nodes are unschedulable.
|
|
346
263
|
*
|
|
347
264
|
* @example
|
|
348
265
|
* true
|
|
@@ -370,27 +287,28 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
370
287
|
export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dara.Model {
|
|
371
288
|
/**
|
|
372
289
|
* @remarks
|
|
373
|
-
* Specifies whether
|
|
290
|
+
* Specifies whether manual approval is required for node repair.
|
|
374
291
|
*/
|
|
375
292
|
approvalRequired?: boolean;
|
|
376
293
|
/**
|
|
294
|
+
* @remarks
|
|
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.
|
|
296
|
+
*
|
|
377
297
|
* @example
|
|
378
298
|
* 5
|
|
379
299
|
*/
|
|
380
300
|
maxParallelRepairingNodes?: string;
|
|
381
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%.
|
|
304
|
+
*
|
|
382
305
|
* @example
|
|
383
306
|
* 20%
|
|
384
307
|
*/
|
|
385
308
|
maxUnhealthyNodesThreshold?: string;
|
|
386
309
|
/**
|
|
387
310
|
* @remarks
|
|
388
|
-
* Specifies whether to allow node
|
|
389
|
-
*
|
|
390
|
-
* - `true`: allows node restart.
|
|
391
|
-
* - `false`: does not allow node restart.
|
|
392
|
-
*
|
|
393
|
-
* Default value: `true`.
|
|
311
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
394
312
|
*
|
|
395
313
|
* @example
|
|
396
314
|
* true
|
|
@@ -411,10 +329,6 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
411
329
|
/**
|
|
412
330
|
* @remarks
|
|
413
331
|
* Specifies whether to allow automatic kubelet upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
414
|
-
* - `true`: allows automatic kubelet upgrade.
|
|
415
|
-
* - `false`: does not allow automatic kubelet upgrade.
|
|
416
|
-
*
|
|
417
|
-
* Default value: `true`.
|
|
418
332
|
*
|
|
419
333
|
* @example
|
|
420
334
|
* true
|
|
@@ -423,11 +337,6 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
423
337
|
/**
|
|
424
338
|
* @remarks
|
|
425
339
|
* Specifies whether to allow automatic operating system upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
426
|
-
* - `true`: allows automatic OS upgrade.
|
|
427
|
-
* - `false`: does not allow automatic OS upgrade.
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
* Default value: `false`.
|
|
431
340
|
*
|
|
432
341
|
* @example
|
|
433
342
|
* false
|
|
@@ -436,10 +345,6 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
436
345
|
/**
|
|
437
346
|
* @remarks
|
|
438
347
|
* Specifies whether to allow automatic runtime upgrade. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
439
|
-
* - `true`: allows automatic runtime upgrade.
|
|
440
|
-
* - `false`: does not allow automatic runtime upgrade.
|
|
441
|
-
*
|
|
442
|
-
* Default value: `true`.
|
|
443
348
|
*
|
|
444
349
|
* @example
|
|
445
350
|
* false
|
|
@@ -459,9 +364,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
459
364
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
460
365
|
/**
|
|
461
366
|
* @remarks
|
|
462
|
-
* The packages to exclude during vulnerability
|
|
463
|
-
*
|
|
464
|
-
* Default value: `kernel`.
|
|
367
|
+
* The packages to exclude during vulnerability fix.
|
|
465
368
|
*
|
|
466
369
|
* @example
|
|
467
370
|
* kernel
|
|
@@ -469,9 +372,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
469
372
|
excludePackages?: string;
|
|
470
373
|
/**
|
|
471
374
|
* @remarks
|
|
472
|
-
* Specifies whether to allow node
|
|
473
|
-
* - `true`:
|
|
474
|
-
* - `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.
|
|
475
378
|
*
|
|
476
379
|
* Default value: `true`.
|
|
477
380
|
*
|
|
@@ -481,13 +384,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
481
384
|
restartNode?: boolean;
|
|
482
385
|
/**
|
|
483
386
|
* @remarks
|
|
484
|
-
* The vulnerability levels allowed for automatic
|
|
485
|
-
*
|
|
486
|
-
* - `asap`: high
|
|
487
|
-
* - `later`: medium
|
|
488
|
-
* - `nntf`: low
|
|
489
|
-
*
|
|
490
|
-
* Default value: `asap`.
|
|
387
|
+
* The vulnerability levels allowed for automatic fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
491
388
|
*
|
|
492
389
|
* @example
|
|
493
390
|
* asap,nntf
|
|
@@ -507,13 +404,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
507
404
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
508
405
|
/**
|
|
509
406
|
* @remarks
|
|
510
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
511
|
-
*
|
|
512
|
-
* Specifies whether to enable auto upgrade. Valid values:
|
|
513
|
-
*
|
|
514
|
-
* - `true`: enables auto upgrade.
|
|
515
|
-
*
|
|
516
|
-
* - `false`: disables auto upgrade.
|
|
407
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
517
408
|
*
|
|
518
409
|
* @example
|
|
519
410
|
* null
|
|
@@ -524,9 +415,6 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
524
415
|
/**
|
|
525
416
|
* @remarks
|
|
526
417
|
* The maximum number of unavailable nodes.
|
|
527
|
-
* Valid values: [1,1000\\].
|
|
528
|
-
*
|
|
529
|
-
* Default value: 1.
|
|
530
418
|
*
|
|
531
419
|
* @example
|
|
532
420
|
* 1
|
|
@@ -534,11 +422,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
534
422
|
maxUnavailable?: number;
|
|
535
423
|
/**
|
|
536
424
|
* @remarks
|
|
537
|
-
* The number of extra nodes.
|
|
538
|
-
*
|
|
539
|
-
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster workload.
|
|
540
|
-
*
|
|
541
|
-
* > 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`.
|
|
542
426
|
*
|
|
543
427
|
* @example
|
|
544
428
|
* 0
|
|
@@ -546,9 +430,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
546
430
|
surge?: number;
|
|
547
431
|
/**
|
|
548
432
|
* @remarks
|
|
549
|
-
* The percentage of extra nodes.
|
|
550
|
-
*
|
|
551
|
-
* 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`.
|
|
552
434
|
*
|
|
553
435
|
* @example
|
|
554
436
|
* 0
|
|
@@ -573,13 +455,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
573
455
|
autoFaultDiagnosis?: boolean;
|
|
574
456
|
/**
|
|
575
457
|
* @remarks
|
|
576
|
-
* Specifies whether to
|
|
577
|
-
*
|
|
578
|
-
* - `true`: automatically repairs nodes.
|
|
579
|
-
*
|
|
580
|
-
* - `false`: does not automatically repair nodes.
|
|
581
|
-
*
|
|
582
|
-
* Default value: `true`.
|
|
458
|
+
* Specifies whether to enable automatic node repair. This parameter takes effect only when `enable=true`.
|
|
583
459
|
*
|
|
584
460
|
* @example
|
|
585
461
|
* true
|
|
@@ -587,16 +463,12 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
587
463
|
autoRepair?: boolean;
|
|
588
464
|
/**
|
|
589
465
|
* @remarks
|
|
590
|
-
* The
|
|
466
|
+
* The automatic node repair policy.
|
|
591
467
|
*/
|
|
592
468
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
593
469
|
/**
|
|
594
470
|
* @remarks
|
|
595
|
-
* Specifies whether to
|
|
596
|
-
* - `true`: enables auto upgrade.
|
|
597
|
-
* - `false`: disables auto upgrade.
|
|
598
|
-
*
|
|
599
|
-
* Default value: `true`.
|
|
471
|
+
* Specifies whether to enable automatic node upgrade. This parameter takes effect only when `enable=true`.
|
|
600
472
|
*
|
|
601
473
|
* @example
|
|
602
474
|
* true
|
|
@@ -604,17 +476,12 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
604
476
|
autoUpgrade?: boolean;
|
|
605
477
|
/**
|
|
606
478
|
* @remarks
|
|
607
|
-
* The
|
|
479
|
+
* The automatic node upgrade policy.
|
|
608
480
|
*/
|
|
609
481
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
610
482
|
/**
|
|
611
483
|
* @remarks
|
|
612
|
-
* Specifies whether to
|
|
613
|
-
*
|
|
614
|
-
* - `true`: allows automatic CVE fixing.
|
|
615
|
-
* - `false`: does not allow automatic CVE fixing.
|
|
616
|
-
*
|
|
617
|
-
* Default value: `true`.
|
|
484
|
+
* Specifies whether to enable automatic CVE vulnerability fix. This parameter takes effect only when `enable=true`.
|
|
618
485
|
*
|
|
619
486
|
* @example
|
|
620
487
|
* true
|
|
@@ -622,23 +489,17 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
622
489
|
autoVulFix?: boolean;
|
|
623
490
|
/**
|
|
624
491
|
* @remarks
|
|
625
|
-
* The
|
|
492
|
+
* The automatic CVE fix policy.
|
|
626
493
|
*/
|
|
627
494
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
628
495
|
/**
|
|
629
496
|
* @remarks
|
|
630
|
-
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default.
|
|
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.
|
|
631
498
|
*/
|
|
632
499
|
driftEnabled?: boolean;
|
|
633
500
|
/**
|
|
634
501
|
* @remarks
|
|
635
|
-
* Specifies whether to enable the managed
|
|
636
|
-
*
|
|
637
|
-
* - `true`: enables the managed feature.
|
|
638
|
-
*
|
|
639
|
-
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
640
|
-
*
|
|
641
|
-
* Default value: false.
|
|
502
|
+
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
642
503
|
*
|
|
643
504
|
* @example
|
|
644
505
|
* false
|
|
@@ -646,9 +507,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
646
507
|
enable?: boolean;
|
|
647
508
|
/**
|
|
648
509
|
* @remarks
|
|
649
|
-
* [Deprecated] Use the `auto_upgrade` parameter at the upper level instead.
|
|
510
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
650
511
|
*
|
|
651
|
-
* The
|
|
512
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
652
513
|
*
|
|
653
514
|
* @deprecated
|
|
654
515
|
*/
|
|
@@ -667,7 +528,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
667
528
|
export declare class CreateClusterNodePoolRequestNodeComponentsConfig extends $dara.Model {
|
|
668
529
|
/**
|
|
669
530
|
* @remarks
|
|
670
|
-
* The custom node component
|
|
531
|
+
* The custom configuration of the node component.
|
|
671
532
|
*
|
|
672
533
|
* @example
|
|
673
534
|
* {"cpuManagerPolicy":"static"}
|
|
@@ -749,9 +610,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
749
610
|
name?: string;
|
|
750
611
|
/**
|
|
751
612
|
* @remarks
|
|
752
|
-
* The resource group ID of the node pool. Instances
|
|
753
|
-
*
|
|
754
|
-
* 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.
|
|
755
614
|
*
|
|
756
615
|
* @example
|
|
757
616
|
* rg-acfmyvw3wjmb****
|
|
@@ -761,11 +620,6 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
761
620
|
* @remarks
|
|
762
621
|
* The node pool type. Valid values:
|
|
763
622
|
*
|
|
764
|
-
* - `ess`: standard node pool (includes managed features and automatic scaling).
|
|
765
|
-
* - `edge`: edge node pool.
|
|
766
|
-
* - `lingjun`: Lingjun node pool.
|
|
767
|
-
* - `hybrid`: hybrid cloud node pool.
|
|
768
|
-
*
|
|
769
623
|
* @example
|
|
770
624
|
* ess
|
|
771
625
|
*/
|
|
@@ -784,7 +638,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
784
638
|
export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
785
639
|
/**
|
|
786
640
|
* @remarks
|
|
787
|
-
* Specifies whether to enable nested virtualization. Valid values: disabled:
|
|
641
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
|
|
788
642
|
*
|
|
789
643
|
* @example
|
|
790
644
|
* enabled
|
|
@@ -812,10 +666,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
812
666
|
id?: string;
|
|
813
667
|
/**
|
|
814
668
|
* @remarks
|
|
815
|
-
* The private node pool
|
|
816
|
-
* - `Open`:
|
|
817
|
-
* - `Target`:
|
|
818
|
-
* - `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.
|
|
819
673
|
*
|
|
820
674
|
* @example
|
|
821
675
|
* Target
|
|
@@ -840,10 +694,12 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
840
694
|
privatePoolIds?: string[];
|
|
841
695
|
/**
|
|
842
696
|
* @remarks
|
|
843
|
-
* The resource pool strategy used when
|
|
844
|
-
*
|
|
845
|
-
*
|
|
846
|
-
*
|
|
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
|
+
*
|
|
847
703
|
* Default value: None.
|
|
848
704
|
*
|
|
849
705
|
* @example
|
|
@@ -864,7 +720,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
864
720
|
export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dara.Model {
|
|
865
721
|
/**
|
|
866
722
|
* @remarks
|
|
867
|
-
* The spot instance
|
|
723
|
+
* The instance type of the spot instance.
|
|
868
724
|
*
|
|
869
725
|
* @example
|
|
870
726
|
* ecs.c6.large
|
|
@@ -872,7 +728,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
872
728
|
instanceType?: string;
|
|
873
729
|
/**
|
|
874
730
|
* @remarks
|
|
875
|
-
* The maximum price
|
|
731
|
+
* The maximum price of a single instance.
|
|
876
732
|
* <props="china">Unit: CNY/hour.
|
|
877
733
|
*
|
|
878
734
|
*
|
|
@@ -927,22 +783,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
927
783
|
* @remarks
|
|
928
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:
|
|
929
785
|
*
|
|
930
|
-
* - `true`: enables auto-renewal.
|
|
931
|
-
* - `false`: disables auto-renewal.
|
|
932
|
-
*
|
|
933
|
-
* Default value: `false`.
|
|
934
|
-
*
|
|
935
786
|
* @example
|
|
936
787
|
* true
|
|
937
788
|
*/
|
|
938
789
|
autoRenew?: boolean;
|
|
939
790
|
/**
|
|
940
791
|
* @remarks
|
|
941
|
-
* The duration of
|
|
942
|
-
* - PeriodUnit=Week: 1, 2, 3.
|
|
943
|
-
* - PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
944
|
-
*
|
|
945
|
-
* Default value: 1.
|
|
792
|
+
* The duration of a single auto-renewal cycle. Valid values:
|
|
946
793
|
*
|
|
947
794
|
* @example
|
|
948
795
|
* 1
|
|
@@ -950,7 +797,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
950
797
|
autoRenewPeriod?: number;
|
|
951
798
|
/**
|
|
952
799
|
* @remarks
|
|
953
|
-
* [Deprecated] Use the security_hardening_os parameter instead.
|
|
800
|
+
* **[Deprecated]** Use the security_hardening_os parameter instead.
|
|
954
801
|
*
|
|
955
802
|
* @example
|
|
956
803
|
* null
|
|
@@ -960,10 +807,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
960
807
|
cisEnabled?: boolean;
|
|
961
808
|
/**
|
|
962
809
|
* @remarks
|
|
963
|
-
*
|
|
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:
|
|
964
811
|
*
|
|
965
|
-
* - `true`: Allows automatic creation of pay-as-you-go instances to meet
|
|
966
|
-
* - `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.
|
|
967
814
|
*
|
|
968
815
|
* @example
|
|
969
816
|
* true
|
|
@@ -976,15 +823,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
976
823
|
cpuOptions?: CreateClusterNodePoolRequestScalingGroupCpuOptions;
|
|
977
824
|
/**
|
|
978
825
|
* @remarks
|
|
979
|
-
* The data cloud disk
|
|
826
|
+
* The data cloud disk configurations for nodes in the node pool.
|
|
980
827
|
*/
|
|
981
828
|
dataDisks?: DataDisk[];
|
|
982
829
|
/**
|
|
983
830
|
* @remarks
|
|
984
|
-
* The deployment set ID. You can use a deployment set to distribute ECS instances scaled out by the node pool across different physical servers
|
|
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.
|
|
985
832
|
*
|
|
986
833
|
*
|
|
987
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports
|
|
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.
|
|
988
835
|
*
|
|
989
836
|
* @example
|
|
990
837
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -994,8 +841,6 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
994
841
|
* @remarks
|
|
995
842
|
* The desired number of nodes in the node pool.
|
|
996
843
|
*
|
|
997
|
-
* The total number of nodes.
|
|
998
|
-
*
|
|
999
844
|
* @example
|
|
1000
845
|
* 0
|
|
1001
846
|
*/
|
|
@@ -1005,6 +850,14 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1005
850
|
* The block device initialization configuration.
|
|
1006
851
|
*/
|
|
1007
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;
|
|
1008
861
|
/**
|
|
1009
862
|
* @remarks
|
|
1010
863
|
* The custom image ID. The system-provided image is used by default.
|
|
@@ -1015,18 +868,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1015
868
|
imageId?: string;
|
|
1016
869
|
/**
|
|
1017
870
|
* @remarks
|
|
1018
|
-
* The operating system image
|
|
1019
|
-
*
|
|
1020
|
-
* - `AliyunLinux`: Alinux2 image.
|
|
1021
|
-
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
1022
|
-
* - `AliyunLinux3`: Alinux3 image.
|
|
1023
|
-
* - `AliyunLinux3Arm64`: Alinux3 ARM image.
|
|
1024
|
-
* - `AliyunLinux3Security`: Alinux3 UEFI image.
|
|
1025
|
-
* - `CentOS`: CentOS image.
|
|
1026
|
-
* - `Windows`: Windows image.
|
|
1027
|
-
* - `WindowsCore`: WindowsCore image.
|
|
1028
|
-
* - `ContainerOS`: container-optimized image.
|
|
1029
|
-
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
871
|
+
* The type of operating system image. Valid values:
|
|
1030
872
|
*
|
|
1031
873
|
* @example
|
|
1032
874
|
* AliyunLinux3
|
|
@@ -1036,12 +878,6 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1036
878
|
* @remarks
|
|
1037
879
|
* The billing method of nodes in the node pool. Valid values:
|
|
1038
880
|
*
|
|
1039
|
-
* - `PrePaid`: subscription.
|
|
1040
|
-
*
|
|
1041
|
-
* - `PostPaid`: pay-as-you-go.
|
|
1042
|
-
*
|
|
1043
|
-
* Default value: `PostPaid`.
|
|
1044
|
-
*
|
|
1045
881
|
* This parameter is required.
|
|
1046
882
|
*
|
|
1047
883
|
* @example
|
|
@@ -1060,10 +896,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1060
896
|
instancePatterns?: InstancePatterns[];
|
|
1061
897
|
/**
|
|
1062
898
|
* @remarks
|
|
1063
|
-
* The list of instance types for the node pool. When the node pool scales out,
|
|
1064
|
-
*
|
|
1065
|
-
* The number of supported instance types ranges from 1 to 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.
|
|
1066
900
|
*
|
|
901
|
+
* Number of supported instance types: [1, 10].
|
|
1067
902
|
*
|
|
1068
903
|
* > To ensure high availability, select multiple instance types.
|
|
1069
904
|
*
|
|
@@ -1075,7 +910,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1075
910
|
* The billing method for public IP addresses. Valid values:
|
|
1076
911
|
*
|
|
1077
912
|
* - PayByBandwidth: pay-by-bandwidth.
|
|
1078
|
-
* - PayByTraffic: pay-by-
|
|
913
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1079
914
|
*
|
|
1080
915
|
* @example
|
|
1081
916
|
* PayByTraffic
|
|
@@ -1083,7 +918,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1083
918
|
internetChargeType?: string;
|
|
1084
919
|
/**
|
|
1085
920
|
* @remarks
|
|
1086
|
-
* The maximum outbound
|
|
921
|
+
* The maximum outbound bandwidth for the public IP of nodes. Unit: Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
1087
922
|
*
|
|
1088
923
|
* @example
|
|
1089
924
|
* 5
|
|
@@ -1091,9 +926,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1091
926
|
internetMaxBandwidthOut?: number;
|
|
1092
927
|
/**
|
|
1093
928
|
* @remarks
|
|
1094
|
-
* The name of the key pair for password-free logon.
|
|
1095
|
-
*
|
|
1096
|
-
* >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`.
|
|
1097
930
|
*
|
|
1098
931
|
* @example
|
|
1099
932
|
* np-key-name
|
|
@@ -1101,11 +934,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1101
934
|
keyPair?: string;
|
|
1102
935
|
/**
|
|
1103
936
|
* @remarks
|
|
1104
|
-
* Specifies whether ECS instances
|
|
937
|
+
* Specifies whether to log on to the scaled-out ECS instances as a non-root user.
|
|
1105
938
|
*
|
|
1106
|
-
* - true:
|
|
939
|
+
* - true: Log on as a non-root user (ecs-user).
|
|
1107
940
|
*
|
|
1108
|
-
* - false:
|
|
941
|
+
* - false: Log on as the root user.
|
|
1109
942
|
*
|
|
1110
943
|
* @example
|
|
1111
944
|
* true
|
|
@@ -1113,7 +946,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1113
946
|
loginAsNonRoot?: boolean;
|
|
1114
947
|
/**
|
|
1115
948
|
* @remarks
|
|
1116
|
-
* 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.
|
|
1117
950
|
*
|
|
1118
951
|
* @example
|
|
1119
952
|
* ****
|
|
@@ -1123,13 +956,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1123
956
|
* @remarks
|
|
1124
957
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
1125
958
|
*
|
|
1126
|
-
* - `PRIORITY`: Scales 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.
|
|
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.
|
|
1127
960
|
*
|
|
1128
|
-
* - `COST_OPTIMIZED`: Attempts to create instances in
|
|
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.
|
|
1129
962
|
*
|
|
1130
|
-
* >`COST_OPTIMIZED` takes effect only when the scaling configuration
|
|
963
|
+
* >`COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1131
964
|
*
|
|
1132
|
-
* - `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.
|
|
1133
966
|
*
|
|
1134
967
|
* Default value: `PRIORITY`.
|
|
1135
968
|
*
|
|
@@ -1139,7 +972,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1139
972
|
multiAzPolicy?: string;
|
|
1140
973
|
/**
|
|
1141
974
|
* @remarks
|
|
1142
|
-
* 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.
|
|
1143
976
|
*
|
|
1144
977
|
* @example
|
|
1145
978
|
* 0
|
|
@@ -1147,7 +980,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1147
980
|
onDemandBaseCapacity?: number;
|
|
1148
981
|
/**
|
|
1149
982
|
* @remarks
|
|
1150
|
-
* The percentage of pay-as-you-go instances among the
|
|
983
|
+
* The percentage of pay-as-you-go instances among the extra instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
1151
984
|
*
|
|
1152
985
|
* @example
|
|
1153
986
|
* 20
|
|
@@ -1157,21 +990,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1157
990
|
* @remarks
|
|
1158
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`.
|
|
1159
992
|
*
|
|
1160
|
-
* - When `period_unit=Week`, valid values of `period`: {1, 2, 3, 4}.
|
|
1161
|
-
* - When `period_unit=Month`, valid values of `period`: {1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, 60}.
|
|
1162
|
-
*
|
|
1163
993
|
* @example
|
|
1164
994
|
* 1
|
|
1165
995
|
*/
|
|
1166
996
|
period?: number;
|
|
1167
997
|
/**
|
|
1168
998
|
* @remarks
|
|
1169
|
-
* The
|
|
1170
|
-
*
|
|
1171
|
-
* - `Month`: uses month as the billing unit.
|
|
1172
|
-
* - `Week`: uses week as the billing unit.
|
|
1173
|
-
*
|
|
1174
|
-
* 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`.
|
|
1175
1000
|
*
|
|
1176
1001
|
* @example
|
|
1177
1002
|
* Month
|
|
@@ -1179,15 +1004,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1179
1004
|
periodUnit?: string;
|
|
1180
1005
|
/**
|
|
1181
1006
|
* @remarks
|
|
1182
|
-
* [
|
|
1183
|
-
*
|
|
1184
|
-
* The operating system distribution. Valid values:
|
|
1185
|
-
* - `CentOS`
|
|
1186
|
-
* - `AliyunLinux`
|
|
1187
|
-
* - `Windows`
|
|
1188
|
-
* - `WindowsCore`
|
|
1189
|
-
*
|
|
1190
|
-
* Default value: `AliyunLinux`.
|
|
1007
|
+
* **[Deprecated]** Use the `image_type` parameter instead.
|
|
1191
1008
|
*
|
|
1192
1009
|
* @example
|
|
1193
1010
|
* null
|
|
@@ -1202,12 +1019,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1202
1019
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1203
1020
|
/**
|
|
1204
1021
|
* @remarks
|
|
1205
|
-
* The
|
|
1022
|
+
* The name of the worker RAM role.
|
|
1206
1023
|
*
|
|
1207
|
-
* * If left empty, the default
|
|
1208
|
-
* * 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-`.
|
|
1209
1026
|
*
|
|
1210
|
-
* >Notice:
|
|
1027
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 or later.</notice>
|
|
1211
1028
|
*
|
|
1212
1029
|
* @example
|
|
1213
1030
|
* example-role
|
|
@@ -1215,25 +1032,18 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1215
1032
|
ramRoleName?: string;
|
|
1216
1033
|
/**
|
|
1217
1034
|
* @remarks
|
|
1218
|
-
* The list of
|
|
1035
|
+
* The list of RDS instances.
|
|
1219
1036
|
*/
|
|
1220
1037
|
rdsInstances?: string[];
|
|
1221
1038
|
/**
|
|
1222
1039
|
* @remarks
|
|
1223
|
-
* The resource pool and resource pool
|
|
1224
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
1225
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1040
|
+
* The resource pool and resource pool policy used when creating instances. After you set this parameter, note the following:
|
|
1226
1041
|
*/
|
|
1227
1042
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1228
1043
|
/**
|
|
1229
1044
|
* @remarks
|
|
1230
1045
|
* The scaling group mode. Valid values:
|
|
1231
1046
|
*
|
|
1232
|
-
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
1233
|
-
* - `recycle`: Swift mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations. Stopped instances are not charged for compute resources but are charged for storage, except for instances with local disks.
|
|
1234
|
-
*
|
|
1235
|
-
* Default value: `release`.
|
|
1236
|
-
*
|
|
1237
1047
|
* @example
|
|
1238
1048
|
* release
|
|
1239
1049
|
*/
|
|
@@ -1250,17 +1060,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1250
1060
|
securityGroupId?: string;
|
|
1251
1061
|
/**
|
|
1252
1062
|
* @remarks
|
|
1253
|
-
* 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.
|
|
1254
1064
|
*/
|
|
1255
1065
|
securityGroupIds?: string[];
|
|
1256
1066
|
/**
|
|
1257
1067
|
* @remarks
|
|
1258
|
-
*
|
|
1259
|
-
*
|
|
1260
|
-
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1261
|
-
* - `false`: disables Alibaba Cloud OS security hardening.
|
|
1262
|
-
*
|
|
1263
|
-
* Default value: `false`.
|
|
1068
|
+
* Alibaba Cloud OS security hardening. Valid values:
|
|
1264
1069
|
*
|
|
1265
1070
|
* @example
|
|
1266
1071
|
* false
|
|
@@ -1268,7 +1073,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1268
1073
|
securityHardeningOs?: boolean;
|
|
1269
1074
|
/**
|
|
1270
1075
|
* @remarks
|
|
1271
|
-
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
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.
|
|
1272
1077
|
*
|
|
1273
1078
|
* @example
|
|
1274
1079
|
* false
|
|
@@ -1276,7 +1081,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1276
1081
|
socEnabled?: boolean;
|
|
1277
1082
|
/**
|
|
1278
1083
|
* @remarks
|
|
1279
|
-
* 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\\].
|
|
1280
1085
|
*
|
|
1281
1086
|
* @example
|
|
1282
1087
|
* 5
|
|
@@ -1284,10 +1089,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1284
1089
|
spotInstancePools?: number;
|
|
1285
1090
|
/**
|
|
1286
1091
|
* @remarks
|
|
1287
|
-
* Specifies whether to enable
|
|
1288
|
-
*
|
|
1289
|
-
* - `true`: Enables supplementing spot instances.
|
|
1290
|
-
* - `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:
|
|
1291
1093
|
*
|
|
1292
1094
|
* @example
|
|
1293
1095
|
* false
|
|
@@ -1295,20 +1097,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1295
1097
|
spotInstanceRemedy?: boolean;
|
|
1296
1098
|
/**
|
|
1297
1099
|
* @remarks
|
|
1298
|
-
* The price limit
|
|
1100
|
+
* The price limit configurations for a single spot instance of the current instance type.
|
|
1299
1101
|
*/
|
|
1300
1102
|
spotPriceLimit?: CreateClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
1301
1103
|
/**
|
|
1302
1104
|
* @remarks
|
|
1303
|
-
* The
|
|
1304
|
-
*
|
|
1305
|
-
* - `NoSpot`: non-spot instance.
|
|
1306
|
-
*
|
|
1307
|
-
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1308
|
-
*
|
|
1309
|
-
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
1310
|
-
*
|
|
1311
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1105
|
+
* The type of spot instance. Valid values:
|
|
1312
1106
|
*
|
|
1313
1107
|
* @example
|
|
1314
1108
|
* NoSpot
|
|
@@ -1317,10 +1111,6 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1317
1111
|
/**
|
|
1318
1112
|
* @remarks
|
|
1319
1113
|
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
1320
|
-
* - true: enables burst.
|
|
1321
|
-
* - false: disables burst.
|
|
1322
|
-
*
|
|
1323
|
-
* 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).
|
|
1324
1114
|
*
|
|
1325
1115
|
* @example
|
|
1326
1116
|
* true
|
|
@@ -1328,17 +1118,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1328
1118
|
systemDiskBurstingEnabled?: boolean;
|
|
1329
1119
|
/**
|
|
1330
1120
|
* @remarks
|
|
1331
|
-
* 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.
|
|
1332
1122
|
*/
|
|
1333
1123
|
systemDiskCategories?: string[];
|
|
1334
1124
|
/**
|
|
1335
1125
|
* @remarks
|
|
1336
|
-
* The system cloud disk
|
|
1126
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
1337
1127
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
1338
1128
|
* - `cloud_ssd`: standard SSD.
|
|
1339
1129
|
* - `cloud_essd`: ESSD.
|
|
1340
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
1341
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
1130
|
+
* - `cloud_auto`: ESSD AutoPL.
|
|
1131
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1342
1132
|
*
|
|
1343
1133
|
* Default value: `cloud_efficiency`.
|
|
1344
1134
|
*
|
|
@@ -1348,7 +1138,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1348
1138
|
systemDiskCategory?: string;
|
|
1349
1139
|
/**
|
|
1350
1140
|
* @remarks
|
|
1351
|
-
* The encryption algorithm
|
|
1141
|
+
* The encryption algorithm used by the system cloud disk. Valid values: aes-256.
|
|
1352
1142
|
*
|
|
1353
1143
|
* @example
|
|
1354
1144
|
* aes-256
|
|
@@ -1358,10 +1148,6 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1358
1148
|
* @remarks
|
|
1359
1149
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1360
1150
|
*
|
|
1361
|
-
* - true: encrypts the system cloud disk.
|
|
1362
|
-
*
|
|
1363
|
-
* - false: does not encrypt the system cloud disk.
|
|
1364
|
-
*
|
|
1365
1151
|
* @example
|
|
1366
1152
|
* false
|
|
1367
1153
|
*/
|
|
@@ -1376,11 +1162,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1376
1162
|
systemDiskKmsKeyId?: string;
|
|
1377
1163
|
/**
|
|
1378
1164
|
* @remarks
|
|
1379
|
-
* The performance level of the
|
|
1380
|
-
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1381
|
-
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1382
|
-
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1383
|
-
* - 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).
|
|
1384
1166
|
*
|
|
1385
1167
|
* @example
|
|
1386
1168
|
* PL1
|
|
@@ -1388,11 +1170,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1388
1170
|
systemDiskPerformanceLevel?: string;
|
|
1389
1171
|
/**
|
|
1390
1172
|
* @remarks
|
|
1391
|
-
* The provisioned read/write IOPS
|
|
1392
|
-
*
|
|
1393
|
-
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1394
|
-
*
|
|
1395
|
-
* 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.
|
|
1396
1174
|
*
|
|
1397
1175
|
* @example
|
|
1398
1176
|
* 1000
|
|
@@ -1400,9 +1178,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1400
1178
|
systemDiskProvisionedIops?: number;
|
|
1401
1179
|
/**
|
|
1402
1180
|
* @remarks
|
|
1403
|
-
* The system cloud disk
|
|
1404
|
-
*
|
|
1405
|
-
* Valid values: [20,2048\\].
|
|
1181
|
+
* The size of the system cloud disk for nodes. Unit: GiB.
|
|
1406
1182
|
*
|
|
1407
1183
|
* @example
|
|
1408
1184
|
* 120
|
|
@@ -1418,9 +1194,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1418
1194
|
systemDiskSnapshotPolicyId?: string;
|
|
1419
1195
|
/**
|
|
1420
1196
|
* @remarks
|
|
1421
|
-
* Tags added only to ECS instances.
|
|
1422
|
-
*
|
|
1423
|
-
* 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.
|
|
1424
1198
|
*/
|
|
1425
1199
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1426
1200
|
/**
|
|
@@ -1446,11 +1220,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1446
1220
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1447
1221
|
/**
|
|
1448
1222
|
* @remarks
|
|
1449
|
-
* Specifies whether to enable confidential computing
|
|
1450
|
-
*
|
|
1451
|
-
* - true: Enables confidential computing.
|
|
1452
|
-
*
|
|
1453
|
-
* - false: Disables confidential computing.
|
|
1223
|
+
* Specifies whether to enable the confidential computing cluster.
|
|
1454
1224
|
*
|
|
1455
1225
|
* @example
|
|
1456
1226
|
* true
|
|
@@ -1480,9 +1250,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1480
1250
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1481
1251
|
/**
|
|
1482
1252
|
* @remarks
|
|
1483
|
-
* [
|
|
1484
|
-
*
|
|
1485
|
-
* The number of nodes in the node pool.
|
|
1253
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1486
1254
|
*
|
|
1487
1255
|
* @example
|
|
1488
1256
|
* null
|
|
@@ -1497,9 +1265,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1497
1265
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1498
1266
|
/**
|
|
1499
1267
|
* @remarks
|
|
1500
|
-
* Specifies whether the
|
|
1501
|
-
* - `true`: Host network. Pods directly use the host network stack and share the IP address and ports with the host.
|
|
1502
|
-
* - `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.
|
|
1503
1269
|
*
|
|
1504
1270
|
* @example
|
|
1505
1271
|
* true
|
|
@@ -1507,19 +1273,14 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1507
1273
|
hostNetwork?: boolean;
|
|
1508
1274
|
/**
|
|
1509
1275
|
* @remarks
|
|
1510
|
-
* [
|
|
1511
|
-
*
|
|
1512
|
-
* The edge node pool configuration.
|
|
1276
|
+
* **[Deprecated]**
|
|
1513
1277
|
*
|
|
1514
1278
|
* @deprecated
|
|
1515
1279
|
*/
|
|
1516
1280
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1517
1281
|
/**
|
|
1518
1282
|
* @remarks
|
|
1519
|
-
* The network type of the edge node pool. This parameter takes effect only for node pools
|
|
1520
|
-
*
|
|
1521
|
-
* - `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.
|
|
1522
|
-
* - `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:
|
|
1523
1284
|
*
|
|
1524
1285
|
* @example
|
|
1525
1286
|
* basic
|
|
@@ -1528,8 +1289,6 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1528
1289
|
/**
|
|
1529
1290
|
* @remarks
|
|
1530
1291
|
* Specifies whether nodes in the edge node pool have Layer 3 network connectivity with each other.
|
|
1531
|
-
* - `true`: Connected. All nodes in the node pool have Layer 3 network connectivity with each other.
|
|
1532
|
-
* - `false`: Not connected. All nodes in the node pool do not have Layer 3 network connectivity with each other.
|
|
1533
1292
|
*
|
|
1534
1293
|
* @example
|
|
1535
1294
|
* true
|
|
@@ -1542,14 +1301,12 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1542
1301
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1543
1302
|
/**
|
|
1544
1303
|
* @remarks
|
|
1545
|
-
* The managed node pool
|
|
1304
|
+
* The configuration of the managed node pool feature.
|
|
1546
1305
|
*/
|
|
1547
1306
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1548
1307
|
/**
|
|
1549
1308
|
* @remarks
|
|
1550
|
-
* [
|
|
1551
|
-
*
|
|
1552
|
-
* The maximum number of nodes allowed in the edge node pool.
|
|
1309
|
+
* **[Deprecated]**
|
|
1553
1310
|
*
|
|
1554
1311
|
* @example
|
|
1555
1312
|
* null
|