@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
|
@@ -10,9 +10,9 @@ import { Taint } from "./Taint";
|
|
|
10
10
|
export declare class CreateClusterNodePoolRequestAutoMode extends $dara.Model {
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Specifies whether to enable
|
|
14
|
-
* - true: enables
|
|
15
|
-
* - false: disables
|
|
13
|
+
* Specifies whether to enable intelligent management mode. Valid values:
|
|
14
|
+
* - true: enables intelligent management mode. This mode can be enabled only when the cluster has intelligent management mode enabled.
|
|
15
|
+
* - false: disables intelligent management mode.
|
|
16
16
|
*
|
|
17
17
|
* @example
|
|
18
18
|
* true
|
|
@@ -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 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).
|
|
66
|
+
*
|
|
67
|
+
* - `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.
|
|
68
|
+
*
|
|
69
|
+
* When 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]** This field is 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 automatic 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 field cannot be modified after the node pool is created
|
|
131
|
+
* >Notice: This field 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 automatic addition
|
|
151
|
+
* Specifies whether to enable automatic addition 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****
|
|
@@ -155,6 +170,9 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
155
170
|
/**
|
|
156
171
|
* @remarks
|
|
157
172
|
* The worker RAM role used by the Lingjun node pool.
|
|
173
|
+
*
|
|
174
|
+
* @example
|
|
175
|
+
* KubernetesWorkerRole-1025ec00-9a27-4c63-8a98-******
|
|
158
176
|
*/
|
|
159
177
|
workerRamRoleName?: string;
|
|
160
178
|
static names(): {
|
|
@@ -171,7 +189,9 @@ export declare class CreateClusterNodePoolRequestEfloNodeGroup extends $dara.Mod
|
|
|
171
189
|
export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dara.Model {
|
|
172
190
|
/**
|
|
173
191
|
* @remarks
|
|
174
|
-
* **[Deprecated]**
|
|
192
|
+
* **[Deprecated]**
|
|
193
|
+
*
|
|
194
|
+
* The network bandwidth of the edge-enhanced node pool. Unit: Mbit/s.
|
|
175
195
|
*
|
|
176
196
|
* @example
|
|
177
197
|
* null
|
|
@@ -181,7 +201,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
181
201
|
* @remarks
|
|
182
202
|
* **[Deprecated]**
|
|
183
203
|
*
|
|
184
|
-
* The Cloud Connect Network (CCN) instance ID attached to the enhanced
|
|
204
|
+
* The Cloud Connect Network (CCN) instance ID attached to the edge-enhanced node pool.
|
|
185
205
|
*
|
|
186
206
|
* @example
|
|
187
207
|
* null
|
|
@@ -189,7 +209,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
189
209
|
ccnId?: string;
|
|
190
210
|
/**
|
|
191
211
|
* @remarks
|
|
192
|
-
* **[Deprecated]**
|
|
212
|
+
* **[Deprecated]**
|
|
213
|
+
*
|
|
214
|
+
* The region of the CCN instance associated with the edge-enhanced node pool.
|
|
193
215
|
*
|
|
194
216
|
* @example
|
|
195
217
|
* null
|
|
@@ -199,7 +221,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
199
221
|
* @remarks
|
|
200
222
|
* **[Deprecated]**
|
|
201
223
|
*
|
|
202
|
-
* The Cloud Enterprise Network (CEN) instance ID attached to the enhanced
|
|
224
|
+
* The Cloud Enterprise Network (CEN) instance ID attached to the edge-enhanced node pool.
|
|
203
225
|
*
|
|
204
226
|
* @example
|
|
205
227
|
* null
|
|
@@ -207,7 +229,9 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
207
229
|
cenId?: string;
|
|
208
230
|
/**
|
|
209
231
|
* @remarks
|
|
210
|
-
* **[Deprecated]**
|
|
232
|
+
* **[Deprecated]**
|
|
233
|
+
*
|
|
234
|
+
* The subscription duration of the edge-enhanced node pool. Unit: month.
|
|
211
235
|
*
|
|
212
236
|
* @example
|
|
213
237
|
* null
|
|
@@ -227,7 +251,7 @@ export declare class CreateClusterNodePoolRequestInterconnectConfig extends $dar
|
|
|
227
251
|
export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.Model {
|
|
228
252
|
/**
|
|
229
253
|
* @remarks
|
|
230
|
-
* 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.
|
|
254
|
+
* 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:
|
|
231
255
|
*
|
|
232
256
|
* - `true`: installs CloudMonitor on ECS nodes.
|
|
233
257
|
*
|
|
@@ -254,21 +278,21 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
254
278
|
cpuPolicy?: string;
|
|
255
279
|
/**
|
|
256
280
|
* @remarks
|
|
257
|
-
* The labels
|
|
281
|
+
* The node labels. Adds labels to the nodes in the Kubernetes cluster.
|
|
258
282
|
*/
|
|
259
283
|
labels?: Tag[];
|
|
260
284
|
/**
|
|
261
285
|
* @remarks
|
|
262
286
|
* 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.
|
|
263
|
-
* > For Windows instances with custom node names enabled, the hostname is fixed
|
|
287
|
+
* > 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.
|
|
264
288
|
*
|
|
265
|
-
* The node name consists of three parts:
|
|
289
|
+
* The node name consists of three parts: prefix, node IP address, and suffix:
|
|
266
290
|
*
|
|
267
291
|
* - The total length is 2 to 64 characters. The node name must start and end with a lowercase letter or a digit.
|
|
268
292
|
*
|
|
269
|
-
* - The prefix and suffix can contain uppercase and lowercase letters, digits, hyphens (-), and
|
|
293
|
+
* - 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.
|
|
270
294
|
* - The prefix is required (due to ECS limits), and the suffix is optional.
|
|
271
|
-
* - The node IP
|
|
295
|
+
* - The node IP is the complete private IP address of the node.
|
|
272
296
|
*
|
|
273
297
|
* For example, if the node IP address is 192.XX.YY.55, the specified prefix is aliyun.com, and the suffix is test:
|
|
274
298
|
*
|
|
@@ -282,7 +306,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
282
306
|
nodeNameMode?: string;
|
|
283
307
|
/**
|
|
284
308
|
* @remarks
|
|
285
|
-
* 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).
|
|
309
|
+
* 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).
|
|
286
310
|
*
|
|
287
311
|
* @example
|
|
288
312
|
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
@@ -290,11 +314,11 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
290
314
|
preUserData?: string;
|
|
291
315
|
/**
|
|
292
316
|
* @remarks
|
|
293
|
-
* The name of the container runtime.
|
|
317
|
+
* The name of the container runtime. ACK supports the following three container runtimes:
|
|
294
318
|
*
|
|
295
|
-
* - containerd: recommended.
|
|
296
|
-
* - Sandboxed-Container.runv:
|
|
297
|
-
* - docker:
|
|
319
|
+
* - containerd: recommended. Supports all cluster versions.
|
|
320
|
+
* - Sandboxed-Container.runv: sandboxed container. Provides higher isolation. Supports cluster versions 1.31 and earlier.
|
|
321
|
+
* - docker: deprecated. Supports cluster versions 1.22 and earlier.
|
|
298
322
|
*
|
|
299
323
|
* Default value: containerd.
|
|
300
324
|
*
|
|
@@ -312,16 +336,16 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
312
336
|
runtimeVersion?: string;
|
|
313
337
|
/**
|
|
314
338
|
* @remarks
|
|
315
|
-
* The taint
|
|
339
|
+
* The taint configuration.
|
|
316
340
|
*/
|
|
317
341
|
taints?: Taint[];
|
|
318
342
|
/**
|
|
319
343
|
* @remarks
|
|
320
|
-
* Specifies whether the scaled-out nodes are unschedulable.
|
|
344
|
+
* Specifies whether the scaled-out nodes are unschedulable. Valid values:
|
|
321
345
|
*
|
|
322
|
-
* - true: unschedulable.
|
|
346
|
+
* - true: The nodes are unschedulable.
|
|
323
347
|
*
|
|
324
|
-
* - false: schedulable.
|
|
348
|
+
* - false: The nodes are schedulable.
|
|
325
349
|
*
|
|
326
350
|
* @example
|
|
327
351
|
* true
|
|
@@ -329,7 +353,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
329
353
|
unschedulable?: boolean;
|
|
330
354
|
/**
|
|
331
355
|
* @remarks
|
|
332
|
-
* The instance user data. After
|
|
356
|
+
* 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).
|
|
333
357
|
*
|
|
334
358
|
* @example
|
|
335
359
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -352,6 +376,14 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
352
376
|
* Specifies whether manual approval is required for node repair.
|
|
353
377
|
*/
|
|
354
378
|
approvalRequired?: boolean;
|
|
379
|
+
/**
|
|
380
|
+
* @remarks
|
|
381
|
+
* 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.
|
|
382
|
+
*
|
|
383
|
+
* @example
|
|
384
|
+
* r-xxxxxxxxxx
|
|
385
|
+
*/
|
|
386
|
+
autoRepairPolicyId?: string;
|
|
355
387
|
/**
|
|
356
388
|
* @remarks
|
|
357
389
|
* 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.
|
|
@@ -370,7 +402,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
370
402
|
maxUnhealthyNodesThreshold?: string;
|
|
371
403
|
/**
|
|
372
404
|
* @remarks
|
|
373
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair
|
|
405
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
374
406
|
*
|
|
375
407
|
* - `true`: allows node restarts.
|
|
376
408
|
* - `false`: does not allow node restarts.
|
|
@@ -395,7 +427,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
395
427
|
export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
396
428
|
/**
|
|
397
429
|
* @remarks
|
|
398
|
-
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade
|
|
430
|
+
* Specifies whether to allow automatic kubelet upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
399
431
|
* - `true`: allows automatic kubelet upgrades.
|
|
400
432
|
* - `false`: does not allow automatic kubelet upgrades.
|
|
401
433
|
*
|
|
@@ -407,7 +439,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
407
439
|
autoUpgradeKubelet?: boolean;
|
|
408
440
|
/**
|
|
409
441
|
* @remarks
|
|
410
|
-
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade
|
|
442
|
+
* Specifies whether to allow automatic operating system upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
411
443
|
* - `true`: allows automatic operating system upgrades.
|
|
412
444
|
* - `false`: does not allow automatic operating system upgrades.
|
|
413
445
|
*
|
|
@@ -419,7 +451,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
419
451
|
autoUpgradeOs?: boolean;
|
|
420
452
|
/**
|
|
421
453
|
* @remarks
|
|
422
|
-
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade
|
|
454
|
+
* Specifies whether to allow automatic runtime upgrades. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
423
455
|
* - `true`: allows automatic runtime upgrades.
|
|
424
456
|
* - `false`: does not allow automatic runtime upgrades.
|
|
425
457
|
*
|
|
@@ -453,7 +485,7 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
453
485
|
excludePackages?: string;
|
|
454
486
|
/**
|
|
455
487
|
* @remarks
|
|
456
|
-
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix
|
|
488
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
457
489
|
* - `true`: allows node restarts.
|
|
458
490
|
* - `false`: does not allow node restarts.
|
|
459
491
|
*
|
|
@@ -508,7 +540,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
508
540
|
/**
|
|
509
541
|
* @remarks
|
|
510
542
|
* The maximum number of unavailable nodes.
|
|
511
|
-
* Valid values: [1,
|
|
543
|
+
* Valid values: [1,1000\\].
|
|
512
544
|
*
|
|
513
545
|
* Default value: 1.
|
|
514
546
|
*
|
|
@@ -522,7 +554,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
522
554
|
*
|
|
523
555
|
* Nodes become unavailable during upgrades. You can create extra nodes to compensate for the cluster load.
|
|
524
556
|
*
|
|
525
|
-
* >
|
|
557
|
+
* > We recommend that the number of extra nodes does not exceed the current number of nodes.
|
|
526
558
|
*
|
|
527
559
|
* @example
|
|
528
560
|
* 0
|
|
@@ -557,7 +589,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
557
589
|
autoFaultDiagnosis?: boolean;
|
|
558
590
|
/**
|
|
559
591
|
* @remarks
|
|
560
|
-
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable
|
|
592
|
+
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
561
593
|
*
|
|
562
594
|
* - `true`: automatically repairs nodes.
|
|
563
595
|
*
|
|
@@ -576,7 +608,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
576
608
|
autoRepairPolicy?: CreateClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
577
609
|
/**
|
|
578
610
|
* @remarks
|
|
579
|
-
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable
|
|
611
|
+
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`. Valid values:
|
|
580
612
|
* - `true`: enables auto-upgrade.
|
|
581
613
|
* - `false`: disables auto-upgrade.
|
|
582
614
|
*
|
|
@@ -593,10 +625,10 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
593
625
|
autoUpgradePolicy?: CreateClusterNodePoolRequestManagementAutoUpgradePolicy;
|
|
594
626
|
/**
|
|
595
627
|
* @remarks
|
|
596
|
-
* Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE) vulnerabilities. This parameter takes effect only when `enable
|
|
628
|
+
* Specifies whether to automatically repair Common Vulnerabilities and Exposures (CVE) vulnerabilities. This parameter takes effect only when `enable=true`. Valid values:
|
|
597
629
|
*
|
|
598
|
-
* - `true`: allows automatic CVE
|
|
599
|
-
* - `false`: does not allow automatic CVE
|
|
630
|
+
* - `true`: allows automatic CVE repair.
|
|
631
|
+
* - `false`: does not allow automatic CVE repair.
|
|
600
632
|
*
|
|
601
633
|
* Default value: `true`.
|
|
602
634
|
*
|
|
@@ -606,12 +638,12 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
606
638
|
autoVulFix?: boolean;
|
|
607
639
|
/**
|
|
608
640
|
* @remarks
|
|
609
|
-
* The
|
|
641
|
+
* The auto-repair policy for CVEs.
|
|
610
642
|
*/
|
|
611
643
|
autoVulFixPolicy?: CreateClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
612
644
|
/**
|
|
613
645
|
* @remarks
|
|
614
|
-
* Specifies whether to enable the node rotation capability. This feature is supported only by intelligent managed node pools and is enabled by default.
|
|
646
|
+
* 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.
|
|
615
647
|
*/
|
|
616
648
|
driftEnabled?: boolean;
|
|
617
649
|
/**
|
|
@@ -620,9 +652,9 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
620
652
|
*
|
|
621
653
|
* - `true`: enables the managed feature.
|
|
622
654
|
*
|
|
623
|
-
* - `false`: disables the managed feature. Other related configurations take effect only when
|
|
655
|
+
* - `false`: disables the managed feature. Other related configurations take effect only when enable=true.
|
|
624
656
|
*
|
|
625
|
-
* Default value:
|
|
657
|
+
* Default value: false.
|
|
626
658
|
*
|
|
627
659
|
* @example
|
|
628
660
|
* false
|
|
@@ -632,7 +664,7 @@ export declare class CreateClusterNodePoolRequestManagement extends $dara.Model
|
|
|
632
664
|
* @remarks
|
|
633
665
|
* **[Deprecated]** Use the upper-level `auto_upgrade` parameter instead.
|
|
634
666
|
*
|
|
635
|
-
* The auto-upgrade
|
|
667
|
+
* The auto-upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
636
668
|
*
|
|
637
669
|
* @deprecated
|
|
638
670
|
*/
|
|
@@ -744,7 +776,7 @@ export declare class CreateClusterNodePoolRequestNodeConfigNodeOsConfig extends
|
|
|
744
776
|
hugepage?: Hugepage;
|
|
745
777
|
/**
|
|
746
778
|
* @remarks
|
|
747
|
-
* The sysctl kernel parameter settings. Only
|
|
779
|
+
* The sysctl kernel parameter settings. Only specific kernel parameters are supported, and the cluster version must be 1.28 or later.
|
|
748
780
|
*
|
|
749
781
|
* @example
|
|
750
782
|
* {"fs.file-max":"1048576"}
|
|
@@ -798,7 +830,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
798
830
|
name?: string;
|
|
799
831
|
/**
|
|
800
832
|
* @remarks
|
|
801
|
-
* The resource group ID of the node pool.
|
|
833
|
+
* The resource group ID of the node pool. Instances created by the node pool belong to this resource group.
|
|
802
834
|
*
|
|
803
835
|
* 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
836
|
*
|
|
@@ -808,9 +840,9 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
808
840
|
resourceGroupId?: string;
|
|
809
841
|
/**
|
|
810
842
|
* @remarks
|
|
811
|
-
* The node pool
|
|
843
|
+
* The type of the node pool. Valid values:
|
|
812
844
|
*
|
|
813
|
-
* - `ess`: standard node pool
|
|
845
|
+
* - `ess`: standard node pool, which includes managed and elastic scaling features.
|
|
814
846
|
* - `edge`: edge node pool.
|
|
815
847
|
* - `lingjun`: Lingjun node pool.
|
|
816
848
|
* - `hybrid`: hybrid cloud node pool.
|
|
@@ -833,7 +865,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
833
865
|
export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends $dara.Model {
|
|
834
866
|
/**
|
|
835
867
|
* @remarks
|
|
836
|
-
* Specifies whether to enable nested virtualization. Valid values:
|
|
868
|
+
* Specifies whether to enable nested virtualization. Valid values: disabled: disables nested virtualization. enabled: enables nested virtualization.
|
|
837
869
|
*
|
|
838
870
|
* @example
|
|
839
871
|
* enabled
|
|
@@ -853,7 +885,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupCpuOptions extends
|
|
|
853
885
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $dara.Model {
|
|
854
886
|
/**
|
|
855
887
|
* @remarks
|
|
856
|
-
* The ID of the private pool
|
|
888
|
+
* The ID of the private node pool. When `match_criteria` is set to `Target`, you must specify the ID of the private pool.
|
|
857
889
|
*
|
|
858
890
|
* @example
|
|
859
891
|
* eap-bp67acfmxazb4****
|
|
@@ -861,10 +893,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
861
893
|
id?: string;
|
|
862
894
|
/**
|
|
863
895
|
* @remarks
|
|
864
|
-
* The private pool capacity
|
|
865
|
-
* - `Open`: open mode. The system automatically matches
|
|
866
|
-
* - `Target`:
|
|
867
|
-
* - `None`: no private pool mode. The system does not use private pool capacity to start
|
|
896
|
+
* 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:
|
|
897
|
+
* - `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.
|
|
898
|
+
* - `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.
|
|
899
|
+
* - `None`: no private pool mode. The system does not use private pool capacity to start the instance.
|
|
868
900
|
*
|
|
869
901
|
* @example
|
|
870
902
|
* Target
|
|
@@ -889,10 +921,10 @@ export declare class CreateClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
889
921
|
privatePoolIds?: string[];
|
|
890
922
|
/**
|
|
891
923
|
* @remarks
|
|
892
|
-
* 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:
|
|
893
|
-
* PrivatePoolFirst: Private pool first.
|
|
894
|
-
* PrivatePoolOnly: Private pool only.
|
|
895
|
-
* None: No resource pool strategy is used.
|
|
924
|
+
* 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:
|
|
925
|
+
* - 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.
|
|
926
|
+
* - 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.
|
|
927
|
+
* - None: No resource pool strategy is used.
|
|
896
928
|
* Default value: None.
|
|
897
929
|
*
|
|
898
930
|
* @example
|
|
@@ -921,7 +953,12 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
921
953
|
instanceType?: string;
|
|
922
954
|
/**
|
|
923
955
|
* @remarks
|
|
924
|
-
* The maximum price per instance.
|
|
956
|
+
* The maximum price per instance.
|
|
957
|
+
* <props="china">Unit: CNY/hour.
|
|
958
|
+
*
|
|
959
|
+
*
|
|
960
|
+
*
|
|
961
|
+
* <props="intl">Unit: USD/hour.
|
|
925
962
|
*
|
|
926
963
|
* @example
|
|
927
964
|
* 0.39
|
|
@@ -1004,7 +1041,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1004
1041
|
cisEnabled?: boolean;
|
|
1005
1042
|
/**
|
|
1006
1043
|
* @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
|
|
1044
|
+
* 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:
|
|
1008
1045
|
*
|
|
1009
1046
|
* - `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances.
|
|
1010
1047
|
* - `false`: does not automatically create pay-as-you-go instances.
|
|
@@ -1028,7 +1065,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1028
1065
|
* 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.
|
|
1029
1066
|
*
|
|
1030
1067
|
*
|
|
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 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
|
|
1068
|
+
* >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.
|
|
1032
1069
|
*
|
|
1033
1070
|
* @example
|
|
1034
1071
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -1069,7 +1106,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1069
1106
|
imageId?: string;
|
|
1070
1107
|
/**
|
|
1071
1108
|
* @remarks
|
|
1072
|
-
* The type of the operating system image.
|
|
1109
|
+
* The type of the operating system image. Valid values:
|
|
1073
1110
|
*
|
|
1074
1111
|
* - `AliyunLinux`: Alinux2 image.
|
|
1075
1112
|
* - `AliyunLinuxSecurity`: Alinux2 UEFI image.
|
|
@@ -1088,7 +1125,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1088
1125
|
imageType?: string;
|
|
1089
1126
|
/**
|
|
1090
1127
|
* @remarks
|
|
1091
|
-
* The billing method
|
|
1128
|
+
* The billing method of nodes in the node pool. Valid values:
|
|
1092
1129
|
*
|
|
1093
1130
|
* - `PrePaid`: subscription.
|
|
1094
1131
|
*
|
|
@@ -1096,6 +1133,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1096
1133
|
*
|
|
1097
1134
|
* Default value: `PostPaid`.
|
|
1098
1135
|
*
|
|
1136
|
+
* 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.
|
|
1137
|
+
*
|
|
1099
1138
|
* This parameter is required.
|
|
1100
1139
|
*
|
|
1101
1140
|
* @example
|
|
@@ -1116,7 +1155,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1116
1155
|
* @remarks
|
|
1117
1156
|
* 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
1157
|
*
|
|
1119
|
-
*
|
|
1158
|
+
* Valid values for the number of supported instance types: [1,10].
|
|
1120
1159
|
*
|
|
1121
1160
|
*
|
|
1122
1161
|
* > To ensure high availability, we recommend that you select multiple instance types.
|
|
@@ -1128,8 +1167,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1128
1167
|
* @remarks
|
|
1129
1168
|
* The billing method for the public IP address. Valid values:
|
|
1130
1169
|
*
|
|
1131
|
-
* -
|
|
1132
|
-
* -
|
|
1170
|
+
* - PayByBandwidth: pay-by-bandwidth.
|
|
1171
|
+
* - PayByTraffic: pay-by-data-transfer.
|
|
1133
1172
|
*
|
|
1134
1173
|
* @example
|
|
1135
1174
|
* PayByTraffic
|
|
@@ -1137,7 +1176,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1137
1176
|
internetChargeType?: string;
|
|
1138
1177
|
/**
|
|
1139
1178
|
* @remarks
|
|
1140
|
-
* The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: 1
|
|
1179
|
+
* The maximum outbound bandwidth for the public IP address of the node. Unit: Mbit/s. Valid values: [1,100\\].
|
|
1141
1180
|
*
|
|
1142
1181
|
* @example
|
|
1143
1182
|
* 5
|
|
@@ -1145,7 +1184,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1145
1184
|
internetMaxBandwidthOut?: number;
|
|
1146
1185
|
/**
|
|
1147
1186
|
* @remarks
|
|
1148
|
-
* The name of the key pair for passwordless logon.
|
|
1187
|
+
* The name of the key pair used for passwordless logon. You must specify either this parameter or `login_password`.
|
|
1149
1188
|
*
|
|
1150
1189
|
* > If the node pool uses the ContainerOS operating system, only `key_pair` is supported.
|
|
1151
1190
|
*
|
|
@@ -1155,11 +1194,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1155
1194
|
keyPair?: string;
|
|
1156
1195
|
/**
|
|
1157
1196
|
* @remarks
|
|
1158
|
-
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1197
|
+
* Specifies whether to log on to the created ECS instances as a non-root user.
|
|
1159
1198
|
*
|
|
1160
|
-
* -
|
|
1199
|
+
* - true: logs on as a non-root user (ecs-user).
|
|
1161
1200
|
*
|
|
1162
|
-
* -
|
|
1201
|
+
* - false: logs on as the root user.
|
|
1163
1202
|
*
|
|
1164
1203
|
* @example
|
|
1165
1204
|
* true
|
|
@@ -1167,7 +1206,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1167
1206
|
loginAsNonRoot?: boolean;
|
|
1168
1207
|
/**
|
|
1169
1208
|
* @remarks
|
|
1170
|
-
* 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.
|
|
1209
|
+
* 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.
|
|
1171
1210
|
*
|
|
1172
1211
|
* @example
|
|
1173
1212
|
* ****
|
|
@@ -1177,13 +1216,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1177
1216
|
* @remarks
|
|
1178
1217
|
* The scaling policy for ECS instances in a multi-zone scaling group. Valid values:
|
|
1179
1218
|
*
|
|
1180
|
-
* - `PRIORITY`:
|
|
1219
|
+
* - `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
1220
|
*
|
|
1182
|
-
* - `COST_OPTIMIZED`:
|
|
1221
|
+
* - `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.
|
|
1183
1222
|
*
|
|
1184
1223
|
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
1185
1224
|
*
|
|
1186
|
-
* - `BALANCE`:
|
|
1225
|
+
* - `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.
|
|
1187
1226
|
*
|
|
1188
1227
|
* Default value: `PRIORITY`.
|
|
1189
1228
|
*
|
|
@@ -1193,7 +1232,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1193
1232
|
multiAzPolicy?: string;
|
|
1194
1233
|
/**
|
|
1195
1234
|
* @remarks
|
|
1196
|
-
* The minimum number of pay-as-you-go instances required
|
|
1235
|
+
* 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.
|
|
1197
1236
|
*
|
|
1198
1237
|
* @example
|
|
1199
1238
|
* 0
|
|
@@ -1201,7 +1240,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1201
1240
|
onDemandBaseCapacity?: number;
|
|
1202
1241
|
/**
|
|
1203
1242
|
* @remarks
|
|
1204
|
-
* The percentage of pay-as-you-go instances among the
|
|
1243
|
+
* 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\\].
|
|
1205
1244
|
*
|
|
1206
1245
|
* @example
|
|
1207
1246
|
* 20
|
|
@@ -1209,7 +1248,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1209
1248
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
1210
1249
|
/**
|
|
1211
1250
|
* @remarks
|
|
1212
|
-
* The subscription duration
|
|
1251
|
+
* 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`.
|
|
1213
1252
|
*
|
|
1214
1253
|
* - When `period_unit` is set to `Week`, valid values for `period` are 1, 2, 3, and 4.
|
|
1215
1254
|
* - 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 +1259,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1220
1259
|
period?: number;
|
|
1221
1260
|
/**
|
|
1222
1261
|
* @remarks
|
|
1223
|
-
* 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`.
|
|
1262
|
+
* 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`.
|
|
1224
1263
|
*
|
|
1225
|
-
* - `Month`:
|
|
1226
|
-
* - `Week`:
|
|
1264
|
+
* - `Month`: uses the month as the billing unit.
|
|
1265
|
+
* - `Week`: uses the week as the billing unit.
|
|
1227
1266
|
*
|
|
1228
1267
|
* Default value: `Month`.
|
|
1229
1268
|
*
|
|
@@ -1259,9 +1298,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1259
1298
|
* The name of the worker RAM role.
|
|
1260
1299
|
*
|
|
1261
1300
|
* * If this parameter is left empty, the default worker RAM role created for the cluster is used.
|
|
1262
|
-
* * If this parameter is specified, the RAM role must be a **normal service role
|
|
1301
|
+
* * 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-`.
|
|
1263
1302
|
*
|
|
1264
|
-
* >Notice: This parameter is supported only by ACK managed clusters of
|
|
1303
|
+
* >Notice: This parameter is supported only by ACK managed clusters of Kubernetes 1.22 and later.
|
|
1265
1304
|
*
|
|
1266
1305
|
* @example
|
|
1267
1306
|
* example-role
|
|
@@ -1274,7 +1313,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1274
1313
|
rdsInstances?: string[];
|
|
1275
1314
|
/**
|
|
1276
1315
|
* @remarks
|
|
1277
|
-
* The resource pool and resource pool policy used
|
|
1316
|
+
* The resource pool and resource pool policy used when creating instances. Note the following when you configure this parameter:
|
|
1278
1317
|
* This parameter takes effect only when you create pay-as-you-go instances.
|
|
1279
1318
|
* This parameter cannot be configured at the same time as private_pool_options.match_criteria and private_pool_options.id.
|
|
1280
1319
|
*/
|
|
@@ -1282,9 +1321,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1282
1321
|
/**
|
|
1283
1322
|
* @remarks
|
|
1284
1323
|
* The scaling group mode. Valid values:
|
|
1285
|
-
* - release
|
|
1286
|
-
* - recycle
|
|
1287
|
-
* Default value: release
|
|
1324
|
+
* - `release`: Standard mode. Scales by creating and releasing ECS instances based on the requested resource usage.
|
|
1325
|
+
* - `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.
|
|
1326
|
+
* Default value: `release`.
|
|
1288
1327
|
*
|
|
1289
1328
|
* @example
|
|
1290
1329
|
* release
|
|
@@ -1292,7 +1331,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1292
1331
|
scalingPolicy?: string;
|
|
1293
1332
|
/**
|
|
1294
1333
|
* @remarks
|
|
1295
|
-
* The security group ID of the node pool. You can specify this parameter or security_group_ids
|
|
1334
|
+
* 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`.
|
|
1296
1335
|
*
|
|
1297
1336
|
* @example
|
|
1298
1337
|
* sg-wz9a8g2mt6x5llu0****
|
|
@@ -1302,15 +1341,15 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1302
1341
|
securityGroupId?: string;
|
|
1303
1342
|
/**
|
|
1304
1343
|
* @remarks
|
|
1305
|
-
* The list of security group IDs. You can specify this parameter or security_group_id
|
|
1344
|
+
* 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.
|
|
1306
1345
|
*/
|
|
1307
1346
|
securityGroupIds?: string[];
|
|
1308
1347
|
/**
|
|
1309
1348
|
* @remarks
|
|
1310
1349
|
* Specifies whether to enable Alibaba Cloud OS security hardening. Valid values:
|
|
1311
|
-
* - true
|
|
1312
|
-
* - false
|
|
1313
|
-
* Default value: false
|
|
1350
|
+
* - `true`: enables Alibaba Cloud OS security hardening.
|
|
1351
|
+
* - `false`: does not enable Alibaba Cloud OS security hardening.
|
|
1352
|
+
* Default value: `false`.
|
|
1314
1353
|
*
|
|
1315
1354
|
* @example
|
|
1316
1355
|
* false
|
|
@@ -1318,7 +1357,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1318
1357
|
securityHardeningOs?: boolean;
|
|
1319
1358
|
/**
|
|
1320
1359
|
* @remarks
|
|
1321
|
-
* Specifies whether to enable MLPS 2.0 security hardening. You can enable
|
|
1360
|
+
* 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.
|
|
1322
1361
|
*
|
|
1323
1362
|
* @example
|
|
1324
1363
|
* false
|
|
@@ -1334,9 +1373,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1334
1373
|
spotInstancePools?: number;
|
|
1335
1374
|
/**
|
|
1336
1375
|
* @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
|
|
1376
|
+
* 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:
|
|
1377
|
+
* - `true`: enables spot instance replenishment.
|
|
1378
|
+
* - `false`: does not enable spot instance replenishment.
|
|
1340
1379
|
*
|
|
1341
1380
|
* @example
|
|
1342
1381
|
* false
|
|
@@ -1350,9 +1389,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1350
1389
|
/**
|
|
1351
1390
|
* @remarks
|
|
1352
1391
|
* The spot instance strategy. Valid values:
|
|
1353
|
-
* - NoSpot
|
|
1354
|
-
* - SpotWithPriceLimit
|
|
1355
|
-
* - SpotAsPriceGo
|
|
1392
|
+
* - `NoSpot`: pay-as-you-go instance.
|
|
1393
|
+
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
1394
|
+
* - `SpotAsPriceGo`: uses the system automatic bidding strategy, which follows the actual market price.
|
|
1356
1395
|
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/165053.html).
|
|
1357
1396
|
*
|
|
1358
1397
|
* @example
|
|
@@ -1364,7 +1403,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1364
1403
|
* Specifies whether to enable performance burst for the system disk of the node. Valid values:
|
|
1365
1404
|
* - true: yes.
|
|
1366
1405
|
* - false: no.
|
|
1367
|
-
* This parameter is supported only when system_disk_category is set to cloud_auto
|
|
1406
|
+
* 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
1407
|
*
|
|
1369
1408
|
* @example
|
|
1370
1409
|
* true
|
|
@@ -1372,18 +1411,18 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1372
1411
|
systemDiskBurstingEnabled?: boolean;
|
|
1373
1412
|
/**
|
|
1374
1413
|
* @remarks
|
|
1375
|
-
* The
|
|
1414
|
+
* 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.
|
|
1376
1415
|
*/
|
|
1377
1416
|
systemDiskCategories?: string[];
|
|
1378
1417
|
/**
|
|
1379
1418
|
* @remarks
|
|
1380
|
-
* The system disk
|
|
1381
|
-
* - cloud_efficiency
|
|
1382
|
-
* - cloud_ssd
|
|
1383
|
-
* - cloud_essd
|
|
1384
|
-
* - cloud_auto
|
|
1385
|
-
* - cloud_essd_entry
|
|
1386
|
-
* Default value: cloud_efficiency
|
|
1419
|
+
* The system disk type of the node. Valid values:
|
|
1420
|
+
* - `cloud_efficiency`: ultra disk.
|
|
1421
|
+
* - `cloud_ssd`: standard SSD.
|
|
1422
|
+
* - `cloud_essd`: ESSD.
|
|
1423
|
+
* - `cloud_auto`: ESSD AutoPL disk.
|
|
1424
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1425
|
+
* Default value: `cloud_efficiency`.
|
|
1387
1426
|
*
|
|
1388
1427
|
* @example
|
|
1389
1428
|
* cloud_efficiency
|
|
@@ -1409,7 +1448,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1409
1448
|
systemDiskEncrypted?: boolean;
|
|
1410
1449
|
/**
|
|
1411
1450
|
* @remarks
|
|
1412
|
-
* The ID of the KMS key used for the system disk.
|
|
1451
|
+
* The ID of the Key Management Service (KMS) key used for the system disk.
|
|
1413
1452
|
*
|
|
1414
1453
|
* @example
|
|
1415
1454
|
* 0e478b7a-4262-4802-b8cb-00d3fb40****
|
|
@@ -1417,11 +1456,11 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1417
1456
|
systemDiskKmsKeyId?: string;
|
|
1418
1457
|
/**
|
|
1419
1458
|
* @remarks
|
|
1420
|
-
* The performance level of the system
|
|
1421
|
-
* - PL0:
|
|
1422
|
-
* - PL1:
|
|
1423
|
-
* - PL2:
|
|
1424
|
-
* - PL3:
|
|
1459
|
+
* 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:
|
|
1460
|
+
* - PL0: provides medium concurrent I/O performance and relatively stable read/write latency.
|
|
1461
|
+
* - PL1: provides medium concurrent I/O performance and relatively stable read/write latency.
|
|
1462
|
+
* - PL2: provides high concurrent I/O performance and stable read/write latency.
|
|
1463
|
+
* - PL3: provides extremely high concurrent I/O performance and highly stable read/write latency.
|
|
1425
1464
|
*
|
|
1426
1465
|
* @example
|
|
1427
1466
|
* PL1
|
|
@@ -1429,9 +1468,8 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1429
1468
|
systemDiskPerformanceLevel?: string;
|
|
1430
1469
|
/**
|
|
1431
1470
|
* @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).
|
|
1471
|
+
* 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}.
|
|
1472
|
+
* 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
1473
|
*
|
|
1436
1474
|
* @example
|
|
1437
1475
|
* 1000
|
|
@@ -1439,8 +1477,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1439
1477
|
systemDiskProvisionedIops?: number;
|
|
1440
1478
|
/**
|
|
1441
1479
|
* @remarks
|
|
1442
|
-
* The size of the system disk. Unit: GiB.
|
|
1443
|
-
* Valid values: 20 to 2048.
|
|
1480
|
+
* The size of the system disk. Unit: GiB. Valid values: 20 to 2048.
|
|
1444
1481
|
*
|
|
1445
1482
|
* @example
|
|
1446
1483
|
* 120
|
|
@@ -1456,8 +1493,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1456
1493
|
systemDiskSnapshotPolicyId?: string;
|
|
1457
1494
|
/**
|
|
1458
1495
|
* @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://".
|
|
1496
|
+
* 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
1497
|
*/
|
|
1462
1498
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
1463
1499
|
/**
|
|
@@ -1482,11 +1518,9 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1482
1518
|
export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1483
1519
|
/**
|
|
1484
1520
|
* @remarks
|
|
1485
|
-
* Specifies whether
|
|
1486
|
-
*
|
|
1487
|
-
* -
|
|
1488
|
-
*
|
|
1489
|
-
* - false: Does not enable confidential computing.
|
|
1521
|
+
* Specifies whether confidential computing is enabled for the cluster. Valid values:
|
|
1522
|
+
* - true: Confidential computing is enabled.
|
|
1523
|
+
* - false: Confidential computing is not enabled.
|
|
1490
1524
|
*
|
|
1491
1525
|
* @example
|
|
1492
1526
|
* true
|
|
@@ -1506,17 +1540,19 @@ export declare class CreateClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
|
1506
1540
|
export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
1507
1541
|
/**
|
|
1508
1542
|
* @remarks
|
|
1509
|
-
* The
|
|
1543
|
+
* The intelligent management configuration of the node pool.
|
|
1510
1544
|
*/
|
|
1511
1545
|
autoMode?: CreateClusterNodePoolRequestAutoMode;
|
|
1512
1546
|
/**
|
|
1513
1547
|
* @remarks
|
|
1514
|
-
* The elastic scaling configuration.
|
|
1548
|
+
* The automatic elastic scaling configuration.
|
|
1515
1549
|
*/
|
|
1516
1550
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
1517
1551
|
/**
|
|
1518
1552
|
* @remarks
|
|
1519
|
-
* **[Deprecated]** Use desired_size instead.
|
|
1553
|
+
* **[Deprecated]** Use desired_size instead.
|
|
1554
|
+
*
|
|
1555
|
+
* The number of nodes in the node pool.
|
|
1520
1556
|
*
|
|
1521
1557
|
* @example
|
|
1522
1558
|
* null
|
|
@@ -1531,9 +1567,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1531
1567
|
efloNodeGroup?: CreateClusterNodePoolRequestEfloNodeGroup;
|
|
1532
1568
|
/**
|
|
1533
1569
|
* @remarks
|
|
1534
|
-
* Specifies whether
|
|
1535
|
-
* - true
|
|
1536
|
-
* - false
|
|
1570
|
+
* Specifies whether the pod network mode uses the host network mode.
|
|
1571
|
+
* - `true`: host network. Pods directly use the network stack of the host and share IP addresses and ports with the host.
|
|
1572
|
+
* - `false`: container network. Pods have independent network stacks and do not occupy host network ports.
|
|
1537
1573
|
*
|
|
1538
1574
|
* @example
|
|
1539
1575
|
* true
|
|
@@ -1541,16 +1577,19 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1541
1577
|
hostNetwork?: boolean;
|
|
1542
1578
|
/**
|
|
1543
1579
|
* @remarks
|
|
1544
|
-
* **[Deprecated]**
|
|
1580
|
+
* **[Deprecated]**
|
|
1581
|
+
*
|
|
1582
|
+
* The edge node pool configuration.
|
|
1545
1583
|
*
|
|
1546
1584
|
* @deprecated
|
|
1547
1585
|
*/
|
|
1548
1586
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
1549
1587
|
/**
|
|
1550
1588
|
* @remarks
|
|
1551
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
1552
|
-
*
|
|
1553
|
-
* -
|
|
1589
|
+
* The network type of the edge node pool. This parameter takes effect only for node pools whose `type` is `edge`. Valid values:
|
|
1590
|
+
*
|
|
1591
|
+
* - `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.
|
|
1592
|
+
* - `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.
|
|
1554
1593
|
*
|
|
1555
1594
|
* @example
|
|
1556
1595
|
* basic
|
|
@@ -1558,9 +1597,9 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1558
1597
|
interconnectMode?: string;
|
|
1559
1598
|
/**
|
|
1560
1599
|
* @remarks
|
|
1561
|
-
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool.
|
|
1562
|
-
* - true
|
|
1563
|
-
* - false
|
|
1600
|
+
* Specifies whether Layer 3 network connectivity is enabled between nodes in the edge node pool.
|
|
1601
|
+
* - `true`: enabled. Layer 3 network connectivity is enabled between all nodes in the node pool.
|
|
1602
|
+
* - `false`: disabled. Layer 3 network connectivity is disabled between all hosts in the node pool.
|
|
1564
1603
|
*
|
|
1565
1604
|
* @example
|
|
1566
1605
|
* true
|
|
@@ -1568,12 +1607,12 @@ export declare class CreateClusterNodePoolRequest extends $dara.Model {
|
|
|
1568
1607
|
intranet?: boolean;
|
|
1569
1608
|
/**
|
|
1570
1609
|
* @remarks
|
|
1571
|
-
* The cluster configurations.
|
|
1610
|
+
* The cluster-related configurations.
|
|
1572
1611
|
*/
|
|
1573
1612
|
kubernetesConfig?: CreateClusterNodePoolRequestKubernetesConfig;
|
|
1574
1613
|
/**
|
|
1575
1614
|
* @remarks
|
|
1576
|
-
* The
|
|
1615
|
+
* The configuration of the managed node pool feature.
|
|
1577
1616
|
*/
|
|
1578
1617
|
management?: CreateClusterNodePoolRequestManagement;
|
|
1579
1618
|
/**
|