@alicloud/cs20151215 7.2.3 → 7.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +34 -34
- package/dist/client.js +43 -34
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +200 -161
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +5 -0
- package/dist/models/CreateClusterRequest.js +2 -0
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/DeleteClusterNodepoolRequest.d.ts +3 -1
- package/dist/models/DeleteClusterNodepoolRequest.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/DescribeClusterDetailResponseBody.d.ts +5 -0
- package/dist/models/DescribeClusterDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +172 -176
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterUserKubeconfigRequest.d.ts +4 -4
- package/dist/models/DescribeClusterUserKubeconfigResponseBody.d.ts +1 -1
- package/dist/models/DescribeClustersForRegionResponseBody.d.ts +5 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js +2 -0
- package/dist/models/DescribeClustersForRegionResponseBody.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataRequest.d.ts +5 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js +2 -0
- package/dist/models/DescribeKubernetesVersionMetadataRequest.js.map +1 -1
- package/dist/models/DescribeKubernetesVersionMetadataResponse.d.ts +60 -50
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js +20 -16
- package/dist/models/DescribeKubernetesVersionMetadataResponse.js.map +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/ListNodePoolComponentInstanceNodesRequest.d.ts +1 -1
- package/dist/models/ListNodePoolComponentInstanceNodesResponseBody.d.ts +2 -2
- package/dist/models/ListNodePoolComponentInstanceNodesShrinkRequest.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +210 -235
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +5 -0
- package/dist/models/ModifyClusterRequest.js +2 -0
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +152 -202
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesRequest.js.map +1 -1
- package/dist/models/RemoveNodePoolNodesResponseBody.d.ts +2 -2
- package/dist/models/RemoveNodePoolNodesShrinkRequest.d.ts +6 -5
- package/dist/models/RemoveNodePoolNodesShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +46 -34
- package/src/models/CreateClusterNodePoolRequest.ts +202 -161
- package/src/models/CreateClusterRequest.ts +7 -0
- package/src/models/DeleteClusterNodepoolRequest.ts +3 -1
- package/src/models/DescribeAutoRepairPolicyResponseBody.ts +23 -11
- package/src/models/DescribeClusterDetailResponseBody.ts +7 -0
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +172 -176
- package/src/models/DescribeClusterUserKubeconfigRequest.ts +4 -4
- package/src/models/DescribeClusterUserKubeconfigResponseBody.ts +1 -1
- package/src/models/DescribeClustersForRegionResponseBody.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataRequest.ts +7 -0
- package/src/models/DescribeKubernetesVersionMetadataResponse.ts +80 -66
- package/src/models/DescribePolicyGovernanceInClusterResponseBody.ts +18 -18
- package/src/models/ListAutoRepairPoliciesResponseBody.ts +21 -9
- package/src/models/ListNodePoolComponentInstanceNodesRequest.ts +1 -1
- package/src/models/ListNodePoolComponentInstanceNodesResponseBody.ts +2 -2
- package/src/models/ListNodePoolComponentInstanceNodesShrinkRequest.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +210 -235
- package/src/models/ModifyClusterRequest.ts +7 -0
- package/src/models/Nodepool.ts +152 -202
- package/src/models/RemoveNodePoolNodesRequest.ts +6 -5
- package/src/models/RemoveNodePoolNodesResponseBody.ts +2 -2
- package/src/models/RemoveNodePoolNodesShrinkRequest.ts +6 -5
|
@@ -13,9 +13,9 @@ import { Taint } from "./Taint";
|
|
|
13
13
|
export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* Specifies whether to enable
|
|
17
|
-
* - true: enables
|
|
18
|
-
* - false: disables
|
|
16
|
+
* Specifies whether to enable intelligent management mode. Valid values:
|
|
17
|
+
* - true: enables intelligent management mode. This mode can be enabled only when the cluster has intelligent management mode enabled.
|
|
18
|
+
* - false: disables intelligent management mode.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* true
|
|
@@ -45,7 +45,9 @@ export class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
|
45
45
|
export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
48
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
49
|
+
*
|
|
50
|
+
* The peak bandwidth of the EIP. Unit: Mbit/s.
|
|
49
51
|
*
|
|
50
52
|
* @example
|
|
51
53
|
* null
|
|
@@ -55,10 +57,13 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
55
57
|
eipBandwidth?: number;
|
|
56
58
|
/**
|
|
57
59
|
* @remarks
|
|
58
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
59
|
-
*
|
|
60
|
-
*
|
|
61
|
-
*
|
|
60
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
61
|
+
*
|
|
62
|
+
* The billing method of the EIP. Valid values:
|
|
63
|
+
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
64
|
+
* - `PayByTraffic`: pay-by-data-transfer.
|
|
65
|
+
*
|
|
66
|
+
* Default value: `PayByBandwidth`.
|
|
62
67
|
*
|
|
63
68
|
* @example
|
|
64
69
|
* null
|
|
@@ -69,10 +74,14 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
69
74
|
/**
|
|
70
75
|
* @remarks
|
|
71
76
|
* Specifies whether to enable auto scaling. Valid values:
|
|
72
|
-
*
|
|
73
|
-
* -
|
|
74
|
-
*
|
|
75
|
-
*
|
|
77
|
+
*
|
|
78
|
+
* - `true`: enables auto scaling for the node pool. When the capacity planning of the cluster cannot meet the scheduling of application pods, ACK automatically scales the node resources based on the configured minimum and maximum number 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 scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
79
|
+
*
|
|
80
|
+
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured expected number of nodes, and always maintains the number of nodes at the expected number.
|
|
81
|
+
*
|
|
82
|
+
* When this parameter is set to false, other configuration parameters in `auto_scaling` do not take effect.
|
|
83
|
+
*
|
|
84
|
+
* Default value: `false`.
|
|
76
85
|
*
|
|
77
86
|
* @example
|
|
78
87
|
* false
|
|
@@ -80,10 +89,15 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
80
89
|
enable?: boolean;
|
|
81
90
|
/**
|
|
82
91
|
* @remarks
|
|
83
|
-
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
84
|
-
*
|
|
85
|
-
*
|
|
86
|
-
*
|
|
92
|
+
* **[Deprecated]** This field is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
93
|
+
*
|
|
94
|
+
* Specifies whether to associate an EIP. Valid values:
|
|
95
|
+
*
|
|
96
|
+
* - `true`: associates an EIP.
|
|
97
|
+
*
|
|
98
|
+
* - `false`: does not associate an EIP.
|
|
99
|
+
*
|
|
100
|
+
* Default value: `false`.
|
|
87
101
|
*
|
|
88
102
|
* @example
|
|
89
103
|
* null
|
|
@@ -93,7 +107,8 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
93
107
|
isBondEip?: boolean;
|
|
94
108
|
/**
|
|
95
109
|
* @remarks
|
|
96
|
-
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when enable is set to true
|
|
110
|
+
* The maximum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to `true`.
|
|
111
|
+
*
|
|
97
112
|
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
98
113
|
*
|
|
99
114
|
* @example
|
|
@@ -102,12 +117,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
102
117
|
maxInstances?: number;
|
|
103
118
|
/**
|
|
104
119
|
* @remarks
|
|
105
|
-
* The minimum number of scalable instances in the node pool, excluding
|
|
120
|
+
* The minimum number of scalable instances in the node pool, excluding existing instances. This parameter takes effect only when `enable` is set to `true`.
|
|
106
121
|
*
|
|
107
122
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
108
123
|
*
|
|
109
|
-
* > - If the minimum number of instances is not 0, the automatic creation of the corresponding number of ECS instances
|
|
110
|
-
* > -
|
|
124
|
+
* > - 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.
|
|
125
|
+
* > - 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.
|
|
111
126
|
*
|
|
112
127
|
* @example
|
|
113
128
|
* 1
|
|
@@ -115,18 +130,18 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
115
130
|
minInstances?: number;
|
|
116
131
|
/**
|
|
117
132
|
* @remarks
|
|
118
|
-
* The instance type for elastic scaling. This parameter takes effect only when `enable
|
|
133
|
+
* The instance type for automatic elastic scaling. This parameter takes effect only when `enable` is set to `true`. Valid values:
|
|
119
134
|
*
|
|
120
135
|
* - `cpu`: regular instance.
|
|
121
136
|
*
|
|
122
137
|
* - `gpu`: GPU-accelerated instance.
|
|
123
138
|
*
|
|
124
|
-
* - `gpushare`: shared
|
|
139
|
+
* - `gpushare`: GPU-shared instance.
|
|
125
140
|
*
|
|
126
141
|
* - `spot`: spot instance.
|
|
127
142
|
*
|
|
128
143
|
* Default value: `cpu`.
|
|
129
|
-
* >Notice: This field cannot be modified after the node pool is created
|
|
144
|
+
* >Notice: This field cannot be modified after the node pool is created.
|
|
130
145
|
*
|
|
131
146
|
* @example
|
|
132
147
|
* cpu
|
|
@@ -168,12 +183,12 @@ export class CreateClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
|
168
183
|
export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
169
184
|
/**
|
|
170
185
|
* @remarks
|
|
171
|
-
* Specifies whether to enable automatic addition
|
|
186
|
+
* Specifies whether to enable automatic addition for the Lingjun node pool.
|
|
172
187
|
*/
|
|
173
188
|
autoAttachEnabled?: boolean;
|
|
174
189
|
/**
|
|
175
190
|
* @remarks
|
|
176
|
-
* The ID of the Lingjun cluster to associate when
|
|
191
|
+
* The ID of the Lingjun cluster to associate when creating the Lingjun node pool.
|
|
177
192
|
*
|
|
178
193
|
* @example
|
|
179
194
|
* i1169130516633730****
|
|
@@ -181,7 +196,7 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
181
196
|
clusterId?: string;
|
|
182
197
|
/**
|
|
183
198
|
* @remarks
|
|
184
|
-
* The ID of the Lingjun group in the Lingjun cluster to associate when
|
|
199
|
+
* The ID of the Lingjun group in the Lingjun cluster to associate when creating the Lingjun node pool.
|
|
185
200
|
*
|
|
186
201
|
* @example
|
|
187
202
|
* ng-ec3c96ff0aa****
|
|
@@ -190,6 +205,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
190
205
|
/**
|
|
191
206
|
* @remarks
|
|
192
207
|
* The worker RAM role used by the Lingjun node pool.
|
|
208
|
+
*
|
|
209
|
+
* @example
|
|
210
|
+
* KubernetesWorkerRole-1025ec00-9a27-4c63-8a98-******
|
|
193
211
|
*/
|
|
194
212
|
workerRamRoleName?: string;
|
|
195
213
|
static names(): { [key: string]: string } {
|
|
@@ -222,7 +240,9 @@ export class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Model {
|
|
|
222
240
|
export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
223
241
|
/**
|
|
224
242
|
* @remarks
|
|
225
|
-
* **[Deprecated]**
|
|
243
|
+
* **[Deprecated]**
|
|
244
|
+
*
|
|
245
|
+
* The network bandwidth of the edge-enhanced node pool. Unit: Mbit/s.
|
|
226
246
|
*
|
|
227
247
|
* @example
|
|
228
248
|
* null
|
|
@@ -232,7 +252,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
232
252
|
* @remarks
|
|
233
253
|
* **[Deprecated]**
|
|
234
254
|
*
|
|
235
|
-
* The Cloud Connect Network (CCN) instance ID attached to the enhanced
|
|
255
|
+
* The Cloud Connect Network (CCN) instance ID attached to the edge-enhanced node pool.
|
|
236
256
|
*
|
|
237
257
|
* @example
|
|
238
258
|
* null
|
|
@@ -240,7 +260,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
240
260
|
ccnId?: string;
|
|
241
261
|
/**
|
|
242
262
|
* @remarks
|
|
243
|
-
* **[Deprecated]**
|
|
263
|
+
* **[Deprecated]**
|
|
264
|
+
*
|
|
265
|
+
* The region of the CCN instance associated with the edge-enhanced node pool.
|
|
244
266
|
*
|
|
245
267
|
* @example
|
|
246
268
|
* null
|
|
@@ -250,7 +272,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
250
272
|
* @remarks
|
|
251
273
|
* **[Deprecated]**
|
|
252
274
|
*
|
|
253
|
-
* The Cloud Enterprise Network (CEN) instance ID attached to the enhanced
|
|
275
|
+
* The Cloud Enterprise Network (CEN) instance ID attached to the edge-enhanced node pool.
|
|
254
276
|
*
|
|
255
277
|
* @example
|
|
256
278
|
* null
|
|
@@ -258,7 +280,9 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
258
280
|
cenId?: string;
|
|
259
281
|
/**
|
|
260
282
|
* @remarks
|
|
261
|
-
* **[Deprecated]**
|
|
283
|
+
* **[Deprecated]**
|
|
284
|
+
*
|
|
285
|
+
* The subscription duration of the edge-enhanced node pool. Unit: month.
|
|
262
286
|
*
|
|
263
287
|
* @example
|
|
264
288
|
* null
|
|
@@ -296,7 +320,7 @@ export class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model
|
|
|
296
320
|
export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
297
321
|
/**
|
|
298
322
|
* @remarks
|
|
299
|
-
* Specifies whether to install CloudMonitor on Elastic Compute Service (ECS) nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console.
|
|
323
|
+
* Specifies whether to install CloudMonitor on Elastic Compute Service (ECS) nodes. After installation, you can view the monitoring information of the created ECS instances in the CloudMonitor console. We recommend enabling this feature. Valid values:
|
|
300
324
|
*
|
|
301
325
|
* - `true`: installs CloudMonitor on ECS nodes.
|
|
302
326
|
*
|
|
@@ -323,21 +347,21 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
323
347
|
cpuPolicy?: string;
|
|
324
348
|
/**
|
|
325
349
|
* @remarks
|
|
326
|
-
* The labels
|
|
350
|
+
* The node labels. Adds labels to the nodes in the Kubernetes cluster.
|
|
327
351
|
*/
|
|
328
352
|
labels?: Tag[];
|
|
329
353
|
/**
|
|
330
354
|
* @remarks
|
|
331
355
|
* The custom node name. After you customize the node name, the node name, ECS instance name, and ECS instance hostname are changed at the same time.
|
|
332
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed
|
|
356
|
+
* > For Windows instances with custom node names enabled, the hostname is fixed as the IP address, with hyphens (-) replacing the periods (.) in the IP address, and without prefixes or suffixes.
|
|
333
357
|
*
|
|
334
|
-
* The node name consists of three parts:
|
|
358
|
+
* The node name consists of three parts: prefix, node IP address, and suffix:
|
|
335
359
|
*
|
|
336
360
|
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
337
361
|
*
|
|
338
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and
|
|
362
|
+
* - 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.
|
|
339
363
|
* - The prefix is required (due to ECS limits), and the suffix is optional.
|
|
340
|
-
* - The node IP
|
|
364
|
+
* - The node IP is the complete private IP address of the node.
|
|
341
365
|
*
|
|
342
366
|
* For example, if the node IP address is 192.XX.YY.55, the specified prefix is aliyun.com, and the suffix is test:
|
|
343
367
|
*
|
|
@@ -351,7 +375,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
351
375
|
nodeNameMode?: string;
|
|
352
376
|
/**
|
|
353
377
|
* @remarks
|
|
354
|
-
* The pre-custom data of the instance. 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).
|
|
378
|
+
* The pre-custom data of the instance. Before the node joins the cluster, the specified pre-custom data script of the instance is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
355
379
|
*
|
|
356
380
|
* @example
|
|
357
381
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -359,11 +383,11 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
359
383
|
preUserData?: string;
|
|
360
384
|
/**
|
|
361
385
|
* @remarks
|
|
362
|
-
* The name of the container runtime.
|
|
386
|
+
* The name of the container runtime. ACK supports the following three container runtimes:
|
|
363
387
|
*
|
|
364
|
-
* - containerd: recommended.
|
|
365
|
-
* - Sandboxed-Container.runv:
|
|
366
|
-
* - docker:
|
|
388
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
389
|
+
* - Sandboxed-Container.runv: sandboxed container. Provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
390
|
+
* - docker: deprecated. Supports cluster versions 1.22 and earlier.
|
|
367
391
|
*
|
|
368
392
|
* Default value: containerd.
|
|
369
393
|
*
|
|
@@ -381,16 +405,16 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
381
405
|
runtimeVersion?: string;
|
|
382
406
|
/**
|
|
383
407
|
* @remarks
|
|
384
|
-
* The taint
|
|
408
|
+
* The taint configuration.
|
|
385
409
|
*/
|
|
386
410
|
taints?: Taint[];
|
|
387
411
|
/**
|
|
388
412
|
* @remarks
|
|
389
|
-
* Specifies whether the scaled-out nodes are unschedulable.
|
|
413
|
+
* Specifies whether the scaled-out nodes are unschedulable. Valid values:
|
|
390
414
|
*
|
|
391
|
-
* - true: unschedulable.
|
|
415
|
+
* - true: The nodes are unschedulable.
|
|
392
416
|
*
|
|
393
|
-
* - false: schedulable.
|
|
417
|
+
* - false: The nodes are schedulable.
|
|
394
418
|
*
|
|
395
419
|
* @example
|
|
396
420
|
* true
|
|
@@ -398,7 +422,7 @@ export class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
|
398
422
|
unschedulable?: boolean;
|
|
399
423
|
/**
|
|
400
424
|
* @remarks
|
|
401
|
-
* The instance user data. After
|
|
425
|
+
* The instance user data. After the node joins the cluster, the specified instance user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
402
426
|
*
|
|
403
427
|
* @example
|
|
404
428
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -455,6 +479,14 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
455
479
|
* Specifies whether manual approval is required for node repair.
|
|
456
480
|
*/
|
|
457
481
|
approvalRequired?: boolean;
|
|
482
|
+
/**
|
|
483
|
+
* @remarks
|
|
484
|
+
* 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.
|
|
485
|
+
*
|
|
486
|
+
* @example
|
|
487
|
+
* r-xxxxxxxxxx
|
|
488
|
+
*/
|
|
489
|
+
autoRepairPolicyId?: string;
|
|
458
490
|
/**
|
|
459
491
|
* @remarks
|
|
460
492
|
* The maximum number of parallel repairs. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired at the same time. You can specify a number (such as 5, valid values: 1 to 100000) or a percentage (such as 10%, valid values: 1% to 100%). Default value on the backend: 1.
|
|
@@ -473,7 +505,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
473
505
|
maxUnhealthyNodesThreshold?: string;
|
|
474
506
|
/**
|
|
475
507
|
* @remarks
|
|
476
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair
|
|
508
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
477
509
|
*
|
|
478
510
|
* - `true`: allows node restarts.
|
|
479
511
|
* - `false`: does not allow node restarts.
|
|
@@ -487,6 +519,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
487
519
|
static names(): { [key: string]: string } {
|
|
488
520
|
return {
|
|
489
521
|
approvalRequired: 'approval_required',
|
|
522
|
+
autoRepairPolicyId: 'auto_repair_policy_id',
|
|
490
523
|
maxParallelRepairingNodes: 'max_parallel_repairing_nodes',
|
|
491
524
|
maxUnhealthyNodesThreshold: 'max_unhealthy_nodes_threshold',
|
|
492
525
|
restartNode: 'restart_node',
|
|
@@ -496,6 +529,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
496
529
|
static types(): { [key: string]: any } {
|
|
497
530
|
return {
|
|
498
531
|
approvalRequired: 'boolean',
|
|
532
|
+
autoRepairPolicyId: 'string',
|
|
499
533
|
maxParallelRepairingNodes: 'string',
|
|
500
534
|
maxUnhealthyNodesThreshold: 'string',
|
|
501
535
|
restartNode: 'boolean',
|
|
@@ -514,7 +548,7 @@ export class CreateClusterNodePoolRequestManagementAutoRepairPolicy extends $dar
|
|
|
514
548
|
export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
515
549
|
/**
|
|
516
550
|
* @remarks
|
|
517
|
-
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade
|
|
551
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
518
552
|
* - `true`: allows automatic kubelet upgrades.
|
|
519
553
|
* - `false`: does not allow automatic kubelet upgrades.
|
|
520
554
|
*
|
|
@@ -526,7 +560,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
526
560
|
autoUpgradeKubelet?: boolean;
|
|
527
561
|
/**
|
|
528
562
|
* @remarks
|
|
529
|
-
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade
|
|
563
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
530
564
|
* - `true`: allows automatic operating system upgrades.
|
|
531
565
|
* - `false`: does not allow automatic operating system upgrades.
|
|
532
566
|
*
|
|
@@ -538,7 +572,7 @@ export class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $da
|
|
|
538
572
|
autoUpgradeOs?: boolean;
|
|
539
573
|
/**
|
|
540
574
|
* @remarks
|
|
541
|
-
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade
|
|
575
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
542
576
|
* - `true`: allows automatic runtime upgrades.
|
|
543
577
|
* - `false`: does not allow automatic runtime upgrades.
|
|
544
578
|
*
|
|
@@ -586,7 +620,7 @@ export class CreateClusterNodePoolRequestManagementAutoVulFixPolicy extends $dar
|
|
|
586
620
|
excludePackages?: string;
|
|
587
621
|
/**
|
|
588
622
|
* @remarks
|
|
589
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix
|
|
623
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
590
624
|
* - `true`: allows node restarts.
|
|
591
625
|
* - `false`: does not allow node restarts.
|
|
592
626
|
*
|
|
@@ -655,7 +689,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
655
689
|
/**
|
|
656
690
|
* @remarks
|
|
657
691
|
* The maximum number of unavailable nodes.
|
|
658
|
-
* Valid values: [1,
|
|
692
|
+
* Valid values: [1,1000\\].
|
|
659
693
|
*
|
|
660
694
|
* Default value: 1.
|
|
661
695
|
*
|
|
@@ -669,7 +703,7 @@ export class CreateClusterNodePoolRequestManagementUpgradeConfig extends $dara.M
|
|
|
669
703
|
*
|
|
670
704
|
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
671
705
|
*
|
|
672
|
-
* >
|
|
706
|
+
* > We recommend that the number of extra nodes does not exceed the current number of nodes.
|
|
673
707
|
*
|
|
674
708
|
* @example
|
|
675
709
|
* 0
|
|
@@ -720,7 +754,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
720
754
|
autoFaultDiagnosis?: boolean;
|
|
721
755
|
/**
|
|
722
756
|
* @remarks
|
|
723
|
-
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable
|
|
757
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
724
758
|
*
|
|
725
759
|
* - `true`: automatically repairs nodes.
|
|
726
760
|
*
|
|
@@ -739,7 +773,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
739
773
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
740
774
|
/**
|
|
741
775
|
* @remarks
|
|
742
|
-
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable
|
|
776
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
743
777
|
* - `true`: enables auto-upgrade.
|
|
744
778
|
* - `false`: disables auto-upgrade.
|
|
745
779
|
*
|
|
@@ -756,10 +790,10 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
756
790
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
757
791
|
/**
|
|
758
792
|
* @remarks
|
|
759
|
-
* Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE) vulnerabilities. This parameter takes effect only when `enable
|
|
793
|
+
* Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE) vulnerabilities. This parameter takes effect only when `enable=true`. Valid values:
|
|
760
794
|
*
|
|
761
|
-
* - `true`: allows automatic CVE
|
|
762
|
-
* - `false`: does not allow automatic CVE
|
|
795
|
+
* - `true`: allows automatic CVE repair.
|
|
796
|
+
* - `false`: does not allow automatic CVE repair.
|
|
763
797
|
*
|
|
764
798
|
* Default value: `true`.
|
|
765
799
|
*
|
|
@@ -769,12 +803,12 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
769
803
|
autoVulFix?: boolean;
|
|
770
804
|
/**
|
|
771
805
|
* @remarks
|
|
772
|
-
* The
|
|
806
|
+
* The auto-repair policy for CVEs.
|
|
773
807
|
*/
|
|
774
808
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
775
809
|
/**
|
|
776
810
|
* @remarks
|
|
777
|
-
* Specifies whether to enable the node rotation capability. This feature is supported only by intelligent managed node pools and is enabled by default.
|
|
811
|
+
* Specifies whether to enable the node rotation capability. This feature is supported only by intelligent managed node pools and is enabled by default. Common node pools do not support this feature.
|
|
778
812
|
*/
|
|
779
813
|
driftEnabled?: boolean;
|
|
780
814
|
/**
|
|
@@ -783,9 +817,9 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
783
817
|
*
|
|
784
818
|
* - `true`: enables the managed feature.
|
|
785
819
|
*
|
|
786
|
-
* - `false`: disables the managed feature. Other related configurations take effect only when
|
|
820
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
787
821
|
*
|
|
788
|
-
* Default value:
|
|
822
|
+
* Default value: false.
|
|
789
823
|
*
|
|
790
824
|
* @example
|
|
791
825
|
* false
|
|
@@ -795,7 +829,7 @@ export class CreateClusterNodePoolRequestManagement extends $dara.Model {
|
|
|
795
829
|
* @remarks
|
|
796
830
|
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
797
831
|
*
|
|
798
|
-
* The auto-upgrade
|
|
832
|
+
* The auto-upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
799
833
|
*
|
|
800
834
|
* @deprecated
|
|
801
835
|
*/
|
|
@@ -992,7 +1026,7 @@ export class CreateClusterNodePoolRequestNodeConfigNodeOsConfig extends $dara.Mo
|
|
|
992
1026
|
hugepage?: Hugepage;
|
|
993
1027
|
/**
|
|
994
1028
|
* @remarks
|
|
995
|
-
* The sysctl kernel parameter settings. Only
|
|
1029
|
+
* The sysctl kernel parameter settings. Only specific kernel parameters are supported, and the cluster version must be 1.28 or later.
|
|
996
1030
|
*
|
|
997
1031
|
* @example
|
|
998
1032
|
* {"fs.file-max":"1048576"}
|
|
@@ -1080,7 +1114,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1080
1114
|
name?: string;
|
|
1081
1115
|
/**
|
|
1082
1116
|
* @remarks
|
|
1083
|
-
* The resource group ID of the node pool.
|
|
1117
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
1084
1118
|
*
|
|
1085
1119
|
* 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.
|
|
1086
1120
|
*
|
|
@@ -1090,9 +1124,9 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1090
1124
|
resourceGroupId?: string;
|
|
1091
1125
|
/**
|
|
1092
1126
|
* @remarks
|
|
1093
|
-
* The node pool
|
|
1127
|
+
* The type of the node pool. Valid values:
|
|
1094
1128
|
*
|
|
1095
|
-
* - `ess`: standard node pool
|
|
1129
|
+
* - `ess`: standard node pool, which includes managed and elastic scaling features.
|
|
1096
1130
|
* - `edge`: edge node pool.
|
|
1097
1131
|
* - `lingjun`: Lingjun node pool.
|
|
1098
1132
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -1129,7 +1163,7 @@ export class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Model {
|
|
|
1129
1163
|
export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
1130
1164
|
/**
|
|
1131
1165
|
* @remarks
|
|
1132
|
-
* Specifies whether to enable nested virtualization. Valid values:
|
|
1166
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
|
|
1133
1167
|
*
|
|
1134
1168
|
* @example
|
|
1135
1169
|
* enabled
|
|
@@ -1159,7 +1193,7 @@ export class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Mo
|
|
|
1159
1193
|
export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
1160
1194
|
/**
|
|
1161
1195
|
* @remarks
|
|
1162
|
-
* The ID of the private pool
|
|
1196
|
+
* The ID of the private node pool. When `match_criteria` is set to `Target`, you must specify the ID of the private pool.
|
|
1163
1197
|
*
|
|
1164
1198
|
* @example
|
|
1165
1199
|
* eap-bp67acfmxazb4****
|
|
@@ -1167,10 +1201,10 @@ export class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends
|
|
|
1167
1201
|
id?: string;
|
|
1168
1202
|
/**
|
|
1169
1203
|
* @remarks
|
|
1170
|
-
* The private pool capacity
|
|
1171
|
-
* - `Open`: open mode. The system automatically matches
|
|
1172
|
-
* - `Target`:
|
|
1173
|
-
* - `None`: no private pool mode. The system does not use private pool capacity to start
|
|
1204
|
+
* The type of the private node pool and the private pool capacity option for instance startup. After an elasticity assurance or capacity reservation takes effect, private pool capacity is generated for you to select when starting instances. Valid values:
|
|
1205
|
+
* - `Open`: open mode. The system automatically matches open private pool capacity. If no eligible private pool capacity is available, public pool resources are used to start the instance. In this mode, you do not need to specify the PrivatePoolOptions.Id parameter.
|
|
1206
|
+
* - `Target`: specified mode. The system uses the specified private pool capacity to start the instance. If the specified private pool capacity is unavailable, the instance fails to start. In this mode, you must specify the private pool ID, which means the PrivatePoolOptions.Id parameter is required.
|
|
1207
|
+
* - `None`: no private pool mode. The system does not use private pool capacity to start the instance.
|
|
1174
1208
|
*
|
|
1175
1209
|
* @example
|
|
1176
1210
|
* Target
|
|
@@ -1207,10 +1241,10 @@ export class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions extends
|
|
|
1207
1241
|
privatePoolIds?: string[];
|
|
1208
1242
|
/**
|
|
1209
1243
|
* @remarks
|
|
1210
|
-
* The resource pool strategy used to create instances. Resource pools include private pools generated after elasticity assurances or capacity reservations take effect, as well as public pools. Valid values:
|
|
1211
|
-
* PrivatePoolFirst: Private pool first.
|
|
1212
|
-
* PrivatePoolOnly: Private pool only.
|
|
1213
|
-
* None: No resource pool strategy is used.
|
|
1244
|
+
* The resource pool strategy used to create 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:
|
|
1245
|
+
* - 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 instances.
|
|
1246
|
+
* - 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.
|
|
1247
|
+
* - None: No resource pool strategy is used.
|
|
1214
1248
|
* Default value: None.
|
|
1215
1249
|
*
|
|
1216
1250
|
* @example
|
|
@@ -1254,7 +1288,12 @@ export class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit extends $dar
|
|
|
1254
1288
|
instanceType?: string;
|
|
1255
1289
|
/**
|
|
1256
1290
|
* @remarks
|
|
1257
|
-
* The maximum price per instance.
|
|
1291
|
+
* The maximum price per instance.
|
|
1292
|
+
* <props="china">Unit: CNY/hour.
|
|
1293
|
+
*
|
|
1294
|
+
*
|
|
1295
|
+
*
|
|
1296
|
+
* <props="intl">Unit: USD/hour.
|
|
1258
1297
|
*
|
|
1259
1298
|
* @example
|
|
1260
1299
|
* 0.39
|
|
@@ -1361,7 +1400,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1361
1400
|
cisEnabled?: boolean;
|
|
1362
1401
|
/**
|
|
1363
1402
|
* @remarks
|
|
1364
|
-
* 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
|
|
1403
|
+
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances when `multi_az_policy` is set to `COST_OPTIMIZED` and sufficient spot instances cannot be created due to price or inventory reasons. Valid values:
|
|
1365
1404
|
*
|
|
1366
1405
|
* - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
|
|
1367
1406
|
* - `false`: does not automatically create pay-as-you-go instances.
|
|
@@ -1385,7 +1424,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1385
1424
|
* 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 creating ECS instances in a deployment set, the instances are started in a distributed manner in the specified region based on the predefined deployment policy.
|
|
1386
1425
|
*
|
|
1387
1426
|
*
|
|
1388
|
-
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports up to 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
|
|
1427
|
+
* >Notice: After you select a deployment set, the maximum number of nodes in the node pool is limited. By default, a deployment set supports up to 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.
|
|
1389
1428
|
*
|
|
1390
1429
|
* @example
|
|
1391
1430
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1426,7 +1465,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1426
1465
|
imageId?: string;
|
|
1427
1466
|
/**
|
|
1428
1467
|
* @remarks
|
|
1429
|
-
* The type of the operating system image.
|
|
1468
|
+
* The type of the operating system image. Valid values:
|
|
1430
1469
|
*
|
|
1431
1470
|
* - `AliyunLinux`: Alinux2 image.
|
|
1432
1471
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -1445,7 +1484,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1445
1484
|
imageType?: string;
|
|
1446
1485
|
/**
|
|
1447
1486
|
* @remarks
|
|
1448
|
-
* The billing method
|
|
1487
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
1449
1488
|
*
|
|
1450
1489
|
* - `PrePaid`: subscription.
|
|
1451
1490
|
*
|
|
@@ -1453,6 +1492,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1453
1492
|
*
|
|
1454
1493
|
* Default value: `PostPaid`.
|
|
1455
1494
|
*
|
|
1495
|
+
* Deleting a node pool, scaling in a node pool, or removing nodes does not automatically release subscription nodes. Automatic release subscription nodes, [change the billing method of the nodes from subscription to pay-as-you-go](https://www.alibabacloud.com/help/en/ecs/change-the-billing-method-of-an-instance-from-subscription-to-pay-as-you-go-1), and then log on to the ECS console automatic release them.
|
|
1496
|
+
*
|
|
1456
1497
|
* This parameter is required.
|
|
1457
1498
|
*
|
|
1458
1499
|
* @example
|
|
@@ -1473,7 +1514,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1473
1514
|
* @remarks
|
|
1474
1515
|
* 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.
|
|
1475
1516
|
*
|
|
1476
|
-
*
|
|
1517
|
+
* Valid values for the number of supported instance types: [1,10].
|
|
1477
1518
|
*
|
|
1478
1519
|
*
|
|
1479
1520
|
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
@@ -1485,8 +1526,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1485
1526
|
* @remarks
|
|
1486
1527
|
* The billing method for the public IP address. Valid values:
|
|
1487
1528
|
*
|
|
1488
|
-
* -
|
|
1489
|
-
* -
|
|
1529
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1530
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1490
1531
|
*
|
|
1491
1532
|
* @example
|
|
1492
1533
|
* PayByTraffic
|
|
@@ -1494,7 +1535,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1494
1535
|
internetChargeType?: string;
|
|
1495
1536
|
/**
|
|
1496
1537
|
* @remarks
|
|
1497
|
-
* The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: 1
|
|
1538
|
+
* The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1498
1539
|
*
|
|
1499
1540
|
* @example
|
|
1500
1541
|
* 5
|
|
@@ -1502,7 +1543,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1502
1543
|
internetMaxBandwidthOut?: number;
|
|
1503
1544
|
/**
|
|
1504
1545
|
* @remarks
|
|
1505
|
-
* The name of the key pair for passwordless logon.
|
|
1546
|
+
* The name of the key pair used for passwordless logon. You must specify either this parameter or `login_password`.
|
|
1506
1547
|
*
|
|
1507
1548
|
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1508
1549
|
*
|
|
@@ -1512,11 +1553,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1512
1553
|
keyPair?: string;
|
|
1513
1554
|
/**
|
|
1514
1555
|
* @remarks
|
|
1515
|
-
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1556
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1516
1557
|
*
|
|
1517
|
-
* -
|
|
1558
|
+
* - true: logs on as a non-root user (ecs-user).
|
|
1518
1559
|
*
|
|
1519
|
-
* -
|
|
1560
|
+
* - false: logs on as the root user.
|
|
1520
1561
|
*
|
|
1521
1562
|
* @example
|
|
1522
1563
|
* true
|
|
@@ -1524,7 +1565,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1524
1565
|
loginAsNonRoot?: boolean;
|
|
1525
1566
|
/**
|
|
1526
1567
|
* @remarks
|
|
1527
|
-
* The SSH logon password. You must specify either this parameter or `key_pair`. The password must be 8 to 30 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1568
|
+
* The SSH logon password. You must specify 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.
|
|
1528
1569
|
*
|
|
1529
1570
|
* @example
|
|
1530
1571
|
* ****
|
|
@@ -1534,13 +1575,13 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1534
1575
|
* @remarks
|
|
1535
1576
|
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1536
1577
|
*
|
|
1537
|
-
* - `PRIORITY`:
|
|
1578
|
+
* - `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.
|
|
1538
1579
|
*
|
|
1539
|
-
* - `COST_OPTIMIZED`:
|
|
1580
|
+
* - `COST_OPTIMIZED`: creates ECS instances based on the vCPU unit price in ascending order. If the scaling configuration specifies multiple instance types and the billing method is set to spot instance, the system preferentially creates spot instances. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when spot instances cannot be created due to inventory shortages.
|
|
1540
1581
|
*
|
|
1541
1582
|
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1542
1583
|
*
|
|
1543
|
-
* - `BALANCE`:
|
|
1584
|
+
* - `BALANCE`: evenly allocates ECS instances across the zones specified in the scaling group. If the distribution becomes unbalanced due to inventory shortages, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) API operation to balance the resources.
|
|
1544
1585
|
*
|
|
1545
1586
|
* Default value: `PRIORITY`.
|
|
1546
1587
|
*
|
|
@@ -1550,7 +1591,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1550
1591
|
multiAzPolicy?: string;
|
|
1551
1592
|
/**
|
|
1552
1593
|
* @remarks
|
|
1553
|
-
* The minimum number of pay-as-you-go instances required
|
|
1594
|
+
* The minimum number of pay-as-you-go instances required in the scaling group. Valid values: [0,1000\\]. If the number of pay-as-you-go instances is less than this value, the system preferentially creates pay-as-you-go instances.
|
|
1554
1595
|
*
|
|
1555
1596
|
* @example
|
|
1556
1597
|
* 0
|
|
@@ -1558,7 +1599,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1558
1599
|
onDemandBaseCapacity?: number;
|
|
1559
1600
|
/**
|
|
1560
1601
|
* @remarks
|
|
1561
|
-
* The percentage of pay-as-you-go instances among the
|
|
1602
|
+
* The percentage of pay-as-you-go instances among the additional instances after the scaling group meets the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
1562
1603
|
*
|
|
1563
1604
|
* @example
|
|
1564
1605
|
* 20
|
|
@@ -1566,7 +1607,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1566
1607
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1567
1608
|
/**
|
|
1568
1609
|
* @remarks
|
|
1569
|
-
* The subscription duration
|
|
1610
|
+
* 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`.
|
|
1570
1611
|
*
|
|
1571
1612
|
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1572
1613
|
* - 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.
|
|
@@ -1577,10 +1618,10 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1577
1618
|
period?: number;
|
|
1578
1619
|
/**
|
|
1579
1620
|
* @remarks
|
|
1580
|
-
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1621
|
+
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
1581
1622
|
*
|
|
1582
|
-
* - `Month`:
|
|
1583
|
-
* - `Week`:
|
|
1623
|
+
* - `Month`: uses the month as the billing unit.
|
|
1624
|
+
* - `Week`: uses the week as the billing unit.
|
|
1584
1625
|
*
|
|
1585
1626
|
* Default value: `Month`.
|
|
1586
1627
|
*
|
|
@@ -1616,9 +1657,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1616
1657
|
* The name of the worker RAM role.
|
|
1617
1658
|
*
|
|
1618
1659
|
* * If this parameter is left empty, the default worker RAM role created for the cluster is used.
|
|
1619
|
-
* * If this parameter is specified, the RAM role must be a **normal service role
|
|
1660
|
+
* * If this parameter is specified, the RAM role must be a **normal service role**, and its **trusted service** must be configured as **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-`.
|
|
1620
1661
|
*
|
|
1621
|
-
* >Notice: This parameter is supported only by ACK managed clusters of
|
|
1662
|
+
* >Notice: This parameter is supported only by ACK managed clusters of Kubernetes 1.22 and later.
|
|
1622
1663
|
*
|
|
1623
1664
|
* @example
|
|
1624
1665
|
* example-role
|
|
@@ -1631,7 +1672,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1631
1672
|
rdsInstances?: string[];
|
|
1632
1673
|
/**
|
|
1633
1674
|
* @remarks
|
|
1634
|
-
* The resource pool and resource pool policy used
|
|
1675
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you configure this parameter:
|
|
1635
1676
|
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1636
1677
|
* This parameter cannot be configured at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1637
1678
|
*/
|
|
@@ -1639,9 +1680,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1639
1680
|
/**
|
|
1640
1681
|
* @remarks
|
|
1641
1682
|
* The scaling group mode. Valid values:
|
|
1642
|
-
* - release
|
|
1643
|
-
* - recycle
|
|
1644
|
-
* Default value: release
|
|
1683
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on the requested resource usage.
|
|
1684
|
+
* - `recycle`: Extreme mode. Scales by creating, stopping, and starting instances to improve the speed of subsequent scaling operations. When an instance is stopped, you are not charged for compute resources, but you are still charged for storage resources, except for instances with local disks.
|
|
1685
|
+
* Default value: `release`.
|
|
1645
1686
|
*
|
|
1646
1687
|
* @example
|
|
1647
1688
|
* release
|
|
@@ -1649,7 +1690,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1649
1690
|
scalingPolicy?: string;
|
|
1650
1691
|
/**
|
|
1651
1692
|
* @remarks
|
|
1652
|
-
* The security group ID of the node pool. You can specify this parameter or security_group_ids
|
|
1693
|
+
* The security group ID of the node pool. You can specify either this parameter or `security_group_ids`. We recommend that you use `security_group_ids`.
|
|
1653
1694
|
*
|
|
1654
1695
|
* @example
|
|
1655
1696
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1659,15 +1700,15 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1659
1700
|
securityGroupId?: string;
|
|
1660
1701
|
/**
|
|
1661
1702
|
* @remarks
|
|
1662
|
-
* The list of security group IDs. You can specify this parameter or security_group_id
|
|
1703
|
+
* The list of security group IDs. You can 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.
|
|
1663
1704
|
*/
|
|
1664
1705
|
securityGroupIds?: string[];
|
|
1665
1706
|
/**
|
|
1666
1707
|
* @remarks
|
|
1667
1708
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1668
|
-
* - true
|
|
1669
|
-
* - false
|
|
1670
|
-
* Default value: false
|
|
1709
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1710
|
+
* - `false`: does not enable Alibaba Cloud OS security hardening.
|
|
1711
|
+
* Default value: `false`.
|
|
1671
1712
|
*
|
|
1672
1713
|
* @example
|
|
1673
1714
|
* false
|
|
@@ -1675,7 +1716,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1675
1716
|
securityHardeningOs?: boolean;
|
|
1676
1717
|
/**
|
|
1677
1718
|
* @remarks
|
|
1678
|
-
* Specifies whether to enable MLPS 2.0 security hardening. You can enable
|
|
1719
|
+
* 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.
|
|
1679
1720
|
*
|
|
1680
1721
|
* @example
|
|
1681
1722
|
* false
|
|
@@ -1691,9 +1732,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1691
1732
|
spotInstancePools?: number;
|
|
1692
1733
|
/**
|
|
1693
1734
|
* @remarks
|
|
1694
|
-
* Specifies whether to enable spot instance replenishment. After this feature is enabled, when the scaling group receives a system message that a spot instance
|
|
1695
|
-
* - true
|
|
1696
|
-
* - false
|
|
1735
|
+
* 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:
|
|
1736
|
+
* - `true`: enables spot instance replenishment.
|
|
1737
|
+
* - `false`: does not enable spot instance replenishment.
|
|
1697
1738
|
*
|
|
1698
1739
|
* @example
|
|
1699
1740
|
* false
|
|
@@ -1707,9 +1748,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1707
1748
|
/**
|
|
1708
1749
|
* @remarks
|
|
1709
1750
|
* The spot instance strategy. Valid values:
|
|
1710
|
-
* - NoSpot
|
|
1711
|
-
* - SpotWithPriceLimit
|
|
1712
|
-
* - SpotAsPriceGo
|
|
1751
|
+
* - `NoSpot`: pay-as-you-go instance.
|
|
1752
|
+
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1753
|
+
* - `SpotAsPriceGo`: uses the system automatic bidding strategy, which follows the actual market price.
|
|
1713
1754
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1714
1755
|
*
|
|
1715
1756
|
* @example
|
|
@@ -1721,7 +1762,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1721
1762
|
* Specifies whether to enable performance burst for the system disk of the node. Valid values:
|
|
1722
1763
|
* - true: yes.
|
|
1723
1764
|
* - false: no.
|
|
1724
|
-
* This parameter is supported only when system_disk_category is set to cloud_auto
|
|
1765
|
+
* 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).
|
|
1725
1766
|
*
|
|
1726
1767
|
* @example
|
|
1727
1768
|
* true
|
|
@@ -1729,18 +1770,18 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1729
1770
|
systemDiskBurstingEnabled?: boolean;
|
|
1730
1771
|
/**
|
|
1731
1772
|
* @remarks
|
|
1732
|
-
* The
|
|
1773
|
+
* The list of system disk types. If a disk type with a higher priority is unavailable, the system automatically tries the next disk type in the list to create the system disk.
|
|
1733
1774
|
*/
|
|
1734
1775
|
systemDiskCategories?: string[];
|
|
1735
1776
|
/**
|
|
1736
1777
|
* @remarks
|
|
1737
|
-
* The system disk
|
|
1738
|
-
* - cloud_efficiency
|
|
1739
|
-
* - cloud_ssd
|
|
1740
|
-
* - cloud_essd
|
|
1741
|
-
* - cloud_auto
|
|
1742
|
-
* - cloud_essd_entry
|
|
1743
|
-
* Default value: cloud_efficiency
|
|
1778
|
+
* The system disk type of the node. Valid values:
|
|
1779
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1780
|
+
* - `cloud_ssd`: standard SSD.
|
|
1781
|
+
* - `cloud_essd`: ESSD.
|
|
1782
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1783
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1784
|
+
* Default value: `cloud_efficiency`.
|
|
1744
1785
|
*
|
|
1745
1786
|
* @example
|
|
1746
1787
|
* cloud_efficiency
|
|
@@ -1766,7 +1807,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1766
1807
|
systemDiskEncrypted?: boolean;
|
|
1767
1808
|
/**
|
|
1768
1809
|
* @remarks
|
|
1769
|
-
* The ID of the KMS key used for the system disk.
|
|
1810
|
+
* The ID of the Key Management Service (KMS) key used for the system disk.
|
|
1770
1811
|
*
|
|
1771
1812
|
* @example
|
|
1772
1813
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1774,11 +1815,11 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1774
1815
|
systemDiskKmsKeyId?: string;
|
|
1775
1816
|
/**
|
|
1776
1817
|
* @remarks
|
|
1777
|
-
* The performance level of the system
|
|
1778
|
-
* - PL0:
|
|
1779
|
-
* - PL1:
|
|
1780
|
-
* - PL2:
|
|
1781
|
-
* - PL3:
|
|
1818
|
+
* The performance level of the system disk. This parameter is applicable only to ESSDs, excluding standard SSDs. The performance level varies based on the disk size. For more information, see [ESSD](https://help.aliyun.com/document_detail/122389.html). Valid values:
|
|
1819
|
+
* - PL0: provides medium concurrent I/O performance and relatively stable read/write latency.
|
|
1820
|
+
* - PL1: provides medium concurrent I/O performance and relatively stable read/write latency.
|
|
1821
|
+
* - PL2: provides high concurrent I/O performance and stable read/write latency.
|
|
1822
|
+
* - PL3: provides extremely high concurrent I/O performance and highly stable read/write latency.
|
|
1782
1823
|
*
|
|
1783
1824
|
* @example
|
|
1784
1825
|
* PL1
|
|
@@ -1786,9 +1827,8 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1786
1827
|
systemDiskPerformanceLevel?: string;
|
|
1787
1828
|
/**
|
|
1788
1829
|
* @remarks
|
|
1789
|
-
* The provisioned read/write IOPS for the system disk.
|
|
1790
|
-
*
|
|
1791
|
-
* 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).
|
|
1830
|
+
* The provisioned read/write IOPS for the system disk. Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50,000}.
|
|
1831
|
+
* 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).
|
|
1792
1832
|
*
|
|
1793
1833
|
* @example
|
|
1794
1834
|
* 1000
|
|
@@ -1796,8 +1836,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1796
1836
|
systemDiskProvisionedIops?: number;
|
|
1797
1837
|
/**
|
|
1798
1838
|
* @remarks
|
|
1799
|
-
* The size of the system disk. Unit: GiB.
|
|
1800
|
-
* Valid values: 20 to 2048.
|
|
1839
|
+
* The size of the system disk. Unit: GiB. Valid values: 20 to 2048.
|
|
1801
1840
|
*
|
|
1802
1841
|
* @example
|
|
1803
1842
|
* 120
|
|
@@ -1813,8 +1852,7 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1813
1852
|
systemDiskSnapshotPolicyId?: string;
|
|
1814
1853
|
/**
|
|
1815
1854
|
* @remarks
|
|
1816
|
-
* Adds tags only to ECS instances.
|
|
1817
|
-
* 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://".
|
|
1855
|
+
* 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://".
|
|
1818
1856
|
*/
|
|
1819
1857
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1820
1858
|
/**
|
|
@@ -1993,11 +2031,9 @@ export class CreateClusterNodePoolRequestScalingGroup extends $dara.Model {
|
|
|
1993
2031
|
export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1994
2032
|
/**
|
|
1995
2033
|
* @remarks
|
|
1996
|
-
* Specifies whether
|
|
1997
|
-
*
|
|
1998
|
-
* -
|
|
1999
|
-
*
|
|
2000
|
-
* - false: Does not enable confidential computing.
|
|
2034
|
+
* Specifies whether confidential computing is enabled for the cluster. Valid values:
|
|
2035
|
+
* - true: Confidential computing is enabled.
|
|
2036
|
+
* - false: Confidential computing is not enabled.
|
|
2001
2037
|
*
|
|
2002
2038
|
* @example
|
|
2003
2039
|
* true
|
|
@@ -2027,17 +2063,19 @@ export class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
2027
2063
|
export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
2028
2064
|
/**
|
|
2029
2065
|
* @remarks
|
|
2030
|
-
* The
|
|
2066
|
+
* The intelligent management configuration of the node pool.
|
|
2031
2067
|
*/
|
|
2032
2068
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
2033
2069
|
/**
|
|
2034
2070
|
* @remarks
|
|
2035
|
-
* The elastic scaling configuration.
|
|
2071
|
+
* The automatic elastic scaling configuration.
|
|
2036
2072
|
*/
|
|
2037
2073
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
2038
2074
|
/**
|
|
2039
2075
|
* @remarks
|
|
2040
|
-
* **[Deprecated]** Use desired_size instead.
|
|
2076
|
+
* **[Deprecated]** Use desired_size instead.
|
|
2077
|
+
*
|
|
2078
|
+
* The number of nodes in the node pool.
|
|
2041
2079
|
*
|
|
2042
2080
|
* @example
|
|
2043
2081
|
* null
|
|
@@ -2052,9 +2090,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2052
2090
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
2053
2091
|
/**
|
|
2054
2092
|
* @remarks
|
|
2055
|
-
* Specifies whether
|
|
2056
|
-
* - true
|
|
2057
|
-
* - false
|
|
2093
|
+
* Specifies whether the pod network mode uses the host network mode.
|
|
2094
|
+
* - `true`: host network. Pods directly use the network stack of the host and share IP addresses and ports with the host.
|
|
2095
|
+
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
2058
2096
|
*
|
|
2059
2097
|
* @example
|
|
2060
2098
|
* true
|
|
@@ -2062,16 +2100,19 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2062
2100
|
hostNetwork?: boolean;
|
|
2063
2101
|
/**
|
|
2064
2102
|
* @remarks
|
|
2065
|
-
* **[Deprecated]**
|
|
2103
|
+
* **[Deprecated]**
|
|
2104
|
+
*
|
|
2105
|
+
* The edge node pool configuration.
|
|
2066
2106
|
*
|
|
2067
2107
|
* @deprecated
|
|
2068
2108
|
*/
|
|
2069
2109
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
2070
2110
|
/**
|
|
2071
2111
|
* @remarks
|
|
2072
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
2073
|
-
*
|
|
2074
|
-
* -
|
|
2112
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
2113
|
+
*
|
|
2114
|
+
* - `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.
|
|
2115
|
+
* - `private`: private network. Nodes in cloud node pool connect the cloud and on-premises networks through Express Connect circuits, VPNs, or CEN, providing higher cloud-edge communication quality and more effective security.
|
|
2075
2116
|
*
|
|
2076
2117
|
* @example
|
|
2077
2118
|
* basic
|
|
@@ -2079,9 +2120,9 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2079
2120
|
interconnectMode?: string;
|
|
2080
2121
|
/**
|
|
2081
2122
|
* @remarks
|
|
2082
|
-
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool.
|
|
2083
|
-
* - true
|
|
2084
|
-
* - false
|
|
2123
|
+
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool.
|
|
2124
|
+
* - `true`: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
|
|
2125
|
+
* - `false`: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
|
|
2085
2126
|
*
|
|
2086
2127
|
* @example
|
|
2087
2128
|
* true
|
|
@@ -2089,12 +2130,12 @@ export class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
2089
2130
|
intranet?: boolean;
|
|
2090
2131
|
/**
|
|
2091
2132
|
* @remarks
|
|
2092
|
-
* The cluster configurations.
|
|
2133
|
+
* The cluster-related configurations.
|
|
2093
2134
|
*/
|
|
2094
2135
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
2095
2136
|
/**
|
|
2096
2137
|
* @remarks
|
|
2097
|
-
* The
|
|
2138
|
+
* The configuration of the managed node pool feature.
|
|
2098
2139
|
*/
|
|
2099
2140
|
management?: CreateClusterNodePoolRequestManagement;
|
|
2100
2141
|
/**
|