@alicloud/cs20151215 7.0.4 → 7.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +120 -42
- package/dist/client.js +332 -71
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +119 -621
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsRequest.js +73 -0
- package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentsResponse.js +69 -0
- package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +70 -195
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +63 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +366 -71
- package/src/models/CreateClusterNodePoolRequest.ts +126 -367
- package/src/models/CreateClusterRequest.ts +119 -621
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
- package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
- package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
- package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
- package/src/models/ListNodePoolComponentsRequest.ts +76 -0
- package/src/models/ListNodePoolComponentsResponse.ts +40 -0
- package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +70 -195
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
- package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +25 -0
|
@@ -14,21 +14,13 @@ export class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
|
14
14
|
* @remarks
|
|
15
15
|
* Specifies whether to enable the cluster audit log feature.
|
|
16
16
|
*
|
|
17
|
-
* - true: Enable.
|
|
18
|
-
*
|
|
19
|
-
* - false: Do not enable.
|
|
20
|
-
*
|
|
21
17
|
* @example
|
|
22
18
|
* true
|
|
23
19
|
*/
|
|
24
20
|
enabled?: boolean;
|
|
25
21
|
/**
|
|
26
22
|
* @remarks
|
|
27
|
-
* The [
|
|
28
|
-
*
|
|
29
|
-
* - Default value: `k8s-log-{clusterid}`.
|
|
30
|
-
*
|
|
31
|
-
* - After the cluster audit log feature is enabled, a Logstore for cluster audit logs is created in the specified SLS Project.
|
|
23
|
+
* The [Simple Log Service project](https://help.aliyun.com/document_detail/48873.html) that contains the [Logstore](https://help.aliyun.com/document_detail/48873.html) for cluster audit logs.
|
|
32
24
|
*
|
|
33
25
|
* @example
|
|
34
26
|
* k8s-log-c2345xxxxxxxxxxxx
|
|
@@ -62,10 +54,6 @@ export class CreateClusterRequestAutoMode extends $dara.Model {
|
|
|
62
54
|
* @remarks
|
|
63
55
|
* Specifies whether to enable intelligent managed mode.
|
|
64
56
|
*
|
|
65
|
-
* - true: Enable.
|
|
66
|
-
*
|
|
67
|
-
* - false: Do not enable.
|
|
68
|
-
*
|
|
69
57
|
* @example
|
|
70
58
|
* true
|
|
71
59
|
*/
|
|
@@ -94,11 +82,7 @@ export class CreateClusterRequestAutoMode extends $dara.Model {
|
|
|
94
82
|
export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
95
83
|
/**
|
|
96
84
|
* @remarks
|
|
97
|
-
* Specifies whether to enable auto-renewal for control plane nodes.
|
|
98
|
-
* - true: Enable auto-renewal.
|
|
99
|
-
* - false: Do not enable auto-renewal.
|
|
100
|
-
*
|
|
101
|
-
* Default value: true.
|
|
85
|
+
* Specifies whether to enable auto-renewal for control plane nodes. This parameter is valid only when charge_type is set to `PrePaid`.
|
|
102
86
|
*
|
|
103
87
|
* @example
|
|
104
88
|
* true
|
|
@@ -106,11 +90,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
106
90
|
autoRenew?: boolean;
|
|
107
91
|
/**
|
|
108
92
|
* @remarks
|
|
109
|
-
* The auto-renewal
|
|
110
|
-
*
|
|
111
|
-
* Valid values: {1, 2, 3, 6, 12}. Unit: months.
|
|
112
|
-
*
|
|
113
|
-
* Default value: 1.
|
|
93
|
+
* The auto-renewal duration of control plane nodes.
|
|
114
94
|
*
|
|
115
95
|
* @example
|
|
116
96
|
* 1
|
|
@@ -120,11 +100,6 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
120
100
|
* @remarks
|
|
121
101
|
* The billing method of control plane nodes.
|
|
122
102
|
*
|
|
123
|
-
* - `PrePaid`: Subscription.
|
|
124
|
-
* - `PostPaid`: Pay-as-you-go.
|
|
125
|
-
*
|
|
126
|
-
* Default value: `PostPaid`.
|
|
127
|
-
*
|
|
128
103
|
* @example
|
|
129
104
|
* PostPaid
|
|
130
105
|
*/
|
|
@@ -133,25 +108,13 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
133
108
|
* @remarks
|
|
134
109
|
* Specifies whether to install CloudMonitor on nodes.
|
|
135
110
|
*
|
|
136
|
-
* - true: Installs the CloudMonitor agent.
|
|
137
|
-
*
|
|
138
|
-
* - false: Does not install the CloudMonitor agent.
|
|
139
|
-
*
|
|
140
|
-
* Default value: false.
|
|
141
|
-
*
|
|
142
111
|
* @example
|
|
143
112
|
* false
|
|
144
113
|
*/
|
|
145
114
|
cloudMonitorFlags?: boolean;
|
|
146
115
|
/**
|
|
147
116
|
* @remarks
|
|
148
|
-
* The
|
|
149
|
-
*
|
|
150
|
-
* - static: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
151
|
-
*
|
|
152
|
-
* - none: Uses the existing default CPU affinity scheme.
|
|
153
|
-
*
|
|
154
|
-
* Default value: none.
|
|
117
|
+
* The CPU management policy for nodes.
|
|
155
118
|
*
|
|
156
119
|
* @example
|
|
157
120
|
* none
|
|
@@ -188,12 +151,12 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
188
151
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
189
152
|
/**
|
|
190
153
|
* @remarks
|
|
191
|
-
* The
|
|
154
|
+
* The instance types of nodes.
|
|
192
155
|
*/
|
|
193
156
|
instanceTypes?: string[];
|
|
194
157
|
/**
|
|
195
158
|
* @remarks
|
|
196
|
-
* The key pair
|
|
159
|
+
* The name of the key pair. Specify either this parameter or login_password.
|
|
197
160
|
*
|
|
198
161
|
* @example
|
|
199
162
|
* ack
|
|
@@ -201,7 +164,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
201
164
|
keyPair?: string;
|
|
202
165
|
/**
|
|
203
166
|
* @remarks
|
|
204
|
-
* The SSH logon password.
|
|
167
|
+
* The SSH logon password. 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. Specify either this parameter or key_pair.
|
|
205
168
|
*
|
|
206
169
|
* @example
|
|
207
170
|
* ********
|
|
@@ -209,7 +172,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
209
172
|
loginPassword?: string;
|
|
210
173
|
/**
|
|
211
174
|
* @remarks
|
|
212
|
-
* **
|
|
175
|
+
* **[Deprecated]** The node service port range.
|
|
213
176
|
*
|
|
214
177
|
* @example
|
|
215
178
|
* 30000-32767
|
|
@@ -217,11 +180,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
217
180
|
nodePortRange?: string;
|
|
218
181
|
/**
|
|
219
182
|
* @remarks
|
|
220
|
-
* The subscription duration of control plane nodes.
|
|
221
|
-
*
|
|
222
|
-
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}. Unit: months.
|
|
223
|
-
*
|
|
224
|
-
* Default value: 1.
|
|
183
|
+
* The subscription duration of control plane nodes. This parameter is valid and required only when charge_type is set to `PrePaid`.
|
|
225
184
|
*
|
|
226
185
|
* @example
|
|
227
186
|
* 1
|
|
@@ -229,9 +188,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
229
188
|
period?: number;
|
|
230
189
|
/**
|
|
231
190
|
* @remarks
|
|
232
|
-
* The subscription
|
|
233
|
-
*
|
|
234
|
-
* Valid value: `Month`. Currently, only monthly periods are supported.
|
|
191
|
+
* The unit of the subscription duration of control plane nodes. This parameter is valid and required only when charge_type is set to `PrePaid`.
|
|
235
192
|
*
|
|
236
193
|
* @example
|
|
237
194
|
* Month
|
|
@@ -239,9 +196,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
239
196
|
periodUnit?: string;
|
|
240
197
|
/**
|
|
241
198
|
* @remarks
|
|
242
|
-
* **
|
|
243
|
-
*
|
|
244
|
-
* containerd: The Containerd runtime, which supports all cluster versions.
|
|
199
|
+
* **[Deprecated]** The runtime name of control plane nodes. Valid values:
|
|
245
200
|
*
|
|
246
201
|
* @example
|
|
247
202
|
* containerd
|
|
@@ -251,12 +206,6 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
251
206
|
* @remarks
|
|
252
207
|
* Specifies whether to enable Alibaba Cloud OS security hardening.
|
|
253
208
|
*
|
|
254
|
-
* - true: Enables Alibaba Cloud OS security hardening.
|
|
255
|
-
*
|
|
256
|
-
* - false: Does not enable Alibaba Cloud OS security hardening.
|
|
257
|
-
*
|
|
258
|
-
* Default value: false.
|
|
259
|
-
*
|
|
260
209
|
* @example
|
|
261
210
|
* false
|
|
262
211
|
*/
|
|
@@ -265,21 +214,13 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
265
214
|
* @remarks
|
|
266
215
|
* The number of control plane nodes.
|
|
267
216
|
*
|
|
268
|
-
* Valid values: `3` or `5`.
|
|
269
|
-
*
|
|
270
217
|
* @example
|
|
271
218
|
* 3
|
|
272
219
|
*/
|
|
273
220
|
size?: number;
|
|
274
221
|
/**
|
|
275
222
|
* @remarks
|
|
276
|
-
* Specifies whether to enable MLPS
|
|
277
|
-
*
|
|
278
|
-
* - true: Enables MLPS 2.0 security hardening.
|
|
279
|
-
*
|
|
280
|
-
* - false: Does not enable MLPS 2.0 security hardening.
|
|
281
|
-
*
|
|
282
|
-
* Default value: false.
|
|
223
|
+
* Specifies whether to enable MLPS security hardening.
|
|
283
224
|
*
|
|
284
225
|
* @example
|
|
285
226
|
* false
|
|
@@ -287,13 +228,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
287
228
|
socEnabled?: boolean;
|
|
288
229
|
/**
|
|
289
230
|
* @remarks
|
|
290
|
-
* Specifies whether to enable burst (performance burst) for the
|
|
291
|
-
*
|
|
292
|
-
* - true: Enabled.
|
|
293
|
-
*
|
|
294
|
-
* - false: Not enabled.
|
|
295
|
-
*
|
|
296
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
231
|
+
* Specifies whether to enable burst (performance burst) for the system cloud disk of nodes.
|
|
297
232
|
*
|
|
298
233
|
* @example
|
|
299
234
|
* true
|
|
@@ -301,13 +236,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
301
236
|
systemDiskBurstingEnabled?: boolean;
|
|
302
237
|
/**
|
|
303
238
|
* @remarks
|
|
304
|
-
* The
|
|
305
|
-
*
|
|
306
|
-
* - `cloud_efficiency`: Ultra disk.
|
|
307
|
-
* - `cloud_ssd`: Standard SSD.
|
|
308
|
-
* - `cloud_essd`: ESSD.
|
|
309
|
-
* - `cloud_auto`: ESSD AutoPL.
|
|
310
|
-
* - `cloud_essd
|
|
239
|
+
* The type of the system cloud disk for nodes.
|
|
311
240
|
*
|
|
312
241
|
* @example
|
|
313
242
|
* cloud_ssd
|
|
@@ -315,9 +244,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
315
244
|
systemDiskCategory?: string;
|
|
316
245
|
/**
|
|
317
246
|
* @remarks
|
|
318
|
-
* The performance level of the
|
|
319
|
-
*
|
|
320
|
-
* The performance level varies based on the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
247
|
+
* The performance level of the system cloud disk. This parameter takes effect only for ESSD disks.
|
|
321
248
|
*
|
|
322
249
|
* @example
|
|
323
250
|
* PL1
|
|
@@ -325,11 +252,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
325
252
|
systemDiskPerformanceLevel?: string;
|
|
326
253
|
/**
|
|
327
254
|
* @remarks
|
|
328
|
-
* The provisioned read/write IOPS
|
|
329
|
-
*
|
|
330
|
-
* Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
331
|
-
*
|
|
332
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
255
|
+
* The provisioned read/write IOPS of the system cloud disk for nodes.
|
|
333
256
|
*
|
|
334
257
|
* @example
|
|
335
258
|
* 1000
|
|
@@ -337,11 +260,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
337
260
|
systemDiskProvisionedIops?: number;
|
|
338
261
|
/**
|
|
339
262
|
* @remarks
|
|
340
|
-
* The size of the
|
|
341
|
-
*
|
|
342
|
-
* Valid values: [40,500\\]. Unit: GiB.
|
|
343
|
-
*
|
|
344
|
-
* Default value: `120`.
|
|
263
|
+
* The size of the system cloud disk for nodes.
|
|
345
264
|
*
|
|
346
265
|
* @example
|
|
347
266
|
* 120
|
|
@@ -349,7 +268,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
349
268
|
systemDiskSize?: number;
|
|
350
269
|
/**
|
|
351
270
|
* @remarks
|
|
352
|
-
* The automatic snapshot
|
|
271
|
+
* The automatic snapshot policy for nodes.
|
|
353
272
|
*
|
|
354
273
|
* @example
|
|
355
274
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -433,7 +352,7 @@ export class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
|
433
352
|
export class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
|
|
434
353
|
/**
|
|
435
354
|
* @remarks
|
|
436
|
-
* The VPCs
|
|
355
|
+
* The VPCs in which the internal domain name DNS resolution takes effect.
|
|
437
356
|
*/
|
|
438
357
|
bindVpcs?: string[];
|
|
439
358
|
static names(): { [key: string]: string } {
|
|
@@ -503,12 +422,12 @@ export class CreateClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig
|
|
|
503
422
|
export class CreateClusterRequestControlPlaneEndpointsConfig extends $dara.Model {
|
|
504
423
|
/**
|
|
505
424
|
* @remarks
|
|
506
|
-
* The internal DNS configuration
|
|
425
|
+
* The internal DNS configuration of the cluster. This applies to ACK managed clusters. The internal domain name is used by node-side system components such as kubelet and kube-proxy to access the API Server. If the internal domain name access is not enabled, node-side system components access the API Server through the CLB IP address.
|
|
507
426
|
*/
|
|
508
427
|
internalDnsConfig?: CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig;
|
|
509
428
|
/**
|
|
510
429
|
* @remarks
|
|
511
|
-
* The cluster
|
|
430
|
+
* The cluster connection configuration. When this field is specified, the endpoint_public_access and load_balancer_id parameters do not take effect.
|
|
512
431
|
*/
|
|
513
432
|
loadBalancersConfig?: CreateClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig[];
|
|
514
433
|
static names(): { [key: string]: string } {
|
|
@@ -544,9 +463,6 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $dara
|
|
|
544
463
|
/**
|
|
545
464
|
* @remarks
|
|
546
465
|
* The cluster auto-upgrade frequency. Valid values:
|
|
547
|
-
* - patch: Automatically upgrades to the available patch version of the current minor version. The new Kubernetes version does not contain breaking changes.
|
|
548
|
-
* - stable: Automatically upgrades to the latest patch version of the second-latest minor version. The new Kubernetes version may involve API and feature changes, but its stability has been widely validated.
|
|
549
|
-
* - rapid: Automatically upgrades to the latest patch version of the latest minor version to gain access to new Kubernetes community features faster.
|
|
550
466
|
*
|
|
551
467
|
* @example
|
|
552
468
|
* stable
|
|
@@ -556,10 +472,6 @@ export class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $dara
|
|
|
556
472
|
* @remarks
|
|
557
473
|
* Specifies whether to enable cluster auto-upgrade.
|
|
558
474
|
*
|
|
559
|
-
* - true: Enable.
|
|
560
|
-
*
|
|
561
|
-
* - false: Do not enable.
|
|
562
|
-
*
|
|
563
475
|
* @example
|
|
564
476
|
* true
|
|
565
477
|
*/
|
|
@@ -620,11 +532,7 @@ export class CreateClusterRequestOperationPolicy extends $dara.Model {
|
|
|
620
532
|
export class CreateClusterRequestRrsaConfig extends $dara.Model {
|
|
621
533
|
/**
|
|
622
534
|
* @remarks
|
|
623
|
-
* Specifies whether to enable RRSA.
|
|
624
|
-
*
|
|
625
|
-
* - true: Enable.
|
|
626
|
-
*
|
|
627
|
-
* - false: Do not enable.
|
|
535
|
+
* Specifies whether to enable the RRSA feature.
|
|
628
536
|
*
|
|
629
537
|
* @example
|
|
630
538
|
* true
|
|
@@ -654,7 +562,7 @@ export class CreateClusterRequestRrsaConfig extends $dara.Model {
|
|
|
654
562
|
export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
655
563
|
/**
|
|
656
564
|
* @remarks
|
|
657
|
-
* The data
|
|
565
|
+
* The type of the data disk.
|
|
658
566
|
*
|
|
659
567
|
* This parameter is required.
|
|
660
568
|
*
|
|
@@ -664,12 +572,7 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
664
572
|
category?: string;
|
|
665
573
|
/**
|
|
666
574
|
* @remarks
|
|
667
|
-
* Specifies whether to encrypt the data
|
|
668
|
-
*
|
|
669
|
-
* - `true`: Encrypts the data cloud disk.
|
|
670
|
-
* - `false`: Does not encrypt the data cloud disk.
|
|
671
|
-
*
|
|
672
|
-
* Default value: `false`.
|
|
575
|
+
* Specifies whether to encrypt the data disk. Valid values:
|
|
673
576
|
*
|
|
674
577
|
* @example
|
|
675
578
|
* true
|
|
@@ -677,7 +580,7 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
677
580
|
encrypted?: string;
|
|
678
581
|
/**
|
|
679
582
|
* @remarks
|
|
680
|
-
* The performance level of the
|
|
583
|
+
* The performance level of the data cloud disk for nodes. This parameter takes effect only for [standard SSDs](https://help.aliyun.com/document_detail/122389.html).
|
|
681
584
|
*
|
|
682
585
|
* @example
|
|
683
586
|
* PL1
|
|
@@ -685,7 +588,7 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
685
588
|
performanceLevel?: string;
|
|
686
589
|
/**
|
|
687
590
|
* @remarks
|
|
688
|
-
* The data
|
|
591
|
+
* The size of the data disk. Valid values: 40 to 32767. Unit: GiB.
|
|
689
592
|
*
|
|
690
593
|
* This parameter is required.
|
|
691
594
|
*
|
|
@@ -723,46 +626,19 @@ export class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
723
626
|
export class CreateClusterRequest extends $dara.Model {
|
|
724
627
|
/**
|
|
725
628
|
* @remarks
|
|
726
|
-
*
|
|
629
|
+
* **[Deprecated]** The access control list for the API Server SLB of the registered cluster.
|
|
727
630
|
*
|
|
728
631
|
* @deprecated
|
|
729
632
|
*/
|
|
730
633
|
accessControlList?: string[];
|
|
731
634
|
/**
|
|
732
635
|
* @remarks
|
|
733
|
-
* The list of cluster components.
|
|
734
|
-
*
|
|
735
|
-
* **Network component**: Required. Choose between Flannel and Terway network types:
|
|
736
|
-
*
|
|
737
|
-
* - Flannel network: [{"name":"flannel","config":""}\\].
|
|
738
|
-
* - Terway network: [{"name": "terway-eniip","config": ""}\\].
|
|
739
|
-
*
|
|
740
|
-
* **Storage component**: Optional. Only the `csi` type is supported:
|
|
741
|
-
*
|
|
742
|
-
* `csi`: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}\\].
|
|
743
|
-
*
|
|
744
|
-
* **Log component**: Optional. We recommend that you enable this component. If the log service is not enabled, the cluster audit feature is unavailable.
|
|
745
|
-
*
|
|
746
|
-
* - Use an existing `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\",\\"sls_project_name\\":\\"your_sls_project_name\\"}"}\\].
|
|
747
|
-
* - Create a new `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\"}"}\\].
|
|
748
|
-
*
|
|
749
|
-
* **Ingress component**: Optional. ACK dedicated clusters install the Ingress component `nginx-ingress-controller` by default.
|
|
750
|
-
*
|
|
751
|
-
* - Install Ingress with public network access: [{"name":"nginx-ingress-controller","config":"{\\"IngressSlbNetworkType\\":\\"internet\\"}"}\\].
|
|
752
|
-
* - Disable default Ingress installation: [{"name": "nginx-ingress-controller","config": "","disabled": true}\\].
|
|
753
|
-
*
|
|
754
|
-
* **Event Center**: Optional. Enabled by default.
|
|
755
|
-
*
|
|
756
|
-
* The Event Center provides storage, query, and alerting capabilities for Kubernetes events. The Logstore associated with the Kubernetes Event Center is free for 90 days. For more information about the free policy, see [Create and use the Kubernetes event center](https://help.aliyun.com/document_detail/150476.html).
|
|
757
|
-
*
|
|
758
|
-
* Example of enabling the Event Center: [{"name":"ack-node-problem-detector","config":"{\\"sls_project_name\\":\\"your_sls_project_name\\"}"}\\].
|
|
636
|
+
* The list of cluster components. Use `addons` to specify the components to install when creating a cluster.
|
|
759
637
|
*/
|
|
760
638
|
addons?: Addon[];
|
|
761
639
|
/**
|
|
762
640
|
* @remarks
|
|
763
|
-
* A ServiceAccount is the access credential for communication between a
|
|
764
|
-
*
|
|
765
|
-
* For more information about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
641
|
+
* A ServiceAccount is the access credential for communication between a pod and the cluster API server. The `api-audiences` parameter specifies the valid request `token` identities used by the `apiserver` to authenticate whether a request `token` is valid. You can specify multiple `audience` values separated by commas (,).
|
|
766
642
|
*
|
|
767
643
|
* @example
|
|
768
644
|
* kubernetes.default.svc
|
|
@@ -780,16 +656,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
780
656
|
autoMode?: CreateClusterRequestAutoMode;
|
|
781
657
|
/**
|
|
782
658
|
* @remarks
|
|
783
|
-
*
|
|
784
|
-
*
|
|
785
|
-
* 是否开启自动续费,当`charge_type`取值为`PrePaid`时才生效。取值:
|
|
786
|
-
*
|
|
787
|
-
* - `true`:自动续费。
|
|
788
|
-
* - `false`:不自动续费。
|
|
789
|
-
*
|
|
790
|
-
* 默认值:`false`。
|
|
791
|
-
*
|
|
792
|
-
* 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
659
|
+
* **[Deprecated]**
|
|
793
660
|
*
|
|
794
661
|
* @example
|
|
795
662
|
* true
|
|
@@ -799,13 +666,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
799
666
|
autoRenew?: boolean;
|
|
800
667
|
/**
|
|
801
668
|
* @remarks
|
|
802
|
-
*
|
|
803
|
-
*
|
|
804
|
-
* 自动续费周期,当选择预付费和自动续费时才生效。当`PeriodUnit=Month`时,取值范围:{1, 2, 3, 6, 12}。
|
|
805
|
-
*
|
|
806
|
-
* 默认值:1。
|
|
807
|
-
*
|
|
808
|
-
* 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
669
|
+
* **[Deprecated]**
|
|
809
670
|
*
|
|
810
671
|
* @example
|
|
811
672
|
* 1
|
|
@@ -815,19 +676,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
815
676
|
autoRenewPeriod?: number;
|
|
816
677
|
/**
|
|
817
678
|
* @remarks
|
|
818
|
-
*
|
|
819
|
-
*
|
|
820
|
-
* API Server所使用的CLB实例的付费类型,默认值为PostPaid。取值:
|
|
821
|
-
* - PostPaid:按量付费。
|
|
822
|
-
* - PrePaid:包年包月,新建CLB付费类型已不支持,存量不影响。
|
|
823
|
-
*
|
|
824
|
-
* >Notice:
|
|
825
|
-
*
|
|
826
|
-
* - 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
827
|
-
* - 自2024年12月01日起,新创建的CLB实例不再支持包年包月付费类型,同时将新增收取实例费。
|
|
828
|
-
* </notice>
|
|
829
|
-
* <props="china">详细信息请参见[【产品公告】关于取消新增集群API Server负载均衡CLB包年包月付费的公告](https://help.aliyun.com/document_detail/2851191.html)、[传统型负载均衡CLB计费项调整公告](https://help.aliyun.com/document_detail/2839797.html)。
|
|
830
|
-
* <props="intl">详细信息请参见[传统型负载均衡CLB计费项调整公告](https://help.aliyun.com/document_detail/2839797.html)。
|
|
679
|
+
* **[Deprecated]**
|
|
831
680
|
*
|
|
832
681
|
* @example
|
|
833
682
|
* PostPaid
|
|
@@ -837,7 +686,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
837
686
|
chargeType?: string;
|
|
838
687
|
/**
|
|
839
688
|
* @remarks
|
|
840
|
-
* **
|
|
689
|
+
* **[Deprecated]** For cluster control plane configuration, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configuration, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
|
|
841
690
|
*
|
|
842
691
|
* @example
|
|
843
692
|
* false
|
|
@@ -847,14 +696,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
847
696
|
cisEnabled?: boolean;
|
|
848
697
|
/**
|
|
849
698
|
* @remarks
|
|
850
|
-
* **
|
|
851
|
-
*
|
|
852
|
-
* Specifies whether to install the CloudMonitor agent on the cluster. Valid values:
|
|
853
|
-
*
|
|
854
|
-
* - `true`: Installs the CloudMonitor agent.
|
|
855
|
-
* - `false`: Does not install the CloudMonitor agent.
|
|
856
|
-
*
|
|
857
|
-
* Default value: `false`.
|
|
699
|
+
* **[Deprecated]** For cluster control plane node configuration, use the `cloud_monitor_flags` parameter under `control_plane_config` instead. For node pool configuration, use the `cms_enabled` parameter under `kubernetes_config` in `nodepool` instead.
|
|
858
700
|
*
|
|
859
701
|
* @example
|
|
860
702
|
* false
|
|
@@ -864,9 +706,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
864
706
|
cloudMonitorFlags?: boolean;
|
|
865
707
|
/**
|
|
866
708
|
* @remarks
|
|
867
|
-
* The cluster local domain.
|
|
868
|
-
*
|
|
869
|
-
* Naming rules: The domain consists of one or more parts separated by periods (.). Each part can be up to 63 characters in length and can contain lowercase letters, digits, and hyphens (-). Each part must start and end with a lowercase letter or digit.
|
|
709
|
+
* The cluster local domain name.
|
|
870
710
|
*
|
|
871
711
|
* @example
|
|
872
712
|
* cluster.local
|
|
@@ -874,17 +714,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
874
714
|
clusterDomain?: string;
|
|
875
715
|
/**
|
|
876
716
|
* @remarks
|
|
877
|
-
*
|
|
878
|
-
*
|
|
879
|
-
* - `ack.standard`: Basic (selected by default when the value is empty)
|
|
880
|
-
* - `ack.pro.small`: Pro
|
|
881
|
-
* - `ack.pro.xlarge`: Pro XL
|
|
882
|
-
* - `ack.pro.2xlarge`: Pro 2XL
|
|
883
|
-
* - `ack.pro.4xlarge`: Pro 4XL (requires contacting customer service to enable the whitelist)
|
|
884
|
-
*
|
|
885
|
-
* Pro XL, Pro 2XL, and Pro 4XL are three tiers provided by <props="china">[ACK Pro Provisioned Control Plane](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane)<props="intl">[ACK Pro Provisioned Control Plane](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/user-guide/ack-pro-provisioned-control-plane). By pre-allocating and fixing control plane resources, they ensure that API concurrency and Pod scheduling capabilities remain at a deterministic high level, suitable for AI training and inference, ultra-large-scale clusters, and mission-critical workloads.
|
|
886
|
-
*
|
|
887
|
-
* For information about the management fees for Pro and Provisioned Control Plane clusters, see <props="china">[Cluster management fee](https://help.aliyun.com/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee)<props="intl">[Cluster management fee](https://www.alibabacloud.com/help/ack/ack-managed-and-ack-dedicated/product-overview/cluster-management-fee).
|
|
717
|
+
* If you set `cluster_type` to `ManagedKubernetes` and configure `profile`, you can further specify the cluster specifications. Valid values:
|
|
888
718
|
*
|
|
889
719
|
* @example
|
|
890
720
|
* ack.pro.small
|
|
@@ -893,8 +723,6 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
893
723
|
/**
|
|
894
724
|
* @remarks
|
|
895
725
|
* - `Kubernetes`: ACK dedicated cluster.
|
|
896
|
-
* - `ManagedKubernetes`: ACK managed cluster types, including ACK managed clusters (Pro and Basic), ACK Serverless clusters (Pro and Basic), ACK Edge clusters (Pro and Basic), and ACK Lingjun clusters (Pro).
|
|
897
|
-
* - `ExternalKubernetes`: registered cluster.
|
|
898
726
|
*
|
|
899
727
|
* @example
|
|
900
728
|
* Kubernetes
|
|
@@ -902,11 +730,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
902
730
|
clusterType?: string;
|
|
903
731
|
/**
|
|
904
732
|
* @remarks
|
|
905
|
-
* The
|
|
906
|
-
*
|
|
907
|
-
* For information about cluster network planning, see [ACK managed cluster network planning](https://help.aliyun.com/document_detail/86500.html).
|
|
908
|
-
*
|
|
909
|
-
* > This field is required for Flannel clusters.
|
|
733
|
+
* The pod network CIDR block. It must be a valid private CIDR block, which includes the following CIDR blocks and their subnets: 10.0.0.0/8, 172.16-31.0.0/12-16, and 192.168.0.0/16. It cannot overlap with the CIDR blocks used by the VPC or existing Kubernetes clusters in the VPC. It cannot be modified after the cluster is created.
|
|
910
734
|
*
|
|
911
735
|
* @example
|
|
912
736
|
* 172.20.0.0/16
|
|
@@ -914,24 +738,22 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
914
738
|
containerCidr?: string;
|
|
915
739
|
/**
|
|
916
740
|
* @remarks
|
|
917
|
-
* The
|
|
741
|
+
* The control plane configuration for ACK dedicated clusters.
|
|
918
742
|
*/
|
|
919
743
|
controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
|
|
920
744
|
/**
|
|
921
745
|
* @remarks
|
|
922
|
-
* The cluster
|
|
746
|
+
* The cluster connection configuration.
|
|
923
747
|
*/
|
|
924
748
|
controlPlaneEndpointsConfig?: CreateClusterRequestControlPlaneEndpointsConfig;
|
|
925
749
|
/**
|
|
926
750
|
* @remarks
|
|
927
751
|
* The list of component names that specifies which control plane components to collect logs from.
|
|
928
|
-
*
|
|
929
|
-
* By default, logs are collected from kube-apiserver, kube-controller-manager, kube-scheduler, and cloud-controller-manager.
|
|
930
752
|
*/
|
|
931
753
|
controlplaneLogComponents?: string[];
|
|
932
754
|
/**
|
|
933
755
|
* @remarks
|
|
934
|
-
* The Simple Log Service project for control plane component logs. You can use an existing project for log storage or
|
|
756
|
+
* The Simple Log Service project for control plane component logs. You can use an existing project for log storage or allow the system to automatically create a project. If you choose automatic creation, a Simple Log Service project named `k8s-log-{ClusterID}` is automatically created.
|
|
935
757
|
*
|
|
936
758
|
* @example
|
|
937
759
|
* k8s-log-xxx
|
|
@@ -939,7 +761,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
939
761
|
controlplaneLogProject?: string;
|
|
940
762
|
/**
|
|
941
763
|
* @remarks
|
|
942
|
-
* The number of days for
|
|
764
|
+
* The number of days for control plane component log retention.
|
|
943
765
|
*
|
|
944
766
|
* @example
|
|
945
767
|
* 30
|
|
@@ -947,14 +769,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
947
769
|
controlplaneLogTtl?: string;
|
|
948
770
|
/**
|
|
949
771
|
* @remarks
|
|
950
|
-
* **
|
|
951
|
-
*
|
|
952
|
-
* The node CPU management policy. The following policies are supported for cluster versions 1.12.6 and later:
|
|
953
|
-
*
|
|
954
|
-
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
955
|
-
* - `none`: Uses the existing default CPU affinity scheme.
|
|
956
|
-
*
|
|
957
|
-
* Default value: `none`.
|
|
772
|
+
* **[Deprecated]** For cluster control plane configuration, use the cpu_policy parameter under `control_plane_config` instead. For node pool configuration, use the cpu_policy parameter under `kubernetes_config` in `nodepool` instead.
|
|
958
773
|
*
|
|
959
774
|
* @example
|
|
960
775
|
* none
|
|
@@ -964,9 +779,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
964
779
|
cpuPolicy?: string;
|
|
965
780
|
/**
|
|
966
781
|
* @remarks
|
|
967
|
-
* **
|
|
968
|
-
*
|
|
969
|
-
* The custom certificate Subject Alternative Name (SAN). Separate multiple IP addresses or domain names with commas (,).
|
|
782
|
+
* **[Deprecated]** Use the `extra_sans` parameter instead.
|
|
970
783
|
*
|
|
971
784
|
* @example
|
|
972
785
|
* cs.aliyun.com
|
|
@@ -976,12 +789,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
976
789
|
customSan?: string;
|
|
977
790
|
/**
|
|
978
791
|
* @remarks
|
|
979
|
-
* Specifies whether to enable
|
|
980
|
-
*
|
|
981
|
-
* - `true`: Enable cluster deletion protection. The cluster cannot be deleted through the console or API.
|
|
982
|
-
* - `false`: Do not enable cluster deletion protection. The cluster can be deleted through the console or API.
|
|
983
|
-
*
|
|
984
|
-
* Default value: `false`.
|
|
792
|
+
* Specifies whether to enable deletion protection for the cluster to prevent accidental deletion through the console or API. Valid values:
|
|
985
793
|
*
|
|
986
794
|
* @example
|
|
987
795
|
* true
|
|
@@ -989,15 +797,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
989
797
|
deletionProtection?: boolean;
|
|
990
798
|
/**
|
|
991
799
|
* @remarks
|
|
992
|
-
*
|
|
993
|
-
*
|
|
994
|
-
* 集群创建失败是否回滚。取值:
|
|
995
|
-
*
|
|
996
|
-
* - `true`:当集群创建失败时,进行回滚操作。
|
|
997
|
-
* - `false`:当集群创建失败时,不进行回滚操作。
|
|
998
|
-
*
|
|
999
|
-
*
|
|
1000
|
-
* 默认值:`true`。
|
|
800
|
+
* **[Deprecated]** When cluster creation fails, rollback is not performed by default. You must manually clean up the failed cluster.
|
|
1001
801
|
*
|
|
1002
802
|
* @example
|
|
1003
803
|
* true
|
|
@@ -1007,13 +807,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1007
807
|
disableRollback?: boolean;
|
|
1008
808
|
/**
|
|
1009
809
|
* @remarks
|
|
1010
|
-
*
|
|
1011
|
-
*
|
|
1012
|
-
* 是否启用RRSA功能。
|
|
1013
|
-
*
|
|
1014
|
-
* - true:开启。
|
|
1015
|
-
*
|
|
1016
|
-
* - false:不开启。
|
|
810
|
+
* **[Deprecated]** Use the `rrsa_config` parameter instead.
|
|
1017
811
|
*
|
|
1018
812
|
* @example
|
|
1019
813
|
* false
|
|
@@ -1023,9 +817,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1023
817
|
enableRrsa?: boolean;
|
|
1024
818
|
/**
|
|
1025
819
|
* @remarks
|
|
1026
|
-
* The KMS key ID used to encrypt data disks. For more information, see [Key Management Service](https://help.aliyun.com/document_detail/28935.html).
|
|
1027
|
-
*
|
|
1028
|
-
* > This feature only takes effect in ACK Pro managed clusters.
|
|
820
|
+
* The KMS key ID used to encrypt data cloud disks. For more information, see [Key Management Service](https://help.aliyun.com/document_detail/28935.html).
|
|
1029
821
|
*
|
|
1030
822
|
* @example
|
|
1031
823
|
* 0fe64791-55eb-4fc7-84c5-c6c7cdca****
|
|
@@ -1033,12 +825,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1033
825
|
encryptionProviderKey?: string;
|
|
1034
826
|
/**
|
|
1035
827
|
* @remarks
|
|
1036
|
-
* Specifies whether to public network access.
|
|
1037
|
-
*
|
|
1038
|
-
* - `true`: Public network access.
|
|
1039
|
-
* - `false`: Do not public network access. If not enabled, the cluster API Server cannot be accessed from the Internet.
|
|
1040
|
-
*
|
|
1041
|
-
* Default value: `false`.
|
|
828
|
+
* Specifies whether to public network access. The API Server is exposed through an EIP to public network access to the cluster.
|
|
1042
829
|
*
|
|
1043
830
|
* @example
|
|
1044
831
|
* true
|
|
@@ -1051,20 +838,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1051
838
|
extraSans?: string[];
|
|
1052
839
|
/**
|
|
1053
840
|
* @remarks
|
|
1054
|
-
*
|
|
1055
|
-
*
|
|
1056
|
-
* 使用已有实例创建集群时,是否对实例进行数据盘挂载,取值:
|
|
1057
|
-
*
|
|
1058
|
-
* - `true`:将容器和镜像存储在数据盘,数据盘内原有数据将丢失,请注意备份数据。
|
|
1059
|
-
*
|
|
1060
|
-
* - `false`:不将容器和镜像存储在数据盘。
|
|
1061
|
-
*
|
|
1062
|
-
* 默认值:`false`。
|
|
1063
|
-
*
|
|
1064
|
-
* 数据盘挂载规则:
|
|
1065
|
-
*
|
|
1066
|
-
* - 如果ECS已挂载数据盘,且最后一块数据盘的文件系统未初始化,系统会自动将该数据盘格式化为ext4,用来存放内容/var/lib/docker、/var/lib/kubelet。
|
|
1067
|
-
* - 如果ECS未挂载数据盘,则不会挂载新的数据盘。
|
|
841
|
+
* **[Deprecated]** Selecting existing nodes during cluster creation is not supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation.
|
|
1068
842
|
*
|
|
1069
843
|
* @example
|
|
1070
844
|
* false
|
|
@@ -1074,9 +848,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1074
848
|
formatDisk?: boolean;
|
|
1075
849
|
/**
|
|
1076
850
|
* @remarks
|
|
1077
|
-
* **
|
|
1078
|
-
*
|
|
1079
|
-
* The custom node image. The system image is used by default. When a custom image is selected, it replaces the default system image. For more information, see [Custom images](https://help.aliyun.com/document_detail/146647.html).
|
|
851
|
+
* **[Deprecated]** For cluster control plane configuration, use the `image_id` parameter under `control_plane_config` instead. For node pool configuration, use the `image_id` parameter under `scaling_group` in `nodepool` instead.
|
|
1080
852
|
*
|
|
1081
853
|
* @example
|
|
1082
854
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -1086,21 +858,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1086
858
|
imageId?: string;
|
|
1087
859
|
/**
|
|
1088
860
|
* @remarks
|
|
1089
|
-
*
|
|
1090
|
-
*
|
|
1091
|
-
* 操作系统发行版类型,推荐使用该字段指定节点操作系统。取值:
|
|
1092
|
-
*
|
|
1093
|
-
* - CentOS
|
|
1094
|
-
* - AliyunLinux
|
|
1095
|
-
* - AliyunLinux Qboot
|
|
1096
|
-
* - AliyunLinuxUEFI
|
|
1097
|
-
* - AliyunLinux3
|
|
1098
|
-
* - Windows
|
|
1099
|
-
* - WindowsCore
|
|
1100
|
-
* - AliyunLinux3Arm64
|
|
1101
|
-
* - ContainerOS
|
|
1102
|
-
*
|
|
1103
|
-
* 默认值:`CentOS`。
|
|
861
|
+
* **[Deprecated]** For cluster control plane configuration, use the `image_type` parameter under `control_plane_config` instead. For node pool configuration, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
|
|
1104
862
|
*
|
|
1105
863
|
* @example
|
|
1106
864
|
* AliyunLinux
|
|
@@ -1110,36 +868,22 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1110
868
|
imageType?: string;
|
|
1111
869
|
/**
|
|
1112
870
|
* @remarks
|
|
1113
|
-
*
|
|
1114
|
-
*
|
|
1115
|
-
*
|
|
1116
|
-
* 使用已有节点创建集群时,需要指定ECS实例列表,该实例会作为Worker节点加入集群。
|
|
1117
|
-
*
|
|
1118
|
-
* > 使用已有实例创建集群时,该字段必填。
|
|
871
|
+
* **[Deprecated]** Selecting existing nodes during cluster creation is not supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation.
|
|
1119
872
|
*
|
|
1120
873
|
* @deprecated
|
|
1121
874
|
*/
|
|
1122
875
|
instances?: string[];
|
|
1123
876
|
/**
|
|
1124
877
|
* @remarks
|
|
1125
|
-
* The IP
|
|
878
|
+
* The IP stack of the cluster.
|
|
1126
879
|
*
|
|
1127
880
|
* @example
|
|
1128
|
-
*
|
|
1129
|
-
* ipv4(单栈)
|
|
1130
|
-
* dual(双栈),默认值为ipv4。
|
|
881
|
+
* Valid values:
|
|
1131
882
|
*/
|
|
1132
883
|
ipStack?: string;
|
|
1133
884
|
/**
|
|
1134
885
|
* @remarks
|
|
1135
|
-
* Specifies whether to
|
|
1136
|
-
*
|
|
1137
|
-
* > When using a basic security group, the total number of nodes and Terway Pods in the cluster cannot exceed 2000. Therefore, when creating a Terway network type cluster, we recommend using an advanced security group.
|
|
1138
|
-
*
|
|
1139
|
-
* - `true`: Create and use an advanced security group.
|
|
1140
|
-
* - `false`: Use a basic security group.
|
|
1141
|
-
*
|
|
1142
|
-
* Default value: `true`.
|
|
886
|
+
* Specifies whether to enable automatic creation of an advanced security group. This parameter takes effect only when `security_group_id` is empty.
|
|
1143
887
|
*
|
|
1144
888
|
* @example
|
|
1145
889
|
* true
|
|
@@ -1147,14 +891,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1147
891
|
isEnterpriseSecurityGroup?: boolean;
|
|
1148
892
|
/**
|
|
1149
893
|
* @remarks
|
|
1150
|
-
*
|
|
1151
|
-
*
|
|
1152
|
-
* 使用已有实例创建集群时,是否保留实例名称。
|
|
1153
|
-
*
|
|
1154
|
-
* - `true`:保留。
|
|
1155
|
-
* - `false`:不保留,会用系统规则进行替换。
|
|
1156
|
-
*
|
|
1157
|
-
* 默认值:`true`。
|
|
894
|
+
* **[Deprecated]** Selecting existing nodes during cluster creation is not supported. To add existing nodes to a cluster, create a node pool first and call the [AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html) operation.
|
|
1158
895
|
*
|
|
1159
896
|
* @example
|
|
1160
897
|
* true
|
|
@@ -1164,9 +901,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1164
901
|
keepInstanceName?: boolean;
|
|
1165
902
|
/**
|
|
1166
903
|
* @remarks
|
|
1167
|
-
* **
|
|
1168
|
-
*
|
|
1169
|
-
* The key pair name. Mutually exclusive with `login_password`.
|
|
904
|
+
* **[Deprecated]** For cluster control plane configuration, use the key_pair parameter under `control_plane_config` instead. For node pool configuration, use the key_pair parameter under `scaling_group` in `nodepool` instead.
|
|
1170
905
|
*
|
|
1171
906
|
* @example
|
|
1172
907
|
* security-key
|
|
@@ -1176,11 +911,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1176
911
|
keyPair?: string;
|
|
1177
912
|
/**
|
|
1178
913
|
* @remarks
|
|
1179
|
-
* The cluster version, which is consistent with the Kubernetes community baseline version.
|
|
1180
|
-
*
|
|
1181
|
-
* You can create clusters of the latest three versions. Call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query supported cluster versions.
|
|
1182
|
-
*
|
|
1183
|
-
* For more information about Kubernetes versions supported by ACK, see [Kubernetes version release overview](https://help.aliyun.com/document_detail/185269.html).
|
|
914
|
+
* The cluster version, which is consistent with the Kubernetes community baseline version. Use the latest version. If you do not specify this parameter, the latest version is used by default.
|
|
1184
915
|
*
|
|
1185
916
|
* @example
|
|
1186
917
|
* 1.32.1-aliyun.1
|
|
@@ -1188,8 +919,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1188
919
|
kubernetesVersion?: string;
|
|
1189
920
|
/**
|
|
1190
921
|
* @remarks
|
|
1191
|
-
* The CLB instance ID for API Server access. When this parameter is specified, automatic creation of the API Server CLB is
|
|
1192
|
-
* > Ensure that the CLB instance has no other dependencies (such as listeners or backend servers). Shared and Internet-facing CLB instances are not supported.
|
|
922
|
+
* The CLB instance ID used for API Server access. When this parameter is specified, automatic creation of the API Server CLB is skipped.
|
|
1193
923
|
*
|
|
1194
924
|
* @example
|
|
1195
925
|
* lb-wz9t256gqa3vbouk****
|
|
@@ -1197,17 +927,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1197
927
|
loadBalancerId?: string;
|
|
1198
928
|
/**
|
|
1199
929
|
* @remarks
|
|
1200
|
-
*
|
|
1201
|
-
*
|
|
1202
|
-
* 负载均衡规格,取值:
|
|
1203
|
-
* - slb.s1.small
|
|
1204
|
-
* - slb.s2.small
|
|
1205
|
-
* - slb.s2.medium
|
|
1206
|
-
* - slb.s3.small
|
|
1207
|
-
* - slb.s3.medium
|
|
1208
|
-
* - slb.s3.large
|
|
1209
|
-
*
|
|
1210
|
-
* 默认值:`slb.s2.small`。
|
|
930
|
+
* **[Deprecated]** CLB is billed on a pay-by-usage basis. This parameter does not take effect.
|
|
1211
931
|
*
|
|
1212
932
|
* @example
|
|
1213
933
|
* slb.s2.small
|
|
@@ -1217,7 +937,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1217
937
|
loadBalancerSpec?: string;
|
|
1218
938
|
/**
|
|
1219
939
|
* @remarks
|
|
1220
|
-
*
|
|
940
|
+
* **[Deprecated]** Enables the log service for the cluster. This parameter takes effect only for ACK Serverless clusters, and the value must be `SLS`.
|
|
1221
941
|
*
|
|
1222
942
|
* @example
|
|
1223
943
|
* SLS
|
|
@@ -1227,9 +947,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1227
947
|
loggingType?: string;
|
|
1228
948
|
/**
|
|
1229
949
|
* @remarks
|
|
1230
|
-
* **
|
|
1231
|
-
*
|
|
1232
|
-
* The SSH logon password. Mutually exclusive with `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.
|
|
950
|
+
* **[Deprecated]** For cluster control plane configuration, use the login_password parameter under `control_plane_config` instead. For node pool configuration, use the login_password parameter under `scaling_group` in `nodepool` instead.
|
|
1233
951
|
*
|
|
1234
952
|
* @example
|
|
1235
953
|
* null
|
|
@@ -1244,14 +962,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1244
962
|
maintenanceWindow?: MaintenanceWindow;
|
|
1245
963
|
/**
|
|
1246
964
|
* @remarks
|
|
1247
|
-
* **
|
|
1248
|
-
*
|
|
1249
|
-
* Specifies whether to enable auto-renewal for master nodes. This parameter takes effect only when `master_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
1250
|
-
*
|
|
1251
|
-
* - `true`: Enables auto-renewal.
|
|
1252
|
-
* - `false`: Disables auto-renewal.
|
|
1253
|
-
*
|
|
1254
|
-
* Default value: `true`.
|
|
965
|
+
* **[Deprecated]** For cluster control plane configuration, use the auto_renew parameter under `control_plane_config` instead.
|
|
1255
966
|
*
|
|
1256
967
|
* @example
|
|
1257
968
|
* true
|
|
@@ -1261,13 +972,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1261
972
|
masterAutoRenew?: boolean;
|
|
1262
973
|
/**
|
|
1263
974
|
* @remarks
|
|
1264
|
-
* **
|
|
1265
|
-
*
|
|
1266
|
-
* The auto-renewal period for master nodes. This parameter takes effect and is required when the subscription billing method is selected.
|
|
1267
|
-
*
|
|
1268
|
-
* Valid values: {1, 2, 3, 6, 12}.
|
|
1269
|
-
*
|
|
1270
|
-
* Default value: 1.
|
|
975
|
+
* **[Deprecated]** For cluster control plane configuration, use the auto_renew_period parameter under `control_plane_config` instead.
|
|
1271
976
|
*
|
|
1272
977
|
* @example
|
|
1273
978
|
* 1
|
|
@@ -1277,11 +982,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1277
982
|
masterAutoRenewPeriod?: number;
|
|
1278
983
|
/**
|
|
1279
984
|
* @remarks
|
|
1280
|
-
* **
|
|
1281
|
-
*
|
|
1282
|
-
* The number of master nodes. Valid values: `3` or `5`.
|
|
1283
|
-
*
|
|
1284
|
-
* Default value: `3`.
|
|
985
|
+
* **[Deprecated]** For cluster control plane configuration, use the size parameter under `control_plane_config` instead.
|
|
1285
986
|
*
|
|
1286
987
|
* @example
|
|
1287
988
|
* 3
|
|
@@ -1291,14 +992,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1291
992
|
masterCount?: number;
|
|
1292
993
|
/**
|
|
1293
994
|
* @remarks
|
|
1294
|
-
* **
|
|
1295
|
-
*
|
|
1296
|
-
* The billing method for master nodes. Valid values:
|
|
1297
|
-
*
|
|
1298
|
-
* - `PrePaid`: subscription.
|
|
1299
|
-
* - `PostPaid`: pay-as-you-go.
|
|
1300
|
-
*
|
|
1301
|
-
* Default value: `PostPaid`.
|
|
995
|
+
* **[Deprecated]** For cluster control plane configuration, use the instance_charge_type parameter under `control_plane_config` instead.
|
|
1302
996
|
*
|
|
1303
997
|
* @example
|
|
1304
998
|
* PrePaid
|
|
@@ -1308,22 +1002,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1308
1002
|
masterInstanceChargeType?: string;
|
|
1309
1003
|
/**
|
|
1310
1004
|
* @remarks
|
|
1311
|
-
* **
|
|
1312
|
-
*
|
|
1313
|
-
* The instance types for master nodes. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1005
|
+
* **[Deprecated]** For cluster control plane configuration, use the instance_types parameter under `control_plane_config` instead.
|
|
1314
1006
|
*
|
|
1315
1007
|
* @deprecated
|
|
1316
1008
|
*/
|
|
1317
1009
|
masterInstanceTypes?: string[];
|
|
1318
1010
|
/**
|
|
1319
1011
|
* @remarks
|
|
1320
|
-
* **
|
|
1321
|
-
*
|
|
1322
|
-
* The subscription duration for master nodes. This parameter takes effect and is required only when `master_instance_charge_type` is set to `PrePaid`.
|
|
1323
|
-
*
|
|
1324
|
-
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
1325
|
-
*
|
|
1326
|
-
* Default value: 1.
|
|
1012
|
+
* **[Deprecated]** For cluster control plane configuration, use the `unit` parameter under `control_plane_config` instead.
|
|
1327
1013
|
*
|
|
1328
1014
|
* @example
|
|
1329
1015
|
* 1
|
|
@@ -1333,11 +1019,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1333
1019
|
masterPeriod?: number;
|
|
1334
1020
|
/**
|
|
1335
1021
|
* @remarks
|
|
1336
|
-
* **
|
|
1337
|
-
*
|
|
1338
|
-
* The billing period unit for master nodes. This parameter is required when the billing method is `PrePaid`.
|
|
1339
|
-
*
|
|
1340
|
-
* Valid values: `Month`. Only monthly billing is supported.
|
|
1022
|
+
* **[Deprecated]** For cluster control plane configuration, use the period_unit parameter under `control_plane_config` instead.
|
|
1341
1023
|
*
|
|
1342
1024
|
* @example
|
|
1343
1025
|
* Month
|
|
@@ -1347,15 +1029,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1347
1029
|
masterPeriodUnit?: string;
|
|
1348
1030
|
/**
|
|
1349
1031
|
* @remarks
|
|
1350
|
-
* **
|
|
1351
|
-
*
|
|
1352
|
-
* The system cloud disk type for master nodes. Valid values:
|
|
1353
|
-
*
|
|
1354
|
-
* - `cloud_efficiency`: ultra cloud disk.
|
|
1355
|
-
* - `cloud_ssd`: standard SSD.
|
|
1356
|
-
* - `cloud_essd`: ESSD.
|
|
1357
|
-
*
|
|
1358
|
-
* Default value: `cloud_ssd`. The default value may vary by zone.
|
|
1032
|
+
* **[Deprecated]** For cluster control plane configuration, use the system_disk_category parameter under `control_plane_config` instead.
|
|
1359
1033
|
*
|
|
1360
1034
|
* @example
|
|
1361
1035
|
* cloud_ssd
|
|
@@ -1365,9 +1039,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1365
1039
|
masterSystemDiskCategory?: string;
|
|
1366
1040
|
/**
|
|
1367
1041
|
* @remarks
|
|
1368
|
-
* **
|
|
1369
|
-
*
|
|
1370
|
-
* The performance level of the system cloud disk for cluster master nodes. This parameter takes effect only for ESSD cloud disks. The performance level varies based on the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1042
|
+
* **[Deprecated]** For cluster control plane configuration, use the system_disk_performance_level parameter under `control_plane_config` instead.
|
|
1371
1043
|
*
|
|
1372
1044
|
* @example
|
|
1373
1045
|
* PL1
|
|
@@ -1377,11 +1049,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1377
1049
|
masterSystemDiskPerformanceLevel?: string;
|
|
1378
1050
|
/**
|
|
1379
1051
|
* @remarks
|
|
1380
|
-
* **
|
|
1381
|
-
*
|
|
1382
|
-
* The system cloud disk size for master nodes. Valid values: [40,500\\]. Unit: GiB.
|
|
1383
|
-
*
|
|
1384
|
-
* Default value: `120`.
|
|
1052
|
+
* **[Deprecated]** For cluster control plane configuration, use the system_disk_size parameter under `control_plane_config` instead.
|
|
1385
1053
|
*
|
|
1386
1054
|
* @example
|
|
1387
1055
|
* 120
|
|
@@ -1391,9 +1059,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1391
1059
|
masterSystemDiskSize?: number;
|
|
1392
1060
|
/**
|
|
1393
1061
|
* @remarks
|
|
1394
|
-
* **
|
|
1395
|
-
*
|
|
1396
|
-
* The automatic snapshot policy ID for the master node system cloud disk.
|
|
1062
|
+
* **[Deprecated]** For cluster control plane configuration, use the system_disk_snapshot_policy_id parameter under `control_plane_config` instead.
|
|
1397
1063
|
*
|
|
1398
1064
|
* @example
|
|
1399
1065
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -1403,11 +1069,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1403
1069
|
masterSystemDiskSnapshotPolicyId?: string;
|
|
1404
1070
|
/**
|
|
1405
1071
|
* @remarks
|
|
1406
|
-
* **
|
|
1407
|
-
*
|
|
1408
|
-
* The list of vSwitch IDs for master nodes. The number of vSwitches ranges from [1,3\\]. To ensure high availability, select three vSwitches distributed across different zones.
|
|
1409
|
-
*
|
|
1410
|
-
* The number of specified instance types must match the value of `master_count` and correspond one-to-one with the elements in `master_vswitch_ids`.
|
|
1072
|
+
* **[Deprecated]** Use the `vswitch_ids` parameter instead.
|
|
1411
1073
|
*
|
|
1412
1074
|
* @deprecated
|
|
1413
1075
|
*/
|
|
@@ -1424,7 +1086,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1424
1086
|
name?: string;
|
|
1425
1087
|
/**
|
|
1426
1088
|
* @remarks
|
|
1427
|
-
*
|
|
1089
|
+
* **[Deprecated]** Use the `snat_entry` parameter instead.
|
|
1428
1090
|
*
|
|
1429
1091
|
* @example
|
|
1430
1092
|
* true
|
|
@@ -1434,9 +1096,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1434
1096
|
natGateway?: boolean;
|
|
1435
1097
|
/**
|
|
1436
1098
|
* @remarks
|
|
1437
|
-
* The number of IP addresses
|
|
1438
|
-
*
|
|
1439
|
-
* Default value: `26`.
|
|
1099
|
+
* The number of node IP addresses, determined by specifying the network CIDR block. This parameter takes effect only for Flannel network type clusters.
|
|
1440
1100
|
*
|
|
1441
1101
|
* @example
|
|
1442
1102
|
* 25
|
|
@@ -1444,7 +1104,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1444
1104
|
nodeCidrMask?: string;
|
|
1445
1105
|
/**
|
|
1446
1106
|
* @remarks
|
|
1447
|
-
* **
|
|
1107
|
+
* **[Deprecated]** For node pool configuration, use the `node_name_mode` parameter under `kubernetes_config` in `nodepool` instead.
|
|
1448
1108
|
*
|
|
1449
1109
|
* @example
|
|
1450
1110
|
* null
|
|
@@ -1454,9 +1114,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1454
1114
|
nodeNameMode?: string;
|
|
1455
1115
|
/**
|
|
1456
1116
|
* @remarks
|
|
1457
|
-
* The node service port
|
|
1458
|
-
*
|
|
1459
|
-
* Default value: `30000-32767`.
|
|
1117
|
+
* The node service port. Valid port range: [30000,65535\\].
|
|
1460
1118
|
*
|
|
1461
1119
|
* @example
|
|
1462
1120
|
* 30000~32767
|
|
@@ -1471,9 +1129,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1471
1129
|
nodepools?: Nodepool[];
|
|
1472
1130
|
/**
|
|
1473
1131
|
* @remarks
|
|
1474
|
-
* **
|
|
1475
|
-
*
|
|
1476
|
-
* The number of worker nodes. Valid values: [0, 100\\].
|
|
1132
|
+
* **[Deprecated]** For node pool configuration, use the desired_size parameter under `scaling_group` in `nodepool` instead.
|
|
1477
1133
|
*
|
|
1478
1134
|
* @example
|
|
1479
1135
|
* 3
|
|
@@ -1488,13 +1144,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1488
1144
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
1489
1145
|
/**
|
|
1490
1146
|
* @remarks
|
|
1491
|
-
* **
|
|
1492
|
-
*
|
|
1493
|
-
* The operating system platform type. Valid values:
|
|
1494
|
-
* - Windows
|
|
1495
|
-
* - Linux
|
|
1496
|
-
*
|
|
1497
|
-
* Default value: `Linux`.
|
|
1147
|
+
* **[Deprecated]** For cluster control plane node configuration, use the `image_type` parameter under `control_plane_config` instead. For node pool configuration, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
|
|
1498
1148
|
*
|
|
1499
1149
|
* @example
|
|
1500
1150
|
* Linux
|
|
@@ -1504,15 +1154,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1504
1154
|
osType?: string;
|
|
1505
1155
|
/**
|
|
1506
1156
|
* @remarks
|
|
1507
|
-
*
|
|
1508
|
-
*
|
|
1509
|
-
* 购买时长。包年包月时长,当charge_type取值为PrePaid时才生效,且为必选值。
|
|
1510
|
-
*
|
|
1511
|
-
* 取值范围:{1, 2, 3, 6, 12, 24, 36, 48, 60}。
|
|
1512
|
-
*
|
|
1513
|
-
* 默认值:1。
|
|
1514
|
-
*
|
|
1515
|
-
* 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
1157
|
+
* **[Deprecated]**
|
|
1516
1158
|
*
|
|
1517
1159
|
* @example
|
|
1518
1160
|
* 1
|
|
@@ -1522,13 +1164,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1522
1164
|
period?: number;
|
|
1523
1165
|
/**
|
|
1524
1166
|
* @remarks
|
|
1525
|
-
*
|
|
1526
|
-
*
|
|
1527
|
-
* 付费周期,当付费类型为PrePaid的时候,需要指定周期。
|
|
1528
|
-
*
|
|
1529
|
-
* 取值:Month,当前仅支持以月为周期。
|
|
1530
|
-
*
|
|
1531
|
-
* 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
1167
|
+
* **[Deprecated]**
|
|
1532
1168
|
*
|
|
1533
1169
|
* @example
|
|
1534
1170
|
* Month
|
|
@@ -1538,18 +1174,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1538
1174
|
periodUnit?: string;
|
|
1539
1175
|
/**
|
|
1540
1176
|
* @remarks
|
|
1541
|
-
* **
|
|
1542
|
-
*
|
|
1543
|
-
* The operating system distribution. Valid values:
|
|
1544
|
-
*
|
|
1545
|
-
* - CentOS
|
|
1546
|
-
* - AliyunLinux
|
|
1547
|
-
* - QbootAliyunLinux
|
|
1548
|
-
* - Qboot
|
|
1549
|
-
* - Windows
|
|
1550
|
-
* - WindowsCore
|
|
1551
|
-
*
|
|
1552
|
-
* Default value: `CentOS`.
|
|
1177
|
+
* **[Deprecated]** For node pool configuration, use the `platform` parameter under `scaling_group` in `nodepool` instead.
|
|
1553
1178
|
*
|
|
1554
1179
|
* @example
|
|
1555
1180
|
* CentOS
|
|
@@ -1559,19 +1184,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1559
1184
|
platform?: string;
|
|
1560
1185
|
/**
|
|
1561
1186
|
* @remarks
|
|
1562
|
-
* **
|
|
1563
|
-
* > The CIDR block mask of the Pod vSwitch should not exceed 19 and must not exceed 25. Otherwise, the number of Pod IP addresses available in the cluster network is very limited, which affects normal cluster usage.
|
|
1187
|
+
* **[Deprecated]** When you select Terway as the network plugin, you must specify vSwitches for pod IP address allocation. Each pod vSwitch corresponds to a worker node vSwitch, and the pod vSwitch and the worker node vSwitch must be in the same zone.
|
|
1564
1188
|
*
|
|
1565
1189
|
* @deprecated
|
|
1566
1190
|
*/
|
|
1567
1191
|
podVswitchIds?: string[];
|
|
1568
1192
|
/**
|
|
1569
1193
|
* @remarks
|
|
1570
|
-
*
|
|
1571
|
-
* - `Default`: ACK managed cluster, including ACK clusters (Pro and Basic).
|
|
1572
|
-
* - `Edge`: ACK Edge cluster, including ACK Edge clusters (Pro and Basic).
|
|
1573
|
-
* - `Serverless`: ACK Serverless cluster, including ACK Serverless clusters (Pro and Basic).
|
|
1574
|
-
* - `Lingjun`: ACK Lingjun cluster, available in Pro.
|
|
1194
|
+
* If you set `cluster_type` to `ManagedKubernetes`, which indicates an ACK managed cluster, you can further specify the cluster subtype.
|
|
1575
1195
|
*
|
|
1576
1196
|
* @example
|
|
1577
1197
|
* Default
|
|
@@ -1579,14 +1199,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1579
1199
|
profile?: string;
|
|
1580
1200
|
/**
|
|
1581
1201
|
* @remarks
|
|
1582
|
-
* The kube-proxy mode.
|
|
1583
|
-
*
|
|
1584
|
-
* - `iptables`: A mature and stable kube-proxy mode. Service discovery and load balancing for Kubernetes Services are configured using iptables rules. However, performance is average and significantly affected by scale. Suitable for clusters with a small number of Services.
|
|
1585
|
-
* - `ipvs`: A high-performance kube-proxy mode. Service discovery and load balancing for Kubernetes Services are configured using the Linux IPVS module. Suitable for clusters with a large number of Services that require high-performance load balancing.
|
|
1586
|
-
* - `nftables`: A next-generation kube-proxy mode that implements Service discovery and load balancing based on Linux nftables, serving as a modern replacement for iptables. Compared to iptables, nftables offers better network performance, more efficient rule updates, and improved behavior in large-scale Service scenarios.
|
|
1587
|
-
* Only supported for clusters running version 1.35 or later. The Kubernetes community deprecated IPVS starting from version 1.35. For new clusters, use nftables for longer-term community support.
|
|
1588
|
-
*
|
|
1589
|
-
* Default value: `ipvs`.
|
|
1202
|
+
* The kube-proxy proxy mode.
|
|
1590
1203
|
*
|
|
1591
1204
|
* @example
|
|
1592
1205
|
* ipvs
|
|
@@ -1594,16 +1207,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1594
1207
|
proxyMode?: string;
|
|
1595
1208
|
/**
|
|
1596
1209
|
* @remarks
|
|
1597
|
-
* **
|
|
1598
|
-
*
|
|
1599
|
-
* The list of RDS instances. Select the RDS instances that you want to add to the whitelist. Go to the RDS console to add the container pod CIDR block and node CIDR block. Configuring RDS instances may fail if the instances are not in the running state.
|
|
1210
|
+
* **[Deprecated]** For node pool configuration, use the `rds_instances` parameter under `scaling_group` in `nodepool` instead.
|
|
1600
1211
|
*
|
|
1601
1212
|
* @deprecated
|
|
1602
1213
|
*/
|
|
1603
1214
|
rdsInstances?: string[];
|
|
1604
1215
|
/**
|
|
1605
1216
|
* @remarks
|
|
1606
|
-
* The region ID of the cluster. For
|
|
1217
|
+
* The region ID of the cluster. For details, see [Regions supported by container service](https://help.aliyun.com/document_detail/216938.html).
|
|
1607
1218
|
*
|
|
1608
1219
|
* This parameter is required.
|
|
1609
1220
|
*
|
|
@@ -1613,7 +1224,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1613
1224
|
regionId?: string;
|
|
1614
1225
|
/**
|
|
1615
1226
|
* @remarks
|
|
1616
|
-
* The resource group ID of the cluster, used to isolate different resources.
|
|
1227
|
+
* The resource group ID of the cluster, which is used to isolate different resources.
|
|
1617
1228
|
*
|
|
1618
1229
|
* @example
|
|
1619
1230
|
* rg-acfm3mkrure****
|
|
@@ -1621,22 +1232,19 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1621
1232
|
resourceGroupId?: string;
|
|
1622
1233
|
/**
|
|
1623
1234
|
* @remarks
|
|
1624
|
-
* The RRSA configuration.
|
|
1235
|
+
* The RRSA feature configuration.
|
|
1625
1236
|
*/
|
|
1626
1237
|
rrsaConfig?: CreateClusterRequestRrsaConfig;
|
|
1627
1238
|
/**
|
|
1628
1239
|
* @remarks
|
|
1629
|
-
* The container runtime
|
|
1630
|
-
* > Kubernetes 1.24 no longer supports Docker as a built-in container runtime.
|
|
1631
|
-
*
|
|
1632
|
-
* For more information, see [Comparison among Docker, containerd, and sandboxed container runtimes](https://help.aliyun.com/document_detail/160313.html).
|
|
1240
|
+
* The container runtime in the cluster. Supported runtimes include containerd, sandboxed containers, and Docker.
|
|
1633
1241
|
*
|
|
1634
1242
|
* @deprecated
|
|
1635
1243
|
*/
|
|
1636
1244
|
runtime?: Runtime;
|
|
1637
1245
|
/**
|
|
1638
1246
|
* @remarks
|
|
1639
|
-
* The security group ID. Specify this parameter when
|
|
1247
|
+
* The security group ID. Specify this parameter when you use an existing security group to create a cluster. This parameter and `is_enterprise_security_group` are mutually exclusive. Cluster nodes are automatically added to this security group.
|
|
1640
1248
|
*
|
|
1641
1249
|
* @example
|
|
1642
1250
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -1644,14 +1252,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1644
1252
|
securityGroupId?: string;
|
|
1645
1253
|
/**
|
|
1646
1254
|
* @remarks
|
|
1647
|
-
* **
|
|
1648
|
-
*
|
|
1649
|
-
* Alibaba Cloud OS security hardening. Valid values:
|
|
1650
|
-
*
|
|
1651
|
-
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1652
|
-
* - `false`: Does not enable Alibaba Cloud OS security hardening.
|
|
1653
|
-
*
|
|
1654
|
-
* Default value: `false`.
|
|
1255
|
+
* **[Deprecated]** For cluster control plane configuration, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configuration, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
|
|
1655
1256
|
*
|
|
1656
1257
|
* @example
|
|
1657
1258
|
* false
|
|
@@ -1661,9 +1262,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1661
1262
|
securityHardeningOs?: boolean;
|
|
1662
1263
|
/**
|
|
1663
1264
|
* @remarks
|
|
1664
|
-
* A ServiceAccount is the access credential for communication between a
|
|
1665
|
-
*
|
|
1666
|
-
* For more information about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
1265
|
+
* A ServiceAccount is the access credential for communication between a pod and the cluster API server. The `service-account-issuer` is the issuer identity in the `serviceaccount token`, which is the `iss` field in the `token payload`.
|
|
1667
1266
|
*
|
|
1668
1267
|
* @example
|
|
1669
1268
|
* kubernetes.default.svc
|
|
@@ -1671,9 +1270,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1671
1270
|
serviceAccountIssuer?: string;
|
|
1672
1271
|
/**
|
|
1673
1272
|
* @remarks
|
|
1674
|
-
* The Service network CIDR block. Valid ranges: 10.0.0.0/16-24, 172.16-31.0.0/16-24, 192.168.0.0/16-24.
|
|
1675
|
-
*
|
|
1676
|
-
* Default value: 172.19.0.0/20.
|
|
1273
|
+
* The Service network CIDR block. Valid ranges: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24.
|
|
1677
1274
|
*
|
|
1678
1275
|
* @example
|
|
1679
1276
|
* 172.21.0.0/20
|
|
@@ -1681,26 +1278,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1681
1278
|
serviceCidr?: string;
|
|
1682
1279
|
/**
|
|
1683
1280
|
* @remarks
|
|
1684
|
-
*
|
|
1685
|
-
*
|
|
1686
|
-
* - `CoreDNS`:使用Kubernetes原生标准服务发现组件CoreDNS,需要在集群部署一组容器用于DNS解析。默认采用两个0.25 Core 512 MiB规格的ECI实例。
|
|
1687
|
-
* - `PrivateZone`:使用阿里云PrivateZone产品提供服务发现能力,需要开启PrivateZone服务。
|
|
1688
|
-
*
|
|
1689
|
-
* 默认值:不开启。
|
|
1281
|
+
* **[Deprecated]** The service discovery types within the cluster, used to specify the service discovery method in `ACK Serverless` clusters.
|
|
1690
1282
|
*
|
|
1691
1283
|
* @deprecated
|
|
1692
1284
|
*/
|
|
1693
1285
|
serviceDiscoveryTypes?: string[];
|
|
1694
1286
|
/**
|
|
1695
1287
|
* @remarks
|
|
1696
|
-
*
|
|
1697
|
-
*
|
|
1698
|
-
* - `true`: Use automatic creation of a NAT gateway and configure SNAT rules. Set this to `true` if nodes and applications in the cluster need to access the Internet.
|
|
1699
|
-
* - `false`: Do not create a NAT gateway or SNAT rules. Nodes and applications in the cluster cannot access the Internet.
|
|
1700
|
-
*
|
|
1701
|
-
* > If this is not enabled during cluster creation and Internet access is needed later, you can [manually enable it](https://help.aliyun.com/document_detail/178480.html).
|
|
1702
|
-
*
|
|
1703
|
-
* Default value: `false`.
|
|
1288
|
+
* Specifies whether to configure SNAT for the VPC. Valid values:
|
|
1704
1289
|
*
|
|
1705
1290
|
* @example
|
|
1706
1291
|
* false
|
|
@@ -1708,15 +1293,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1708
1293
|
snatEntry?: boolean;
|
|
1709
1294
|
/**
|
|
1710
1295
|
* @remarks
|
|
1711
|
-
* **
|
|
1712
|
-
*
|
|
1713
|
-
* MLPS 2.0 security hardening. For more information, see [ACK MLPS 2.0 security hardening usage instructions](https://help.aliyun.com/document_detail/196148.html).
|
|
1714
|
-
*
|
|
1715
|
-
* Valid values:
|
|
1716
|
-
* - `true`: Enables MLPS 2.0 security hardening.
|
|
1717
|
-
* - `false`: Does not enable MLPS 2.0 security hardening.
|
|
1718
|
-
*
|
|
1719
|
-
* Default value: `false`.
|
|
1296
|
+
* **[Deprecated]** For cluster control plane node configuration, use the `soc_enabled` parameter under `control_plane_config` instead. For node pool configuration, use the `soc_enabled` parameter under `scaling_group` in `nodepool` instead.
|
|
1720
1297
|
*
|
|
1721
1298
|
* @example
|
|
1722
1299
|
* false
|
|
@@ -1726,11 +1303,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1726
1303
|
socEnabled?: boolean;
|
|
1727
1304
|
/**
|
|
1728
1305
|
* @remarks
|
|
1729
|
-
* Specifies whether to enable public SSH logon.
|
|
1730
|
-
* - `true`: Enable.
|
|
1731
|
-
* - `false`: Do not enable.
|
|
1732
|
-
*
|
|
1733
|
-
* Default value: `false`.
|
|
1306
|
+
* Specifies whether to enable public SSH logon. This is used to log on to the master nodes of ACK dedicated clusters. This parameter does not take effect for managed clusters.
|
|
1734
1307
|
*
|
|
1735
1308
|
* @example
|
|
1736
1309
|
* true
|
|
@@ -1739,27 +1312,18 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1739
1312
|
/**
|
|
1740
1313
|
* @remarks
|
|
1741
1314
|
* The node tags. Tag definition rules:
|
|
1742
|
-
*
|
|
1743
|
-
* - Tags are composed of case-sensitive key-value pairs. You can set up to 20 tags.
|
|
1744
|
-
* - Tag keys cannot be duplicated and can be up to 64 characters in length. Tag values can be empty and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun", "acs:", "https://", or "http://". For more information, see [Labels and Selectors](https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#syntax-and-character-set).
|
|
1745
1315
|
*/
|
|
1746
1316
|
tags?: Tag[];
|
|
1747
1317
|
/**
|
|
1748
1318
|
* @remarks
|
|
1749
|
-
* **
|
|
1750
|
-
*
|
|
1751
|
-
* The node taint information. Taints and tolerations work together to prevent pods from being scheduled to inappropriate nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
1319
|
+
* **[Deprecated]** For node pool configuration, use the `taints` parameter under `kubernetes_config` in `nodepool` instead.
|
|
1752
1320
|
*
|
|
1753
1321
|
* @deprecated
|
|
1754
1322
|
*/
|
|
1755
1323
|
taints?: Taint[];
|
|
1756
1324
|
/**
|
|
1757
1325
|
* @remarks
|
|
1758
|
-
*
|
|
1759
|
-
*
|
|
1760
|
-
* 集群创建超时时间,单位分钟。
|
|
1761
|
-
*
|
|
1762
|
-
* 默认值:`60`。
|
|
1326
|
+
* **[Deprecated]** When cluster creation fails, rollback is not performed by default. You must manually clean up the failed cluster.
|
|
1763
1327
|
*
|
|
1764
1328
|
* @example
|
|
1765
1329
|
* 60
|
|
@@ -1769,7 +1333,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1769
1333
|
timeoutMins?: number;
|
|
1770
1334
|
/**
|
|
1771
1335
|
* @remarks
|
|
1772
|
-
* The time zone used by the cluster.
|
|
1336
|
+
* The time zone used by the cluster. For more information, see [Supported time zones](https://help.aliyun.com/document_detail/354879.html).
|
|
1773
1337
|
*
|
|
1774
1338
|
* @example
|
|
1775
1339
|
* Asia/Shanghai
|
|
@@ -1785,7 +1349,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1785
1349
|
userCa?: string;
|
|
1786
1350
|
/**
|
|
1787
1351
|
* @remarks
|
|
1788
|
-
* **
|
|
1352
|
+
* **[Deprecated]** The custom node data.
|
|
1789
1353
|
*
|
|
1790
1354
|
* @example
|
|
1791
1355
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -1795,7 +1359,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1795
1359
|
userData?: string;
|
|
1796
1360
|
/**
|
|
1797
1361
|
* @remarks
|
|
1798
|
-
* The VPC used by the cluster. You must provide a VPC when
|
|
1362
|
+
* The VPC used by the cluster. You must provide a VPC when you create a cluster.
|
|
1799
1363
|
*
|
|
1800
1364
|
* @example
|
|
1801
1365
|
* vpc-2zeik9h3ahvv2zz95****
|
|
@@ -1803,19 +1367,12 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1803
1367
|
vpcid?: string;
|
|
1804
1368
|
/**
|
|
1805
1369
|
* @remarks
|
|
1806
|
-
* The vSwitches for cluster nodes. This field is required when
|
|
1370
|
+
* The vSwitches for cluster nodes. This field is required when you create a zero-node managed cluster.
|
|
1807
1371
|
*/
|
|
1808
1372
|
vswitchIds?: string[];
|
|
1809
1373
|
/**
|
|
1810
1374
|
* @remarks
|
|
1811
|
-
*
|
|
1812
|
-
*
|
|
1813
|
-
* Worker节点是否开启自动续费,当`worker_instance_charge_type`取值为`PrePaid`时才生效,取值:
|
|
1814
|
-
*
|
|
1815
|
-
* - `true`:自动续费。
|
|
1816
|
-
* - `false`:不自动续费。
|
|
1817
|
-
*
|
|
1818
|
-
* 默认值:`true`。
|
|
1375
|
+
* **[Deprecated]** For node pool configuration, use the auto_renew parameter under `scaling_group` in `nodepool` instead.
|
|
1819
1376
|
*
|
|
1820
1377
|
* @example
|
|
1821
1378
|
* true
|
|
@@ -1825,12 +1382,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1825
1382
|
workerAutoRenew?: boolean;
|
|
1826
1383
|
/**
|
|
1827
1384
|
* @remarks
|
|
1828
|
-
*
|
|
1829
|
-
*
|
|
1830
|
-
*
|
|
1831
|
-
* Worker节点自动续费周期,当选择包年包月付费类型时才生效,且为必选值。
|
|
1832
|
-
*
|
|
1833
|
-
* 取值范围:{1, 2, 3, 6, 12}。
|
|
1385
|
+
* **[Deprecated]** For node pool configuration, use the auto_renew_period parameter under `scaling_group` in `nodepool` instead.
|
|
1834
1386
|
*
|
|
1835
1387
|
* @example
|
|
1836
1388
|
* 1
|
|
@@ -1840,23 +1392,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1840
1392
|
workerAutoRenewPeriod?: number;
|
|
1841
1393
|
/**
|
|
1842
1394
|
* @remarks
|
|
1843
|
-
* **
|
|
1844
|
-
*
|
|
1845
|
-
* The data cloud disk type, size, and other configurations for worker nodes.
|
|
1395
|
+
* **[Deprecated]** For node pool configuration, use the data_disks parameter under `scaling_group` in `nodepool` instead.
|
|
1846
1396
|
*
|
|
1847
1397
|
* @deprecated
|
|
1848
1398
|
*/
|
|
1849
1399
|
workerDataDisks?: CreateClusterRequestWorkerDataDisks[];
|
|
1850
1400
|
/**
|
|
1851
1401
|
* @remarks
|
|
1852
|
-
* **
|
|
1853
|
-
*
|
|
1854
|
-
* The billing method for worker nodes. Valid values:
|
|
1855
|
-
*
|
|
1856
|
-
* - `PrePaid`: subscription.
|
|
1857
|
-
* - `PostPaid`: pay-as-you-go.
|
|
1858
|
-
*
|
|
1859
|
-
* Default value: pay-as-you-go.
|
|
1402
|
+
* **[Deprecated]** For node pool configuration, use the instance_charge_type parameter under `scaling_group` in `nodepool` instead.
|
|
1860
1403
|
*
|
|
1861
1404
|
* @example
|
|
1862
1405
|
* PrePaid
|
|
@@ -1866,18 +1409,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1866
1409
|
workerInstanceChargeType?: string;
|
|
1867
1410
|
/**
|
|
1868
1411
|
* @remarks
|
|
1869
|
-
* **
|
|
1870
|
-
*
|
|
1871
|
-
* The instance configuration for worker nodes.
|
|
1412
|
+
* **[Deprecated]** For node pool configuration, use the instance_types parameter under `scaling_group` in `nodepool` instead.
|
|
1872
1413
|
*
|
|
1873
1414
|
* @deprecated
|
|
1874
1415
|
*/
|
|
1875
1416
|
workerInstanceTypes?: string[];
|
|
1876
1417
|
/**
|
|
1877
1418
|
* @remarks
|
|
1878
|
-
* **
|
|
1879
|
-
*
|
|
1880
|
-
* The subscription duration for worker nodes. This parameter takes effect and is required only when `worker_
|
|
1419
|
+
* **[Deprecated]** For node pool configuration, use the period parameter under `scaling_group` in `nodepool` instead.
|
|
1881
1420
|
*
|
|
1882
1421
|
* @example
|
|
1883
1422
|
* 1
|
|
@@ -1887,11 +1426,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1887
1426
|
workerPeriod?: number;
|
|
1888
1427
|
/**
|
|
1889
1428
|
* @remarks
|
|
1890
|
-
* **
|
|
1891
|
-
*
|
|
1892
|
-
* The billing period unit for worker nodes. This parameter is required when the billing method is `PrePaid`.
|
|
1893
|
-
*
|
|
1894
|
-
* Valid values: `Month`. Only monthly billing is supported.
|
|
1429
|
+
* **[Deprecated]** For node pool configuration, use the period_unit parameter under `scaling_group` in `nodepool` instead.
|
|
1895
1430
|
*
|
|
1896
1431
|
* @example
|
|
1897
1432
|
* Month
|
|
@@ -1901,17 +1436,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1901
1436
|
workerPeriodUnit?: string;
|
|
1902
1437
|
/**
|
|
1903
1438
|
* @remarks
|
|
1904
|
-
* **
|
|
1905
|
-
*
|
|
1906
|
-
* The system cloud disk type for worker nodes. For more information, see [Block storage overview](https://help.aliyun.com/document_detail/63136.html).
|
|
1907
|
-
*
|
|
1908
|
-
* Valid values:
|
|
1909
|
-
*
|
|
1910
|
-
* - `cloud_efficiency`: ultra cloud disk.
|
|
1911
|
-
* - `cloud_ssd`: standard SSD.
|
|
1912
|
-
*
|
|
1913
|
-
*
|
|
1914
|
-
* Default value: `cloud_ssd`.
|
|
1439
|
+
* **[Deprecated]** For node pool configuration, use the system_disk_category parameter under `scaling_group` in `nodepool` instead.
|
|
1915
1440
|
*
|
|
1916
1441
|
* @example
|
|
1917
1442
|
* cloud_efficiency
|
|
@@ -1921,16 +1446,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1921
1446
|
workerSystemDiskCategory?: string;
|
|
1922
1447
|
/**
|
|
1923
1448
|
* @remarks
|
|
1924
|
-
* **
|
|
1925
|
-
*
|
|
1926
|
-
* When the system cloud disk is an ESSD, you can set the performance level (PL) of the ESSD. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1927
|
-
*
|
|
1928
|
-
* Valid values:
|
|
1929
|
-
*
|
|
1930
|
-
* - PL0
|
|
1931
|
-
* - PL1
|
|
1932
|
-
* - PL2
|
|
1933
|
-
* - PL3
|
|
1449
|
+
* **[Deprecated]** For node pool configuration, use the system_disk_performance_level parameter under `scaling_group` in `nodepool` instead.
|
|
1934
1450
|
*
|
|
1935
1451
|
* @example
|
|
1936
1452
|
* PL1
|
|
@@ -1940,15 +1456,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1940
1456
|
workerSystemDiskPerformanceLevel?: string;
|
|
1941
1457
|
/**
|
|
1942
1458
|
* @remarks
|
|
1943
|
-
* **
|
|
1944
|
-
*
|
|
1945
|
-
* The system cloud disk size for worker nodes. Unit: GiB.
|
|
1946
|
-
*
|
|
1947
|
-
* Valid values: [40,500\\].
|
|
1948
|
-
*
|
|
1949
|
-
* The value must be greater than or equal to max{40, ImageSize}.
|
|
1950
|
-
*
|
|
1951
|
-
* Default value: `120`.
|
|
1459
|
+
* **[Deprecated]** For node pool configuration, use the system_disk_size parameter under `scaling_group` in `nodepool` instead.
|
|
1952
1460
|
*
|
|
1953
1461
|
* @example
|
|
1954
1462
|
* 120
|
|
@@ -1958,9 +1466,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1958
1466
|
workerSystemDiskSize?: number;
|
|
1959
1467
|
/**
|
|
1960
1468
|
* @remarks
|
|
1961
|
-
* **
|
|
1962
|
-
*
|
|
1963
|
-
* The automatic snapshot policy ID for the worker node system cloud disk.
|
|
1469
|
+
* **[Deprecated]** For node pool configuration, use the system_disk_snapshot_policy_id parameter under `scaling_group` in `nodepool` instead.
|
|
1964
1470
|
*
|
|
1965
1471
|
* @example
|
|
1966
1472
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -1970,22 +1476,14 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1970
1476
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
1971
1477
|
/**
|
|
1972
1478
|
* @remarks
|
|
1973
|
-
* **
|
|
1974
|
-
*
|
|
1975
|
-
* The list of vSwitches used by cluster nodes. Each node corresponds to one value.
|
|
1976
|
-
*
|
|
1977
|
-
* When creating a zero-node managed cluster, the `worker_vswitch_ids` field is not required, but you must provide `vswitch_ids`.
|
|
1479
|
+
* **[Deprecated]** For node pool configuration, use the vswitch_ids parameter under `scaling_group` in `nodepool` instead.
|
|
1978
1480
|
*
|
|
1979
1481
|
* @deprecated
|
|
1980
1482
|
*/
|
|
1981
1483
|
workerVswitchIds?: string[];
|
|
1982
1484
|
/**
|
|
1983
1485
|
* @remarks
|
|
1984
|
-
*
|
|
1985
|
-
*
|
|
1986
|
-
* 集群所属地域的可用区ID。此参数为ACK托管类的集群特有参数。
|
|
1987
|
-
*
|
|
1988
|
-
* 当创建ACK托管类的集群时,如果未指定`vpc_id`和`vswitch_ids`,必须为集群指定`zone_id`,用于自动在该可用区创建VPC网络资源;指定`vpc_id`和`vswitch_ids`时,该参数无效。
|
|
1486
|
+
* **[Deprecated]** Use the `zone_ids` parameter instead.
|
|
1989
1487
|
*
|
|
1990
1488
|
* @example
|
|
1991
1489
|
* cn-beiji****
|
|
@@ -1995,7 +1493,7 @@ export class CreateClusterRequest extends $dara.Model {
|
|
|
1995
1493
|
zoneId?: string;
|
|
1996
1494
|
/**
|
|
1997
1495
|
* @remarks
|
|
1998
|
-
* The zone IDs of the
|
|
1496
|
+
* The zone IDs of the cluster region. This parameter is specific to ACK managed clusters.
|
|
1999
1497
|
*/
|
|
2000
1498
|
zoneIds?: string[];
|
|
2001
1499
|
static names(): { [key: string]: string } {
|