@alicloud/cs20151215 7.0.2 → 7.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +50 -28
- package/dist/client.js +53 -28
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +134 -83
- package/dist/models/CreateClusterNodePoolRequest.js +31 -1
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +372 -345
- package/dist/models/CreateClusterRequest.js +27 -1
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/DescribeClusterDetailResponseBody.d.ts +147 -106
- package/dist/models/DescribeClusterDetailResponseBody.js +29 -1
- package/dist/models/DescribeClusterDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +119 -91
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +175 -130
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +31 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +121 -95
- package/dist/models/ModifyClusterNodePoolRequest.js +6 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyClusterRequest.d.ts +151 -112
- package/dist/models/ModifyClusterRequest.js +29 -1
- package/dist/models/ModifyClusterRequest.js.map +1 -1
- package/dist/models/ModifyClusterResponseBody.d.ts +3 -3
- package/dist/models/Nodepool.d.ts +266 -220
- package/dist/models/Nodepool.js +31 -1
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +80 -66
- package/dist/models/model.js.map +1 -1
- package/package.json +2 -2
- package/src/client.ts +54 -28
- package/src/models/CreateClusterNodePoolRequest.ts +155 -83
- package/src/models/CreateClusterRequest.ts +389 -345
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/DescribeClusterDetailResponseBody.ts +166 -106
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +140 -91
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +196 -130
- package/src/models/ModifyClusterNodePoolRequest.ts +127 -95
- package/src/models/ModifyClusterRequest.ts +170 -112
- package/src/models/ModifyClusterResponseBody.ts +3 -3
- package/src/models/Nodepool.ts +287 -220
- package/src/models/model.ts +7 -0
|
@@ -9,11 +9,11 @@ import { InstanceMetadataOptions } from "./InstanceMetadataOptions";
|
|
|
9
9
|
export declare class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
*
|
|
12
|
+
* Specifies whether to enable the cluster audit log feature.
|
|
13
13
|
*
|
|
14
14
|
* - true: Enable.
|
|
15
15
|
*
|
|
16
|
-
* - false:
|
|
16
|
+
* - false: Do not enable.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* true
|
|
@@ -21,11 +21,11 @@ export declare class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
|
21
21
|
enabled?: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The [SLS Project](https://help.aliyun.com/document_detail/48873.html)
|
|
24
|
+
* The [SLS Project](https://help.aliyun.com/document_detail/48873.html) that contains the cluster audit log [Logstore](https://help.aliyun.com/document_detail/48873.html).
|
|
25
25
|
*
|
|
26
26
|
* - Default value: `k8s-log-{clusterid}`.
|
|
27
27
|
*
|
|
28
|
-
* - After
|
|
28
|
+
* - After the cluster audit log feature is enabled, a Logstore for cluster audit logs is created in the specified SLS Project.
|
|
29
29
|
*
|
|
30
30
|
* @example
|
|
31
31
|
* k8s-log-c2345xxxxxxxxxxxx
|
|
@@ -45,11 +45,11 @@ export declare class CreateClusterRequestAuditLogConfig extends $dara.Model {
|
|
|
45
45
|
export declare class CreateClusterRequestAutoMode extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* Specifies whether to enable intelligent managed mode.
|
|
49
49
|
*
|
|
50
50
|
* - true: Enable.
|
|
51
51
|
*
|
|
52
|
-
* - false:
|
|
52
|
+
* - false: Do not enable.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* true
|
|
@@ -69,9 +69,9 @@ export declare class CreateClusterRequestAutoMode extends $dara.Model {
|
|
|
69
69
|
export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model {
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
*
|
|
72
|
+
* Specifies whether to enable auto-renewal for control plane nodes. Takes effect when the billing method is `PrePaid`.
|
|
73
73
|
* - true: Enable auto-renewal.
|
|
74
|
-
* - false:
|
|
74
|
+
* - false: Do not enable auto-renewal.
|
|
75
75
|
*
|
|
76
76
|
* Default value: true.
|
|
77
77
|
*
|
|
@@ -81,7 +81,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
81
81
|
autoRenew?: boolean;
|
|
82
82
|
/**
|
|
83
83
|
* @remarks
|
|
84
|
-
*
|
|
84
|
+
* The auto-renewal period of control plane nodes.
|
|
85
85
|
*
|
|
86
86
|
* Valid values: {1, 2, 3, 6, 12}. Unit: months.
|
|
87
87
|
*
|
|
@@ -93,7 +93,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
93
93
|
autoRenewPeriod?: number;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
*
|
|
96
|
+
* The billing method of control plane nodes.
|
|
97
97
|
*
|
|
98
98
|
* - `PrePaid`: Subscription.
|
|
99
99
|
* - `PostPaid`: Pay-as-you-go.
|
|
@@ -106,11 +106,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
106
106
|
chargeType?: string;
|
|
107
107
|
/**
|
|
108
108
|
* @remarks
|
|
109
|
-
*
|
|
109
|
+
* Specifies whether to install CloudMonitor on nodes.
|
|
110
110
|
*
|
|
111
|
-
* - true:
|
|
111
|
+
* - true: Installs the CloudMonitor agent.
|
|
112
112
|
*
|
|
113
|
-
* - false:
|
|
113
|
+
* - false: Does not install the CloudMonitor agent.
|
|
114
114
|
*
|
|
115
115
|
* Default value: false.
|
|
116
116
|
*
|
|
@@ -120,11 +120,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
120
120
|
cloudMonitorFlags?: boolean;
|
|
121
121
|
/**
|
|
122
122
|
* @remarks
|
|
123
|
-
*
|
|
123
|
+
* The node CPU management policy.
|
|
124
124
|
*
|
|
125
|
-
* - static: Allows
|
|
125
|
+
* - static: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
126
126
|
*
|
|
127
|
-
* - none:
|
|
127
|
+
* - none: Uses the existing default CPU affinity scheme.
|
|
128
128
|
*
|
|
129
129
|
* Default value: none.
|
|
130
130
|
*
|
|
@@ -134,7 +134,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
134
134
|
cpuPolicy?: string;
|
|
135
135
|
/**
|
|
136
136
|
* @remarks
|
|
137
|
-
*
|
|
137
|
+
* The deployment set ID.
|
|
138
138
|
*
|
|
139
139
|
* @example
|
|
140
140
|
* ds-bp10b35imuam5amw****
|
|
@@ -142,7 +142,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
142
142
|
deploymentsetId?: string;
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
*
|
|
145
|
+
* The image ID.
|
|
146
146
|
*
|
|
147
147
|
* @example
|
|
148
148
|
* aliyun_3_x64_20G_alibase_20240819.vhd
|
|
@@ -150,7 +150,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
150
150
|
imageId?: string;
|
|
151
151
|
/**
|
|
152
152
|
* @remarks
|
|
153
|
-
*
|
|
153
|
+
* The operating system image type.
|
|
154
154
|
*
|
|
155
155
|
* @example
|
|
156
156
|
* AliyunLinux3
|
|
@@ -158,17 +158,17 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
158
158
|
imageType?: string;
|
|
159
159
|
/**
|
|
160
160
|
* @remarks
|
|
161
|
-
*
|
|
161
|
+
* The instance metadata access configuration for ECS instances.
|
|
162
162
|
*/
|
|
163
163
|
instanceMetadataOptions?: InstanceMetadataOptions;
|
|
164
164
|
/**
|
|
165
165
|
* @remarks
|
|
166
|
-
*
|
|
166
|
+
* The node instance types.
|
|
167
167
|
*/
|
|
168
168
|
instanceTypes?: string[];
|
|
169
169
|
/**
|
|
170
170
|
* @remarks
|
|
171
|
-
*
|
|
171
|
+
* The key pair name. Mutually exclusive with login_password.
|
|
172
172
|
*
|
|
173
173
|
* @example
|
|
174
174
|
* ack
|
|
@@ -176,7 +176,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
176
176
|
keyPair?: string;
|
|
177
177
|
/**
|
|
178
178
|
* @remarks
|
|
179
|
-
* SSH
|
|
179
|
+
* The SSH logon password. Must be 8 to 30 characters in length and contain at least three of the following: uppercase letters, lowercase letters, digits, and special characters. Mutually exclusive with key_pair.
|
|
180
180
|
*
|
|
181
181
|
* @example
|
|
182
182
|
* ********
|
|
@@ -184,7 +184,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
184
184
|
loginPassword?: string;
|
|
185
185
|
/**
|
|
186
186
|
* @remarks
|
|
187
|
-
*
|
|
187
|
+
* **This field is deprecated.** The node service port range.
|
|
188
188
|
*
|
|
189
189
|
* @example
|
|
190
190
|
* 30000-32767
|
|
@@ -192,7 +192,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
192
192
|
nodePortRange?: string;
|
|
193
193
|
/**
|
|
194
194
|
* @remarks
|
|
195
|
-
*
|
|
195
|
+
* The subscription duration of control plane nodes. Valid and required when the billing method is `PrePaid`.
|
|
196
196
|
*
|
|
197
197
|
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}. Unit: months.
|
|
198
198
|
*
|
|
@@ -204,9 +204,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
204
204
|
period?: number;
|
|
205
205
|
/**
|
|
206
206
|
* @remarks
|
|
207
|
-
*
|
|
207
|
+
* The subscription period unit of control plane nodes. Valid and required when the billing method is `PrePaid`.
|
|
208
208
|
*
|
|
209
|
-
* Valid value: `Month`. Currently, only
|
|
209
|
+
* Valid value: `Month`. Currently, only monthly periods are supported.
|
|
210
210
|
*
|
|
211
211
|
* @example
|
|
212
212
|
* Month
|
|
@@ -214,9 +214,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
214
214
|
periodUnit?: string;
|
|
215
215
|
/**
|
|
216
216
|
* @remarks
|
|
217
|
-
*
|
|
217
|
+
* **This field is deprecated.** The container runtime for control plane nodes. Valid values:
|
|
218
218
|
*
|
|
219
|
-
* containerd: Containerd runtime,
|
|
219
|
+
* containerd: The Containerd runtime, which supports all cluster versions.
|
|
220
220
|
*
|
|
221
221
|
* @example
|
|
222
222
|
* containerd
|
|
@@ -224,11 +224,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
224
224
|
runtime?: string;
|
|
225
225
|
/**
|
|
226
226
|
* @remarks
|
|
227
|
-
*
|
|
227
|
+
* Specifies whether to enable Alibaba Cloud OS security hardening.
|
|
228
228
|
*
|
|
229
|
-
* - true:
|
|
229
|
+
* - true: Enables Alibaba Cloud OS security hardening.
|
|
230
230
|
*
|
|
231
|
-
* - false:
|
|
231
|
+
* - false: Does not enable Alibaba Cloud OS security hardening.
|
|
232
232
|
*
|
|
233
233
|
* Default value: false.
|
|
234
234
|
*
|
|
@@ -238,7 +238,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
238
238
|
securityHardeningOs?: boolean;
|
|
239
239
|
/**
|
|
240
240
|
* @remarks
|
|
241
|
-
*
|
|
241
|
+
* The number of control plane nodes.
|
|
242
242
|
*
|
|
243
243
|
* Valid values: `3` or `5`.
|
|
244
244
|
*
|
|
@@ -248,11 +248,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
248
248
|
size?: number;
|
|
249
249
|
/**
|
|
250
250
|
* @remarks
|
|
251
|
-
*
|
|
251
|
+
* Specifies whether to enable MLPS 2.0 security hardening.
|
|
252
252
|
*
|
|
253
|
-
* - true:
|
|
253
|
+
* - true: Enables MLPS 2.0 security hardening.
|
|
254
254
|
*
|
|
255
|
-
* - false:
|
|
255
|
+
* - false: Does not enable MLPS 2.0 security hardening.
|
|
256
256
|
*
|
|
257
257
|
* Default value: false.
|
|
258
258
|
*
|
|
@@ -262,13 +262,13 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
262
262
|
socEnabled?: boolean;
|
|
263
263
|
/**
|
|
264
264
|
* @remarks
|
|
265
|
-
*
|
|
265
|
+
* Specifies whether to enable burst (performance burst) for the node system cloud disk.
|
|
266
266
|
*
|
|
267
|
-
* - true:
|
|
267
|
+
* - true: Enabled.
|
|
268
268
|
*
|
|
269
|
-
* - false:
|
|
269
|
+
* - false: Not enabled.
|
|
270
270
|
*
|
|
271
|
-
* This parameter is only
|
|
271
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
272
272
|
*
|
|
273
273
|
* @example
|
|
274
274
|
* true
|
|
@@ -276,15 +276,13 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
276
276
|
systemDiskBurstingEnabled?: boolean;
|
|
277
277
|
/**
|
|
278
278
|
* @remarks
|
|
279
|
-
*
|
|
279
|
+
* The node system disk type.
|
|
280
280
|
*
|
|
281
281
|
* - `cloud_efficiency`: Ultra disk.
|
|
282
|
-
* - `cloud_ssd`: SSD
|
|
283
|
-
* - `cloud_essd`: ESSD
|
|
284
|
-
* - `cloud_auto`: ESSD AutoPL
|
|
285
|
-
* - `
|
|
286
|
-
*
|
|
287
|
-
* Default value: `cloud_ssd`. The default value may vary across availability zones.
|
|
282
|
+
* - `cloud_ssd`: Standard SSD.
|
|
283
|
+
* - `cloud_essd`: ESSD.
|
|
284
|
+
* - `cloud_auto`: ESSD AutoPL.
|
|
285
|
+
* - `cloud_essd
|
|
288
286
|
*
|
|
289
287
|
* @example
|
|
290
288
|
* cloud_ssd
|
|
@@ -292,9 +290,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
292
290
|
systemDiskCategory?: string;
|
|
293
291
|
/**
|
|
294
292
|
* @remarks
|
|
295
|
-
*
|
|
293
|
+
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks.
|
|
296
294
|
*
|
|
297
|
-
* The performance level
|
|
295
|
+
* 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).
|
|
298
296
|
*
|
|
299
297
|
* @example
|
|
300
298
|
* PL1
|
|
@@ -302,11 +300,11 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
302
300
|
systemDiskPerformanceLevel?: string;
|
|
303
301
|
/**
|
|
304
302
|
* @remarks
|
|
305
|
-
*
|
|
303
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
306
304
|
*
|
|
307
|
-
* Valid values: 0 to min{50,000, 1000
|
|
305
|
+
* Valid values: 0 to min{50,000, 1000 × capacity - baseline performance}. Baseline performance = min{1,800 + 50 × capacity, 50000}.
|
|
308
306
|
*
|
|
309
|
-
* This parameter is only
|
|
307
|
+
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`.
|
|
310
308
|
*
|
|
311
309
|
* @example
|
|
312
310
|
* 1000
|
|
@@ -314,9 +312,9 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
314
312
|
systemDiskProvisionedIops?: number;
|
|
315
313
|
/**
|
|
316
314
|
* @remarks
|
|
317
|
-
*
|
|
315
|
+
* The size of the node system cloud disk.
|
|
318
316
|
*
|
|
319
|
-
* Valid values: [40,
|
|
317
|
+
* Valid values: [40,500\\]. Unit: GiB.
|
|
320
318
|
*
|
|
321
319
|
* Default value: `120`.
|
|
322
320
|
*
|
|
@@ -326,7 +324,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
326
324
|
systemDiskSize?: number;
|
|
327
325
|
/**
|
|
328
326
|
* @remarks
|
|
329
|
-
*
|
|
327
|
+
* The automatic snapshot backup policy for nodes.
|
|
330
328
|
*
|
|
331
329
|
* @example
|
|
332
330
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -346,7 +344,7 @@ export declare class CreateClusterRequestControlPlaneConfig extends $dara.Model
|
|
|
346
344
|
export declare class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig extends $dara.Model {
|
|
347
345
|
/**
|
|
348
346
|
* @remarks
|
|
349
|
-
* VPCs where the internal
|
|
347
|
+
* The VPCs where the internal domain name record resolution takes effect.
|
|
350
348
|
*/
|
|
351
349
|
bindVpcs?: string[];
|
|
352
350
|
static names(): {
|
|
@@ -360,12 +358,45 @@ export declare class CreateClusterRequestControlPlaneEndpointsConfigInternalDnsC
|
|
|
360
358
|
[key: string]: any;
|
|
361
359
|
});
|
|
362
360
|
}
|
|
361
|
+
export declare class CreateClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig extends $dara.Model {
|
|
362
|
+
/**
|
|
363
|
+
* @remarks
|
|
364
|
+
* The endpoint type.
|
|
365
|
+
*
|
|
366
|
+
* @example
|
|
367
|
+
* private
|
|
368
|
+
*/
|
|
369
|
+
endpointType?: string;
|
|
370
|
+
/**
|
|
371
|
+
* @remarks
|
|
372
|
+
* The NLB instance ID.
|
|
373
|
+
*
|
|
374
|
+
* @example
|
|
375
|
+
* nlb-0ogk9aaxxxxxxx
|
|
376
|
+
*/
|
|
377
|
+
loadBalancerId?: string;
|
|
378
|
+
static names(): {
|
|
379
|
+
[key: string]: string;
|
|
380
|
+
};
|
|
381
|
+
static types(): {
|
|
382
|
+
[key: string]: any;
|
|
383
|
+
};
|
|
384
|
+
validate(): void;
|
|
385
|
+
constructor(map?: {
|
|
386
|
+
[key: string]: any;
|
|
387
|
+
});
|
|
388
|
+
}
|
|
363
389
|
export declare class CreateClusterRequestControlPlaneEndpointsConfig extends $dara.Model {
|
|
364
390
|
/**
|
|
365
391
|
* @remarks
|
|
366
|
-
*
|
|
392
|
+
* The internal DNS configuration for the cluster. Applicable 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. When internal domain name access is not enabled, node-side system components access the API Server through the CLB IP address.
|
|
367
393
|
*/
|
|
368
394
|
internalDnsConfig?: CreateClusterRequestControlPlaneEndpointsConfigInternalDnsConfig;
|
|
395
|
+
/**
|
|
396
|
+
* @remarks
|
|
397
|
+
* The cluster endpoint configuration. When this field is specified, the endpoint_public_access and load_balancer_id parameters do not take effect. ACK only supports automatic creation of NLB instances. To specify a CLB/NLB, use load_balancers_config to specify the instance ID.
|
|
398
|
+
*/
|
|
399
|
+
loadBalancersConfig?: CreateClusterRequestControlPlaneEndpointsConfigLoadBalancersConfig[];
|
|
369
400
|
static names(): {
|
|
370
401
|
[key: string]: string;
|
|
371
402
|
};
|
|
@@ -380,10 +411,10 @@ export declare class CreateClusterRequestControlPlaneEndpointsConfig extends $da
|
|
|
380
411
|
export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $dara.Model {
|
|
381
412
|
/**
|
|
382
413
|
* @remarks
|
|
383
|
-
*
|
|
384
|
-
* - patch: Automatically
|
|
385
|
-
* - stable: Automatically
|
|
386
|
-
* - rapid: Automatically
|
|
414
|
+
* The cluster auto-upgrade frequency. Valid values:
|
|
415
|
+
* - patch: Automatically upgrades to the available patch version of the current minor version. The new Kubernetes version does not contain breaking changes.
|
|
416
|
+
* - 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.
|
|
417
|
+
* - rapid: Automatically upgrades to the latest patch version of the latest minor version to gain access to new Kubernetes community features faster.
|
|
387
418
|
*
|
|
388
419
|
* @example
|
|
389
420
|
* stable
|
|
@@ -391,11 +422,11 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
391
422
|
channel?: string;
|
|
392
423
|
/**
|
|
393
424
|
* @remarks
|
|
394
|
-
*
|
|
425
|
+
* Specifies whether to enable cluster auto-upgrade.
|
|
395
426
|
*
|
|
396
427
|
* - true: Enable.
|
|
397
428
|
*
|
|
398
|
-
* - false:
|
|
429
|
+
* - false: Do not enable.
|
|
399
430
|
*
|
|
400
431
|
* @example
|
|
401
432
|
* true
|
|
@@ -415,7 +446,7 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
415
446
|
export declare class CreateClusterRequestOperationPolicy extends $dara.Model {
|
|
416
447
|
/**
|
|
417
448
|
* @remarks
|
|
418
|
-
*
|
|
449
|
+
* The cluster auto-upgrade configuration.
|
|
419
450
|
*/
|
|
420
451
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
421
452
|
static names(): {
|
|
@@ -432,11 +463,11 @@ export declare class CreateClusterRequestOperationPolicy extends $dara.Model {
|
|
|
432
463
|
export declare class CreateClusterRequestRrsaConfig extends $dara.Model {
|
|
433
464
|
/**
|
|
434
465
|
* @remarks
|
|
435
|
-
*
|
|
466
|
+
* Specifies whether to enable RRSA.
|
|
436
467
|
*
|
|
437
468
|
* - true: Enable.
|
|
438
469
|
*
|
|
439
|
-
* - false:
|
|
470
|
+
* - false: Do not enable.
|
|
440
471
|
*
|
|
441
472
|
* @example
|
|
442
473
|
* true
|
|
@@ -456,7 +487,7 @@ export declare class CreateClusterRequestRrsaConfig extends $dara.Model {
|
|
|
456
487
|
export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
457
488
|
/**
|
|
458
489
|
* @remarks
|
|
459
|
-
*
|
|
490
|
+
* The data cloud disk type.
|
|
460
491
|
*
|
|
461
492
|
* This parameter is required.
|
|
462
493
|
*
|
|
@@ -466,10 +497,10 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
466
497
|
category?: string;
|
|
467
498
|
/**
|
|
468
499
|
* @remarks
|
|
469
|
-
*
|
|
500
|
+
* Specifies whether to encrypt the data cloud disk. Valid values:
|
|
470
501
|
*
|
|
471
|
-
* - `true`:
|
|
472
|
-
* - `false`:
|
|
502
|
+
* - `true`: Encrypts the data cloud disk.
|
|
503
|
+
* - `false`: Does not encrypt the data cloud disk.
|
|
473
504
|
*
|
|
474
505
|
* Default value: `false`.
|
|
475
506
|
*
|
|
@@ -479,7 +510,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
479
510
|
encrypted?: string;
|
|
480
511
|
/**
|
|
481
512
|
* @remarks
|
|
482
|
-
*
|
|
513
|
+
* The performance level of the node data cloud disk. This parameter takes effect only for [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
483
514
|
*
|
|
484
515
|
* @example
|
|
485
516
|
* PL1
|
|
@@ -487,7 +518,7 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
487
518
|
performanceLevel?: string;
|
|
488
519
|
/**
|
|
489
520
|
* @remarks
|
|
490
|
-
*
|
|
521
|
+
* The data cloud disk size. Valid values: 40 to 32767. Unit: GiB.
|
|
491
522
|
*
|
|
492
523
|
* This parameter is required.
|
|
493
524
|
*
|
|
@@ -509,46 +540,46 @@ export declare class CreateClusterRequestWorkerDataDisks extends $dara.Model {
|
|
|
509
540
|
export declare class CreateClusterRequest extends $dara.Model {
|
|
510
541
|
/**
|
|
511
542
|
* @remarks
|
|
512
|
-
*
|
|
543
|
+
* 【**该字段已废弃**】注册集群 API Server SLB 访问控制列表。
|
|
513
544
|
*
|
|
514
545
|
* @deprecated
|
|
515
546
|
*/
|
|
516
547
|
accessControlList?: string[];
|
|
517
548
|
/**
|
|
518
549
|
* @remarks
|
|
519
|
-
*
|
|
550
|
+
* The list of cluster components. Specify the components to install when creating a cluster using `addons`.
|
|
520
551
|
*
|
|
521
|
-
* **Network component**: Required. Choose between Flannel and Terway network types
|
|
552
|
+
* **Network component**: Required. Choose between Flannel and Terway network types:
|
|
522
553
|
*
|
|
523
|
-
* - Flannel network: [{"name":"flannel","config":""}].
|
|
524
|
-
* - Terway network: [{"name": "terway-eniip","config": ""}]
|
|
554
|
+
* - Flannel network: [{"name":"flannel","config":""}\\].
|
|
555
|
+
* - Terway network: [{"name": "terway-eniip","config": ""}\\].
|
|
525
556
|
*
|
|
526
557
|
* **Storage component**: Optional. Only the `csi` type is supported:
|
|
527
558
|
*
|
|
528
|
-
* `csi`: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
559
|
+
* `csi`: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}\\].
|
|
529
560
|
*
|
|
530
|
-
* **Log component**: Optional.
|
|
561
|
+
* **Log component**: Optional. We recommend that you enable this component. If the log service is not enabled, the cluster audit feature is unavailable.
|
|
531
562
|
*
|
|
532
|
-
* - Use an existing `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\",\\"sls_project_name\\":\\"your_sls_project_name\\"}"}]
|
|
533
|
-
* - Create a new `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\"}"}]
|
|
563
|
+
* - Use an existing `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\",\\"sls_project_name\\":\\"your_sls_project_name\\"}"}\\].
|
|
564
|
+
* - Create a new `SLS Project`: [{"name": "loongcollector","config": "{\\"IngressDashboardEnabled\\":\\"true\\"}"}\\].
|
|
534
565
|
*
|
|
535
566
|
* **Ingress component**: Optional. ACK dedicated clusters install the Ingress component `nginx-ingress-controller` by default.
|
|
536
567
|
*
|
|
537
|
-
* - Install Ingress with public network access: [{"name":"nginx-ingress-controller","config":"{\\"IngressSlbNetworkType\\":\\"internet\\"}"}]
|
|
538
|
-
* - Disable default Ingress installation: [{"name": "nginx-ingress-controller","config": "","disabled": true}]
|
|
568
|
+
* - Install Ingress with public network access: [{"name":"nginx-ingress-controller","config":"{\\"IngressSlbNetworkType\\":\\"internet\\"}"}\\].
|
|
569
|
+
* - Disable default Ingress installation: [{"name": "nginx-ingress-controller","config": "","disabled": true}\\].
|
|
539
570
|
*
|
|
540
|
-
* **Event
|
|
571
|
+
* **Event Center**: Optional. Enabled by default.
|
|
541
572
|
*
|
|
542
|
-
* The
|
|
573
|
+
* 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).
|
|
543
574
|
*
|
|
544
|
-
* Example of enabling the
|
|
575
|
+
* Example of enabling the Event Center: [{"name":"ack-node-problem-detector","config":"{\\"sls_project_name\\":\\"your_sls_project_name\\"}"}\\].
|
|
545
576
|
*/
|
|
546
577
|
addons?: Addon[];
|
|
547
578
|
/**
|
|
548
579
|
* @remarks
|
|
549
|
-
* ServiceAccount is the access credential for communication between
|
|
580
|
+
* A ServiceAccount is the access credential for communication between a Pod and the cluster API Server. The `api-audiences` is the valid request `token` identity, used by the `apiserver` to authenticate whether a request `token` is valid. Multiple `audiences` are supported, separated by commas (,).
|
|
550
581
|
*
|
|
551
|
-
* For more
|
|
582
|
+
* For more information about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
552
583
|
*
|
|
553
584
|
* @example
|
|
554
585
|
* kubernetes.default.svc
|
|
@@ -556,26 +587,26 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
556
587
|
apiAudiences?: string;
|
|
557
588
|
/**
|
|
558
589
|
* @remarks
|
|
559
|
-
*
|
|
590
|
+
* The cluster audit log configuration.
|
|
560
591
|
*/
|
|
561
592
|
auditLogConfig?: CreateClusterRequestAuditLogConfig;
|
|
562
593
|
/**
|
|
563
594
|
* @remarks
|
|
564
|
-
* [
|
|
595
|
+
* The [intelligent managed mode](https://help.aliyun.com/document_detail/2938898.html) configuration.
|
|
565
596
|
*/
|
|
566
597
|
autoMode?: CreateClusterRequestAutoMode;
|
|
567
598
|
/**
|
|
568
599
|
* @remarks
|
|
569
|
-
*
|
|
600
|
+
* 【**该字段已废弃**】
|
|
570
601
|
*
|
|
571
|
-
*
|
|
602
|
+
* 是否开启自动续费,当`charge_type`取值为`PrePaid`时才生效。取值:
|
|
572
603
|
*
|
|
573
|
-
* - `true
|
|
574
|
-
* - `false
|
|
604
|
+
* - `true`:自动续费。
|
|
605
|
+
* - `false`:不自动续费。
|
|
575
606
|
*
|
|
576
|
-
*
|
|
607
|
+
* 默认值:`false`。
|
|
577
608
|
*
|
|
578
|
-
*
|
|
609
|
+
* 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
579
610
|
*
|
|
580
611
|
* @example
|
|
581
612
|
* true
|
|
@@ -585,13 +616,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
585
616
|
autoRenew?: boolean;
|
|
586
617
|
/**
|
|
587
618
|
* @remarks
|
|
588
|
-
*
|
|
619
|
+
* 【**该字段已废弃**】
|
|
589
620
|
*
|
|
590
|
-
*
|
|
621
|
+
* 自动续费周期,当选择预付费和自动续费时才生效。当`PeriodUnit=Month`时,取值范围:{1, 2, 3, 6, 12}。
|
|
591
622
|
*
|
|
592
|
-
*
|
|
623
|
+
* 默认值:1。
|
|
593
624
|
*
|
|
594
|
-
*
|
|
625
|
+
* 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
595
626
|
*
|
|
596
627
|
* @example
|
|
597
628
|
* 1
|
|
@@ -601,19 +632,19 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
601
632
|
autoRenewPeriod?: number;
|
|
602
633
|
/**
|
|
603
634
|
* @remarks
|
|
604
|
-
*
|
|
635
|
+
* 【**该字段已废弃**】
|
|
605
636
|
*
|
|
606
|
-
*
|
|
607
|
-
* - PostPaid
|
|
608
|
-
* - PrePaid
|
|
637
|
+
* API Server所使用的CLB实例的付费类型,默认值为PostPaid。取值:
|
|
638
|
+
* - PostPaid:按量付费。
|
|
639
|
+
* - PrePaid:包年包月,新建CLB付费类型已不支持,存量不影响。
|
|
609
640
|
*
|
|
610
641
|
* >Notice:
|
|
611
642
|
*
|
|
612
|
-
* -
|
|
613
|
-
* -
|
|
643
|
+
* - 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
644
|
+
* - 自2024年12月01日起,新创建的CLB实例不再支持包年包月付费类型,同时将新增收取实例费。
|
|
614
645
|
* </notice>
|
|
615
|
-
* <props="china"
|
|
616
|
-
* <props="intl"
|
|
646
|
+
* <props="china">详细信息请参见[【产品公告】关于取消新增集群API Server负载均衡CLB包年包月付费的公告](https://help.aliyun.com/document_detail/2851191.html)、[传统型负载均衡CLB计费项调整公告](https://help.aliyun.com/document_detail/2839797.html)。
|
|
647
|
+
* <props="intl">详细信息请参见[传统型负载均衡CLB计费项调整公告](https://help.aliyun.com/document_detail/2839797.html)。
|
|
617
648
|
*
|
|
618
649
|
* @example
|
|
619
650
|
* PostPaid
|
|
@@ -623,7 +654,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
623
654
|
chargeType?: string;
|
|
624
655
|
/**
|
|
625
656
|
* @remarks
|
|
626
|
-
*
|
|
657
|
+
* **This field is deprecated.** For control plane configurations, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configurations, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
|
|
627
658
|
*
|
|
628
659
|
* @example
|
|
629
660
|
* false
|
|
@@ -633,12 +664,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
633
664
|
cisEnabled?: boolean;
|
|
634
665
|
/**
|
|
635
666
|
* @remarks
|
|
636
|
-
*
|
|
667
|
+
* **This field is deprecated.** For control plane node configurations, use the `cloud_monitor_flags` parameter under `control_plane_config` instead. For node pool configurations, use the `cms_enabled` parameter under `kubernetes_config` in `nodepool` instead.
|
|
637
668
|
*
|
|
638
|
-
*
|
|
669
|
+
* Specifies whether to install the CloudMonitor agent on the cluster. Valid values:
|
|
639
670
|
*
|
|
640
|
-
* - `true`:
|
|
641
|
-
* - `false`:
|
|
671
|
+
* - `true`: Installs the CloudMonitor agent.
|
|
672
|
+
* - `false`: Does not install the CloudMonitor agent.
|
|
642
673
|
*
|
|
643
674
|
* Default value: `false`.
|
|
644
675
|
*
|
|
@@ -650,9 +681,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
650
681
|
cloudMonitorFlags?: boolean;
|
|
651
682
|
/**
|
|
652
683
|
* @remarks
|
|
653
|
-
*
|
|
684
|
+
* The cluster local domain.
|
|
654
685
|
*
|
|
655
|
-
* Naming rules: The domain
|
|
686
|
+
* 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.
|
|
656
687
|
*
|
|
657
688
|
* @example
|
|
658
689
|
* cluster.local
|
|
@@ -660,17 +691,17 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
660
691
|
clusterDomain?: string;
|
|
661
692
|
/**
|
|
662
693
|
* @remarks
|
|
663
|
-
* After
|
|
694
|
+
* After you set `cluster_type` to `ManagedKubernetes` and configure `profile`, you can further specify the cluster specification. Valid values:
|
|
664
695
|
*
|
|
665
|
-
* - `ack.standard`: Basic
|
|
666
|
-
* - `ack.pro.small`: Pro
|
|
696
|
+
* - `ack.standard`: Basic (selected by default when the value is empty)
|
|
697
|
+
* - `ack.pro.small`: Pro
|
|
667
698
|
* - `ack.pro.xlarge`: Pro XL
|
|
668
699
|
* - `ack.pro.2xlarge`: Pro 2XL
|
|
669
|
-
* - `ack.pro.4xlarge`: Pro 4XL (requires contacting customer service to enable
|
|
700
|
+
* - `ack.pro.4xlarge`: Pro 4XL (requires contacting customer service to enable the whitelist)
|
|
670
701
|
*
|
|
671
|
-
* 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).
|
|
702
|
+
* 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.
|
|
672
703
|
*
|
|
673
|
-
* For the
|
|
704
|
+
* 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).
|
|
674
705
|
*
|
|
675
706
|
* @example
|
|
676
707
|
* ack.pro.small
|
|
@@ -679,8 +710,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
679
710
|
/**
|
|
680
711
|
* @remarks
|
|
681
712
|
* - `Kubernetes`: ACK dedicated cluster.
|
|
682
|
-
* - `ManagedKubernetes`: ACK managed cluster types, including ACK managed
|
|
683
|
-
* - `ExternalKubernetes`:
|
|
713
|
+
* - `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).
|
|
714
|
+
* - `ExternalKubernetes`: registered cluster.
|
|
684
715
|
*
|
|
685
716
|
* @example
|
|
686
717
|
* Kubernetes
|
|
@@ -688,9 +719,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
688
719
|
clusterType?: string;
|
|
689
720
|
/**
|
|
690
721
|
* @remarks
|
|
691
|
-
* Pod network CIDR block.
|
|
722
|
+
* The Pod network CIDR block. It must be a valid private CIDR block, specifically the following CIDR blocks and their subnets: 10.0.0.0/8, 172.16-31.0.0/12-16, 192.168.0.0/16. It cannot overlap with the VPC CIDR block or CIDR blocks used by existing Kubernetes clusters in the VPC. It cannot be modified after creation.
|
|
692
723
|
*
|
|
693
|
-
* For cluster network planning, see [ACK managed cluster network planning](https://help.aliyun.com/document_detail/86500.html).
|
|
724
|
+
* For information about cluster network planning, see [ACK managed cluster network planning](https://help.aliyun.com/document_detail/86500.html).
|
|
694
725
|
*
|
|
695
726
|
* > This field is required for Flannel clusters.
|
|
696
727
|
*
|
|
@@ -700,24 +731,24 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
700
731
|
containerCidr?: string;
|
|
701
732
|
/**
|
|
702
733
|
* @remarks
|
|
703
|
-
* ACK dedicated cluster control plane configuration.
|
|
734
|
+
* The ACK dedicated cluster control plane configuration.
|
|
704
735
|
*/
|
|
705
736
|
controlPlaneConfig?: CreateClusterRequestControlPlaneConfig;
|
|
706
737
|
/**
|
|
707
738
|
* @remarks
|
|
708
|
-
*
|
|
739
|
+
* The cluster endpoint configuration.
|
|
709
740
|
*/
|
|
710
741
|
controlPlaneEndpointsConfig?: CreateClusterRequestControlPlaneEndpointsConfig;
|
|
711
742
|
/**
|
|
712
743
|
* @remarks
|
|
713
|
-
*
|
|
744
|
+
* The list of component names that specifies which control plane components to collect logs from.
|
|
714
745
|
*
|
|
715
746
|
* By default, logs are collected from kube-apiserver, kube-controller-manager, kube-scheduler, and cloud-controller-manager.
|
|
716
747
|
*/
|
|
717
748
|
controlplaneLogComponents?: string[];
|
|
718
749
|
/**
|
|
719
750
|
* @remarks
|
|
720
|
-
* Log Service project for control plane component logs. You can use an existing project for log storage or
|
|
751
|
+
* The Simple Log Service project for control plane component logs. You can use an existing project for log storage or have the system automatically create a project. If you choose automatic creation, a Simple Log Service project named `k8s-log-{ClusterID}` is created.
|
|
721
752
|
*
|
|
722
753
|
* @example
|
|
723
754
|
* k8s-log-xxx
|
|
@@ -725,7 +756,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
725
756
|
controlplaneLogProject?: string;
|
|
726
757
|
/**
|
|
727
758
|
* @remarks
|
|
728
|
-
*
|
|
759
|
+
* The number of days for log retention of control plane component logs.
|
|
729
760
|
*
|
|
730
761
|
* @example
|
|
731
762
|
* 30
|
|
@@ -733,12 +764,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
733
764
|
controlplaneLogTtl?: string;
|
|
734
765
|
/**
|
|
735
766
|
* @remarks
|
|
736
|
-
*
|
|
767
|
+
* **This field is deprecated.** For control plane configurations, use the `cpu_policy` parameter under `control_plane_config` instead. For node pool configurations, use the `cpu_policy` parameter under `kubernetes_config` in `nodepool` instead.
|
|
737
768
|
*
|
|
738
|
-
*
|
|
769
|
+
* The node CPU management policy. The following policies are supported for cluster versions 1.12.6 and later:
|
|
739
770
|
*
|
|
740
|
-
* - `static`: Allows
|
|
741
|
-
* - `none`:
|
|
771
|
+
* - `static`: Allows pods with certain resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
772
|
+
* - `none`: Uses the existing default CPU affinity scheme.
|
|
742
773
|
*
|
|
743
774
|
* Default value: `none`.
|
|
744
775
|
*
|
|
@@ -750,9 +781,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
750
781
|
cpuPolicy?: string;
|
|
751
782
|
/**
|
|
752
783
|
* @remarks
|
|
753
|
-
*
|
|
784
|
+
* **This field is deprecated.** Use the `extra_sans` parameter instead.
|
|
754
785
|
*
|
|
755
|
-
*
|
|
786
|
+
* The custom certificate Subject Alternative Name (SAN). Separate multiple IP addresses or domain names with commas (,).
|
|
756
787
|
*
|
|
757
788
|
* @example
|
|
758
789
|
* cs.aliyun.com
|
|
@@ -762,10 +793,10 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
762
793
|
customSan?: string;
|
|
763
794
|
/**
|
|
764
795
|
* @remarks
|
|
765
|
-
*
|
|
796
|
+
* Specifies whether to enable cluster deletion protection, which prevents the cluster from being accidentally deleted through the console or API. Valid values:
|
|
766
797
|
*
|
|
767
798
|
* - `true`: Enable cluster deletion protection. The cluster cannot be deleted through the console or API.
|
|
768
|
-
* - `false`:
|
|
799
|
+
* - `false`: Do not enable cluster deletion protection. The cluster can be deleted through the console or API.
|
|
769
800
|
*
|
|
770
801
|
* Default value: `false`.
|
|
771
802
|
*
|
|
@@ -775,15 +806,15 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
775
806
|
deletionProtection?: boolean;
|
|
776
807
|
/**
|
|
777
808
|
* @remarks
|
|
778
|
-
*
|
|
809
|
+
* 【**该字段已废弃**】集群创建失败时默认不会进行回滚,您需要自行清理创建失败的集群。
|
|
779
810
|
*
|
|
780
|
-
*
|
|
811
|
+
* 集群创建失败是否回滚。取值:
|
|
781
812
|
*
|
|
782
|
-
* - `true
|
|
783
|
-
* - `false
|
|
813
|
+
* - `true`:当集群创建失败时,进行回滚操作。
|
|
814
|
+
* - `false`:当集群创建失败时,不进行回滚操作。
|
|
784
815
|
*
|
|
785
816
|
*
|
|
786
|
-
*
|
|
817
|
+
* 默认值:`true`。
|
|
787
818
|
*
|
|
788
819
|
* @example
|
|
789
820
|
* true
|
|
@@ -793,13 +824,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
793
824
|
disableRollback?: boolean;
|
|
794
825
|
/**
|
|
795
826
|
* @remarks
|
|
796
|
-
*
|
|
827
|
+
* 【**该字段已废弃**】请使用参数`rrsa_config`代替。
|
|
797
828
|
*
|
|
798
|
-
*
|
|
829
|
+
* 是否启用RRSA功能。
|
|
799
830
|
*
|
|
800
|
-
* - true
|
|
831
|
+
* - true:开启。
|
|
801
832
|
*
|
|
802
|
-
* - false
|
|
833
|
+
* - false:不开启。
|
|
803
834
|
*
|
|
804
835
|
* @example
|
|
805
836
|
* false
|
|
@@ -809,9 +840,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
809
840
|
enableRrsa?: boolean;
|
|
810
841
|
/**
|
|
811
842
|
* @remarks
|
|
812
|
-
* KMS key ID
|
|
843
|
+
* The KMS key ID used to encrypt data disks. For more information, see [Key Management Service](https://help.aliyun.com/document_detail/28935.html).
|
|
813
844
|
*
|
|
814
|
-
* > This feature only takes effect in
|
|
845
|
+
* > This feature only takes effect in ACK Pro managed clusters.
|
|
815
846
|
*
|
|
816
847
|
* @example
|
|
817
848
|
* 0fe64791-55eb-4fc7-84c5-c6c7cdca****
|
|
@@ -819,10 +850,10 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
819
850
|
encryptionProviderKey?: string;
|
|
820
851
|
/**
|
|
821
852
|
* @remarks
|
|
822
|
-
*
|
|
853
|
+
* Specifies whether to public network access. Exposes the API Server through an EIP to public network access to the cluster.
|
|
823
854
|
*
|
|
824
|
-
* - `true`:
|
|
825
|
-
* - `false`:
|
|
855
|
+
* - `true`: Public network access.
|
|
856
|
+
* - `false`: Do not public network access. If not enabled, the cluster API Server cannot be accessed from the Internet.
|
|
826
857
|
*
|
|
827
858
|
* Default value: `false`.
|
|
828
859
|
*
|
|
@@ -832,25 +863,25 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
832
863
|
endpointPublicAccess?: boolean;
|
|
833
864
|
/**
|
|
834
865
|
* @remarks
|
|
835
|
-
*
|
|
866
|
+
* The custom API Server certificate SAN (Subject Alternative Name).
|
|
836
867
|
*/
|
|
837
868
|
extraSans?: string[];
|
|
838
869
|
/**
|
|
839
870
|
* @remarks
|
|
840
|
-
* [
|
|
871
|
+
* 【**该字段已废弃**】创建集群时不支持选择已有节点,如需添加已有节点到集群,请先创建节点池,并调用[AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html)接口操作。
|
|
841
872
|
*
|
|
842
|
-
*
|
|
873
|
+
* 使用已有实例创建集群时,是否对实例进行数据盘挂载,取值:
|
|
843
874
|
*
|
|
844
|
-
* - `true
|
|
875
|
+
* - `true`:将容器和镜像存储在数据盘,数据盘内原有数据将丢失,请注意备份数据。
|
|
845
876
|
*
|
|
846
|
-
* - `false
|
|
877
|
+
* - `false`:不将容器和镜像存储在数据盘。
|
|
847
878
|
*
|
|
848
|
-
*
|
|
879
|
+
* 默认值:`false`。
|
|
849
880
|
*
|
|
850
|
-
*
|
|
881
|
+
* 数据盘挂载规则:
|
|
851
882
|
*
|
|
852
|
-
* -
|
|
853
|
-
* -
|
|
883
|
+
* - 如果ECS已挂载数据盘,且最后一块数据盘的文件系统未初始化,系统会自动将该数据盘格式化为ext4,用来存放内容/var/lib/docker、/var/lib/kubelet。
|
|
884
|
+
* - 如果ECS未挂载数据盘,则不会挂载新的数据盘。
|
|
854
885
|
*
|
|
855
886
|
* @example
|
|
856
887
|
* false
|
|
@@ -860,9 +891,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
860
891
|
formatDisk?: boolean;
|
|
861
892
|
/**
|
|
862
893
|
* @remarks
|
|
863
|
-
*
|
|
894
|
+
* **This field is deprecated.** For control plane configurations, use the `image_id` parameter under `control_plane_config` instead. For node pool configurations, use the `image_id` parameter under `scaling_group` in `nodepool` instead.
|
|
864
895
|
*
|
|
865
|
-
*
|
|
896
|
+
* 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).
|
|
866
897
|
*
|
|
867
898
|
* @example
|
|
868
899
|
* m-bp16z7xko3vvv8gt****
|
|
@@ -872,9 +903,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
872
903
|
imageId?: string;
|
|
873
904
|
/**
|
|
874
905
|
* @remarks
|
|
875
|
-
*
|
|
906
|
+
* 【**该字段已废弃**】集群控制面配置请使用`control_plane_config`下的`image_type`参数代替;节点池配置请使用`nodepool`中`scaling_group`下的`image_type`参数代替。
|
|
876
907
|
*
|
|
877
|
-
*
|
|
908
|
+
* 操作系统发行版类型,推荐使用该字段指定节点操作系统。取值:
|
|
878
909
|
*
|
|
879
910
|
* - CentOS
|
|
880
911
|
* - AliyunLinux
|
|
@@ -886,7 +917,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
886
917
|
* - AliyunLinux3Arm64
|
|
887
918
|
* - ContainerOS
|
|
888
919
|
*
|
|
889
|
-
*
|
|
920
|
+
* 默认值:`CentOS`。
|
|
890
921
|
*
|
|
891
922
|
* @example
|
|
892
923
|
* AliyunLinux
|
|
@@ -896,19 +927,19 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
896
927
|
imageType?: string;
|
|
897
928
|
/**
|
|
898
929
|
* @remarks
|
|
899
|
-
* [
|
|
930
|
+
* 【**该字段已废弃**】创建集群时不支持选择已有节点,如需添加已有节点到集群,请先创建节点池,并调用[AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html)接口操作。
|
|
900
931
|
*
|
|
901
932
|
*
|
|
902
|
-
*
|
|
933
|
+
* 使用已有节点创建集群时,需要指定ECS实例列表,该实例会作为Worker节点加入集群。
|
|
903
934
|
*
|
|
904
|
-
* >
|
|
935
|
+
* > 使用已有实例创建集群时,该字段必填。
|
|
905
936
|
*
|
|
906
937
|
* @deprecated
|
|
907
938
|
*/
|
|
908
939
|
instances?: string[];
|
|
909
940
|
/**
|
|
910
941
|
* @remarks
|
|
911
|
-
*
|
|
942
|
+
* The IP protocol stack of the cluster.
|
|
912
943
|
*
|
|
913
944
|
* @example
|
|
914
945
|
* 可选值:
|
|
@@ -918,11 +949,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
918
949
|
ipStack?: string;
|
|
919
950
|
/**
|
|
920
951
|
* @remarks
|
|
921
|
-
*
|
|
952
|
+
* Specifies whether to use automatic creation of an advanced security group. Takes effect when `security_group_id` is empty.
|
|
922
953
|
*
|
|
923
|
-
* > 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,
|
|
954
|
+
* > 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.
|
|
924
955
|
*
|
|
925
|
-
* - `true`: Create and use an
|
|
956
|
+
* - `true`: Create and use an advanced security group.
|
|
926
957
|
* - `false`: Use a basic security group.
|
|
927
958
|
*
|
|
928
959
|
* Default value: `true`.
|
|
@@ -933,14 +964,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
933
964
|
isEnterpriseSecurityGroup?: boolean;
|
|
934
965
|
/**
|
|
935
966
|
* @remarks
|
|
936
|
-
* [
|
|
967
|
+
* 【**该字段已废弃**】创建集群时不支持选择已有节点,如需添加已有节点到集群,请先创建节点池,并调用[AttachInstancesToNodePool](https://help.aliyun.com/document_detail/2667920.html)接口操作。
|
|
937
968
|
*
|
|
938
|
-
*
|
|
969
|
+
* 使用已有实例创建集群时,是否保留实例名称。
|
|
939
970
|
*
|
|
940
|
-
* - `true
|
|
941
|
-
* - `false
|
|
971
|
+
* - `true`:保留。
|
|
972
|
+
* - `false`:不保留,会用系统规则进行替换。
|
|
942
973
|
*
|
|
943
|
-
*
|
|
974
|
+
* 默认值:`true`。
|
|
944
975
|
*
|
|
945
976
|
* @example
|
|
946
977
|
* true
|
|
@@ -950,9 +981,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
950
981
|
keepInstanceName?: boolean;
|
|
951
982
|
/**
|
|
952
983
|
* @remarks
|
|
953
|
-
*
|
|
984
|
+
* **This field is deprecated.** For control plane configurations, use the `key_pair` parameter under `control_plane_config` instead. For node pool configurations, use the `key_pair` parameter under `scaling_group` in `nodepool` instead.
|
|
954
985
|
*
|
|
955
|
-
*
|
|
986
|
+
* The key pair name. Mutually exclusive with `login_password`.
|
|
956
987
|
*
|
|
957
988
|
* @example
|
|
958
989
|
* security-key
|
|
@@ -962,11 +993,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
962
993
|
keyPair?: string;
|
|
963
994
|
/**
|
|
964
995
|
* @remarks
|
|
965
|
-
*
|
|
996
|
+
* The cluster version, which is consistent with the Kubernetes community baseline version. We recommend that you select the latest version. If you do not specify this parameter, the latest version is used by default.
|
|
966
997
|
*
|
|
967
|
-
* You can create clusters of the three
|
|
998
|
+
* 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.
|
|
968
999
|
*
|
|
969
|
-
* For Kubernetes versions supported by ACK, see [Kubernetes version release overview](https://help.aliyun.com/document_detail/185269.html).
|
|
1000
|
+
* For more information about Kubernetes versions supported by ACK, see [Kubernetes version release overview](https://help.aliyun.com/document_detail/185269.html).
|
|
970
1001
|
*
|
|
971
1002
|
* @example
|
|
972
1003
|
* 1.32.1-aliyun.1
|
|
@@ -974,8 +1005,8 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
974
1005
|
kubernetesVersion?: string;
|
|
975
1006
|
/**
|
|
976
1007
|
* @remarks
|
|
977
|
-
*
|
|
978
|
-
* > Ensure that the CLB instance has no other dependencies (such as listeners or backend servers). Shared and
|
|
1008
|
+
* The CLB instance ID for API Server access. When this parameter is specified, automatic creation of the API Server CLB is not performed.
|
|
1009
|
+
* > Ensure that the CLB instance has no other dependencies (such as listeners or backend servers). Shared and Internet-facing CLB instances are not supported.
|
|
979
1010
|
*
|
|
980
1011
|
* @example
|
|
981
1012
|
* lb-wz9t256gqa3vbouk****
|
|
@@ -983,9 +1014,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
983
1014
|
loadBalancerId?: string;
|
|
984
1015
|
/**
|
|
985
1016
|
* @remarks
|
|
986
|
-
*
|
|
1017
|
+
* 【**该参数已废弃**】CLB按使用量计费,该参数不生效。
|
|
987
1018
|
*
|
|
988
|
-
*
|
|
1019
|
+
* 负载均衡规格,取值:
|
|
989
1020
|
* - slb.s1.small
|
|
990
1021
|
* - slb.s2.small
|
|
991
1022
|
* - slb.s2.medium
|
|
@@ -993,7 +1024,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
993
1024
|
* - slb.s3.medium
|
|
994
1025
|
* - slb.s3.large
|
|
995
1026
|
*
|
|
996
|
-
*
|
|
1027
|
+
* 默认值:`slb.s2.small`。
|
|
997
1028
|
*
|
|
998
1029
|
* @example
|
|
999
1030
|
* slb.s2.small
|
|
@@ -1003,7 +1034,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1003
1034
|
loadBalancerSpec?: string;
|
|
1004
1035
|
/**
|
|
1005
1036
|
* @remarks
|
|
1006
|
-
*
|
|
1037
|
+
* 【**该字段已废弃**】集群开启日志服务,只针对ACK Serverless集群生效,且取值必须是`SLS`。
|
|
1007
1038
|
*
|
|
1008
1039
|
* @example
|
|
1009
1040
|
* SLS
|
|
@@ -1013,9 +1044,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1013
1044
|
loggingType?: string;
|
|
1014
1045
|
/**
|
|
1015
1046
|
* @remarks
|
|
1016
|
-
*
|
|
1047
|
+
* **This field is deprecated.** For control plane configurations, use the `login_password` parameter under `control_plane_config` instead. For node pool configurations, use the `login_password` parameter under `scaling_group` in `nodepool` instead.
|
|
1017
1048
|
*
|
|
1018
|
-
* SSH
|
|
1049
|
+
* 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.
|
|
1019
1050
|
*
|
|
1020
1051
|
* @example
|
|
1021
1052
|
* null
|
|
@@ -1025,17 +1056,17 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1025
1056
|
loginPassword?: string;
|
|
1026
1057
|
/**
|
|
1027
1058
|
* @remarks
|
|
1028
|
-
*
|
|
1059
|
+
* The cluster maintenance window.
|
|
1029
1060
|
*/
|
|
1030
1061
|
maintenanceWindow?: MaintenanceWindow;
|
|
1031
1062
|
/**
|
|
1032
1063
|
* @remarks
|
|
1033
|
-
*
|
|
1064
|
+
* **This field is deprecated.** For control plane configurations, use the `auto_renew` parameter under `control_plane_config` instead.
|
|
1034
1065
|
*
|
|
1035
|
-
*
|
|
1066
|
+
* 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:
|
|
1036
1067
|
*
|
|
1037
|
-
* - `true`:
|
|
1038
|
-
* - `false`:
|
|
1068
|
+
* - `true`: Enables auto-renewal.
|
|
1069
|
+
* - `false`: Disables auto-renewal.
|
|
1039
1070
|
*
|
|
1040
1071
|
* Default value: `true`.
|
|
1041
1072
|
*
|
|
@@ -1047,9 +1078,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1047
1078
|
masterAutoRenew?: boolean;
|
|
1048
1079
|
/**
|
|
1049
1080
|
* @remarks
|
|
1050
|
-
*
|
|
1081
|
+
* **This field is deprecated.** For control plane configurations, use the `auto_renew_period` parameter under `control_plane_config` instead.
|
|
1051
1082
|
*
|
|
1052
|
-
*
|
|
1083
|
+
* The auto-renewal period for master nodes. This parameter takes effect and is required when the subscription billing method is selected.
|
|
1053
1084
|
*
|
|
1054
1085
|
* Valid values: {1, 2, 3, 6, 12}.
|
|
1055
1086
|
*
|
|
@@ -1063,9 +1094,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1063
1094
|
masterAutoRenewPeriod?: number;
|
|
1064
1095
|
/**
|
|
1065
1096
|
* @remarks
|
|
1066
|
-
*
|
|
1097
|
+
* **This field is deprecated.** For control plane configurations, use the `size` parameter under `control_plane_config` instead.
|
|
1067
1098
|
*
|
|
1068
|
-
*
|
|
1099
|
+
* The number of master nodes. Valid values: `3` or `5`.
|
|
1069
1100
|
*
|
|
1070
1101
|
* Default value: `3`.
|
|
1071
1102
|
*
|
|
@@ -1077,12 +1108,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1077
1108
|
masterCount?: number;
|
|
1078
1109
|
/**
|
|
1079
1110
|
* @remarks
|
|
1080
|
-
*
|
|
1111
|
+
* **This field is deprecated.** For control plane configurations, use the `instance_charge_type` parameter under `control_plane_config` instead.
|
|
1081
1112
|
*
|
|
1082
|
-
*
|
|
1113
|
+
* The billing method for master nodes. Valid values:
|
|
1083
1114
|
*
|
|
1084
|
-
* - `PrePaid`:
|
|
1085
|
-
* - `PostPaid`:
|
|
1115
|
+
* - `PrePaid`: subscription.
|
|
1116
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1086
1117
|
*
|
|
1087
1118
|
* Default value: `PostPaid`.
|
|
1088
1119
|
*
|
|
@@ -1094,18 +1125,18 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1094
1125
|
masterInstanceChargeType?: string;
|
|
1095
1126
|
/**
|
|
1096
1127
|
* @remarks
|
|
1097
|
-
*
|
|
1128
|
+
* **This field is deprecated.** For control plane configurations, use the `instance_types` parameter under `control_plane_config` instead.
|
|
1098
1129
|
*
|
|
1099
|
-
*
|
|
1130
|
+
* The instance types for master nodes. For more information, see [Instance families](https://help.aliyun.com/document_detail/25378.html).
|
|
1100
1131
|
*
|
|
1101
1132
|
* @deprecated
|
|
1102
1133
|
*/
|
|
1103
1134
|
masterInstanceTypes?: string[];
|
|
1104
1135
|
/**
|
|
1105
1136
|
* @remarks
|
|
1106
|
-
*
|
|
1137
|
+
* **This field is deprecated.** For control plane configurations, use the `unit` parameter under `control_plane_config` instead.
|
|
1107
1138
|
*
|
|
1108
|
-
*
|
|
1139
|
+
* The subscription duration for master nodes. This parameter takes effect and is required only when `master_instance_charge_type` is set to `PrePaid`.
|
|
1109
1140
|
*
|
|
1110
1141
|
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
1111
1142
|
*
|
|
@@ -1119,11 +1150,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1119
1150
|
masterPeriod?: number;
|
|
1120
1151
|
/**
|
|
1121
1152
|
* @remarks
|
|
1122
|
-
*
|
|
1153
|
+
* **This field is deprecated.** For control plane configurations, use the `period_unit` parameter under `control_plane_config` instead.
|
|
1123
1154
|
*
|
|
1124
|
-
*
|
|
1155
|
+
* The billing period unit for master nodes. This parameter is required when the billing method is `PrePaid`.
|
|
1125
1156
|
*
|
|
1126
|
-
* Valid
|
|
1157
|
+
* Valid values: `Month`. Only monthly billing is supported.
|
|
1127
1158
|
*
|
|
1128
1159
|
* @example
|
|
1129
1160
|
* Month
|
|
@@ -1133,15 +1164,15 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1133
1164
|
masterPeriodUnit?: string;
|
|
1134
1165
|
/**
|
|
1135
1166
|
* @remarks
|
|
1136
|
-
*
|
|
1167
|
+
* **This field is deprecated.** For control plane configurations, use the `system_disk_category` parameter under `control_plane_config` instead.
|
|
1137
1168
|
*
|
|
1138
|
-
*
|
|
1169
|
+
* The system cloud disk type for master nodes. Valid values:
|
|
1139
1170
|
*
|
|
1140
|
-
* - `cloud_efficiency`:
|
|
1141
|
-
* - `cloud_ssd`: SSD
|
|
1142
|
-
* - `cloud_essd`: ESSD
|
|
1171
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1172
|
+
* - `cloud_ssd`: standard SSD.
|
|
1173
|
+
* - `cloud_essd`: ESSD.
|
|
1143
1174
|
*
|
|
1144
|
-
* Default value: `cloud_ssd`. The default value may vary
|
|
1175
|
+
* Default value: `cloud_ssd`. The default value may vary by zone.
|
|
1145
1176
|
*
|
|
1146
1177
|
* @example
|
|
1147
1178
|
* cloud_ssd
|
|
@@ -1151,9 +1182,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1151
1182
|
masterSystemDiskCategory?: string;
|
|
1152
1183
|
/**
|
|
1153
1184
|
* @remarks
|
|
1154
|
-
*
|
|
1185
|
+
* **This field is deprecated.** For control plane configurations, use the `system_disk_performance_level` parameter under `control_plane_config` instead.
|
|
1155
1186
|
*
|
|
1156
|
-
*
|
|
1187
|
+
* 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).
|
|
1157
1188
|
*
|
|
1158
1189
|
* @example
|
|
1159
1190
|
* PL1
|
|
@@ -1163,9 +1194,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1163
1194
|
masterSystemDiskPerformanceLevel?: string;
|
|
1164
1195
|
/**
|
|
1165
1196
|
* @remarks
|
|
1166
|
-
*
|
|
1197
|
+
* **This field is deprecated.** For control plane configurations, use the `system_disk_size` parameter under `control_plane_config` instead.
|
|
1167
1198
|
*
|
|
1168
|
-
*
|
|
1199
|
+
* The system cloud disk size for master nodes. Valid values: [40,500\\]. Unit: GiB.
|
|
1169
1200
|
*
|
|
1170
1201
|
* Default value: `120`.
|
|
1171
1202
|
*
|
|
@@ -1177,9 +1208,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1177
1208
|
masterSystemDiskSize?: number;
|
|
1178
1209
|
/**
|
|
1179
1210
|
* @remarks
|
|
1180
|
-
*
|
|
1211
|
+
* **This field is deprecated.** For control plane configurations, use the `system_disk_snapshot_policy_id` parameter under `control_plane_config` instead.
|
|
1181
1212
|
*
|
|
1182
|
-
*
|
|
1213
|
+
* The automatic snapshot policy ID for the master node system cloud disk.
|
|
1183
1214
|
*
|
|
1184
1215
|
* @example
|
|
1185
1216
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -1189,18 +1220,18 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1189
1220
|
masterSystemDiskSnapshotPolicyId?: string;
|
|
1190
1221
|
/**
|
|
1191
1222
|
* @remarks
|
|
1192
|
-
*
|
|
1223
|
+
* **This field is deprecated.** Use the `vswitch_ids` parameter instead.
|
|
1193
1224
|
*
|
|
1194
|
-
*
|
|
1225
|
+
* 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.
|
|
1195
1226
|
*
|
|
1196
|
-
* The number of specified instance types must
|
|
1227
|
+
* 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`.
|
|
1197
1228
|
*
|
|
1198
1229
|
* @deprecated
|
|
1199
1230
|
*/
|
|
1200
1231
|
masterVswitchIds?: string[];
|
|
1201
1232
|
/**
|
|
1202
1233
|
* @remarks
|
|
1203
|
-
*
|
|
1234
|
+
* The custom cluster name. The name must be 1 to 63 characters in length and can contain digits, Chinese characters, letters, and hyphens (-). It cannot start with a hyphen (-).
|
|
1204
1235
|
*
|
|
1205
1236
|
* This parameter is required.
|
|
1206
1237
|
*
|
|
@@ -1210,7 +1241,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1210
1241
|
name?: string;
|
|
1211
1242
|
/**
|
|
1212
1243
|
* @remarks
|
|
1213
|
-
*
|
|
1244
|
+
* 【**该字段已废弃**】请使用参数`snat_entry`代替。
|
|
1214
1245
|
*
|
|
1215
1246
|
* @example
|
|
1216
1247
|
* true
|
|
@@ -1220,7 +1251,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1220
1251
|
natGateway?: boolean;
|
|
1221
1252
|
/**
|
|
1222
1253
|
* @remarks
|
|
1223
|
-
*
|
|
1254
|
+
* The number of IP addresses per node, determined by specifying the network CIDR mask. Only takes effect for Flannel network type clusters.
|
|
1224
1255
|
*
|
|
1225
1256
|
* Default value: `26`.
|
|
1226
1257
|
*
|
|
@@ -1230,7 +1261,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1230
1261
|
nodeCidrMask?: string;
|
|
1231
1262
|
/**
|
|
1232
1263
|
* @remarks
|
|
1233
|
-
*
|
|
1264
|
+
* **This field is deprecated.** For node pool configurations, use the `node_name_mode` parameter under `kubernetes_config` in `nodepool` instead.
|
|
1234
1265
|
*
|
|
1235
1266
|
* @example
|
|
1236
1267
|
* null
|
|
@@ -1240,7 +1271,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1240
1271
|
nodeNameMode?: string;
|
|
1241
1272
|
/**
|
|
1242
1273
|
* @remarks
|
|
1243
|
-
*
|
|
1274
|
+
* The node service port range. Valid values: [30000,65535\\].
|
|
1244
1275
|
*
|
|
1245
1276
|
* Default value: `30000-32767`.
|
|
1246
1277
|
*
|
|
@@ -1252,14 +1283,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1252
1283
|
nodePortRange?: string;
|
|
1253
1284
|
/**
|
|
1254
1285
|
* @remarks
|
|
1255
|
-
*
|
|
1286
|
+
* The list of node pools.
|
|
1256
1287
|
*/
|
|
1257
1288
|
nodepools?: Nodepool[];
|
|
1258
1289
|
/**
|
|
1259
1290
|
* @remarks
|
|
1260
|
-
*
|
|
1291
|
+
* **This field is deprecated.** For node pool configurations, use the `desired_size` parameter under `scaling_group` in `nodepool` instead.
|
|
1261
1292
|
*
|
|
1262
|
-
*
|
|
1293
|
+
* The number of worker nodes. Valid values: [0, 100\\].
|
|
1263
1294
|
*
|
|
1264
1295
|
* @example
|
|
1265
1296
|
* 3
|
|
@@ -1269,14 +1300,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1269
1300
|
numOfNodes?: number;
|
|
1270
1301
|
/**
|
|
1271
1302
|
* @remarks
|
|
1272
|
-
*
|
|
1303
|
+
* The cluster automatic O&M policy.
|
|
1273
1304
|
*/
|
|
1274
1305
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
1275
1306
|
/**
|
|
1276
1307
|
* @remarks
|
|
1277
|
-
*
|
|
1308
|
+
* **This field is deprecated.** For control plane node configurations, use the `image_type` parameter under `control_plane_config` instead. For node pool configurations, use the `image_type` parameter under `scaling_group` in `nodepool` instead.
|
|
1278
1309
|
*
|
|
1279
|
-
*
|
|
1310
|
+
* The operating system platform type. Valid values:
|
|
1280
1311
|
* - Windows
|
|
1281
1312
|
* - Linux
|
|
1282
1313
|
*
|
|
@@ -1290,15 +1321,15 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1290
1321
|
osType?: string;
|
|
1291
1322
|
/**
|
|
1292
1323
|
* @remarks
|
|
1293
|
-
*
|
|
1324
|
+
* 【**该字段已废弃**】
|
|
1294
1325
|
*
|
|
1295
|
-
*
|
|
1326
|
+
* 购买时长。包年包月时长,当charge_type取值为PrePaid时才生效,且为必选值。
|
|
1296
1327
|
*
|
|
1297
|
-
*
|
|
1328
|
+
* 取值范围:{1, 2, 3, 6, 12, 24, 36, 48, 60}。
|
|
1298
1329
|
*
|
|
1299
|
-
*
|
|
1330
|
+
* 默认值:1。
|
|
1300
1331
|
*
|
|
1301
|
-
*
|
|
1332
|
+
* 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
1302
1333
|
*
|
|
1303
1334
|
* @example
|
|
1304
1335
|
* 1
|
|
@@ -1308,13 +1339,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1308
1339
|
period?: number;
|
|
1309
1340
|
/**
|
|
1310
1341
|
* @remarks
|
|
1311
|
-
*
|
|
1342
|
+
* 【**该字段已废弃**】
|
|
1312
1343
|
*
|
|
1313
|
-
*
|
|
1344
|
+
* 付费周期,当付费类型为PrePaid的时候,需要指定周期。
|
|
1314
1345
|
*
|
|
1315
|
-
*
|
|
1346
|
+
* 取值:Month,当前仅支持以月为周期。
|
|
1316
1347
|
*
|
|
1317
|
-
*
|
|
1348
|
+
* 该字段于2024年10月15日存在变更,更多信息,请参见[关于集群创建接口CreateCluster参数行为变更的公告](https://help.aliyun.com/document_detail/2849194.html)。
|
|
1318
1349
|
*
|
|
1319
1350
|
* @example
|
|
1320
1351
|
* Month
|
|
@@ -1324,9 +1355,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1324
1355
|
periodUnit?: string;
|
|
1325
1356
|
/**
|
|
1326
1357
|
* @remarks
|
|
1327
|
-
*
|
|
1358
|
+
* **This field is deprecated.** For node pool configurations, use the `platform` parameter under `scaling_group` in `nodepool` instead.
|
|
1328
1359
|
*
|
|
1329
|
-
*
|
|
1360
|
+
* The operating system distribution. Valid values:
|
|
1330
1361
|
*
|
|
1331
1362
|
* - CentOS
|
|
1332
1363
|
* - AliyunLinux
|
|
@@ -1345,19 +1376,19 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1345
1376
|
platform?: string;
|
|
1346
1377
|
/**
|
|
1347
1378
|
* @remarks
|
|
1348
|
-
*
|
|
1349
|
-
* > The CIDR mask of Pod
|
|
1379
|
+
* **This field is deprecated.** When you select Terway as the network plugin, you must assign vSwitches for Pod IP 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.
|
|
1380
|
+
* > 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.
|
|
1350
1381
|
*
|
|
1351
1382
|
* @deprecated
|
|
1352
1383
|
*/
|
|
1353
1384
|
podVswitchIds?: string[];
|
|
1354
1385
|
/**
|
|
1355
1386
|
* @remarks
|
|
1356
|
-
* When `cluster_type`
|
|
1357
|
-
* - `Default`: ACK managed cluster, including ACK
|
|
1358
|
-
* - `Edge`: ACK Edge cluster, including ACK Edge
|
|
1359
|
-
* - `Serverless`: ACK Serverless cluster, including ACK Serverless
|
|
1360
|
-
* - `Lingjun`: ACK Lingjun cluster, available in Pro
|
|
1387
|
+
* When you set `cluster_type` to `ManagedKubernetes` (ACK managed cluster types), you can further specify the cluster subtype.
|
|
1388
|
+
* - `Default`: ACK managed cluster, including ACK clusters (Pro and Basic).
|
|
1389
|
+
* - `Edge`: ACK Edge cluster, including ACK Edge clusters (Pro and Basic).
|
|
1390
|
+
* - `Serverless`: ACK Serverless cluster, including ACK Serverless clusters (Pro and Basic).
|
|
1391
|
+
* - `Lingjun`: ACK Lingjun cluster, available in Pro.
|
|
1361
1392
|
*
|
|
1362
1393
|
* @example
|
|
1363
1394
|
* Default
|
|
@@ -1365,12 +1396,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1365
1396
|
profile?: string;
|
|
1366
1397
|
/**
|
|
1367
1398
|
* @remarks
|
|
1368
|
-
* kube-proxy mode
|
|
1399
|
+
* The kube-proxy mode.
|
|
1369
1400
|
*
|
|
1370
|
-
* - `iptables`: A mature and stable kube-proxy mode.
|
|
1371
|
-
* - `ipvs`: A high-performance kube-proxy mode.
|
|
1372
|
-
* - `nftables`:
|
|
1373
|
-
* Only supported for clusters
|
|
1401
|
+
* - `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.
|
|
1402
|
+
* - `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.
|
|
1403
|
+
* - `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.
|
|
1404
|
+
* 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.
|
|
1374
1405
|
*
|
|
1375
1406
|
* Default value: `ipvs`.
|
|
1376
1407
|
*
|
|
@@ -1380,16 +1411,16 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1380
1411
|
proxyMode?: string;
|
|
1381
1412
|
/**
|
|
1382
1413
|
* @remarks
|
|
1383
|
-
*
|
|
1414
|
+
* **This field is deprecated.** For node pool configurations, use the `rds_instances` parameter under `scaling_group` in `nodepool` instead.
|
|
1384
1415
|
*
|
|
1385
|
-
*
|
|
1416
|
+
* 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.
|
|
1386
1417
|
*
|
|
1387
1418
|
* @deprecated
|
|
1388
1419
|
*/
|
|
1389
1420
|
rdsInstances?: string[];
|
|
1390
1421
|
/**
|
|
1391
1422
|
* @remarks
|
|
1392
|
-
* The region ID
|
|
1423
|
+
* The region ID of the cluster. For more information, see [Regions supported by Container Service](https://help.aliyun.com/document_detail/216938.html).
|
|
1393
1424
|
*
|
|
1394
1425
|
* This parameter is required.
|
|
1395
1426
|
*
|
|
@@ -1399,7 +1430,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1399
1430
|
regionId?: string;
|
|
1400
1431
|
/**
|
|
1401
1432
|
* @remarks
|
|
1402
|
-
* The resource group ID
|
|
1433
|
+
* The resource group ID of the cluster, used to isolate different resources.
|
|
1403
1434
|
*
|
|
1404
1435
|
* @example
|
|
1405
1436
|
* rg-acfm3mkrure****
|
|
@@ -1407,22 +1438,22 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1407
1438
|
resourceGroupId?: string;
|
|
1408
1439
|
/**
|
|
1409
1440
|
* @remarks
|
|
1410
|
-
* RRSA
|
|
1441
|
+
* The RRSA configuration.
|
|
1411
1442
|
*/
|
|
1412
1443
|
rrsaConfig?: CreateClusterRequestRrsaConfig;
|
|
1413
1444
|
/**
|
|
1414
1445
|
* @remarks
|
|
1415
|
-
*
|
|
1446
|
+
* The container runtime of the cluster. Supported runtimes include containerd, sandboxed containers, and Docker.
|
|
1416
1447
|
* > Kubernetes 1.24 no longer supports Docker as a built-in container runtime.
|
|
1417
1448
|
*
|
|
1418
|
-
* For more information, see [Comparison
|
|
1449
|
+
* For more information, see [Comparison among Docker, containerd, and sandboxed container runtimes](https://help.aliyun.com/document_detail/160313.html).
|
|
1419
1450
|
*
|
|
1420
1451
|
* @deprecated
|
|
1421
1452
|
*/
|
|
1422
1453
|
runtime?: Runtime;
|
|
1423
1454
|
/**
|
|
1424
1455
|
* @remarks
|
|
1425
|
-
*
|
|
1456
|
+
* The security group ID. Specify this parameter when creating a cluster with an existing security group. Mutually exclusive with `is_enterprise_security_group`. Cluster nodes are automatically added to this security group.
|
|
1426
1457
|
*
|
|
1427
1458
|
* @example
|
|
1428
1459
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -1430,12 +1461,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1430
1461
|
securityGroupId?: string;
|
|
1431
1462
|
/**
|
|
1432
1463
|
* @remarks
|
|
1433
|
-
*
|
|
1464
|
+
* **This field is deprecated.** For control plane configurations, use the `security_hardening_os` parameter under `control_plane_config` instead. For node pool configurations, use the `security_hardening_os` parameter under `scaling_group` in `nodepool` instead.
|
|
1434
1465
|
*
|
|
1435
1466
|
* Alibaba Cloud OS security hardening. Valid values:
|
|
1436
1467
|
*
|
|
1437
|
-
* - `true`:
|
|
1438
|
-
* - `false`:
|
|
1468
|
+
* - `true`: Enables Alibaba Cloud OS security hardening.
|
|
1469
|
+
* - `false`: Does not enable Alibaba Cloud OS security hardening.
|
|
1439
1470
|
*
|
|
1440
1471
|
* Default value: `false`.
|
|
1441
1472
|
*
|
|
@@ -1447,9 +1478,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1447
1478
|
securityHardeningOs?: boolean;
|
|
1448
1479
|
/**
|
|
1449
1480
|
* @remarks
|
|
1450
|
-
* ServiceAccount is the access credential for communication between
|
|
1481
|
+
* 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`.
|
|
1451
1482
|
*
|
|
1452
|
-
* For more
|
|
1483
|
+
* For more information about `ServiceAccount`, see [Deploy service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
1453
1484
|
*
|
|
1454
1485
|
* @example
|
|
1455
1486
|
* kubernetes.default.svc
|
|
@@ -1457,7 +1488,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1457
1488
|
serviceAccountIssuer?: string;
|
|
1458
1489
|
/**
|
|
1459
1490
|
* @remarks
|
|
1460
|
-
* 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.
|
|
1491
|
+
* 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. It cannot overlap with the VPC CIDR block 10.1.0.0/21 or CIDR blocks used by existing Kubernetes clusters in the VPC. It cannot be modified after creation.
|
|
1461
1492
|
*
|
|
1462
1493
|
* Default value: 172.19.0.0/20.
|
|
1463
1494
|
*
|
|
@@ -1467,24 +1498,24 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1467
1498
|
serviceCidr?: string;
|
|
1468
1499
|
/**
|
|
1469
1500
|
* @remarks
|
|
1470
|
-
*
|
|
1501
|
+
* 【**该字段已废弃**】集群内服务发现类型,用于在`ACK Serverless`集群中指定服务发现方式。
|
|
1471
1502
|
*
|
|
1472
|
-
* - `CoreDNS
|
|
1473
|
-
* - `PrivateZone
|
|
1503
|
+
* - `CoreDNS`:使用Kubernetes原生标准服务发现组件CoreDNS,需要在集群部署一组容器用于DNS解析。默认采用两个0.25 Core 512 MiB规格的ECI实例。
|
|
1504
|
+
* - `PrivateZone`:使用阿里云PrivateZone产品提供服务发现能力,需要开启PrivateZone服务。
|
|
1474
1505
|
*
|
|
1475
|
-
*
|
|
1506
|
+
* 默认值:不开启。
|
|
1476
1507
|
*
|
|
1477
1508
|
* @deprecated
|
|
1478
1509
|
*/
|
|
1479
1510
|
serviceDiscoveryTypes?: string[];
|
|
1480
1511
|
/**
|
|
1481
1512
|
* @remarks
|
|
1482
|
-
*
|
|
1513
|
+
* Settings for configuring SNAT for the VPC. Valid values:
|
|
1483
1514
|
*
|
|
1484
|
-
* - `true`:
|
|
1485
|
-
* - `false`: Do not create a NAT gateway or SNAT rules. Nodes and applications in the cluster
|
|
1515
|
+
* - `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.
|
|
1516
|
+
* - `false`: Do not create a NAT gateway or SNAT rules. Nodes and applications in the cluster cannot access the Internet.
|
|
1486
1517
|
*
|
|
1487
|
-
* > If not enabled during cluster creation and
|
|
1518
|
+
* > 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).
|
|
1488
1519
|
*
|
|
1489
1520
|
* Default value: `false`.
|
|
1490
1521
|
*
|
|
@@ -1494,13 +1525,13 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1494
1525
|
snatEntry?: boolean;
|
|
1495
1526
|
/**
|
|
1496
1527
|
* @remarks
|
|
1497
|
-
*
|
|
1528
|
+
* **This field is deprecated.** For control plane node configurations, use the `soc_enabled` parameter under `control_plane_config` instead. For node pool configurations, use the `soc_enabled` parameter under `scaling_group` in `nodepool` instead.
|
|
1498
1529
|
*
|
|
1499
|
-
*
|
|
1530
|
+
* 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).
|
|
1500
1531
|
*
|
|
1501
1532
|
* Valid values:
|
|
1502
|
-
* - `true`:
|
|
1503
|
-
* - `false`:
|
|
1533
|
+
* - `true`: Enables MLPS 2.0 security hardening.
|
|
1534
|
+
* - `false`: Does not enable MLPS 2.0 security hardening.
|
|
1504
1535
|
*
|
|
1505
1536
|
* Default value: `false`.
|
|
1506
1537
|
*
|
|
@@ -1512,9 +1543,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1512
1543
|
socEnabled?: boolean;
|
|
1513
1544
|
/**
|
|
1514
1545
|
* @remarks
|
|
1515
|
-
*
|
|
1546
|
+
* Specifies whether to enable public SSH logon. Used to log on to the master nodes of ACK dedicated clusters. This parameter does not take effect for managed clusters.
|
|
1516
1547
|
* - `true`: Enable.
|
|
1517
|
-
* - `false`:
|
|
1548
|
+
* - `false`: Do not enable.
|
|
1518
1549
|
*
|
|
1519
1550
|
* Default value: `false`.
|
|
1520
1551
|
*
|
|
@@ -1524,28 +1555,28 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1524
1555
|
sshFlags?: boolean;
|
|
1525
1556
|
/**
|
|
1526
1557
|
* @remarks
|
|
1527
|
-
*
|
|
1558
|
+
* The node tags. Tag definition rules:
|
|
1528
1559
|
*
|
|
1529
|
-
* - Tags
|
|
1530
|
-
* - Tag keys cannot be duplicated
|
|
1560
|
+
* - Tags are composed of case-sensitive key-value pairs. You can set up to 20 tags.
|
|
1561
|
+
* - 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).
|
|
1531
1562
|
*/
|
|
1532
1563
|
tags?: Tag[];
|
|
1533
1564
|
/**
|
|
1534
1565
|
* @remarks
|
|
1535
|
-
*
|
|
1566
|
+
* **This field is deprecated.** For node pool configurations, use the `taints` parameter under `kubernetes_config` in `nodepool` instead.
|
|
1536
1567
|
*
|
|
1537
|
-
*
|
|
1568
|
+
* 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/).
|
|
1538
1569
|
*
|
|
1539
1570
|
* @deprecated
|
|
1540
1571
|
*/
|
|
1541
1572
|
taints?: Taint[];
|
|
1542
1573
|
/**
|
|
1543
1574
|
* @remarks
|
|
1544
|
-
*
|
|
1575
|
+
* 【**该字段已废弃**】集群创建失败时默认不会进行回滚,您需要自行清理创建失败的集群。
|
|
1545
1576
|
*
|
|
1546
|
-
*
|
|
1577
|
+
* 集群创建超时时间,单位分钟。
|
|
1547
1578
|
*
|
|
1548
|
-
*
|
|
1579
|
+
* 默认值:`60`。
|
|
1549
1580
|
*
|
|
1550
1581
|
* @example
|
|
1551
1582
|
* 60
|
|
@@ -1555,7 +1586,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1555
1586
|
timeoutMins?: number;
|
|
1556
1587
|
/**
|
|
1557
1588
|
* @remarks
|
|
1558
|
-
* The
|
|
1589
|
+
* The time zone used by the cluster. See [Supported time zones](https://help.aliyun.com/document_detail/354879.html).
|
|
1559
1590
|
*
|
|
1560
1591
|
* @example
|
|
1561
1592
|
* Asia/Shanghai
|
|
@@ -1563,7 +1594,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1563
1594
|
timezone?: string;
|
|
1564
1595
|
/**
|
|
1565
1596
|
* @remarks
|
|
1566
|
-
*
|
|
1597
|
+
* The custom cluster CA.
|
|
1567
1598
|
*
|
|
1568
1599
|
* @example
|
|
1569
1600
|
* -----BEGIN CERTIFICATE-----****
|
|
@@ -1571,7 +1602,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1571
1602
|
userCa?: string;
|
|
1572
1603
|
/**
|
|
1573
1604
|
* @remarks
|
|
1574
|
-
*
|
|
1605
|
+
* **This field is deprecated.** The custom node data.
|
|
1575
1606
|
*
|
|
1576
1607
|
* @example
|
|
1577
1608
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -1581,7 +1612,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1581
1612
|
userData?: string;
|
|
1582
1613
|
/**
|
|
1583
1614
|
* @remarks
|
|
1584
|
-
* The VPC used by the cluster.
|
|
1615
|
+
* The VPC used by the cluster. You must provide a VPC when creating a cluster.
|
|
1585
1616
|
*
|
|
1586
1617
|
* @example
|
|
1587
1618
|
* vpc-2zeik9h3ahvv2zz95****
|
|
@@ -1589,19 +1620,19 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1589
1620
|
vpcid?: string;
|
|
1590
1621
|
/**
|
|
1591
1622
|
* @remarks
|
|
1592
|
-
* vSwitches for cluster nodes. This field is required when creating a zero-node managed cluster.
|
|
1623
|
+
* The vSwitches for cluster nodes. This field is required when creating a zero-node managed cluster.
|
|
1593
1624
|
*/
|
|
1594
1625
|
vswitchIds?: string[];
|
|
1595
1626
|
/**
|
|
1596
1627
|
* @remarks
|
|
1597
|
-
*
|
|
1628
|
+
* 【**该字段已废弃**】节点池配置请使用`nodepool`中`scaling_group`下的`auto_renew`参数代替。
|
|
1598
1629
|
*
|
|
1599
|
-
*
|
|
1630
|
+
* Worker节点是否开启自动续费,当`worker_instance_charge_type`取值为`PrePaid`时才生效,取值:
|
|
1600
1631
|
*
|
|
1601
|
-
* - `true
|
|
1602
|
-
* - `false
|
|
1632
|
+
* - `true`:自动续费。
|
|
1633
|
+
* - `false`:不自动续费。
|
|
1603
1634
|
*
|
|
1604
|
-
*
|
|
1635
|
+
* 默认值:`true`。
|
|
1605
1636
|
*
|
|
1606
1637
|
* @example
|
|
1607
1638
|
* true
|
|
@@ -1611,12 +1642,12 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1611
1642
|
workerAutoRenew?: boolean;
|
|
1612
1643
|
/**
|
|
1613
1644
|
* @remarks
|
|
1614
|
-
*
|
|
1645
|
+
* 【**该字段已废弃**】节点池配置请使用`nodepool`中`scaling_group`下的`auto_renew_period`参数代替。
|
|
1615
1646
|
*
|
|
1616
1647
|
*
|
|
1617
|
-
* Worker
|
|
1648
|
+
* Worker节点自动续费周期,当选择包年包月付费类型时才生效,且为必选值。
|
|
1618
1649
|
*
|
|
1619
|
-
*
|
|
1650
|
+
* 取值范围:{1, 2, 3, 6, 12}。
|
|
1620
1651
|
*
|
|
1621
1652
|
* @example
|
|
1622
1653
|
* 1
|
|
@@ -1626,23 +1657,23 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1626
1657
|
workerAutoRenewPeriod?: number;
|
|
1627
1658
|
/**
|
|
1628
1659
|
* @remarks
|
|
1629
|
-
*
|
|
1660
|
+
* **This field is deprecated.** For node pool configurations, use the `data_disks` parameter under `scaling_group` in `nodepool` instead.
|
|
1630
1661
|
*
|
|
1631
|
-
*
|
|
1662
|
+
* The data cloud disk type, size, and other configurations for worker nodes.
|
|
1632
1663
|
*
|
|
1633
1664
|
* @deprecated
|
|
1634
1665
|
*/
|
|
1635
1666
|
workerDataDisks?: CreateClusterRequestWorkerDataDisks[];
|
|
1636
1667
|
/**
|
|
1637
1668
|
* @remarks
|
|
1638
|
-
*
|
|
1669
|
+
* **This field is deprecated.** For node pool configurations, use the `instance_charge_type` parameter under `scaling_group` in `nodepool` instead.
|
|
1639
1670
|
*
|
|
1640
|
-
*
|
|
1671
|
+
* The billing method for worker nodes. Valid values:
|
|
1641
1672
|
*
|
|
1642
|
-
* - `PrePaid`:
|
|
1643
|
-
* - `PostPaid`:
|
|
1673
|
+
* - `PrePaid`: subscription.
|
|
1674
|
+
* - `PostPaid`: pay-as-you-go.
|
|
1644
1675
|
*
|
|
1645
|
-
* Default value:
|
|
1676
|
+
* Default value: pay-as-you-go.
|
|
1646
1677
|
*
|
|
1647
1678
|
* @example
|
|
1648
1679
|
* PrePaid
|
|
@@ -1652,22 +1683,18 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1652
1683
|
workerInstanceChargeType?: string;
|
|
1653
1684
|
/**
|
|
1654
1685
|
* @remarks
|
|
1655
|
-
*
|
|
1686
|
+
* **This field is deprecated.** For node pool configurations, use the `instance_types` parameter under `scaling_group` in `nodepool` instead.
|
|
1656
1687
|
*
|
|
1657
|
-
*
|
|
1688
|
+
* The instance configuration for worker nodes.
|
|
1658
1689
|
*
|
|
1659
1690
|
* @deprecated
|
|
1660
1691
|
*/
|
|
1661
1692
|
workerInstanceTypes?: string[];
|
|
1662
1693
|
/**
|
|
1663
1694
|
* @remarks
|
|
1664
|
-
*
|
|
1665
|
-
*
|
|
1666
|
-
* Worker node subscription duration. Valid and required when `worker_instance_charge_type` is set to `PrePaid`.
|
|
1667
|
-
*
|
|
1668
|
-
* Valid values: {1, 2, 3, 6, 12, 24, 36, 48, 60}.
|
|
1695
|
+
* **This field is deprecated.** For node pool configurations, use the `period` parameter under `scaling_group` in `nodepool` instead.
|
|
1669
1696
|
*
|
|
1670
|
-
*
|
|
1697
|
+
* The subscription duration for worker nodes. This parameter takes effect and is required only when `worker_
|
|
1671
1698
|
*
|
|
1672
1699
|
* @example
|
|
1673
1700
|
* 1
|
|
@@ -1677,11 +1704,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1677
1704
|
workerPeriod?: number;
|
|
1678
1705
|
/**
|
|
1679
1706
|
* @remarks
|
|
1680
|
-
*
|
|
1707
|
+
* **This field is deprecated.** For node pool configurations, use the `period_unit` parameter under `scaling_group` in `nodepool` instead.
|
|
1681
1708
|
*
|
|
1682
|
-
*
|
|
1709
|
+
* The billing period unit for worker nodes. This parameter is required when the billing method is `PrePaid`.
|
|
1683
1710
|
*
|
|
1684
|
-
* Valid
|
|
1711
|
+
* Valid values: `Month`. Only monthly billing is supported.
|
|
1685
1712
|
*
|
|
1686
1713
|
* @example
|
|
1687
1714
|
* Month
|
|
@@ -1691,14 +1718,14 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1691
1718
|
workerPeriodUnit?: string;
|
|
1692
1719
|
/**
|
|
1693
1720
|
* @remarks
|
|
1694
|
-
*
|
|
1721
|
+
* **This field is deprecated.** For node pool configurations, use the `system_disk_category` parameter under `scaling_group` in `nodepool` instead.
|
|
1695
1722
|
*
|
|
1696
|
-
*
|
|
1723
|
+
* The system cloud disk type for worker nodes. For more information, see [Block storage overview](https://help.aliyun.com/document_detail/63136.html).
|
|
1697
1724
|
*
|
|
1698
1725
|
* Valid values:
|
|
1699
1726
|
*
|
|
1700
|
-
* - `cloud_efficiency`:
|
|
1701
|
-
* - `cloud_ssd`: SSD
|
|
1727
|
+
* - `cloud_efficiency`: ultra cloud disk.
|
|
1728
|
+
* - `cloud_ssd`: standard SSD.
|
|
1702
1729
|
*
|
|
1703
1730
|
*
|
|
1704
1731
|
* Default value: `cloud_ssd`.
|
|
@@ -1711,9 +1738,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1711
1738
|
workerSystemDiskCategory?: string;
|
|
1712
1739
|
/**
|
|
1713
1740
|
* @remarks
|
|
1714
|
-
*
|
|
1741
|
+
* **This field is deprecated.** For node pool configurations, use the `system_disk_performance_level` parameter under `scaling_group` in `nodepool` instead.
|
|
1715
1742
|
*
|
|
1716
|
-
* When the system disk is an ESSD
|
|
1743
|
+
* 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).
|
|
1717
1744
|
*
|
|
1718
1745
|
* Valid values:
|
|
1719
1746
|
*
|
|
@@ -1730,11 +1757,11 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1730
1757
|
workerSystemDiskPerformanceLevel?: string;
|
|
1731
1758
|
/**
|
|
1732
1759
|
* @remarks
|
|
1733
|
-
*
|
|
1760
|
+
* **This field is deprecated.** For node pool configurations, use the `system_disk_size` parameter under `scaling_group` in `nodepool` instead.
|
|
1734
1761
|
*
|
|
1735
|
-
*
|
|
1762
|
+
* The system cloud disk size for worker nodes. Unit: GiB.
|
|
1736
1763
|
*
|
|
1737
|
-
* Valid values: [40,
|
|
1764
|
+
* Valid values: [40,500\\].
|
|
1738
1765
|
*
|
|
1739
1766
|
* The value must be greater than or equal to max{40, ImageSize}.
|
|
1740
1767
|
*
|
|
@@ -1748,9 +1775,9 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1748
1775
|
workerSystemDiskSize?: number;
|
|
1749
1776
|
/**
|
|
1750
1777
|
* @remarks
|
|
1751
|
-
*
|
|
1778
|
+
* **This field is deprecated.** For node pool configurations, use the `system_disk_snapshot_policy_id` parameter under `scaling_group` in `nodepool` instead.
|
|
1752
1779
|
*
|
|
1753
|
-
*
|
|
1780
|
+
* The automatic snapshot policy ID for the worker node system cloud disk.
|
|
1754
1781
|
*
|
|
1755
1782
|
* @example
|
|
1756
1783
|
* sp-2zej1nogjvovnz4z****
|
|
@@ -1760,22 +1787,22 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1760
1787
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
1761
1788
|
/**
|
|
1762
1789
|
* @remarks
|
|
1763
|
-
*
|
|
1790
|
+
* **This field is deprecated.** For node pool configurations, use the `vswitch_ids` parameter under `scaling_group` in `nodepool` instead.
|
|
1764
1791
|
*
|
|
1765
|
-
*
|
|
1792
|
+
* The list of vSwitches used by cluster nodes. Each node corresponds to one value.
|
|
1766
1793
|
*
|
|
1767
|
-
* When creating a zero-node managed cluster, the `worker_vswitch_ids` field is not required, but
|
|
1794
|
+
* When creating a zero-node managed cluster, the `worker_vswitch_ids` field is not required, but you must provide `vswitch_ids`.
|
|
1768
1795
|
*
|
|
1769
1796
|
* @deprecated
|
|
1770
1797
|
*/
|
|
1771
1798
|
workerVswitchIds?: string[];
|
|
1772
1799
|
/**
|
|
1773
1800
|
* @remarks
|
|
1774
|
-
*
|
|
1801
|
+
* 【**该字段已废弃**】请使用`zone_ids`参数代替。
|
|
1775
1802
|
*
|
|
1776
|
-
*
|
|
1803
|
+
* 集群所属地域的可用区ID。此参数为ACK托管类的集群特有参数。
|
|
1777
1804
|
*
|
|
1778
|
-
*
|
|
1805
|
+
* 当创建ACK托管类的集群时,如果未指定`vpc_id`和`vswitch_ids`,必须为集群指定`zone_id`,用于自动在该可用区创建VPC网络资源;指定`vpc_id`和`vswitch_ids`时,该参数无效。
|
|
1779
1806
|
*
|
|
1780
1807
|
* @example
|
|
1781
1808
|
* cn-beiji****
|
|
@@ -1785,7 +1812,7 @@ export declare class CreateClusterRequest extends $dara.Model {
|
|
|
1785
1812
|
zoneId?: string;
|
|
1786
1813
|
/**
|
|
1787
1814
|
* @remarks
|
|
1788
|
-
*
|
|
1815
|
+
* The zone IDs of the region where the cluster resides. This parameter is specific to ACK managed cluster types.
|
|
1789
1816
|
*/
|
|
1790
1817
|
zoneIds?: string[];
|
|
1791
1818
|
static names(): {
|