@alicloud/cs20151215 7.2.3 → 7.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +14 -14
- package/dist/client.js +14 -14
- package/dist/models/CreateClusterNodePoolRequest.d.ts +222 -234
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/DescribeAutoRepairPolicyResponseBody.d.ts +21 -11
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js +2 -0
- package/dist/models/DescribeAutoRepairPolicyResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribePolicyGovernanceInClusterResponseBody.d.ts +18 -18
- package/dist/models/ListAutoRepairPoliciesResponseBody.d.ts +19 -9
- package/dist/models/ListAutoRepairPoliciesResponseBody.js +2 -0
- package/dist/models/ListAutoRepairPoliciesResponseBody.js.map +1 -1
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -14
- package/src/models/CreateClusterNodePoolRequest.ts +224 -234
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +18 -18
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +21 -9
- package/src/models/Nodepool.ts +152 -202
|
@@ -32,7 +32,9 @@ export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
32
32
|
export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
35
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
36
|
+
*
|
|
37
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
36
38
|
*
|
|
37
39
|
* @example
|
|
38
40
|
* null
|
|
@@ -42,10 +44,13 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
42
44
|
eipBandwidth?: number;
|
|
43
45
|
/**
|
|
44
46
|
* @remarks
|
|
45
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
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-data-transfer.
|
|
52
|
+
*
|
|
53
|
+
* Default value: `PayByBandwidth`.
|
|
49
54
|
*
|
|
50
55
|
* @example
|
|
51
56
|
* null
|
|
@@ -56,10 +61,14 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
56
61
|
/**
|
|
57
62
|
* @remarks
|
|
58
63
|
* Specifies whether to enable auto scaling. Valid values:
|
|
59
|
-
*
|
|
60
|
-
* -
|
|
61
|
-
*
|
|
62
|
-
*
|
|
64
|
+
*
|
|
65
|
+
* - `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales node resources based on the configured minimum and maximum numbers of instances. For clusters of version 1.24 and later, node instant elasticity is enabled by default. For clusters earlier than version 1.24, node auto scaling is enabled by default. For more information, see [Node auto scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
66
|
+
*
|
|
67
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes to keep the number of nodes at the expected value.
|
|
68
|
+
*
|
|
69
|
+
* If this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
70
|
+
*
|
|
71
|
+
* Default value: `false`.
|
|
63
72
|
*
|
|
64
73
|
* @example
|
|
65
74
|
* false
|
|
@@ -67,10 +76,15 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
67
76
|
enable?: boolean;
|
|
68
77
|
/**
|
|
69
78
|
* @remarks
|
|
70
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
71
|
-
*
|
|
72
|
-
*
|
|
73
|
-
*
|
|
79
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
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`.
|
|
74
88
|
*
|
|
75
89
|
* @example
|
|
76
90
|
* null
|
|
@@ -80,7 +94,8 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
80
94
|
isBondEip?: boolean;
|
|
81
95
|
/**
|
|
82
96
|
* @remarks
|
|
83
|
-
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when enable is set to true.
|
|
97
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
|
|
98
|
+
*
|
|
84
99
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
85
100
|
*
|
|
86
101
|
* @example
|
|
@@ -89,12 +104,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
89
104
|
maxInstances?: number;
|
|
90
105
|
/**
|
|
91
106
|
* @remarks
|
|
92
|
-
* The minimum number of scalable instances in the node pool, excluding
|
|
107
|
+
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to true.
|
|
93
108
|
*
|
|
94
109
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
95
110
|
*
|
|
96
|
-
* > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances
|
|
97
|
-
* > -
|
|
111
|
+
* > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances occurs after the scaling group takes effect.
|
|
112
|
+
* > - The recommended Settings for the maximum number of instances should not be less than the current number of nodes in the node pool. Otherwise, the elastic scaling feature scales in the nodes in the node pool immediately after it takes effect.
|
|
98
113
|
*
|
|
99
114
|
* @example
|
|
100
115
|
* 1
|
|
@@ -102,18 +117,18 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
102
117
|
minInstances?: number;
|
|
103
118
|
/**
|
|
104
119
|
* @remarks
|
|
105
|
-
* The instance type for elastic scaling. This parameter takes effect only when `enable
|
|
120
|
+
* The instance type for elastic scaling. This parameter takes effect only when `enable` is set to true. Valid values:
|
|
106
121
|
*
|
|
107
122
|
* - `cpu`: regular instance.
|
|
108
123
|
*
|
|
109
124
|
* - `gpu`: GPU-accelerated instance.
|
|
110
125
|
*
|
|
111
|
-
* - `gpushare`: shared
|
|
126
|
+
* - `gpushare`: GPU-shared instance.
|
|
112
127
|
*
|
|
113
128
|
* - `spot`: spot instance.
|
|
114
129
|
*
|
|
115
130
|
* Default value: `cpu`.
|
|
116
|
-
* >Notice: This
|
|
131
|
+
* >Notice: This parameter cannot be modified after the node pool is created.
|
|
117
132
|
*
|
|
118
133
|
* @example
|
|
119
134
|
* cpu
|
|
@@ -133,12 +148,12 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
133
148
|
export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
134
149
|
/**
|
|
135
150
|
* @remarks
|
|
136
|
-
* Specifies whether to enable
|
|
151
|
+
* Specifies whether to enable auto-attach for the Lingjun node pool.
|
|
137
152
|
*/
|
|
138
153
|
autoAttachEnabled?: boolean;
|
|
139
154
|
/**
|
|
140
155
|
* @remarks
|
|
141
|
-
* The ID of the Lingjun cluster to associate when
|
|
156
|
+
* The ID of the Lingjun cluster to associate when creating the Lingjun node pool.
|
|
142
157
|
*
|
|
143
158
|
* @example
|
|
144
159
|
* i1169130516633730****
|
|
@@ -146,7 +161,7 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
146
161
|
clusterId?: string;
|
|
147
162
|
/**
|
|
148
163
|
* @remarks
|
|
149
|
-
* The ID of the Lingjun group in the Lingjun cluster to associate when
|
|
164
|
+
* The ID of the Lingjun group in the Lingjun cluster to associate when creating the Lingjun node pool.
|
|
150
165
|
*
|
|
151
166
|
* @example
|
|
152
167
|
* ng-ec3c96ff0aa****
|
|
@@ -171,7 +186,9 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
171
186
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
172
187
|
/**
|
|
173
188
|
* @remarks
|
|
174
|
-
* **[Deprecated]**
|
|
189
|
+
* **[Deprecated]**
|
|
190
|
+
*
|
|
191
|
+
* The network bandwidth of the edge-enhanced node pool. Unit: Mbit/s.
|
|
175
192
|
*
|
|
176
193
|
* @example
|
|
177
194
|
* null
|
|
@@ -181,7 +198,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
181
198
|
* @remarks
|
|
182
199
|
* **[Deprecated]**
|
|
183
200
|
*
|
|
184
|
-
* The Cloud Connect Network (CCN)
|
|
201
|
+
* The instance ID of the Cloud Connect Network (CCN) attached to the edge-enhanced node pool.
|
|
185
202
|
*
|
|
186
203
|
* @example
|
|
187
204
|
* null
|
|
@@ -189,7 +206,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
189
206
|
ccnId?: string;
|
|
190
207
|
/**
|
|
191
208
|
* @remarks
|
|
192
|
-
* **[Deprecated]**
|
|
209
|
+
* **[Deprecated]**
|
|
210
|
+
*
|
|
211
|
+
* The region of the CCN instance associated with the edge-enhanced node pool.
|
|
193
212
|
*
|
|
194
213
|
* @example
|
|
195
214
|
* null
|
|
@@ -199,7 +218,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
199
218
|
* @remarks
|
|
200
219
|
* **[Deprecated]**
|
|
201
220
|
*
|
|
202
|
-
* The Cloud Enterprise Network (CEN)
|
|
221
|
+
* The instance ID of the Cloud Enterprise Network (CEN) attached to the edge-enhanced node pool.
|
|
203
222
|
*
|
|
204
223
|
* @example
|
|
205
224
|
* null
|
|
@@ -207,7 +226,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
207
226
|
cenId?: string;
|
|
208
227
|
/**
|
|
209
228
|
* @remarks
|
|
210
|
-
* **[Deprecated]**
|
|
229
|
+
* **[Deprecated]**
|
|
230
|
+
*
|
|
231
|
+
* The subscription duration of the edge-enhanced node pool. Unit: months.
|
|
211
232
|
*
|
|
212
233
|
* @example
|
|
213
234
|
* null
|
|
@@ -227,12 +248,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
227
248
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
228
249
|
/**
|
|
229
250
|
* @remarks
|
|
230
|
-
* Specifies whether to install CloudMonitor on
|
|
231
|
-
*
|
|
232
|
-
* - `
|
|
233
|
-
*
|
|
234
|
-
* - `false`: does not install CloudMonitor on ECS nodes.
|
|
235
|
-
*
|
|
251
|
+
* Specifies whether to install the CloudMonitor agent on ECS nodes. After the agent is installed, you can view the monitoring information of the created ECS instances in the CloudMonitor console. Valid values:
|
|
252
|
+
* - `true`: The CloudMonitor agent is installed on ECS nodes.
|
|
253
|
+
* - `false`: The CloudMonitor agent is not installed on ECS nodes.
|
|
236
254
|
* Default value: `false`.
|
|
237
255
|
*
|
|
238
256
|
* @example
|
|
@@ -242,10 +260,8 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
242
260
|
/**
|
|
243
261
|
* @remarks
|
|
244
262
|
* The CPU management policy for nodes. The following two policies are supported when the cluster version is 1.12.6 or later:
|
|
245
|
-
*
|
|
246
|
-
* - `
|
|
247
|
-
* - `none`: enables the existing default CPU affinity scheme.
|
|
248
|
-
*
|
|
263
|
+
* - `static`: Allows you to enhance CPU affinity and exclusivity for pods with specific resource characteristics on the node.
|
|
264
|
+
* - `none`: Uses the default CPU affinity scheme.
|
|
249
265
|
* Default value: `none`.
|
|
250
266
|
*
|
|
251
267
|
* @example
|
|
@@ -254,26 +270,22 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
254
270
|
cpuPolicy?: string;
|
|
255
271
|
/**
|
|
256
272
|
* @remarks
|
|
257
|
-
* The labels added to the nodes in the Kubernetes cluster.
|
|
273
|
+
* The labels to be added to the nodes in the Kubernetes cluster.
|
|
258
274
|
*/
|
|
259
275
|
labels?: Tag[];
|
|
260
276
|
/**
|
|
261
277
|
* @remarks
|
|
262
|
-
* The custom node name. After you
|
|
263
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address, with hyphens (-) replacing
|
|
264
|
-
*
|
|
265
|
-
* The node name consists of three parts: a prefix, the node IP address, and a suffix:
|
|
278
|
+
* The custom node name. After you specify a custom node name, the node name, ECS instance name, and ECS instance hostname are changed accordingly.
|
|
279
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed to the IP address, with hyphens (-) replacing periods (.) in the IP address, and without prefixes or suffixes.
|
|
266
280
|
*
|
|
281
|
+
* The node name consists of a prefix, the node IP address, and a suffix:
|
|
267
282
|
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
268
|
-
*
|
|
269
|
-
* - The prefix
|
|
270
|
-
* - The prefix is required (due to ECS limits), and the suffix is optional.
|
|
283
|
+
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and periods (.). They must start with a letter and cannot start or end with a hyphen (-) or a period (.). Consecutive hyphens (-) or periods (.) are not allowed.
|
|
284
|
+
* - The prefix is required due to ECS limits, and the suffix is optional.
|
|
271
285
|
* - The node IP address is the complete private IP address of the node.
|
|
272
286
|
*
|
|
273
|
-
* For example, if the node IP address is 192.XX.YY.55, the
|
|
274
|
-
*
|
|
287
|
+
* For example, if the node IP address is 192.XX.YY.55, the prefix is aliyun.com, and the suffix is test:
|
|
275
288
|
* - If the node is a Linux node, the node name, ECS instance name, and ECS instance hostname are all aliyun.com192.XX.YY.55test.
|
|
276
|
-
*
|
|
277
289
|
* - If the node is a Windows node, the ECS instance hostname is 192-XX-YY-55, and both the node name and ECS instance name are aliyun.com192.XX.YY.55test.
|
|
278
290
|
*
|
|
279
291
|
* @example
|
|
@@ -282,7 +294,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
282
294
|
nodeNameMode?: string;
|
|
283
295
|
/**
|
|
284
296
|
* @remarks
|
|
285
|
-
* The pre-custom data of the instance. Before the node
|
|
297
|
+
* The pre-custom data of the instance. Before the node is added to 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).
|
|
286
298
|
*
|
|
287
299
|
* @example
|
|
288
300
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -290,13 +302,11 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
290
302
|
preUserData?: string;
|
|
291
303
|
/**
|
|
292
304
|
* @remarks
|
|
293
|
-
* The name of the container runtime.
|
|
294
|
-
*
|
|
295
|
-
* -
|
|
296
|
-
* -
|
|
297
|
-
*
|
|
298
|
-
*
|
|
299
|
-
* Default value: containerd.
|
|
305
|
+
* The name of the container runtime. ACK supports the following three container runtimes:
|
|
306
|
+
* - `containerd`: Recommended. Supported by all cluster versions.
|
|
307
|
+
* - `Sandboxed-Container.runv`: Secure sandboxed containers that provide higher isolation. Supported by clusters of version 1.31 and earlier.
|
|
308
|
+
* - `docker`: Deprecated. Supported by clusters of version 1.22 and earlier.
|
|
309
|
+
* Default value: `containerd`.
|
|
300
310
|
*
|
|
301
311
|
* @example
|
|
302
312
|
* containerd
|
|
@@ -312,16 +322,14 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
312
322
|
runtimeVersion?: string;
|
|
313
323
|
/**
|
|
314
324
|
* @remarks
|
|
315
|
-
* The taint
|
|
325
|
+
* The taint configuration.
|
|
316
326
|
*/
|
|
317
327
|
taints?: Taint[];
|
|
318
328
|
/**
|
|
319
329
|
* @remarks
|
|
320
|
-
* Specifies whether the scaled-out nodes are unschedulable.
|
|
321
|
-
*
|
|
322
|
-
* -
|
|
323
|
-
*
|
|
324
|
-
* - false: schedulable.
|
|
330
|
+
* Specifies whether the scaled-out nodes are unschedulable. Valid values:
|
|
331
|
+
* - `true`: The nodes are unschedulable.
|
|
332
|
+
* - `false`: The nodes are schedulable.
|
|
325
333
|
*
|
|
326
334
|
* @example
|
|
327
335
|
* true
|
|
@@ -329,7 +337,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
329
337
|
unschedulable?: boolean;
|
|
330
338
|
/**
|
|
331
339
|
* @remarks
|
|
332
|
-
* The instance user data. After
|
|
340
|
+
* The instance user data. After the node is added to 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).
|
|
333
341
|
*
|
|
334
342
|
* @example
|
|
335
343
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -354,7 +362,15 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
354
362
|
approvalRequired?: boolean;
|
|
355
363
|
/**
|
|
356
364
|
* @remarks
|
|
357
|
-
* The
|
|
365
|
+
* The ID of the auto-repair policy. If you do not specify this parameter or specify an empty string, no auto-healing rule is bound.
|
|
366
|
+
*
|
|
367
|
+
* @example
|
|
368
|
+
* r-xxxxxxxxxx
|
|
369
|
+
*/
|
|
370
|
+
autoRepairPolicyId?: string;
|
|
371
|
+
/**
|
|
372
|
+
* @remarks
|
|
373
|
+
* The maximum number of nodes or the percentage of nodes that can be repaired simultaneously when a large number of abnormal nodes exist in the node pool. You can specify a number (for example, 5, valid values: 1 to 100000) or a percentage (for example, 10%, valid values: 1% to 100%). Default value: 1.
|
|
358
374
|
*
|
|
359
375
|
* @example
|
|
360
376
|
* 5
|
|
@@ -362,7 +378,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
362
378
|
maxParallelRepairingNodes?: string;
|
|
363
379
|
/**
|
|
364
380
|
* @remarks
|
|
365
|
-
* The circuit breaker
|
|
381
|
+
* The circuit breaker threshold for auto-healing. When the number or percentage of faulty nodes exceeds this threshold, auto-healing enters the circuit breaker state and stops initiating new auto-healing repair actions. You can specify a number (for example, 10, valid values: 1 to 100000) or a percentage (for example, 20%, valid values: 1% to 100%). Default value: 100%.
|
|
366
382
|
*
|
|
367
383
|
* @example
|
|
368
384
|
* 20%
|
|
@@ -370,11 +386,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
370
386
|
maxUnhealthyNodesThreshold?: string;
|
|
371
387
|
/**
|
|
372
388
|
* @remarks
|
|
373
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when
|
|
374
|
-
*
|
|
375
|
-
* - `
|
|
376
|
-
* - `false`: does not allow node restarts.
|
|
377
|
-
*
|
|
389
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when auto_repair is set to true. Valid values:
|
|
390
|
+
* - `true`: Allows node restarts.
|
|
391
|
+
* - `false`: Does not allow node restarts.
|
|
378
392
|
* Default value: `true`.
|
|
379
393
|
*
|
|
380
394
|
* @example
|
|
@@ -395,10 +409,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
395
409
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
396
410
|
/**
|
|
397
411
|
* @remarks
|
|
398
|
-
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when
|
|
399
|
-
* - `true`:
|
|
400
|
-
* - `false`:
|
|
401
|
-
*
|
|
412
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
|
|
413
|
+
* - `true`: Allows automatic kubelet upgrades.
|
|
414
|
+
* - `false`: Does not allow automatic kubelet upgrades.
|
|
402
415
|
* Default value: `true`.
|
|
403
416
|
*
|
|
404
417
|
* @example
|
|
@@ -407,10 +420,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
407
420
|
autoUpgradeKubelet?: boolean;
|
|
408
421
|
/**
|
|
409
422
|
* @remarks
|
|
410
|
-
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when
|
|
411
|
-
* - `true`:
|
|
412
|
-
* - `false`:
|
|
413
|
-
*
|
|
423
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
|
|
424
|
+
* - `true`: Allows automatic operating system upgrades.
|
|
425
|
+
* - `false`: Does not allow automatic operating system upgrades.
|
|
414
426
|
* Default value: `false`.
|
|
415
427
|
*
|
|
416
428
|
* @example
|
|
@@ -419,10 +431,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
419
431
|
autoUpgradeOs?: boolean;
|
|
420
432
|
/**
|
|
421
433
|
* @remarks
|
|
422
|
-
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when
|
|
423
|
-
* - `true`:
|
|
424
|
-
* - `false`:
|
|
425
|
-
*
|
|
434
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when auto_upgrade is set to true. Valid values:
|
|
435
|
+
* - `true`: Allows automatic runtime upgrades.
|
|
436
|
+
* - `false`: Does not allow automatic runtime upgrades.
|
|
426
437
|
* Default value: `true`.
|
|
427
438
|
*
|
|
428
439
|
* @example
|
|
@@ -443,9 +454,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
443
454
|
export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
444
455
|
/**
|
|
445
456
|
* @remarks
|
|
446
|
-
* The packages to be excluded during vulnerability repair.
|
|
447
|
-
*
|
|
448
|
-
* Default value: `kernel`.
|
|
457
|
+
* The packages to be excluded during vulnerability repair. Default value: `kernel`.
|
|
449
458
|
*
|
|
450
459
|
* @example
|
|
451
460
|
* kernel
|
|
@@ -453,10 +462,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
453
462
|
excludePackages?: string;
|
|
454
463
|
/**
|
|
455
464
|
* @remarks
|
|
456
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when
|
|
457
|
-
* - `true`:
|
|
458
|
-
* - `false`:
|
|
459
|
-
*
|
|
465
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when auto_vul_fix is set to true. Valid values:
|
|
466
|
+
* - `true`: Allows node restarts.
|
|
467
|
+
* - `false`: Does not allow node restarts.
|
|
460
468
|
* Default value: `true`.
|
|
461
469
|
*
|
|
462
470
|
* @example
|
|
@@ -465,12 +473,10 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
465
473
|
restartNode?: boolean;
|
|
466
474
|
/**
|
|
467
475
|
* @remarks
|
|
468
|
-
* The vulnerability levels that are allowed for
|
|
469
|
-
*
|
|
470
|
-
* - `
|
|
471
|
-
* - `
|
|
472
|
-
* - `nntf`: low.
|
|
473
|
-
*
|
|
476
|
+
* The vulnerability levels that are allowed for automatic repair, separated by commas. Example: `asap,later`. Valid values:
|
|
477
|
+
* - `asap`: High.
|
|
478
|
+
* - `later`: Medium.
|
|
479
|
+
* - `nntf`: Low.
|
|
474
480
|
* Default value: `asap`.
|
|
475
481
|
*
|
|
476
482
|
* @example
|
|
@@ -491,13 +497,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
491
497
|
export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
492
498
|
/**
|
|
493
499
|
* @remarks
|
|
494
|
-
* **[Deprecated]** Use the
|
|
495
|
-
*
|
|
496
|
-
*
|
|
497
|
-
*
|
|
498
|
-
* - `true`: enables auto-upgrade.
|
|
499
|
-
*
|
|
500
|
-
* - `false`: disables auto-upgrade.
|
|
500
|
+
* **[Deprecated]** Use the auto_upgrade parameter at the upper level instead. Specifies whether to enable auto-upgrade. Valid values:
|
|
501
|
+
* - `true`: Enables auto-upgrade.
|
|
502
|
+
* - `false`: Disables auto-upgrade.
|
|
501
503
|
*
|
|
502
504
|
* @example
|
|
503
505
|
* null
|
|
@@ -507,10 +509,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
507
509
|
autoUpgrade?: boolean;
|
|
508
510
|
/**
|
|
509
511
|
* @remarks
|
|
510
|
-
* The maximum number of unavailable nodes.
|
|
511
|
-
* Valid values: [1, 1000].
|
|
512
|
-
*
|
|
513
|
-
* Default value: 1.
|
|
512
|
+
* The maximum number of unavailable nodes. Valid values: 1 to 1000. Default value: 1.
|
|
514
513
|
*
|
|
515
514
|
* @example
|
|
516
515
|
* 1
|
|
@@ -518,11 +517,8 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
518
517
|
maxUnavailable?: number;
|
|
519
518
|
/**
|
|
520
519
|
* @remarks
|
|
521
|
-
* The number of extra nodes. This parameter and
|
|
522
|
-
*
|
|
523
|
-
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
524
|
-
*
|
|
525
|
-
* > Do not create more extra nodes than the current number of nodes.
|
|
520
|
+
* The number of extra nodes. This parameter and surge_percentage are mutually exclusive. Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
521
|
+
* > The number of extra nodes should not exceed the current number of nodes.
|
|
526
522
|
*
|
|
527
523
|
* @example
|
|
528
524
|
* 0
|
|
@@ -530,9 +526,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
530
526
|
surge?: number;
|
|
531
527
|
/**
|
|
532
528
|
* @remarks
|
|
533
|
-
* The percentage of extra nodes. This parameter and
|
|
534
|
-
*
|
|
535
|
-
* Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if the percentage of extra nodes is set to 50% and the number of existing nodes is 6, the number of extra nodes generated is 50% × 6 = 3.
|
|
529
|
+
* The percentage of extra nodes. This parameter and surge are mutually exclusive. Number of extra nodes = Percentage of extra nodes × Number of nodes. For example, if the percentage of extra nodes is set to 50% and the current number of nodes is 6, the number of extra nodes generated is 50% × 6 = 3.
|
|
536
530
|
*
|
|
537
531
|
* @example
|
|
538
532
|
* 0
|
|
@@ -557,12 +551,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
557
551
|
autoFaultDiagnosis?: boolean;
|
|
558
552
|
/**
|
|
559
553
|
* @remarks
|
|
560
|
-
* Specifies whether to automatically repair nodes. This parameter takes effect only when
|
|
561
|
-
*
|
|
562
|
-
* - `
|
|
563
|
-
*
|
|
564
|
-
* - `false`: does not automatically repair nodes.
|
|
565
|
-
*
|
|
554
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when enable is set to true. Valid values:
|
|
555
|
+
* - `true`: Automatically repairs nodes.
|
|
556
|
+
* - `false`: Does not automatically repair nodes.
|
|
566
557
|
* Default value: `true`.
|
|
567
558
|
*
|
|
568
559
|
* @example
|
|
@@ -576,10 +567,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
576
567
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
577
568
|
/**
|
|
578
569
|
* @remarks
|
|
579
|
-
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when
|
|
580
|
-
* - `true`:
|
|
581
|
-
* - `false`:
|
|
582
|
-
*
|
|
570
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when enable is set to true. Valid values:
|
|
571
|
+
* - `true`: Enables auto-upgrade.
|
|
572
|
+
* - `false`: Disables auto-upgrade.
|
|
583
573
|
* Default value: `true`.
|
|
584
574
|
*
|
|
585
575
|
* @example
|
|
@@ -593,11 +583,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
593
583
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
594
584
|
/**
|
|
595
585
|
* @remarks
|
|
596
|
-
* Specifies whether to automatically repair
|
|
597
|
-
*
|
|
598
|
-
* - `
|
|
599
|
-
* - `false`: does not allow automatic CVE repairs.
|
|
600
|
-
*
|
|
586
|
+
* Specifies whether to automatically repair CVE vulnerabilities. This parameter takes effect only when enable is set to true. Valid values:
|
|
587
|
+
* - `true`: Allows automatic CVE repair.
|
|
588
|
+
* - `false`: Does not allow automatic CVE repair.
|
|
601
589
|
* Default value: `true`.
|
|
602
590
|
*
|
|
603
591
|
* @example
|
|
@@ -606,22 +594,19 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
606
594
|
autoVulFix?: boolean;
|
|
607
595
|
/**
|
|
608
596
|
* @remarks
|
|
609
|
-
* The
|
|
597
|
+
* The auto-repair policy for CVE vulnerabilities.
|
|
610
598
|
*/
|
|
611
599
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
612
600
|
/**
|
|
613
601
|
* @remarks
|
|
614
|
-
* Specifies whether to enable the node rotation
|
|
602
|
+
* Specifies whether to enable the node rotation feature. This feature is supported only by intelligent managed node pools and is enabled by default. It is not supported by regular node pools.
|
|
615
603
|
*/
|
|
616
604
|
driftEnabled?: boolean;
|
|
617
605
|
/**
|
|
618
606
|
* @remarks
|
|
619
|
-
* Specifies whether to enable the managed
|
|
620
|
-
*
|
|
621
|
-
* - `
|
|
622
|
-
*
|
|
623
|
-
* - `false`: disables the managed feature. Other related configurations take effect only when `enable` is set to `true`.
|
|
624
|
-
*
|
|
607
|
+
* Specifies whether to enable the managed node pool feature. Valid values:
|
|
608
|
+
* - `true`: Enables the managed node pool feature.
|
|
609
|
+
* - `false`: Disables the managed node pool feature. Other related configurations take effect only when this parameter is set to true.
|
|
625
610
|
* Default value: `false`.
|
|
626
611
|
*
|
|
627
612
|
* @example
|
|
@@ -630,9 +615,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
630
615
|
enable?: boolean;
|
|
631
616
|
/**
|
|
632
617
|
* @remarks
|
|
633
|
-
* **[Deprecated]** Use the upper
|
|
634
|
-
*
|
|
635
|
-
* The auto-upgrade configurations. This parameter takes effect only when `enable` is set to `true`.
|
|
618
|
+
* **[Deprecated]** Use the auto_upgrade parameter at the upper level instead. The auto-upgrade configuration. This parameter takes effect only when enable is set to true.
|
|
636
619
|
*
|
|
637
620
|
* @deprecated
|
|
638
621
|
*/
|
|
@@ -744,7 +727,7 @@ export declare class CreateClusterNodePoolRequestNodeConfigNodeOsConfig extends
|
|
|
744
727
|
hugepage?: Hugepage;
|
|
745
728
|
/**
|
|
746
729
|
* @remarks
|
|
747
|
-
* The sysctl kernel parameter settings. Only
|
|
730
|
+
* The sysctl kernel parameter settings. Only specific kernel parameters are supported, and the cluster version must be 1.28 or later.
|
|
748
731
|
*
|
|
749
732
|
* @example
|
|
750
733
|
* {"fs.file-max":"1048576"}
|
|
@@ -798,7 +781,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
798
781
|
name?: string;
|
|
799
782
|
/**
|
|
800
783
|
* @remarks
|
|
801
|
-
* The resource group
|
|
784
|
+
* The ID of the resource group to which the node pool belongs. Instances added to the node pool belong to this resource group.
|
|
802
785
|
*
|
|
803
786
|
* 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.
|
|
804
787
|
*
|
|
@@ -808,9 +791,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
808
791
|
resourceGroupId?: string;
|
|
809
792
|
/**
|
|
810
793
|
* @remarks
|
|
811
|
-
* The node pool
|
|
794
|
+
* The type of the node pool. Valid values:
|
|
812
795
|
*
|
|
813
|
-
* - `ess`: standard node pool
|
|
796
|
+
* - `ess`: standard node pool, which supports managed features and automatic elastic scaling.
|
|
814
797
|
* - `edge`: edge node pool.
|
|
815
798
|
* - `lingjun`: Lingjun node pool.
|
|
816
799
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -833,7 +816,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
833
816
|
export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
834
817
|
/**
|
|
835
818
|
* @remarks
|
|
836
|
-
* Specifies whether to enable nested virtualization. Valid values:
|
|
819
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
|
|
837
820
|
*
|
|
838
821
|
* @example
|
|
839
822
|
* enabled
|
|
@@ -853,7 +836,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends
|
|
|
853
836
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
854
837
|
/**
|
|
855
838
|
* @remarks
|
|
856
|
-
* The ID of the private pool
|
|
839
|
+
* The ID of the private pool. When `match_criteria` is set to `Target`, you must specify the private pool ID.
|
|
857
840
|
*
|
|
858
841
|
* @example
|
|
859
842
|
* eap-bp67acfmxazb4****
|
|
@@ -861,9 +844,9 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
861
844
|
id?: string;
|
|
862
845
|
/**
|
|
863
846
|
* @remarks
|
|
864
|
-
* The private pool capacity matching mode for instance startup. After an elasticity assurance or capacity reservation takes effect, private pool
|
|
865
|
-
* - `Open`: open mode. The system automatically matches the capacity of open private
|
|
866
|
-
* - `Target`:
|
|
847
|
+
* The private pool capacity matching mode for instance startup. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for you to select when you start instances. Valid values:
|
|
848
|
+
* - `Open`: open mode. The system automatically matches the capacity of an open private pool. If no eligible private pool capacity is available, the system uses public pool resources to start the instances.
|
|
849
|
+
* - `Target`: specified mode. The system uses the capacity of the specified private pool to start instances. If the specified private pool capacity is unavailable, the instances fail to start.
|
|
867
850
|
* - `None`: no private pool mode. The system does not use private pool capacity to start instances.
|
|
868
851
|
*
|
|
869
852
|
* @example
|
|
@@ -884,14 +867,14 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
884
867
|
export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends $dara.Model {
|
|
885
868
|
/**
|
|
886
869
|
* @remarks
|
|
887
|
-
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can only
|
|
870
|
+
* The list of private pool IDs, which are the IDs of elasticity assurances or capacity reservations. You can specify only the IDs of private pools in Target mode. Valid values of N: 1 to 20.
|
|
888
871
|
*/
|
|
889
872
|
privatePoolIds?: string[];
|
|
890
873
|
/**
|
|
891
874
|
* @remarks
|
|
892
|
-
* The resource pool strategy used
|
|
893
|
-
* PrivatePoolFirst: Private pool first.
|
|
894
|
-
* PrivatePoolOnly: Private pool only.
|
|
875
|
+
* The resource pool strategy used when creating instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as public pools, which are available for selection during instance startup. Valid values:
|
|
876
|
+
* PrivatePoolFirst: Private pool first. When this strategy is selected and 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 pools have insufficient capacity, open private pools are automatically matched. If no eligible private pool is available, the public pool is used to create the instance.
|
|
877
|
+
* PrivatePoolOnly: Private pool only. When this strategy is selected, resouce_pool_options.private_pool_ids must be specified. If the specified private pools have insufficient capacity, the instance fails to start.
|
|
895
878
|
* None: No resource pool strategy is used.
|
|
896
879
|
* Default value: None.
|
|
897
880
|
*
|
|
@@ -921,7 +904,12 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
921
904
|
instanceType?: string;
|
|
922
905
|
/**
|
|
923
906
|
* @remarks
|
|
924
|
-
* The maximum price per instance.
|
|
907
|
+
* The maximum price per instance.
|
|
908
|
+
* <props="china">Unit: CNY/hour.
|
|
909
|
+
*
|
|
910
|
+
*
|
|
911
|
+
*
|
|
912
|
+
* <props="intl">Unit: USD/hour.
|
|
925
913
|
*
|
|
926
914
|
* @example
|
|
927
915
|
* 0.39
|
|
@@ -982,7 +970,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
982
970
|
autoRenew?: boolean;
|
|
983
971
|
/**
|
|
984
972
|
* @remarks
|
|
985
|
-
* The duration of each auto-renewal. Valid values:
|
|
973
|
+
* The duration of each auto-renewal cycle. Valid values:
|
|
986
974
|
* - When PeriodUnit is set to Week: 1, 2, and 3.
|
|
987
975
|
* - When PeriodUnit is set to Month: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
988
976
|
*
|
|
@@ -1004,7 +992,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1004
992
|
cisEnabled?: boolean;
|
|
1005
993
|
/**
|
|
1006
994
|
* @remarks
|
|
1007
|
-
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory issues
|
|
995
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to price or inventory issues, provided that `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
1008
996
|
*
|
|
1009
997
|
* - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
|
|
1010
998
|
* - `false`: does not automatically create pay-as-you-go instances.
|
|
@@ -1025,10 +1013,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1025
1013
|
dataDisks?: DataDisk[];
|
|
1026
1014
|
/**
|
|
1027
1015
|
* @remarks
|
|
1028
|
-
* The ID of the deployment set. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When
|
|
1016
|
+
* The ID of the deployment set. You can use a deployment set to distribute ECS instances created by the node pool across different physical servers to ensure high availability and underlying disaster recovery capabilities. When you create ECS instances in a deployment set, the instances are distributed and started in the specified region based on the predefined deployment policy.
|
|
1029
1017
|
*
|
|
1030
1018
|
*
|
|
1031
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports
|
|
1019
|
+
* >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 × the number of zones nodes. The number of zones is determined by the vSwitches. Proceed with caution and ensure that the quota in the deployment set is sufficient to prevent node scale-out failures.
|
|
1032
1020
|
*
|
|
1033
1021
|
* @example
|
|
1034
1022
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1069,7 +1057,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1069
1057
|
imageId?: string;
|
|
1070
1058
|
/**
|
|
1071
1059
|
* @remarks
|
|
1072
|
-
* The type of the operating system image.
|
|
1060
|
+
* The type of the operating system image. Valid values:
|
|
1073
1061
|
*
|
|
1074
1062
|
* - `AliyunLinux`: Alinux2 image.
|
|
1075
1063
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -1088,7 +1076,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1088
1076
|
imageType?: string;
|
|
1089
1077
|
/**
|
|
1090
1078
|
* @remarks
|
|
1091
|
-
* The billing method
|
|
1079
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
1092
1080
|
*
|
|
1093
1081
|
* - `PrePaid`: subscription.
|
|
1094
1082
|
*
|
|
@@ -1116,7 +1104,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1116
1104
|
* @remarks
|
|
1117
1105
|
* The list of instance types for nodes in the node pool. When the node pool scales out nodes, it selects instance types that meet the requirements from the specified list to create instances.
|
|
1118
1106
|
*
|
|
1119
|
-
*
|
|
1107
|
+
* Valid values for the number of instance types: 1 to 10.
|
|
1120
1108
|
*
|
|
1121
1109
|
*
|
|
1122
1110
|
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
@@ -1126,10 +1114,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1126
1114
|
instanceTypes?: string[];
|
|
1127
1115
|
/**
|
|
1128
1116
|
* @remarks
|
|
1129
|
-
* The billing method for
|
|
1117
|
+
* The billing method for public IP addresses. Valid values:
|
|
1130
1118
|
*
|
|
1131
|
-
* -
|
|
1132
|
-
* -
|
|
1119
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1120
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1133
1121
|
*
|
|
1134
1122
|
* @example
|
|
1135
1123
|
* PayByTraffic
|
|
@@ -1137,7 +1125,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1137
1125
|
internetChargeType?: string;
|
|
1138
1126
|
/**
|
|
1139
1127
|
* @remarks
|
|
1140
|
-
* The maximum outbound bandwidth for
|
|
1128
|
+
* The maximum outbound bandwidth for public IP addresses of nodes. Unit: Mbit/s. Valid values: 1 to 100.
|
|
1141
1129
|
*
|
|
1142
1130
|
* @example
|
|
1143
1131
|
* 5
|
|
@@ -1145,7 +1133,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1145
1133
|
internetMaxBandwidthOut?: number;
|
|
1146
1134
|
/**
|
|
1147
1135
|
* @remarks
|
|
1148
|
-
* The name of the key pair for
|
|
1136
|
+
* The name of the key pair used for password-free logon. You must specify either this parameter or `login_password`.
|
|
1149
1137
|
*
|
|
1150
1138
|
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1151
1139
|
*
|
|
@@ -1155,11 +1143,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1155
1143
|
keyPair?: string;
|
|
1156
1144
|
/**
|
|
1157
1145
|
* @remarks
|
|
1158
|
-
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1146
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1159
1147
|
*
|
|
1160
|
-
* -
|
|
1148
|
+
* - true: logs on as a non-root user (ecs-user).
|
|
1161
1149
|
*
|
|
1162
|
-
* -
|
|
1150
|
+
* - false: logs on as the root user.
|
|
1163
1151
|
*
|
|
1164
1152
|
* @example
|
|
1165
1153
|
* true
|
|
@@ -1177,13 +1165,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1177
1165
|
* @remarks
|
|
1178
1166
|
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1179
1167
|
*
|
|
1180
|
-
* - `PRIORITY`:
|
|
1168
|
+
* - `PRIORITY`: scales ECS instances based on the vSwitches (VSwitchIds.N) that you specify. If 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.
|
|
1181
1169
|
*
|
|
1182
|
-
* - `COST_OPTIMIZED`:
|
|
1170
|
+
* - `COST_OPTIMIZED`: creates ECS instances based on the vCPU unit price in ascending order. When the scaling configuration specifies multiple instance types with the preemptible billing method, the system preferentially creates spot instances. You can use the `CompensateWithOnDemand` parameter to specify if it is to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory shortages or other reasons.
|
|
1183
1171
|
*
|
|
1184
1172
|
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1185
1173
|
*
|
|
1186
|
-
* - `BALANCE`:
|
|
1174
|
+
* - `BALANCE`: evenly allocates ECS instances across the zones specified in the scaling group. If the zones become unbalanced due to inventory shortages or other reasons, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to balance the resources.
|
|
1187
1175
|
*
|
|
1188
1176
|
* Default value: `PRIORITY`.
|
|
1189
1177
|
*
|
|
@@ -1209,7 +1197,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1209
1197
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1210
1198
|
/**
|
|
1211
1199
|
* @remarks
|
|
1212
|
-
* The subscription duration
|
|
1200
|
+
* The subscription duration of nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1213
1201
|
*
|
|
1214
1202
|
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1215
1203
|
* - When `period_unit` is set to `Month`, valid values for `period` are 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
@@ -1220,10 +1208,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1220
1208
|
period?: number;
|
|
1221
1209
|
/**
|
|
1222
1210
|
* @remarks
|
|
1223
|
-
* The billing cycle of nodes in the node pool. This parameter
|
|
1211
|
+
* The billing cycle of nodes in the node pool. This parameter is required and takes effect only when `instance_charge_type` is set to `PrePaid`.
|
|
1224
1212
|
*
|
|
1225
|
-
* - `Month`:
|
|
1226
|
-
* - `Week`:
|
|
1213
|
+
* - `Month`: month.
|
|
1214
|
+
* - `Week`: week.
|
|
1227
1215
|
*
|
|
1228
1216
|
* Default value: `Month`.
|
|
1229
1217
|
*
|
|
@@ -1251,7 +1239,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1251
1239
|
platform?: string;
|
|
1252
1240
|
/**
|
|
1253
1241
|
* @remarks
|
|
1254
|
-
* The private
|
|
1242
|
+
* The private pool configuration.
|
|
1255
1243
|
*/
|
|
1256
1244
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
1257
1245
|
/**
|
|
@@ -1261,7 +1249,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1261
1249
|
* * If this parameter is left empty, the default worker RAM role created for the cluster is used.
|
|
1262
1250
|
* * If this parameter is specified, the RAM role must be a **normal service role** and its **trusted service** must be set to **ECS**. 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 for the cluster, the role name cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
1263
1251
|
*
|
|
1264
|
-
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 and later
|
|
1252
|
+
* >Notice: This parameter is supported only by ACK managed clusters of version 1.22 and later.
|
|
1265
1253
|
*
|
|
1266
1254
|
* @example
|
|
1267
1255
|
* example-role
|
|
@@ -1274,17 +1262,17 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1274
1262
|
rdsInstances?: string[];
|
|
1275
1263
|
/**
|
|
1276
1264
|
* @remarks
|
|
1277
|
-
* The resource pool and resource pool policy used for
|
|
1265
|
+
* The resource pool and resource pool policy used for instance creation. Take note of the following items when you configure this parameter:
|
|
1278
1266
|
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1279
|
-
* This parameter cannot be
|
|
1267
|
+
* This parameter cannot be specified together with private_pool_options.match_criteria or private_pool_options.id.
|
|
1280
1268
|
*/
|
|
1281
1269
|
resourcePoolOptions?: CreateClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
1282
1270
|
/**
|
|
1283
1271
|
* @remarks
|
|
1284
1272
|
* The scaling group mode. Valid values:
|
|
1285
|
-
* - release
|
|
1286
|
-
* - recycle
|
|
1287
|
-
* Default value: release
|
|
1273
|
+
* - `release`: Standard mode. Instances are scaled by creating and releasing ECS instances based on the requested resource usage.
|
|
1274
|
+
* - `recycle`: Extreme mode. Instances are scaled by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, compute resources are not billed, and only storage fees are charged, except for instances with local disks.
|
|
1275
|
+
* Default value: `release`.
|
|
1288
1276
|
*
|
|
1289
1277
|
* @example
|
|
1290
1278
|
* release
|
|
@@ -1292,7 +1280,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1292
1280
|
scalingPolicy?: string;
|
|
1293
1281
|
/**
|
|
1294
1282
|
* @remarks
|
|
1295
|
-
* The security group ID of the node pool.
|
|
1283
|
+
* The security group ID of the node pool. Specify either this parameter or security_group_ids. We recommend that you use security_group_ids.
|
|
1296
1284
|
*
|
|
1297
1285
|
* @example
|
|
1298
1286
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1302,15 +1290,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1302
1290
|
securityGroupId?: string;
|
|
1303
1291
|
/**
|
|
1304
1292
|
* @remarks
|
|
1305
|
-
* The list of security group IDs.
|
|
1293
|
+
* The list of security group IDs. Specify 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.
|
|
1306
1294
|
*/
|
|
1307
1295
|
securityGroupIds?: string[];
|
|
1308
1296
|
/**
|
|
1309
1297
|
* @remarks
|
|
1310
1298
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1311
|
-
* - true
|
|
1312
|
-
* - false
|
|
1313
|
-
* Default value: false
|
|
1299
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1300
|
+
* - `false`: Does not enable Alibaba Cloud OS security hardening.
|
|
1301
|
+
* Default value: `false`.
|
|
1314
1302
|
*
|
|
1315
1303
|
* @example
|
|
1316
1304
|
* false
|
|
@@ -1318,7 +1306,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1318
1306
|
securityHardeningOs?: boolean;
|
|
1319
1307
|
/**
|
|
1320
1308
|
* @remarks
|
|
1321
|
-
* Specifies whether to enable MLPS 2.0 security hardening. You can enable
|
|
1309
|
+
* 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 baseline check standards and scanning programs for classified protection compliance for Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 MLPS 2.0 Level 3 images.
|
|
1322
1310
|
*
|
|
1323
1311
|
* @example
|
|
1324
1312
|
* false
|
|
@@ -1334,9 +1322,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1334
1322
|
spotInstancePools?: number;
|
|
1335
1323
|
/**
|
|
1336
1324
|
* @remarks
|
|
1337
|
-
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance
|
|
1338
|
-
* - true
|
|
1339
|
-
* - false
|
|
1325
|
+
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance will be reclaimed, it attempts to create a new instance to replace the spot instance to be reclaimed. Valid values:
|
|
1326
|
+
* - `true`: Enables spot instance replenishment.
|
|
1327
|
+
* - `false`: Does not enable spot instance replenishment.
|
|
1340
1328
|
*
|
|
1341
1329
|
* @example
|
|
1342
1330
|
* false
|
|
@@ -1350,9 +1338,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1350
1338
|
/**
|
|
1351
1339
|
* @remarks
|
|
1352
1340
|
* The spot instance strategy. Valid values:
|
|
1353
|
-
* - NoSpot
|
|
1354
|
-
* - SpotWithPriceLimit
|
|
1355
|
-
* - SpotAsPriceGo
|
|
1341
|
+
* - `NoSpot`: Non-spot instance.
|
|
1342
|
+
* - `SpotWithPriceLimit`: Sets a maximum price for spot instances.
|
|
1343
|
+
* - `SpotAsPriceGo`: The system automatically bids based on the current market price.
|
|
1356
1344
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1357
1345
|
*
|
|
1358
1346
|
* @example
|
|
@@ -1361,10 +1349,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1361
1349
|
spotStrategy?: string;
|
|
1362
1350
|
/**
|
|
1363
1351
|
* @remarks
|
|
1364
|
-
* Specifies whether to enable performance burst for the system disk
|
|
1365
|
-
* - true:
|
|
1366
|
-
* - false:
|
|
1367
|
-
* This parameter is supported only when system_disk_category is set to cloud_auto
|
|
1352
|
+
* Specifies whether to enable performance burst for the node system disk. Valid values:
|
|
1353
|
+
* - true: Yes.
|
|
1354
|
+
* - false: No.
|
|
1355
|
+
* 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).
|
|
1368
1356
|
*
|
|
1369
1357
|
* @example
|
|
1370
1358
|
* true
|
|
@@ -1372,18 +1360,18 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1372
1360
|
systemDiskBurstingEnabled?: boolean;
|
|
1373
1361
|
/**
|
|
1374
1362
|
* @remarks
|
|
1375
|
-
* The categories of the system disk. If
|
|
1363
|
+
* The categories of the system disk. If a higher-priority disk category is unavailable, the system automatically attempts to use the next priority disk category to create the system disk.
|
|
1376
1364
|
*/
|
|
1377
1365
|
systemDiskCategories?: string[];
|
|
1378
1366
|
/**
|
|
1379
1367
|
* @remarks
|
|
1380
|
-
* The
|
|
1381
|
-
* - cloud_efficiency
|
|
1382
|
-
* - cloud_ssd
|
|
1383
|
-
* - cloud_essd
|
|
1384
|
-
* - cloud_auto
|
|
1385
|
-
* - cloud_essd_entry
|
|
1386
|
-
* Default value: cloud_efficiency
|
|
1368
|
+
* The category of the node system disk. Valid values:
|
|
1369
|
+
* - `cloud_efficiency`: Ultra cloud disk.
|
|
1370
|
+
* - `cloud_ssd`: Standard SSD.
|
|
1371
|
+
* - `cloud_essd`: ESSD.
|
|
1372
|
+
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1373
|
+
* - `cloud_essd_entry`: ESSD Entry cloud disk.
|
|
1374
|
+
* Default value: `cloud_efficiency`.
|
|
1387
1375
|
*
|
|
1388
1376
|
* @example
|
|
1389
1377
|
* cloud_efficiency
|
|
@@ -1391,7 +1379,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1391
1379
|
systemDiskCategory?: string;
|
|
1392
1380
|
/**
|
|
1393
1381
|
* @remarks
|
|
1394
|
-
* The encryption algorithm used for the system disk. Valid
|
|
1382
|
+
* The encryption algorithm used for the system disk. Valid values: aes-256.
|
|
1395
1383
|
*
|
|
1396
1384
|
* @example
|
|
1397
1385
|
* aes-256
|
|
@@ -1400,8 +1388,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1400
1388
|
/**
|
|
1401
1389
|
* @remarks
|
|
1402
1390
|
* Specifies whether to encrypt the system disk. Valid values:
|
|
1403
|
-
* - true:
|
|
1404
|
-
* - false:
|
|
1391
|
+
* - true: Encrypts the system disk.
|
|
1392
|
+
* - false: Does not encrypt the system disk.
|
|
1405
1393
|
*
|
|
1406
1394
|
* @example
|
|
1407
1395
|
* false
|
|
@@ -1417,11 +1405,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1417
1405
|
systemDiskKmsKeyId?: string;
|
|
1418
1406
|
/**
|
|
1419
1407
|
* @remarks
|
|
1420
|
-
* The performance level of the system
|
|
1408
|
+
* The performance level of the node system disk. This parameter takes effect only for ESSD cloud 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). Valid values:
|
|
1421
1409
|
* - PL0: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1422
1410
|
* - PL1: Medium concurrent I/O performance and relatively stable read/write latency.
|
|
1423
1411
|
* - PL2: High concurrent I/O performance and stable read/write latency.
|
|
1424
|
-
* - PL3:
|
|
1412
|
+
* - PL3: Extremely high concurrent I/O performance and highly stable read/write latency.
|
|
1425
1413
|
*
|
|
1426
1414
|
* @example
|
|
1427
1415
|
* PL1
|
|
@@ -1429,9 +1417,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1429
1417
|
systemDiskPerformanceLevel?: string;
|
|
1430
1418
|
/**
|
|
1431
1419
|
* @remarks
|
|
1432
|
-
* The provisioned read/write IOPS for the system disk.
|
|
1433
|
-
*
|
|
1434
|
-
* 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).
|
|
1420
|
+
* The provisioned read/write IOPS for the node system disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
1421
|
+
* 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).
|
|
1435
1422
|
*
|
|
1436
1423
|
* @example
|
|
1437
1424
|
* 1000
|
|
@@ -1439,8 +1426,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1439
1426
|
systemDiskProvisionedIops?: number;
|
|
1440
1427
|
/**
|
|
1441
1428
|
* @remarks
|
|
1442
|
-
* The size of the system disk. Unit: GiB.
|
|
1443
|
-
* Valid values: 20 to 2048.
|
|
1429
|
+
* The size of the node system disk. Unit: GiB. Valid values: 20 to 2048.
|
|
1444
1430
|
*
|
|
1445
1431
|
* @example
|
|
1446
1432
|
* 120
|
|
@@ -1456,13 +1442,12 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1456
1442
|
systemDiskSnapshotPolicyId?: string;
|
|
1457
1443
|
/**
|
|
1458
1444
|
* @remarks
|
|
1459
|
-
* Adds tags only to ECS instances.
|
|
1460
|
-
* Tag keys must be unique and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1445
|
+
* Adds tags only to ECS instances. Tag keys must be unique and can be up to 128 characters in length. Neither tag keys nor tag values can start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
1461
1446
|
*/
|
|
1462
1447
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1463
1448
|
/**
|
|
1464
1449
|
* @remarks
|
|
1465
|
-
* The list of vSwitch IDs.
|
|
1450
|
+
* The list of vSwitch IDs. Valid values: 1 to 8.
|
|
1466
1451
|
* > To ensure high availability, we recommend that you select vSwitches in different zones.
|
|
1467
1452
|
*
|
|
1468
1453
|
* This parameter is required.
|
|
@@ -1483,9 +1468,7 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1483
1468
|
/**
|
|
1484
1469
|
* @remarks
|
|
1485
1470
|
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1486
|
-
*
|
|
1487
1471
|
* - true: Enables confidential computing.
|
|
1488
|
-
*
|
|
1489
1472
|
* - false: Does not enable confidential computing.
|
|
1490
1473
|
*
|
|
1491
1474
|
* @example
|
|
@@ -1516,7 +1499,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1516
1499
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1517
1500
|
/**
|
|
1518
1501
|
* @remarks
|
|
1519
|
-
* **[Deprecated]** Use desired_size instead.
|
|
1502
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1503
|
+
*
|
|
1504
|
+
* The number of nodes in the node pool.
|
|
1520
1505
|
*
|
|
1521
1506
|
* @example
|
|
1522
1507
|
* null
|
|
@@ -1531,9 +1516,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1531
1516
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1532
1517
|
/**
|
|
1533
1518
|
* @remarks
|
|
1534
|
-
* Specifies whether
|
|
1535
|
-
* - true
|
|
1536
|
-
* - false
|
|
1519
|
+
* Specifies whether the pod network mode uses the host network mode. Valid values:
|
|
1520
|
+
* - `true`: host network. Pods directly use the network stack of the host and share the IP address and ports with the host.
|
|
1521
|
+
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1537
1522
|
*
|
|
1538
1523
|
* @example
|
|
1539
1524
|
* true
|
|
@@ -1541,16 +1526,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1541
1526
|
hostNetwork?: boolean;
|
|
1542
1527
|
/**
|
|
1543
1528
|
* @remarks
|
|
1544
|
-
* **[Deprecated]**
|
|
1529
|
+
* **[Deprecated]**
|
|
1530
|
+
*
|
|
1531
|
+
* The configuration of the edge node pool.
|
|
1545
1532
|
*
|
|
1546
1533
|
* @deprecated
|
|
1547
1534
|
*/
|
|
1548
1535
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1549
1536
|
/**
|
|
1550
1537
|
* @remarks
|
|
1551
|
-
* The network type of the edge node pool. This parameter takes effect only when type is set to edge
|
|
1552
|
-
*
|
|
1553
|
-
* -
|
|
1538
|
+
* The network type of the edge node pool. This parameter takes effect only when `type` is set to `edge`. Valid values:
|
|
1539
|
+
*
|
|
1540
|
+
* - `basic`: Internet. Nodes in cloud node pool interact with cloud nodes over the Internet. Applications in cloud node pool cannot directly access the internal network of the cloud VPC.
|
|
1541
|
+
* - `private`: private network. Nodes in cloud node pool connect to the cloud network through Express Connect circuits, VPNs, or CEN, which provides higher cloud-edge communication quality and more effective security protection.
|
|
1554
1542
|
*
|
|
1555
1543
|
* @example
|
|
1556
1544
|
* basic
|
|
@@ -1559,8 +1547,8 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1559
1547
|
/**
|
|
1560
1548
|
* @remarks
|
|
1561
1549
|
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool. Valid values:
|
|
1562
|
-
* - true
|
|
1563
|
-
* - false
|
|
1550
|
+
* - `true`: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
|
|
1551
|
+
* - `false`: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
|
|
1564
1552
|
*
|
|
1565
1553
|
* @example
|
|
1566
1554
|
* true
|
|
@@ -1578,7 +1566,7 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1578
1566
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1579
1567
|
/**
|
|
1580
1568
|
* @remarks
|
|
1581
|
-
* **[Deprecated]** The maximum number of nodes
|
|
1569
|
+
* **[Deprecated]** The maximum number of nodes that the edge node pool can accommodate.
|
|
1582
1570
|
*
|
|
1583
1571
|
* @example
|
|
1584
1572
|
* null
|