@alicloud/cs20151215 4.7.10 → 4.7.11
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 +500 -295
- package/dist/client.js +41 -26
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +516 -295
package/dist/client.d.ts
CHANGED
|
@@ -489,14 +489,14 @@ export declare class QuotasValue extends $tea.Model {
|
|
|
489
489
|
export declare class AttachInstancesRequest extends $tea.Model {
|
|
490
490
|
/**
|
|
491
491
|
* @remarks
|
|
492
|
-
* The CPU management policy. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later
|
|
492
|
+
* The CPU management policy of the node. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
493
493
|
*
|
|
494
|
-
* * `static`:
|
|
495
|
-
* * `none`:
|
|
494
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted enhanced CPU affinity and exclusivity.
|
|
495
|
+
* * `none`: specifies that the default CPU affinity is used.
|
|
496
496
|
*
|
|
497
497
|
* Default value: `none`.
|
|
498
498
|
*
|
|
499
|
-
* > This parameter is not supported if you specify
|
|
499
|
+
* > This parameter is not supported if you specify `nodepool_id`.
|
|
500
500
|
*
|
|
501
501
|
* @example
|
|
502
502
|
* none
|
|
@@ -511,12 +511,12 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
511
511
|
*
|
|
512
512
|
* Default value: `false`.
|
|
513
513
|
*
|
|
514
|
-
* How
|
|
514
|
+
* How data disks are attached:
|
|
515
515
|
*
|
|
516
|
-
* * If the ECS
|
|
517
|
-
* * If no data disk is attached to the ECS
|
|
516
|
+
* * If the ECS instance is already attached with data disks and the file system of the last data disk is not initialized, the system automatically formats this data disk to ext4. Then, the system uses the disk to store the data in the /var/lib/docker and /var/lib/kubelet directories.
|
|
517
|
+
* * If no data disk is attached to the ECS instance, the system does not purchase a new data disk.
|
|
518
518
|
*
|
|
519
|
-
* > If you choose to store container data and images on data disks and a data disk is already
|
|
519
|
+
* > If you choose to store container data and images on data disks and a data disk is already attached to the ECS instance, the original data on this data disk is cleared. You can back up the disk to prevent data loss.
|
|
520
520
|
*
|
|
521
521
|
* @example
|
|
522
522
|
* false
|
|
@@ -524,13 +524,13 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
524
524
|
formatDisk?: boolean;
|
|
525
525
|
/**
|
|
526
526
|
* @remarks
|
|
527
|
-
* The
|
|
527
|
+
* The custom image ID. If you do not specify this parameter, the default system image is used.
|
|
528
528
|
*
|
|
529
529
|
* >
|
|
530
530
|
*
|
|
531
|
-
* * If you specify a custom image, the custom image is used to deploy the operating
|
|
531
|
+
* * If you specify a custom image, the custom image is used to deploy the operating system on the system disk of the node.
|
|
532
532
|
*
|
|
533
|
-
* * This parameter is not supported
|
|
533
|
+
* * This parameter is not supported if you specify `nodepool_id`.
|
|
534
534
|
*
|
|
535
535
|
* @example
|
|
536
536
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -538,21 +538,21 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
538
538
|
imageId?: string;
|
|
539
539
|
/**
|
|
540
540
|
* @remarks
|
|
541
|
-
* The ECS instances to
|
|
541
|
+
* The ECS instances that you want to add.
|
|
542
542
|
*
|
|
543
543
|
* This parameter is required.
|
|
544
544
|
*/
|
|
545
545
|
instances?: string[];
|
|
546
546
|
/**
|
|
547
547
|
* @remarks
|
|
548
|
-
* Specifies whether the
|
|
548
|
+
* Specifies whether the node that you want to add is an Edge Node Service (ENS) node. Valid values:
|
|
549
549
|
*
|
|
550
|
-
* * `true`:
|
|
551
|
-
* * `false`:
|
|
550
|
+
* * `true`: the node that you want to add is an ENS node.
|
|
551
|
+
* * `false`: the node that you want to add is not an ENS node.
|
|
552
552
|
*
|
|
553
553
|
* Default value: `false`.
|
|
554
554
|
*
|
|
555
|
-
* > If the
|
|
555
|
+
* > If the node that you want to add is an ENS node, you must set the value to `true`. This allows you to identify the node.
|
|
556
556
|
*
|
|
557
557
|
* @example
|
|
558
558
|
* false
|
|
@@ -565,7 +565,7 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
565
565
|
* * `true`: retains the instance name.
|
|
566
566
|
* * `false`: does not retain the instance name.
|
|
567
567
|
*
|
|
568
|
-
* Default value: `
|
|
568
|
+
* Default value: `false`.
|
|
569
569
|
*
|
|
570
570
|
* @example
|
|
571
571
|
* true
|
|
@@ -573,9 +573,9 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
573
573
|
keepInstanceName?: boolean;
|
|
574
574
|
/**
|
|
575
575
|
* @remarks
|
|
576
|
-
* The name of the key pair
|
|
576
|
+
* The name of the key pair used to log on to the ECS instances. You must specify this parameter or `login_password`.
|
|
577
577
|
*
|
|
578
|
-
* > This parameter is not supported if you specify
|
|
578
|
+
* > This parameter is not supported if you specify `nodepool_id`.
|
|
579
579
|
*
|
|
580
580
|
* @example
|
|
581
581
|
* secrity-key
|
|
@@ -583,7 +583,7 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
583
583
|
keyPair?: string;
|
|
584
584
|
/**
|
|
585
585
|
* @remarks
|
|
586
|
-
* The node pool
|
|
586
|
+
* The ID of the node pool to which the node is added. If you do not specify this parameter, the node is added to the default node pool.
|
|
587
587
|
*
|
|
588
588
|
* @example
|
|
589
589
|
* np615c0e0966124216a0412e10afe0****
|
|
@@ -591,9 +591,9 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
591
591
|
nodepoolId?: string;
|
|
592
592
|
/**
|
|
593
593
|
* @remarks
|
|
594
|
-
* The SSH logon password
|
|
594
|
+
* The SSH logon password used to log on to the ECS instances. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters. The password cannot contain backslashes (\\\\) or double quotation marks (").
|
|
595
595
|
*
|
|
596
|
-
*
|
|
596
|
+
* The password is encrypted during data transfer to ensure security.
|
|
597
597
|
*
|
|
598
598
|
* @example
|
|
599
599
|
* Hello1234
|
|
@@ -608,24 +608,24 @@ export declare class AttachInstancesRequest extends $tea.Model {
|
|
|
608
608
|
* @remarks
|
|
609
609
|
* The container runtime.
|
|
610
610
|
*
|
|
611
|
-
* > This parameter is not supported if you specify
|
|
611
|
+
* > This parameter is not supported if you specify `nodepool_id`.
|
|
612
612
|
*/
|
|
613
613
|
runtime?: Runtime;
|
|
614
614
|
/**
|
|
615
615
|
* @remarks
|
|
616
|
-
* The labels that you want to add to
|
|
616
|
+
* The labels that you want to add to the node. When you add labels to a node, the following rules apply:
|
|
617
617
|
*
|
|
618
|
-
* *
|
|
619
|
-
* *
|
|
618
|
+
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
619
|
+
* * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and 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).
|
|
620
620
|
*
|
|
621
|
-
* > This parameter is not supported if you specify
|
|
621
|
+
* > This parameter is not supported if you specify `nodepool_id`.
|
|
622
622
|
*/
|
|
623
623
|
tags?: Tag[];
|
|
624
624
|
/**
|
|
625
625
|
* @remarks
|
|
626
|
-
*
|
|
626
|
+
* The user-defined data on the node. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
627
627
|
*
|
|
628
|
-
* > This parameter is not supported if you specify
|
|
628
|
+
* > This parameter is not supported if you specify `nodepool_id`.
|
|
629
629
|
*
|
|
630
630
|
* @example
|
|
631
631
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -1013,17 +1013,15 @@ export declare class CleanClusterUserPermissionsResponse extends $tea.Model {
|
|
|
1013
1013
|
export declare class CleanUserPermissionsRequest extends $tea.Model {
|
|
1014
1014
|
/**
|
|
1015
1015
|
* @remarks
|
|
1016
|
-
* The cluster IDs.
|
|
1017
|
-
*
|
|
1018
|
-
* * If cluster IDs are specified, only the kubeconfig files of the specified clusters and the relevant RBAC permissions are deleted and revoked.
|
|
1016
|
+
* The cluster IDs. If you specify a list of cluster IDs, only the kubeconfig files and RBAC permissions of the clusters that belong to the current user in the list are revoked.
|
|
1019
1017
|
*/
|
|
1020
1018
|
clusterIds?: string[];
|
|
1021
1019
|
/**
|
|
1022
1020
|
* @remarks
|
|
1023
1021
|
* Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
|
|
1024
1022
|
*
|
|
1025
|
-
* *
|
|
1026
|
-
* *
|
|
1023
|
+
* * false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved.
|
|
1024
|
+
* * true: forcefully deletes the kubeconfig files without checking the cluster access records.
|
|
1027
1025
|
*
|
|
1028
1026
|
* @example
|
|
1029
1027
|
* false
|
|
@@ -1042,17 +1040,15 @@ export declare class CleanUserPermissionsRequest extends $tea.Model {
|
|
|
1042
1040
|
export declare class CleanUserPermissionsShrinkRequest extends $tea.Model {
|
|
1043
1041
|
/**
|
|
1044
1042
|
* @remarks
|
|
1045
|
-
* The cluster IDs.
|
|
1046
|
-
*
|
|
1047
|
-
* * If cluster IDs are specified, only the kubeconfig files of the specified clusters and the relevant RBAC permissions are deleted and revoked.
|
|
1043
|
+
* The cluster IDs. If you specify a list of cluster IDs, only the kubeconfig files and RBAC permissions of the clusters that belong to the current user in the list are revoked.
|
|
1048
1044
|
*/
|
|
1049
1045
|
clusterIdsShrink?: string;
|
|
1050
1046
|
/**
|
|
1051
1047
|
* @remarks
|
|
1052
1048
|
* Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
|
|
1053
1049
|
*
|
|
1054
|
-
* *
|
|
1055
|
-
* *
|
|
1050
|
+
* * false (default): checks the cluster access records within the previous seven days before deleting the kubeconfig files. The kubeconfig files are not deleted if cluster access records are found or fail to be retrieved.
|
|
1051
|
+
* * true: forcefully deletes the kubeconfig files without checking the cluster access records.
|
|
1056
1052
|
*
|
|
1057
1053
|
* @example
|
|
1058
1054
|
* false
|
|
@@ -1071,7 +1067,7 @@ export declare class CleanUserPermissionsShrinkRequest extends $tea.Model {
|
|
|
1071
1067
|
export declare class CleanUserPermissionsResponseBody extends $tea.Model {
|
|
1072
1068
|
/**
|
|
1073
1069
|
* @remarks
|
|
1074
|
-
*
|
|
1070
|
+
* The request ID.
|
|
1075
1071
|
*
|
|
1076
1072
|
* @example
|
|
1077
1073
|
* 687C5BAA-D103-4993-884B-C35E4314****
|
|
@@ -1079,7 +1075,7 @@ export declare class CleanUserPermissionsResponseBody extends $tea.Model {
|
|
|
1079
1075
|
requestId?: string;
|
|
1080
1076
|
/**
|
|
1081
1077
|
* @remarks
|
|
1082
|
-
*
|
|
1078
|
+
* The task ID.
|
|
1083
1079
|
*
|
|
1084
1080
|
* @example
|
|
1085
1081
|
* clean-user-permissions-2085266204********-6694c16e6ae07***********
|
|
@@ -1278,19 +1274,19 @@ export declare class CreateAutoscalingConfigResponse extends $tea.Model {
|
|
|
1278
1274
|
export declare class CreateClusterRequest extends $tea.Model {
|
|
1279
1275
|
/**
|
|
1280
1276
|
* @remarks
|
|
1281
|
-
* The
|
|
1277
|
+
* The ACL rule of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
1282
1278
|
*/
|
|
1283
1279
|
accessControlList?: string[];
|
|
1284
1280
|
/**
|
|
1285
1281
|
* @remarks
|
|
1286
|
-
* The components that you want to install in the cluster. When you create a cluster, you can
|
|
1282
|
+
* The components that you want to install in the cluster. When you create a cluster, you can specify `addons` to install specific components.
|
|
1287
1283
|
*
|
|
1288
1284
|
* **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster.
|
|
1289
1285
|
*
|
|
1290
|
-
* *
|
|
1291
|
-
* * If you want to use the Terway component, specify the value
|
|
1286
|
+
* * Specify the Flannel plug-in in the following format: [{"name":"flannel","config":""}].
|
|
1287
|
+
* * If you want to use the Terway component, specify the value in the [{"Name": "terway-eniip","Config": ""}] format.
|
|
1292
1288
|
*
|
|
1293
|
-
* **Volume plug-in**: optional. Only the `
|
|
1289
|
+
* **Volume plug-in**: optional. Only the `CSI` plug-in is supported.
|
|
1294
1290
|
*
|
|
1295
1291
|
* Specify the `CSI` plug-in in the following format: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
1296
1292
|
*
|
|
@@ -1299,23 +1295,23 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1299
1295
|
* * Specify an existing `Simple Log Service project` in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true","sls_project_name":"your_sls_project_name"}"}].
|
|
1300
1296
|
* * To create a `Simple Log Service project`, specify the component in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true"}"}].
|
|
1301
1297
|
*
|
|
1302
|
-
* **Ingress controller
|
|
1298
|
+
* **Ingress controller**`: optional. By default, the nginx-ingress-controller component is installed in ACK dedicated clusters.`
|
|
1303
1299
|
*
|
|
1304
1300
|
* * To install nginx-ingress-controller and enable Internet access, specify the Ingress controller in the following format: [{"name":"nginx-ingress-controller","config":"{"IngressSlbNetworkType":"internet"}"}].
|
|
1305
|
-
* * To disable the automatic installation of nginx-ingress-controller, specify the
|
|
1301
|
+
* * To disable the automatic installation of nginx-ingress-controller, specify the component in the following format: [{"name": "nginx-ingress-controller","config": "","disabled": true}].
|
|
1306
1302
|
*
|
|
1307
1303
|
* **Event center**: optional. By default, the event center feature is enabled.
|
|
1308
1304
|
*
|
|
1309
1305
|
* You can use ACK event centers to store and query events and configure alerts. You can use the Logstores that are associated with ACK event centers free of charge within 90 days. For more information, see [Create and use an event center](https://help.aliyun.com/document_detail/150476.html).
|
|
1310
1306
|
*
|
|
1311
|
-
*
|
|
1307
|
+
* Enable the ack-node-problem-detector component in the following format: [{"name":"ack-node-problem-detector","config":"{"sls_project_name":"your_sls_project_name"}"}].
|
|
1312
1308
|
*/
|
|
1313
1309
|
addons?: Addon[];
|
|
1314
1310
|
/**
|
|
1315
1311
|
* @remarks
|
|
1316
|
-
*
|
|
1312
|
+
* Provides identities for pods when pods communicate with the `API server` of the cluster. `api-audiences` are used by the `API server` to check whether the `tokens` of requests are legitimate.`` Separate multiple values with commas (,).``
|
|
1317
1313
|
*
|
|
1318
|
-
* For more information about `
|
|
1314
|
+
* For more information about `ServiceAccount`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
1319
1315
|
*
|
|
1320
1316
|
* @example
|
|
1321
1317
|
* kubernetes.default.svc
|
|
@@ -1323,13 +1319,14 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1323
1319
|
apiAudiences?: string;
|
|
1324
1320
|
/**
|
|
1325
1321
|
* @remarks
|
|
1326
|
-
* Specifies whether to enable auto-renewal
|
|
1322
|
+
* Specifies whether to enable auto-renewal. This parameter takes effect only when `charge_type` is set to `PrePaid`. Valid values:
|
|
1323
|
+
*
|
|
1324
|
+
* * `true`: enables auto-renewal.
|
|
1325
|
+
* * `false`: disables auto-renewal.
|
|
1327
1326
|
*
|
|
1328
|
-
*
|
|
1329
|
-
* - `true`: Enable auto-renewal.
|
|
1330
|
-
* - `false`: Do not auto-renew.
|
|
1327
|
+
* Default value: `false`
|
|
1331
1328
|
*
|
|
1332
|
-
*
|
|
1329
|
+
* This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
|
|
1333
1330
|
*
|
|
1334
1331
|
* @example
|
|
1335
1332
|
* true
|
|
@@ -1337,29 +1334,32 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1337
1334
|
autoRenew?: boolean;
|
|
1338
1335
|
/**
|
|
1339
1336
|
* @remarks
|
|
1340
|
-
*
|
|
1337
|
+
* The auto-renewal duration. This parameter takes effect only if charge_type is set to PrePaid and auto_renew is set to true. If you set `period_unit` to Month, the valid values of auto_renew_period are 1, 2, 3, 6, and 12.
|
|
1338
|
+
*
|
|
1341
1339
|
* Default value: 1.
|
|
1342
1340
|
*
|
|
1341
|
+
* This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
|
|
1342
|
+
*
|
|
1343
1343
|
* @example
|
|
1344
1344
|
* 1
|
|
1345
1345
|
*/
|
|
1346
1346
|
autoRenewPeriod?: number;
|
|
1347
1347
|
/**
|
|
1348
1348
|
* @remarks
|
|
1349
|
-
* The billing method of the
|
|
1349
|
+
* The billing method of the resource. The following resources are billed on a subscription basis:
|
|
1350
1350
|
*
|
|
1351
|
-
*
|
|
1352
|
-
*
|
|
1353
|
-
* The internal-facing SLB instance associated with the API server.
|
|
1351
|
+
* The internal-facing SLB instance used by the API server.
|
|
1354
1352
|
*
|
|
1355
1353
|
* Valid values:
|
|
1356
1354
|
*
|
|
1357
|
-
* PrePaid: subscription
|
|
1355
|
+
* PrePaid: subscription
|
|
1358
1356
|
*
|
|
1359
|
-
* PostPaid: pay-as-you-go
|
|
1357
|
+
* PostPaid: pay-as-you-go
|
|
1360
1358
|
*
|
|
1361
1359
|
* Default value: PostPaid.
|
|
1362
1360
|
*
|
|
1361
|
+
* This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
|
|
1362
|
+
*
|
|
1363
1363
|
* @example
|
|
1364
1364
|
* 1
|
|
1365
1365
|
*/
|
|
@@ -1381,7 +1381,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1381
1381
|
* * `true`: installs the CloudMonitor agent.
|
|
1382
1382
|
* * `false`: does not install the CloudMonitor agent.
|
|
1383
1383
|
*
|
|
1384
|
-
* Default value: `false
|
|
1384
|
+
* Default value: `false`
|
|
1385
1385
|
*
|
|
1386
1386
|
* @example
|
|
1387
1387
|
* true
|
|
@@ -1399,10 +1399,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1399
1399
|
clusterDomain?: string;
|
|
1400
1400
|
/**
|
|
1401
1401
|
* @remarks
|
|
1402
|
-
*
|
|
1402
|
+
* If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values:
|
|
1403
1403
|
*
|
|
1404
|
-
* * `ack.pro.small`: Pro
|
|
1405
|
-
* * `ack.standard`: Basic
|
|
1404
|
+
* * `ack.pro.small`: creates an ACK Pro cluster.
|
|
1405
|
+
* * `ack.standard`: creates an ACK Basic cluster. If you leave the parameter empty, an ACK Basic cluster is created.
|
|
1406
1406
|
*
|
|
1407
1407
|
* @example
|
|
1408
1408
|
* ack.pro.small
|
|
@@ -1410,9 +1410,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1410
1410
|
clusterSpec?: string;
|
|
1411
1411
|
/**
|
|
1412
1412
|
* @remarks
|
|
1413
|
-
* * `Kubernetes`: ACK dedicated cluster.
|
|
1414
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic
|
|
1415
|
-
* * `ExternalKubernetes`: registered cluster.
|
|
1413
|
+
* * `Kubernetes`: an ACK dedicated cluster.
|
|
1414
|
+
* * `ManagedKubernetes`: an ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic and Pro), ACK Edge clusters (Basic and Pro), and ACK Lingjun clusters (Pro).
|
|
1415
|
+
* * `ExternalKubernetes`: a registered cluster.
|
|
1416
1416
|
*
|
|
1417
1417
|
* This parameter is required.
|
|
1418
1418
|
*
|
|
@@ -1434,9 +1434,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1434
1434
|
containerCidr?: string;
|
|
1435
1435
|
/**
|
|
1436
1436
|
* @remarks
|
|
1437
|
-
* The
|
|
1437
|
+
* The control plane component for which you want to enable log collection.
|
|
1438
1438
|
*
|
|
1439
|
-
* By default, the
|
|
1439
|
+
* By default, the log of kube-apiserver, kube-controller-manager, and kube-scheduler is collected.
|
|
1440
1440
|
*/
|
|
1441
1441
|
controlplaneLogComponents?: string[];
|
|
1442
1442
|
/**
|
|
@@ -1459,8 +1459,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1459
1459
|
* @remarks
|
|
1460
1460
|
* The CPU management policy of nodes in the node pool. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
1461
1461
|
*
|
|
1462
|
-
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity
|
|
1463
|
-
* * `none`: specifies that the default CPU affinity is used
|
|
1462
|
+
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity
|
|
1463
|
+
* * `none`: specifies that the default CPU affinity is used
|
|
1464
1464
|
*
|
|
1465
1465
|
* Default value: `none`.
|
|
1466
1466
|
*
|
|
@@ -1470,7 +1470,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1470
1470
|
cpuPolicy?: string;
|
|
1471
1471
|
/**
|
|
1472
1472
|
* @remarks
|
|
1473
|
-
* The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses and domain names
|
|
1473
|
+
* The custom subject alternative names (SANs) for the API server certificate to accept requests from specified IP addresses or domain names. Separate multiple IP addresses and domain names by commas (,).
|
|
1474
1474
|
*
|
|
1475
1475
|
* @example
|
|
1476
1476
|
* cs.aliyun.com
|
|
@@ -1478,12 +1478,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1478
1478
|
customSan?: string;
|
|
1479
1479
|
/**
|
|
1480
1480
|
* @remarks
|
|
1481
|
-
* Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the
|
|
1481
|
+
* Specifies whether to enable cluster deletion protection. If this option is enabled, the cluster cannot be deleted in the console or by calling API operations. Valid values:
|
|
1482
1482
|
*
|
|
1483
|
-
* * `true`:
|
|
1484
|
-
* * `false`:
|
|
1483
|
+
* * `true`: The cluster cannot be deleted in the Container Service console or by calling API operations.
|
|
1484
|
+
* * `false`: The cluster can be deleted in the Container Service console or by calling API operations.
|
|
1485
1485
|
*
|
|
1486
|
-
* Default value: `false
|
|
1486
|
+
* Default value: `false`
|
|
1487
1487
|
*
|
|
1488
1488
|
* @example
|
|
1489
1489
|
* true
|
|
@@ -1491,12 +1491,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1491
1491
|
deletionProtection?: boolean;
|
|
1492
1492
|
/**
|
|
1493
1493
|
* @remarks
|
|
1494
|
-
* Specifies whether to perform a rollback
|
|
1494
|
+
* Specifies whether to perform a rollback if the cluster fails to be created. Valid values:
|
|
1495
1495
|
*
|
|
1496
1496
|
* * `true`: performs a rollback when the cluster fails to be created.
|
|
1497
1497
|
* * `false`: does not perform a rollback when the cluster fails to be created.
|
|
1498
1498
|
*
|
|
1499
|
-
* Default value: `true
|
|
1499
|
+
* Default value: `true`
|
|
1500
1500
|
*
|
|
1501
1501
|
* @example
|
|
1502
1502
|
* true
|
|
@@ -1506,7 +1506,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1506
1506
|
disableRollback?: boolean;
|
|
1507
1507
|
/**
|
|
1508
1508
|
* @remarks
|
|
1509
|
-
* Specifies whether to enable the RAM Roles for Service Accounts (RRSA) feature.
|
|
1509
|
+
* Specifies whether to enable the Resource Access Management (RAM) Roles for Service Accounts (RRSA) feature.
|
|
1510
1510
|
*
|
|
1511
1511
|
* @example
|
|
1512
1512
|
* true
|
|
@@ -1529,7 +1529,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1529
1529
|
* * `true`: enables Internet access for the cluster.
|
|
1530
1530
|
* * `false`: disables Internet access for the cluster. If you set the value to false, the API server cannot be accessed over the Internet.
|
|
1531
1531
|
*
|
|
1532
|
-
* Default value: `false
|
|
1532
|
+
* Default value: `false`
|
|
1533
1533
|
*
|
|
1534
1534
|
* @example
|
|
1535
1535
|
* true
|
|
@@ -1539,10 +1539,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1539
1539
|
* @remarks
|
|
1540
1540
|
* Specifies whether to mount a data disk to a node that is created based on an existing ECS instance. Valid values:
|
|
1541
1541
|
*
|
|
1542
|
-
* * `true`: stores the data of containers and images on a data disk. The existing data stored
|
|
1542
|
+
* * `true`: stores the data of containers and images on a data disk. The existing data stored in the data disk is lost. Back up the existing data first.
|
|
1543
1543
|
* * `false`: does not store the data of containers and images on a data disk.
|
|
1544
1544
|
*
|
|
1545
|
-
* Default value: `false
|
|
1545
|
+
* Default value: `false`
|
|
1546
1546
|
*
|
|
1547
1547
|
* How data disks are mounted:
|
|
1548
1548
|
*
|
|
@@ -1583,7 +1583,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1583
1583
|
imageType?: string;
|
|
1584
1584
|
/**
|
|
1585
1585
|
* @remarks
|
|
1586
|
-
* The existing ECS instances that are specified as worker nodes for the cluster.
|
|
1586
|
+
* The existing Elastic Compute Service (ECS) instances that are specified as worker nodes for the cluster.
|
|
1587
1587
|
*
|
|
1588
1588
|
* > This parameter is required if you create worker nodes on existing ECS instances.
|
|
1589
1589
|
*/
|
|
@@ -1606,7 +1606,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1606
1606
|
* * `true`: creates an advanced security group.
|
|
1607
1607
|
* * `false`: does not create an advanced security group.
|
|
1608
1608
|
*
|
|
1609
|
-
* Default value: `true
|
|
1609
|
+
* Default value: `true`
|
|
1610
1610
|
*
|
|
1611
1611
|
* @example
|
|
1612
1612
|
* true
|
|
@@ -1619,7 +1619,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1619
1619
|
* * `true`: retains the names.
|
|
1620
1620
|
* * `false`: does not retain the names. The system assigns new names.
|
|
1621
1621
|
*
|
|
1622
|
-
* Default value: `true
|
|
1622
|
+
* Default value: `true`
|
|
1623
1623
|
*
|
|
1624
1624
|
* @example
|
|
1625
1625
|
* true
|
|
@@ -1627,7 +1627,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1627
1627
|
keepInstanceName?: boolean;
|
|
1628
1628
|
/**
|
|
1629
1629
|
* @remarks
|
|
1630
|
-
* The name of the key pair. You must
|
|
1630
|
+
* The name of the key pair. You must configure this parameter or the `login_password` parameter.
|
|
1631
1631
|
*
|
|
1632
1632
|
* @example
|
|
1633
1633
|
* secrity-key
|
|
@@ -1645,7 +1645,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1645
1645
|
kubernetesVersion?: string;
|
|
1646
1646
|
/**
|
|
1647
1647
|
* @remarks
|
|
1648
|
-
* Specifies the CLB instance
|
|
1648
|
+
* Specifies the ID of the CLB instance for accessing the API server. If this parameter is specified, the system does not automatically create a CLB instance for the API server.
|
|
1649
1649
|
*
|
|
1650
1650
|
* @example
|
|
1651
1651
|
* lb-wz9t256gqa3vbouk****
|
|
@@ -1678,12 +1678,16 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1678
1678
|
loggingType?: string;
|
|
1679
1679
|
/**
|
|
1680
1680
|
* @remarks
|
|
1681
|
-
* The password for SSH logon. You must
|
|
1681
|
+
* The password for SSH logon. You must set this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
1682
1682
|
*
|
|
1683
1683
|
* @example
|
|
1684
1684
|
* Hello@1234
|
|
1685
1685
|
*/
|
|
1686
1686
|
loginPassword?: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* @remarks
|
|
1689
|
+
* Cluster maintenance window.
|
|
1690
|
+
*/
|
|
1687
1691
|
maintenanceWindow?: MaintenanceWindow;
|
|
1688
1692
|
/**
|
|
1689
1693
|
* @remarks
|
|
@@ -1692,7 +1696,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1692
1696
|
* * `true`: enables auto-renewal.
|
|
1693
1697
|
* * `false`: disables auto-renewal.
|
|
1694
1698
|
*
|
|
1695
|
-
* Default value: `true
|
|
1699
|
+
* Default value: `true`
|
|
1696
1700
|
*
|
|
1697
1701
|
* @example
|
|
1698
1702
|
* true
|
|
@@ -1700,7 +1704,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1700
1704
|
masterAutoRenew?: boolean;
|
|
1701
1705
|
/**
|
|
1702
1706
|
* @remarks
|
|
1703
|
-
* The auto-renewal
|
|
1707
|
+
* The cycle of auto-renewal. This parameter takes effect and is required only if the subscription billing method is selected for master nodes.
|
|
1704
1708
|
*
|
|
1705
1709
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
1706
1710
|
*
|
|
@@ -1725,9 +1729,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1725
1729
|
* The billing method of master nodes. Valid values:
|
|
1726
1730
|
*
|
|
1727
1731
|
* * `PrePaid`: subscription.
|
|
1728
|
-
* * `PostPaid`:
|
|
1732
|
+
* * `PostPaid`: pay-as-you-go.
|
|
1729
1733
|
*
|
|
1730
|
-
* Default value: `PostPaid
|
|
1734
|
+
* Default value: `PostPaid`
|
|
1731
1735
|
*
|
|
1732
1736
|
* @example
|
|
1733
1737
|
* PrePaid
|
|
@@ -1764,8 +1768,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1764
1768
|
* @remarks
|
|
1765
1769
|
* The system disk type of master nodes. Valid values:
|
|
1766
1770
|
*
|
|
1767
|
-
* * `cloud_efficiency`: ultra disk
|
|
1768
|
-
* * `cloud_ssd`: standard SSD
|
|
1771
|
+
* * `cloud_efficiency`: ultra disk
|
|
1772
|
+
* * `cloud_ssd`: standard SSD
|
|
1769
1773
|
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
1770
1774
|
*
|
|
1771
1775
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
@@ -1804,14 +1808,14 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1804
1808
|
* @remarks
|
|
1805
1809
|
* The IDs of the vSwitches that are specified for master nodes. You can specify up to three vSwitches. We recommend that you specify three vSwitches in different zones to ensure high availability.
|
|
1806
1810
|
*
|
|
1807
|
-
* The number of vSwitches must be the same as
|
|
1811
|
+
* The number of vSwitches must be the same as that specified in `master_count` and the same as those specified in `master_vswitch_ids`.
|
|
1808
1812
|
*/
|
|
1809
1813
|
masterVswitchIds?: string[];
|
|
1810
1814
|
/**
|
|
1811
1815
|
* @remarks
|
|
1812
|
-
* The cluster
|
|
1816
|
+
* The name of the cluster.
|
|
1813
1817
|
*
|
|
1814
|
-
* The name must be 1 to 63 characters in length, and can contain digits, letters, and
|
|
1818
|
+
* The cluster name must be 1 to 63 characters in length, and can contain digits, letters, and underscores (_). The cluster name cannot start with a hyphen (-).
|
|
1815
1819
|
*
|
|
1816
1820
|
* This parameter is required.
|
|
1817
1821
|
*
|
|
@@ -1821,12 +1825,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1821
1825
|
name?: string;
|
|
1822
1826
|
/**
|
|
1823
1827
|
* @remarks
|
|
1824
|
-
*
|
|
1825
|
-
*
|
|
1826
|
-
* * `true`: automatically creates a NAT gateway and configures SNAT rules. This enables Internet access for the VPC in which the cluster is deployed.
|
|
1827
|
-
* * `false`: does not create a NAT gateway or configure SNAT rules. If you specify this value, the cluster in the VPC cannot access the Internet.
|
|
1828
|
-
*
|
|
1829
|
-
* Default value: `false`.
|
|
1828
|
+
* This parameter is deprecated. Use `snat_entry` instead.
|
|
1830
1829
|
*
|
|
1831
1830
|
* @example
|
|
1832
1831
|
* true
|
|
@@ -1834,7 +1833,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1834
1833
|
natGateway?: boolean;
|
|
1835
1834
|
/**
|
|
1836
1835
|
* @remarks
|
|
1837
|
-
* The maximum number of IP addresses that can be assigned to
|
|
1836
|
+
* The maximum number of IP addresses that can be assigned to nodes. This number is determined by the node CIDR block. This parameter takes effect only if the cluster uses Flannel network plug-in.
|
|
1838
1837
|
*
|
|
1839
1838
|
* Default value: `26`.
|
|
1840
1839
|
*
|
|
@@ -1851,7 +1850,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1851
1850
|
* * The prefix and suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-), and must start and end with a lowercase letter or digit.
|
|
1852
1851
|
* * The IP substring length specifies the number of digits to be truncated from the end of the node IP address. The IP substring length ranges from 5 to 12.
|
|
1853
1852
|
*
|
|
1854
|
-
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name
|
|
1853
|
+
* For example, if the node IP address is 192.168.0.55, the prefix is aliyun.com, the IP substring length is 5, and the suffix is test, the node name is aliyun.com00055test.
|
|
1855
1854
|
*
|
|
1856
1855
|
* @example
|
|
1857
1856
|
* aliyun.com00055test
|
|
@@ -1882,6 +1881,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1882
1881
|
* @deprecated
|
|
1883
1882
|
*/
|
|
1884
1883
|
numOfNodes?: number;
|
|
1884
|
+
/**
|
|
1885
|
+
* @remarks
|
|
1886
|
+
* Cluster auto operation and maintenance policy.
|
|
1887
|
+
*/
|
|
1885
1888
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
1886
1889
|
/**
|
|
1887
1890
|
* @remarks
|
|
@@ -1904,6 +1907,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1904
1907
|
*
|
|
1905
1908
|
* Default value: 1.
|
|
1906
1909
|
*
|
|
1910
|
+
* This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
|
|
1911
|
+
*
|
|
1907
1912
|
* @example
|
|
1908
1913
|
* FY2023
|
|
1909
1914
|
*/
|
|
@@ -1912,7 +1917,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1912
1917
|
* @remarks
|
|
1913
1918
|
* The billing cycle. This parameter is required if charge_type is set to PrePaid.
|
|
1914
1919
|
*
|
|
1915
|
-
*
|
|
1920
|
+
* Valid value: Month, which indicates that resources are billed only on a monthly basis.
|
|
1921
|
+
*
|
|
1922
|
+
* This parameter was changed on October 15, 2024. For more information, see [Announcement on changes to the parameter behavior of the CreateCluster operation](https://help.aliyun.com/document_detail/2849194.html).
|
|
1916
1923
|
*
|
|
1917
1924
|
* @example
|
|
1918
1925
|
* Month
|
|
@@ -1920,7 +1927,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1920
1927
|
periodUnit?: string;
|
|
1921
1928
|
/**
|
|
1922
1929
|
* @remarks
|
|
1923
|
-
* The
|
|
1930
|
+
* The operating system distribution. Valid values:
|
|
1924
1931
|
*
|
|
1925
1932
|
* * CentOS
|
|
1926
1933
|
* * AliyunLinux
|
|
@@ -1937,19 +1944,19 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1937
1944
|
platform?: string;
|
|
1938
1945
|
/**
|
|
1939
1946
|
* @remarks
|
|
1940
|
-
* If you select Terway as the network plug-in, you must allocate vSwitches to pods.
|
|
1947
|
+
* If you select Terway as the network plug-in, you must allocate vSwitches to pods. Each pod vSwitch must correspond to a worker node vSwitch. Pod vSwitches and worker node vSwitches must reside in the same zone.
|
|
1941
1948
|
*
|
|
1942
|
-
* > We recommend that you select pod vSwitches whose subnet
|
|
1949
|
+
* > We recommend that you select pod vSwitches whose subnet mask lengths are no longer than 19 bits. The maximum subnet mask length of a pod vSwitch is 25 bits. If you select a pod vSwitch whose subnet mask length is longer than 25 bits, the IP addresses that can be allocated to pods may be insufficient.
|
|
1943
1950
|
*/
|
|
1944
1951
|
podVswitchIds?: string[];
|
|
1945
1952
|
/**
|
|
1946
1953
|
* @remarks
|
|
1947
1954
|
* If you set `cluster_type` to `ManagedKubernetes`, an ACK managed cluster is created. In this case, you can further specify the cluster edition. Valid values:
|
|
1948
1955
|
*
|
|
1949
|
-
* * `Default
|
|
1950
|
-
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
1951
|
-
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
1952
|
-
* * `Lingjun`: ACK Lingjun Pro cluster.
|
|
1956
|
+
* * `Default`. an ACK managed cluster. ACK managed clusters include ACK Basic clusters and ACK Pro clusters.
|
|
1957
|
+
* * `Edge`: an ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
1958
|
+
* * `Serverless`: an ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
1959
|
+
* * `Lingjun`: an ACK Lingjun Pro cluster.
|
|
1953
1960
|
*
|
|
1954
1961
|
* @example
|
|
1955
1962
|
* Default
|
|
@@ -1959,8 +1966,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1959
1966
|
* @remarks
|
|
1960
1967
|
* The kube-proxy mode. Valid values:
|
|
1961
1968
|
*
|
|
1962
|
-
* * `iptables`: a mature and stable mode that uses iptables rules to conduct
|
|
1963
|
-
* * `ipvs`:
|
|
1969
|
+
* * `iptables`: a mature and stable kube-proxy mode that uses iptables rules to conduct Service discovery and load balancing. The performance of this mode is limited by the size of the cluster. This mode is suitable for clusters that run a small number of Services.
|
|
1970
|
+
* * `ipvs`: provides high performance and uses IP Virtual Server (IPVS). This allows you to configure service discovery and load balancing. This mode is suitable for clusters that are required to run a large number of services. We recommend that you use this mode in scenarios that require high load balancing performance.
|
|
1964
1971
|
*
|
|
1965
1972
|
* Default value: `ipvs`.
|
|
1966
1973
|
*
|
|
@@ -1970,7 +1977,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1970
1977
|
proxyMode?: string;
|
|
1971
1978
|
/**
|
|
1972
1979
|
* @remarks
|
|
1973
|
-
* The ApsaraDB RDS instances.
|
|
1980
|
+
* The ApsaraDB RDS instances. Select the ApsaraDB RDS instances that you want to add to the whitelist. We recommend that you add the pod CIDR block and node CIDR block to the ApsaraDB RDS instances in the ApsaraDB RDS console. When you configure the ApsaraDB RDS instances, you cannot scale out the number of nodes because the instances are not in the Running state.
|
|
1974
1981
|
*/
|
|
1975
1982
|
rdsInstances?: string[];
|
|
1976
1983
|
/**
|
|
@@ -2000,7 +2007,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2000
2007
|
runtime?: Runtime;
|
|
2001
2008
|
/**
|
|
2002
2009
|
* @remarks
|
|
2003
|
-
* The ID of an existing security group. You must specify this parameter or
|
|
2010
|
+
* The ID of an existing security group. You must specify this parameter or `is_enterprise_security_group`. Cluster nodes are automatically added to the security group.
|
|
2004
2011
|
*
|
|
2005
2012
|
* @example
|
|
2006
2013
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -2013,7 +2020,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2013
2020
|
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
2014
2021
|
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
2015
2022
|
*
|
|
2016
|
-
* Default value: `false
|
|
2023
|
+
* Default value: `false`
|
|
2017
2024
|
*
|
|
2018
2025
|
* @example
|
|
2019
2026
|
* false
|
|
@@ -2021,9 +2028,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2021
2028
|
securityHardeningOs?: boolean;
|
|
2022
2029
|
/**
|
|
2023
2030
|
* @remarks
|
|
2024
|
-
*
|
|
2031
|
+
* Provides identities for pods when pods communicate with the `API server` of the cluster. `service-account-issuer` specifies the issuer of the `serviceaccount token`, which is specified by using the `iss` field in the `token payload`.
|
|
2025
2032
|
*
|
|
2026
|
-
* For more information about `
|
|
2033
|
+
* For more information about `ServiceAccount`, see [Enable service account token volume projection](https://help.aliyun.com/document_detail/160384.html).
|
|
2027
2034
|
*
|
|
2028
2035
|
* @example
|
|
2029
2036
|
* kubernetes.default.svc
|
|
@@ -2031,7 +2038,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2031
2038
|
serviceAccountIssuer?: string;
|
|
2032
2039
|
/**
|
|
2033
2040
|
* @remarks
|
|
2034
|
-
* The Service CIDR block. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The Service CIDR block cannot overlap with the
|
|
2041
|
+
* The Service CIDR block. Valid values: 10.0.0.0/16-24, 172.16-31.0.0/16-24, and 192.168.0.0/16-24. The Service CIDR block cannot overlap with the CIDR block of the VPC (10.1.0.0/21) or the CIDR blocks of existing clusters in the VPC. You cannot modify the CIDR block of Services after the cluster is created.
|
|
2035
2042
|
*
|
|
2036
2043
|
* By default, the Service CIDR block is set to 172.19.0.0/20.
|
|
2037
2044
|
*
|
|
@@ -2043,24 +2050,24 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2043
2050
|
serviceCidr?: string;
|
|
2044
2051
|
/**
|
|
2045
2052
|
* @remarks
|
|
2046
|
-
* The
|
|
2053
|
+
* The methods for implementing service discovery in `ACK Serverless` clusters.
|
|
2047
2054
|
*
|
|
2048
|
-
* * `CoreDNS`: a standard service discovery plug-in provided by open source Kubernetes. To use DNS resolution, you must provision pods. By default, two elastic container instances are used. The specification of each instance is 0.25 vCPUs and 512 MiB of memory.
|
|
2049
|
-
* * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it
|
|
2055
|
+
* * `CoreDNS`: a standard service discovery plug-in that is provided by open source Kubernetes. To use DNS resolution, you must provision pods. By default, two elastic container instances are used. The specification of each instance is 0.25 vCPUs and 512 MiB of memory.
|
|
2056
|
+
* * `PrivateZone`: a DNS resolution service provided by Alibaba Cloud. You must activate Alibaba Cloud DNS PrivateZone before you can use it for service discovery.
|
|
2050
2057
|
*
|
|
2051
2058
|
* By default, this parameter is not specified.
|
|
2052
2059
|
*/
|
|
2053
2060
|
serviceDiscoveryTypes?: string[];
|
|
2054
2061
|
/**
|
|
2055
2062
|
* @remarks
|
|
2056
|
-
* Specifies whether to configure SNAT rules for the VPC in which your cluster is deployed. Valid values:
|
|
2063
|
+
* Specifies whether to configure Source Network Address Translation (SNAT) rules for the VPC in which your cluster is deployed. Valid values:
|
|
2057
2064
|
*
|
|
2058
2065
|
* * `true`: automatically creates a NAT gateway and configures SNAT rules. Set the value to `true` if nodes and applications in the cluster need to access the Internet.
|
|
2059
2066
|
* * `false`: does not create a NAT gateway or configure SNAT rules. In this case, nodes and applications in the cluster cannot access the Internet.
|
|
2060
2067
|
*
|
|
2061
2068
|
* > If this feature is disabled when you create the cluster, you can also manually enable this feature after you create the cluster. For more information, see [Enable an existing ACK cluster to access the Internet](https://help.aliyun.com/document_detail/178480.html).
|
|
2062
2069
|
*
|
|
2063
|
-
* Default value: `true
|
|
2070
|
+
* Default value: `true`
|
|
2064
2071
|
*
|
|
2065
2072
|
* @example
|
|
2066
2073
|
* true
|
|
@@ -2075,7 +2082,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2075
2082
|
* * `true`: enables security hardening based on MLPS.
|
|
2076
2083
|
* * `false`: disables security hardening based on MLPS.
|
|
2077
2084
|
*
|
|
2078
|
-
* Default value: `false
|
|
2085
|
+
* Default value: `false`
|
|
2079
2086
|
*
|
|
2080
2087
|
* @example
|
|
2081
2088
|
* false
|
|
@@ -2088,7 +2095,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2088
2095
|
* * `true`: enables SSH logon.
|
|
2089
2096
|
* * `false`: disables SSH logon.
|
|
2090
2097
|
*
|
|
2091
|
-
* Default value: `false
|
|
2098
|
+
* Default value: `false`
|
|
2092
2099
|
*
|
|
2093
2100
|
* @example
|
|
2094
2101
|
* true
|
|
@@ -2096,15 +2103,15 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2096
2103
|
sshFlags?: boolean;
|
|
2097
2104
|
/**
|
|
2098
2105
|
* @remarks
|
|
2099
|
-
* The
|
|
2106
|
+
* The tags to be added to nodes. You must add labels based on the following rules:
|
|
2100
2107
|
*
|
|
2101
2108
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
2102
|
-
* * When you add a
|
|
2109
|
+
* * When you add a tag, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value cannot exceed 128 characters in length. Keys and 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).
|
|
2103
2110
|
*/
|
|
2104
2111
|
tags?: Tag[];
|
|
2105
2112
|
/**
|
|
2106
2113
|
* @remarks
|
|
2107
|
-
* The
|
|
2114
|
+
* The taint. Taints can be used together with tolerations to avoid scheduling pods to specified nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
2108
2115
|
*/
|
|
2109
2116
|
taints?: Taint[];
|
|
2110
2117
|
/**
|
|
@@ -2151,15 +2158,15 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2151
2158
|
vpcid?: string;
|
|
2152
2159
|
/**
|
|
2153
2160
|
* @remarks
|
|
2154
|
-
* The vSwitches for nodes in the cluster. This parameter is required if you create an ACK managed cluster that does not contain nodes.
|
|
2161
|
+
* The vSwitches that are specified for nodes in the cluster. This parameter is required if you create an ACK managed cluster that does not contain nodes.
|
|
2155
2162
|
*/
|
|
2156
2163
|
vswitchIds?: string[];
|
|
2157
2164
|
/**
|
|
2158
2165
|
* @remarks
|
|
2159
|
-
* Specifies whether to enable auto
|
|
2166
|
+
* Specifies whether to enable auto renewal for worker nodes. This parameter takes effect and is required only when `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
2160
2167
|
*
|
|
2161
2168
|
* * `true`: enables auto-renewal.
|
|
2162
|
-
* * `false`: disables auto-renewal
|
|
2169
|
+
* * `false`: disables auto-renewal
|
|
2163
2170
|
*
|
|
2164
2171
|
* Default value: `true`
|
|
2165
2172
|
*
|
|
@@ -2171,7 +2178,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2171
2178
|
workerAutoRenew?: boolean;
|
|
2172
2179
|
/**
|
|
2173
2180
|
* @remarks
|
|
2174
|
-
* The auto-renewal
|
|
2181
|
+
* The cycle of auto-renewal. This parameter takes effect and is required only if the subscription billing method is selected for worker nodes.
|
|
2175
2182
|
*
|
|
2176
2183
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2177
2184
|
*
|
|
@@ -2228,7 +2235,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2228
2235
|
* @remarks
|
|
2229
2236
|
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
2230
2237
|
*
|
|
2231
|
-
*
|
|
2238
|
+
* Valid value: `Month`, which indicates that worker nodes are billed only on a monthly basis.
|
|
2232
2239
|
*
|
|
2233
2240
|
* @example
|
|
2234
2241
|
* Month
|
|
@@ -2238,7 +2245,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2238
2245
|
workerPeriodUnit?: string;
|
|
2239
2246
|
/**
|
|
2240
2247
|
* @remarks
|
|
2241
|
-
* The system disk
|
|
2248
|
+
* The system disk category of worker nodes. For more information, see [Elastic Block Storage devices](https://help.aliyun.com/document_detail/63136.html).
|
|
2242
2249
|
*
|
|
2243
2250
|
* Valid values:
|
|
2244
2251
|
*
|
|
@@ -2298,7 +2305,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2298
2305
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
2299
2306
|
/**
|
|
2300
2307
|
* @remarks
|
|
2301
|
-
* The vSwitches for worker nodes. Each worker node is allocated a vSwitch.
|
|
2308
|
+
* The vSwitches that are specified for worker nodes. Each worker node is allocated a vSwitch.
|
|
2302
2309
|
*
|
|
2303
2310
|
* `worker_vswitch_ids` is optional but `vswitch_ids` is required if you create an ACK managed cluster that does not contain nodes.
|
|
2304
2311
|
*
|
|
@@ -2307,9 +2314,11 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2307
2314
|
workerVswitchIds?: string[];
|
|
2308
2315
|
/**
|
|
2309
2316
|
* @remarks
|
|
2310
|
-
*
|
|
2317
|
+
* This parameter is deprecated. Use `zone_ids` instead.
|
|
2311
2318
|
*
|
|
2312
|
-
*
|
|
2319
|
+
* The ID of the zone to which the cluster belongs. This parameter is specific to ACK managed clusters.
|
|
2320
|
+
*
|
|
2321
|
+
* When you create an ACK managed cluster, you must set the `zone_id` parameter if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone. This parameter is invalid if you specify the `vpc_id` and `vswitch_ids` parameters.
|
|
2313
2322
|
*
|
|
2314
2323
|
* @example
|
|
2315
2324
|
* cn-beiji****
|
|
@@ -2319,8 +2328,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2319
2328
|
zoneId?: string;
|
|
2320
2329
|
/**
|
|
2321
2330
|
* @remarks
|
|
2322
|
-
*
|
|
2323
|
-
*
|
|
2331
|
+
* The IDs of the zone in which the cluster is deployed. This parameter is specific to ACK managed clusters.
|
|
2332
|
+
*
|
|
2333
|
+
* When you create an ACK managed cluster, you must set the `zone_id` parameter if `vpc_id` and `vswitch_ids` are not specified. This way, the system automatically creates a VPC in the specified zone. This parameter is invalid if you specify the `vpc_id` and `vswitch_ids` parameters.
|
|
2324
2334
|
*/
|
|
2325
2335
|
zoneIds?: string[];
|
|
2326
2336
|
static names(): {
|
|
@@ -2506,7 +2516,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2506
2516
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
2507
2517
|
/**
|
|
2508
2518
|
* @remarks
|
|
2509
|
-
* This parameter is deprecated. Use desired_size instead.
|
|
2519
|
+
* This parameter is deprecated. Use the desired_size parameter instead.
|
|
2510
2520
|
*
|
|
2511
2521
|
* The number of nodes in the node pool.
|
|
2512
2522
|
*
|
|
@@ -2516,6 +2526,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2516
2526
|
* @deprecated
|
|
2517
2527
|
*/
|
|
2518
2528
|
count?: number;
|
|
2529
|
+
hostNetwork?: boolean;
|
|
2519
2530
|
/**
|
|
2520
2531
|
* @remarks
|
|
2521
2532
|
* This parameter is deprecated.
|
|
@@ -2527,15 +2538,16 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2527
2538
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
2528
2539
|
/**
|
|
2529
2540
|
* @remarks
|
|
2530
|
-
* The network type of the edge node pool. This parameter takes effect only
|
|
2541
|
+
* The network type of the edge node pool. This parameter takes effect only when the `type` of the node pool is set to `edge`. Valid values:
|
|
2531
2542
|
*
|
|
2532
|
-
* * `basic`: basic
|
|
2533
|
-
* * `private`: dedicated Only Kubernetes 1.22 and later support this value.
|
|
2543
|
+
* * `basic`: basic.
|
|
2544
|
+
* * `private`: dedicated. Only clusters that run Kubernetes 1.22 and later support this value.
|
|
2534
2545
|
*
|
|
2535
2546
|
* @example
|
|
2536
2547
|
* basic
|
|
2537
2548
|
*/
|
|
2538
2549
|
interconnectMode?: string;
|
|
2550
|
+
intranet?: boolean;
|
|
2539
2551
|
/**
|
|
2540
2552
|
* @remarks
|
|
2541
2553
|
* The configurations of the cluster.
|
|
@@ -3979,12 +3991,12 @@ export declare class DescribeClusterAddonInstanceResponseBody extends $tea.Model
|
|
|
3979
3991
|
* @remarks
|
|
3980
3992
|
* The status of the component. Valid values:
|
|
3981
3993
|
*
|
|
3982
|
-
* * initial:
|
|
3983
|
-
* * active:
|
|
3984
|
-
* * unhealthy:
|
|
3985
|
-
* * upgrading:
|
|
3986
|
-
* * updating:
|
|
3987
|
-
* * deleting:
|
|
3994
|
+
* * initial: The component is being installed.
|
|
3995
|
+
* * active: The component is installed.
|
|
3996
|
+
* * unhealthy: The component is in an abnormal state.
|
|
3997
|
+
* * upgrading: The component is being updated.
|
|
3998
|
+
* * updating: The component is being modified.
|
|
3999
|
+
* * deleting: The component is being uninstalled.
|
|
3988
4000
|
* * deleted: The component is deleted.
|
|
3989
4001
|
*
|
|
3990
4002
|
* @example
|
|
@@ -4275,6 +4287,9 @@ export declare class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
4275
4287
|
}
|
|
4276
4288
|
export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
4277
4289
|
/**
|
|
4290
|
+
* @remarks
|
|
4291
|
+
* The on-premises domain name of the cluster.
|
|
4292
|
+
*
|
|
4278
4293
|
* @example
|
|
4279
4294
|
* cluster.local
|
|
4280
4295
|
*/
|
|
@@ -4309,6 +4324,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4309
4324
|
*/
|
|
4310
4325
|
clusterType?: string;
|
|
4311
4326
|
/**
|
|
4327
|
+
* @remarks
|
|
4328
|
+
* The CIDR block of the pod.
|
|
4329
|
+
*
|
|
4312
4330
|
* @example
|
|
4313
4331
|
* 172.20.0.0/16
|
|
4314
4332
|
*/
|
|
@@ -4349,6 +4367,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4349
4367
|
*/
|
|
4350
4368
|
dockerVersion?: string;
|
|
4351
4369
|
/**
|
|
4370
|
+
* @remarks
|
|
4371
|
+
* The ID of the Server Load Balancer (SLB) instance that is created for the Ingress of the cluster.
|
|
4372
|
+
*
|
|
4352
4373
|
* @example
|
|
4353
4374
|
* lb-2zehc05z3b8dwiifh****
|
|
4354
4375
|
*/
|
|
@@ -4362,6 +4383,12 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4362
4383
|
*/
|
|
4363
4384
|
initVersion?: string;
|
|
4364
4385
|
/**
|
|
4386
|
+
* @remarks
|
|
4387
|
+
* The IP protocol stack of the cluster. Valid values:
|
|
4388
|
+
*
|
|
4389
|
+
* * ipv4: creates a cluster that supports only the IPv4 protocol stack.
|
|
4390
|
+
* * dual: creates a cluster that supports IPv4/IPv6 dual-stack.
|
|
4391
|
+
*
|
|
4365
4392
|
* @example
|
|
4366
4393
|
* ipv4
|
|
4367
4394
|
*/
|
|
@@ -4398,29 +4425,50 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4398
4425
|
*/
|
|
4399
4426
|
name?: string;
|
|
4400
4427
|
/**
|
|
4428
|
+
* @remarks
|
|
4429
|
+
* The network type of the cluster. Example: Virtual Private Cloud (VPC).
|
|
4430
|
+
*
|
|
4401
4431
|
* @example
|
|
4402
4432
|
* vpc
|
|
4403
4433
|
*/
|
|
4404
4434
|
networkMode?: string;
|
|
4405
4435
|
/**
|
|
4436
|
+
* @remarks
|
|
4437
|
+
* The Kubernetes version to which the cluster can be updated.
|
|
4438
|
+
*
|
|
4406
4439
|
* @example
|
|
4407
4440
|
* 1.18.8-aliyun.1
|
|
4408
4441
|
*/
|
|
4409
4442
|
nextVersion?: string;
|
|
4410
4443
|
/**
|
|
4444
|
+
* @remarks
|
|
4445
|
+
* The number of the IP addresses of the node.
|
|
4446
|
+
*
|
|
4411
4447
|
* @example
|
|
4412
4448
|
* 26
|
|
4413
4449
|
*/
|
|
4414
4450
|
nodeCidrMask?: string;
|
|
4451
|
+
/**
|
|
4452
|
+
* @remarks
|
|
4453
|
+
* The automatic O\\&M policy of the cluster.
|
|
4454
|
+
*/
|
|
4415
4455
|
operationPolicy?: DescribeClusterDetailResponseBodyOperationPolicy;
|
|
4416
4456
|
/**
|
|
4417
4457
|
* @remarks
|
|
4418
|
-
* The ROS parameters of the cluster.
|
|
4458
|
+
* The Resource Orchestration Service (ROS) parameters of the cluster.
|
|
4419
4459
|
*/
|
|
4420
4460
|
parameters?: {
|
|
4421
4461
|
[key: string]: string;
|
|
4422
4462
|
};
|
|
4423
4463
|
/**
|
|
4464
|
+
* @remarks
|
|
4465
|
+
* Indicates whether Alibaba Cloud DNS PrivateZone (PrivateZone) is enabled for the cluster. Valid values:
|
|
4466
|
+
*
|
|
4467
|
+
* * `true`: PrivateZone is enabled.
|
|
4468
|
+
* * `false`: PrivateZone is dislabled.
|
|
4469
|
+
*
|
|
4470
|
+
* Default value: false
|
|
4471
|
+
*
|
|
4424
4472
|
* @example
|
|
4425
4473
|
* false
|
|
4426
4474
|
*/
|
|
@@ -4439,6 +4487,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4439
4487
|
*/
|
|
4440
4488
|
profile?: string;
|
|
4441
4489
|
/**
|
|
4490
|
+
* @remarks
|
|
4491
|
+
* The proxy mode. Valid values: ipvs and iptables.
|
|
4492
|
+
*
|
|
4442
4493
|
* @example
|
|
4443
4494
|
* ipvs
|
|
4444
4495
|
*/
|
|
@@ -4469,6 +4520,8 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4469
4520
|
securityGroupId?: string;
|
|
4470
4521
|
/**
|
|
4471
4522
|
* @remarks
|
|
4523
|
+
* The CIDR block of the Service.
|
|
4524
|
+
*
|
|
4472
4525
|
* This parameter is required.
|
|
4473
4526
|
*
|
|
4474
4527
|
* @example
|
|
@@ -4512,9 +4565,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4512
4565
|
* * 172.16-31.0.0/12-16
|
|
4513
4566
|
* * 192.168.0.0/16
|
|
4514
4567
|
*
|
|
4515
|
-
* The pod CIDR block cannot overlap with the CIDR block of the VPC
|
|
4568
|
+
* The pod CIDR block cannot overlap with the CIDR block of the VPC in which the cluster is deployed and the CIDR blocks of existing clusters in the VPC. You cannot modify the pod CIDR block after you create the cluster.
|
|
4516
4569
|
*
|
|
4517
|
-
* For more information, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/186964.html).
|
|
4570
|
+
* For more information about the network planning of ACK clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/186964.html).
|
|
4518
4571
|
*
|
|
4519
4572
|
* @example
|
|
4520
4573
|
* 172.20.0.0/16
|
|
@@ -4528,6 +4581,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4528
4581
|
*/
|
|
4529
4582
|
tags?: Tag[];
|
|
4530
4583
|
/**
|
|
4584
|
+
* @remarks
|
|
4585
|
+
* The time zone.
|
|
4586
|
+
*
|
|
4531
4587
|
* @example
|
|
4532
4588
|
* Asia/Shanghai
|
|
4533
4589
|
*/
|
|
@@ -4550,7 +4606,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4550
4606
|
vpcId?: string;
|
|
4551
4607
|
/**
|
|
4552
4608
|
* @remarks
|
|
4553
|
-
* The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster.
|
|
4609
|
+
* The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. To ensure the high availability of the cluster, we recommend that you select vSwitches in different zones.
|
|
4554
4610
|
*
|
|
4555
4611
|
* @example
|
|
4556
4612
|
* vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
|
|
@@ -4558,6 +4614,10 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4558
4614
|
* @deprecated
|
|
4559
4615
|
*/
|
|
4560
4616
|
vswitchId?: string;
|
|
4617
|
+
/**
|
|
4618
|
+
* @remarks
|
|
4619
|
+
* The vSwitch for the control plane of the cluster.
|
|
4620
|
+
*/
|
|
4561
4621
|
vswitchIds?: string[];
|
|
4562
4622
|
/**
|
|
4563
4623
|
* @remarks
|
|
@@ -4568,6 +4628,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4568
4628
|
*/
|
|
4569
4629
|
workerRamRoleName?: string;
|
|
4570
4630
|
/**
|
|
4631
|
+
* @remarks
|
|
4632
|
+
* The ID of the zone within the region where the cluster is located.
|
|
4633
|
+
*
|
|
4571
4634
|
* @example
|
|
4572
4635
|
* cn-beijing-a
|
|
4573
4636
|
*/
|
|
@@ -4692,6 +4755,7 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4692
4755
|
* The auto scaling configuration of the node pool.
|
|
4693
4756
|
*/
|
|
4694
4757
|
autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
|
|
4758
|
+
hostNetwork?: boolean;
|
|
4695
4759
|
/**
|
|
4696
4760
|
* @remarks
|
|
4697
4761
|
* The network configuration of the edge node pool. This parameter takes effect only for edge node pools.
|
|
@@ -4705,9 +4769,10 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4705
4769
|
* improved
|
|
4706
4770
|
*/
|
|
4707
4771
|
interconnectMode?: string;
|
|
4772
|
+
intranet?: boolean;
|
|
4708
4773
|
/**
|
|
4709
4774
|
* @remarks
|
|
4710
|
-
* The
|
|
4775
|
+
* The configurations of the cluster in which the node pool is deployed.
|
|
4711
4776
|
*/
|
|
4712
4777
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
4713
4778
|
/**
|
|
@@ -5690,7 +5755,7 @@ export declare class DescribeEventsRequest extends $tea.Model {
|
|
|
5690
5755
|
export declare class DescribeEventsResponseBody extends $tea.Model {
|
|
5691
5756
|
/**
|
|
5692
5757
|
* @remarks
|
|
5693
|
-
* The details of the
|
|
5758
|
+
* The details of the events.
|
|
5694
5759
|
*/
|
|
5695
5760
|
events?: DescribeEventsResponseBodyEvents[];
|
|
5696
5761
|
/**
|
|
@@ -5822,12 +5887,12 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $tea.Model
|
|
|
5822
5887
|
* @remarks
|
|
5823
5888
|
* The query mode. Valid values:
|
|
5824
5889
|
*
|
|
5825
|
-
* * `supported`: queries all supported versions.
|
|
5826
|
-
* * `creatable`: queries only versions that
|
|
5890
|
+
* * `supported`: queries all supported Kubernetes versions.
|
|
5891
|
+
* * `creatable`: queries only Kubernetes versions of clusters that you can create.
|
|
5827
5892
|
*
|
|
5828
5893
|
* If you specify `KubernetesVersion`, this parameter does not take effect.
|
|
5829
5894
|
*
|
|
5830
|
-
*
|
|
5895
|
+
* If you do not specify a query mode, Kubernetes versions of clusters that you can create are returned.
|
|
5831
5896
|
*
|
|
5832
5897
|
* @example
|
|
5833
5898
|
* supported
|
|
@@ -6997,7 +7062,10 @@ export declare class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
|
6997
7062
|
export declare class GetClusterAuditProjectResponseBody extends $tea.Model {
|
|
6998
7063
|
/**
|
|
6999
7064
|
* @remarks
|
|
7000
|
-
* Indicates whether the cluster auditing feature is enabled for the cluster.
|
|
7065
|
+
* Indicates whether the cluster auditing feature is enabled for the cluster.
|
|
7066
|
+
*
|
|
7067
|
+
* * `true`: The cluster auditing feature is enabled for the cluster.
|
|
7068
|
+
* * `false`: The cluster auditing feature is disabled for the cluster.
|
|
7001
7069
|
*
|
|
7002
7070
|
* @example
|
|
7003
7071
|
* true
|
|
@@ -7859,7 +7927,7 @@ export declare class ListTagResourcesRequest extends $tea.Model {
|
|
|
7859
7927
|
resourceType?: string;
|
|
7860
7928
|
/**
|
|
7861
7929
|
* @remarks
|
|
7862
|
-
* The
|
|
7930
|
+
* The labels that you want to query. You can specify up to 20 labels.
|
|
7863
7931
|
*
|
|
7864
7932
|
* @example
|
|
7865
7933
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -7916,7 +7984,7 @@ export declare class ListTagResourcesShrinkRequest extends $tea.Model {
|
|
|
7916
7984
|
resourceType?: string;
|
|
7917
7985
|
/**
|
|
7918
7986
|
* @remarks
|
|
7919
|
-
* The
|
|
7987
|
+
* The labels that you want to query. You can specify up to 20 labels.
|
|
7920
7988
|
*
|
|
7921
7989
|
* @example
|
|
7922
7990
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -8518,9 +8586,13 @@ export declare class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
8518
8586
|
export declare class ModifyNodePoolNodeConfigRequest extends $tea.Model {
|
|
8519
8587
|
/**
|
|
8520
8588
|
* @remarks
|
|
8521
|
-
* The
|
|
8589
|
+
* The parameters of the kubelet.
|
|
8522
8590
|
*/
|
|
8523
8591
|
kubeletConfig?: KubeletConfig;
|
|
8592
|
+
/**
|
|
8593
|
+
* @remarks
|
|
8594
|
+
* Operating system parameter configuration.
|
|
8595
|
+
*/
|
|
8524
8596
|
osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
|
|
8525
8597
|
/**
|
|
8526
8598
|
* @remarks
|
|
@@ -9377,15 +9449,15 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9377
9449
|
runtime?: Runtime;
|
|
9378
9450
|
/**
|
|
9379
9451
|
* @remarks
|
|
9380
|
-
* The
|
|
9452
|
+
* The tags that you want to add to nodes. When you add labels to a node, the following rules apply:
|
|
9381
9453
|
*
|
|
9382
9454
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
9383
|
-
* * When you add a
|
|
9455
|
+
* * When you add a tag, you must specify a unique key but you can leave the value empty. A key cannot exceed 64 characters in length and a value cannot exceed 128 characters in length. Keys and 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).
|
|
9384
9456
|
*/
|
|
9385
9457
|
tags?: Tag[];
|
|
9386
9458
|
/**
|
|
9387
9459
|
* @remarks
|
|
9388
|
-
* The taints that you want to add to nodes. Taints can be used together with tolerations to
|
|
9460
|
+
* The taints that you want to add to nodes. Taints can be used together with tolerations to prevent pods from being scheduled to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
9389
9461
|
*/
|
|
9390
9462
|
taints?: Taint[];
|
|
9391
9463
|
/**
|
|
@@ -9408,7 +9480,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9408
9480
|
* Specifies whether to enable auto-renewal for worker nodes. This parameter takes effect and is required only if `worker_instance_charge_type` is set to `PrePaid`. Valid values:
|
|
9409
9481
|
*
|
|
9410
9482
|
* * `true`: enables auto-renewal.
|
|
9411
|
-
* * `false`:
|
|
9483
|
+
* * `false`: disables auto-renewal.
|
|
9412
9484
|
*
|
|
9413
9485
|
* Default value: `true`.
|
|
9414
9486
|
*
|
|
@@ -9440,7 +9512,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9440
9512
|
* * `PrePaid`: subscription.
|
|
9441
9513
|
* * `PostPaid`: pay-as-you-go.
|
|
9442
9514
|
*
|
|
9443
|
-
* Default value: `PostPaid
|
|
9515
|
+
* Default value: `PostPaid`
|
|
9444
9516
|
*
|
|
9445
9517
|
* @example
|
|
9446
9518
|
* PrePaid
|
|
@@ -9459,7 +9531,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9459
9531
|
*
|
|
9460
9532
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
9461
9533
|
*
|
|
9462
|
-
* Default value: 1
|
|
9534
|
+
* Default value: 1
|
|
9463
9535
|
*
|
|
9464
9536
|
* @example
|
|
9465
9537
|
* 1
|
|
@@ -9778,7 +9850,7 @@ export declare class SyncClusterNodePoolResponse extends $tea.Model {
|
|
|
9778
9850
|
export declare class TagResourcesRequest extends $tea.Model {
|
|
9779
9851
|
/**
|
|
9780
9852
|
* @remarks
|
|
9781
|
-
* The
|
|
9853
|
+
* The ID of the region in which the resource resides.
|
|
9782
9854
|
*
|
|
9783
9855
|
* This parameter is required.
|
|
9784
9856
|
*
|
|
@@ -9795,7 +9867,7 @@ export declare class TagResourcesRequest extends $tea.Model {
|
|
|
9795
9867
|
resourceIds?: string[];
|
|
9796
9868
|
/**
|
|
9797
9869
|
* @remarks
|
|
9798
|
-
* The type of
|
|
9870
|
+
* The type of resources that you want to label. Valid value: `CLUSTER`.
|
|
9799
9871
|
*
|
|
9800
9872
|
* This parameter is required.
|
|
9801
9873
|
*
|
|
@@ -9805,11 +9877,11 @@ export declare class TagResourcesRequest extends $tea.Model {
|
|
|
9805
9877
|
resourceType?: string;
|
|
9806
9878
|
/**
|
|
9807
9879
|
* @remarks
|
|
9808
|
-
* The
|
|
9880
|
+
* The tags that you want to add to the resources in key-value pairs. You can add up to 20 key-value pairs. Note:
|
|
9809
9881
|
*
|
|
9810
|
-
* *
|
|
9811
|
-
* *
|
|
9812
|
-
* *
|
|
9882
|
+
* * The values must not be empty strings. A value must be 1 to 128 characters in length.
|
|
9883
|
+
* * A key or value must not start with `aliyun` or `acs:`.
|
|
9884
|
+
* * A key or value must not contain `http://` or `https://`.
|
|
9813
9885
|
*
|
|
9814
9886
|
* This parameter is required.
|
|
9815
9887
|
*/
|
|
@@ -10664,7 +10736,7 @@ export declare class UpgradeClusterAddonsRequest extends $tea.Model {
|
|
|
10664
10736
|
export declare class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
10665
10737
|
/**
|
|
10666
10738
|
* @remarks
|
|
10667
|
-
* The ID
|
|
10739
|
+
* The cluster ID.
|
|
10668
10740
|
*
|
|
10669
10741
|
* @example
|
|
10670
10742
|
* cf4299b79b3e34226abfdc80a4bda****
|
|
@@ -10672,7 +10744,7 @@ export declare class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
|
10672
10744
|
clusterId?: string;
|
|
10673
10745
|
/**
|
|
10674
10746
|
* @remarks
|
|
10675
|
-
* The ID
|
|
10747
|
+
* The request ID.
|
|
10676
10748
|
*
|
|
10677
10749
|
* @example
|
|
10678
10750
|
* bfd12953-31cb-42f1-8a36-7b80ec345094
|
|
@@ -10680,7 +10752,7 @@ export declare class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
|
10680
10752
|
requestId?: string;
|
|
10681
10753
|
/**
|
|
10682
10754
|
* @remarks
|
|
10683
|
-
* The ID
|
|
10755
|
+
* The task ID.
|
|
10684
10756
|
*
|
|
10685
10757
|
* @example
|
|
10686
10758
|
* T-62a944794ee141074400****
|
|
@@ -10749,7 +10821,7 @@ export declare class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
10749
10821
|
runtimeType?: string;
|
|
10750
10822
|
/**
|
|
10751
10823
|
* @remarks
|
|
10752
|
-
* The version of the container runtime that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime version
|
|
10824
|
+
* The version of the container runtime that is used by the nodes. You can call the [DescribeKubernetesVersionMetadata](https://help.aliyun.com/document_detail/2667899.html) operation to query the runtime version returned in the runtime parameter.
|
|
10753
10825
|
*
|
|
10754
10826
|
* @example
|
|
10755
10827
|
* 1.5.10
|
|
@@ -11496,7 +11568,25 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
11496
11568
|
});
|
|
11497
11569
|
}
|
|
11498
11570
|
export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
11571
|
+
/**
|
|
11572
|
+
* @remarks
|
|
11573
|
+
* Cluster auto-upgrade frequency. Possible values:
|
|
11574
|
+
*
|
|
11575
|
+
* - patch
|
|
11576
|
+
* - stable
|
|
11577
|
+
* - rapid
|
|
11578
|
+
*
|
|
11579
|
+
* @example
|
|
11580
|
+
* patch
|
|
11581
|
+
*/
|
|
11499
11582
|
channel?: string;
|
|
11583
|
+
/**
|
|
11584
|
+
* @remarks
|
|
11585
|
+
* Whether to enable automatic cluster upgrades.
|
|
11586
|
+
*
|
|
11587
|
+
* @example
|
|
11588
|
+
* true
|
|
11589
|
+
*/
|
|
11500
11590
|
enabled?: boolean;
|
|
11501
11591
|
static names(): {
|
|
11502
11592
|
[key: string]: string;
|
|
@@ -11509,6 +11599,10 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
11509
11599
|
});
|
|
11510
11600
|
}
|
|
11511
11601
|
export declare class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
11602
|
+
/**
|
|
11603
|
+
* @remarks
|
|
11604
|
+
* Automatic cluster upgrade
|
|
11605
|
+
*/
|
|
11512
11606
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
11513
11607
|
static names(): {
|
|
11514
11608
|
[key: string]: string;
|
|
@@ -11533,12 +11627,12 @@ export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
11533
11627
|
category?: string;
|
|
11534
11628
|
/**
|
|
11535
11629
|
* @remarks
|
|
11536
|
-
* Specifies whether to encrypt the data
|
|
11630
|
+
* Specifies whether to encrypt the data disks. Valid values:
|
|
11537
11631
|
*
|
|
11538
11632
|
* * `true`: encrypts the data disk.
|
|
11539
11633
|
* * `false`: does not encrypt the data disk.
|
|
11540
11634
|
*
|
|
11541
|
-
* Default value: `false
|
|
11635
|
+
* Default value: `false`
|
|
11542
11636
|
*
|
|
11543
11637
|
* @example
|
|
11544
11638
|
* true
|
|
@@ -11581,7 +11675,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11581
11675
|
*
|
|
11582
11676
|
* **
|
|
11583
11677
|
*
|
|
11584
|
-
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
11678
|
+
* **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
|
|
11585
11679
|
*
|
|
11586
11680
|
* @example
|
|
11587
11681
|
* 5
|
|
@@ -11602,7 +11696,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11602
11696
|
*
|
|
11603
11697
|
* **
|
|
11604
11698
|
*
|
|
11605
|
-
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
11699
|
+
* **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
|
|
11606
11700
|
*
|
|
11607
11701
|
* @example
|
|
11608
11702
|
* PayByBandwidth
|
|
@@ -11636,7 +11730,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11636
11730
|
*
|
|
11637
11731
|
* **
|
|
11638
11732
|
*
|
|
11639
|
-
* **Important** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out.
|
|
11733
|
+
* **Important** This parameter is deprecated. Use the internet_charge_type and internet_max_bandwidth_out parameters instead.
|
|
11640
11734
|
*
|
|
11641
11735
|
* @example
|
|
11642
11736
|
* true
|
|
@@ -11764,7 +11858,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11764
11858
|
cmsEnabled?: boolean;
|
|
11765
11859
|
/**
|
|
11766
11860
|
* @remarks
|
|
11767
|
-
* The CPU management policy of nodes
|
|
11861
|
+
* The CPU management policy of nodes. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
11768
11862
|
*
|
|
11769
11863
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
11770
11864
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -11777,12 +11871,12 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11777
11871
|
cpuPolicy?: string;
|
|
11778
11872
|
/**
|
|
11779
11873
|
* @remarks
|
|
11780
|
-
* The labels that you want to add to nodes in the cluster.
|
|
11874
|
+
* The labels that you want to add to the nodes in the cluster.
|
|
11781
11875
|
*/
|
|
11782
11876
|
labels?: Tag[];
|
|
11783
11877
|
/**
|
|
11784
11878
|
* @remarks
|
|
11785
|
-
*
|
|
11879
|
+
* A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
11786
11880
|
*
|
|
11787
11881
|
* * The prefix and the suffix can contain multiple parts that are separated by periods (.). Each part can contain lowercase letters, digits, and hyphens (-). A custom node name must start and end with a digit or lowercase letter.
|
|
11788
11882
|
* * The node IP address in a custom node name is the private IP address of the node.
|
|
@@ -11793,10 +11887,17 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11793
11887
|
* customized,aliyun,ip,com
|
|
11794
11888
|
*/
|
|
11795
11889
|
nodeNameMode?: string;
|
|
11890
|
+
/**
|
|
11891
|
+
* @remarks
|
|
11892
|
+
* The user-defined data of nodes. You can specify custom scripts that are automatically executed before the nodes are initialized.
|
|
11893
|
+
*
|
|
11894
|
+
* @example
|
|
11895
|
+
* dGhpcyBpcyBhIGV4YW1wbGU
|
|
11896
|
+
*/
|
|
11796
11897
|
preUserData?: string;
|
|
11797
11898
|
/**
|
|
11798
11899
|
* @remarks
|
|
11799
|
-
* The name of the container runtime. The following types of runtime are supported by
|
|
11900
|
+
* The name of the container runtime. The following types of runtime are supported by ACK:
|
|
11800
11901
|
*
|
|
11801
11902
|
* * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
|
|
11802
11903
|
* * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier.
|
|
@@ -11831,7 +11932,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11831
11932
|
unschedulable?: boolean;
|
|
11832
11933
|
/**
|
|
11833
11934
|
* @remarks
|
|
11834
|
-
* The user data
|
|
11935
|
+
* The user-defined data of nodes. You can specify custom scripts that are automatically executed after the nodes are initialized.
|
|
11835
11936
|
*
|
|
11836
11937
|
* @example
|
|
11837
11938
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -11931,9 +12032,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
11931
12032
|
* @remarks
|
|
11932
12033
|
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
11933
12034
|
*
|
|
11934
|
-
* * `asap`: high.
|
|
11935
|
-
* * `later`: medium.
|
|
11936
|
-
* * `nntf`: low.
|
|
12035
|
+
* * `asap`: high severity.
|
|
12036
|
+
* * `later`: medium severity.
|
|
12037
|
+
* * `nntf`: low severity.
|
|
11937
12038
|
*
|
|
11938
12039
|
* If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
|
|
11939
12040
|
*
|
|
@@ -11961,7 +12062,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
11961
12062
|
*
|
|
11962
12063
|
* **
|
|
11963
12064
|
*
|
|
11964
|
-
* **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter.
|
|
12065
|
+
* **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter instead.
|
|
11965
12066
|
*
|
|
11966
12067
|
* @example
|
|
11967
12068
|
* false
|
|
@@ -11971,9 +12072,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
11971
12072
|
autoUpgrade?: boolean;
|
|
11972
12073
|
/**
|
|
11973
12074
|
* @remarks
|
|
11974
|
-
* The maximum number of
|
|
12075
|
+
* The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
|
|
11975
12076
|
*
|
|
11976
|
-
* Default value: 1
|
|
12077
|
+
* Default value: 1.
|
|
11977
12078
|
*
|
|
11978
12079
|
* @example
|
|
11979
12080
|
* 1
|
|
@@ -11981,7 +12082,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
11981
12082
|
maxUnavailable?: number;
|
|
11982
12083
|
/**
|
|
11983
12084
|
* @remarks
|
|
11984
|
-
* The number of additional nodes
|
|
12085
|
+
* The number of additional nodes.
|
|
11985
12086
|
*
|
|
11986
12087
|
* @example
|
|
11987
12088
|
* 0
|
|
@@ -12150,7 +12251,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
12150
12251
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
12151
12252
|
/**
|
|
12152
12253
|
* @remarks
|
|
12153
|
-
* The private node pool
|
|
12254
|
+
* The ID of the private node pool.
|
|
12154
12255
|
*
|
|
12155
12256
|
* @example
|
|
12156
12257
|
* eap-bp67acfmxazb4****
|
|
@@ -12160,9 +12261,9 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
12160
12261
|
* @remarks
|
|
12161
12262
|
* The type of private node pool. This parameter specifies the type of private pool that you want to use to create instances. A private pool is generated when an elasticity assurance or a capacity reservation takes effect. The system selects a private pool to start instances. Valid values:
|
|
12162
12263
|
*
|
|
12163
|
-
* * `Open`: open private
|
|
12164
|
-
* * `Target`: private
|
|
12165
|
-
* * `None`:
|
|
12264
|
+
* * `Open`: uses an open private pool. The system selects an open private pool to start instances. If no matching open private pools are available, the resources in the public pool are used.
|
|
12265
|
+
* * `Target`: uses a specified private pool. The system uses the resources of the specified private pool to start instances. If the specified private pool is unavailable, instances cannot be started.
|
|
12266
|
+
* * `None`: no private pool is used. The resources of private pools are not used to launch the instances.
|
|
12166
12267
|
*
|
|
12167
12268
|
* @example
|
|
12168
12269
|
* Open
|
|
@@ -12189,7 +12290,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
12189
12290
|
instanceType?: string;
|
|
12190
12291
|
/**
|
|
12191
12292
|
* @remarks
|
|
12192
|
-
* The price cap of a preemptible instance.
|
|
12293
|
+
* The price cap of a preemptible instance of the type.
|
|
12193
12294
|
*
|
|
12194
12295
|
* @example
|
|
12195
12296
|
* 0.39
|
|
@@ -12258,7 +12359,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12258
12359
|
autoRenewPeriod?: number;
|
|
12259
12360
|
/**
|
|
12260
12361
|
* @remarks
|
|
12261
|
-
* This parameter is deprecated. Use security_hardening_os instead.
|
|
12362
|
+
* This parameter is deprecated. Use the security_hardening_os parameter instead.
|
|
12262
12363
|
*
|
|
12263
12364
|
* @example
|
|
12264
12365
|
* false
|
|
@@ -12279,7 +12380,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12279
12380
|
compensateWithOnDemand?: boolean;
|
|
12280
12381
|
/**
|
|
12281
12382
|
* @remarks
|
|
12282
|
-
* The configurations of the data disks that are
|
|
12383
|
+
* The configurations of the data disks that are attached to nodes in the node pool.
|
|
12283
12384
|
*/
|
|
12284
12385
|
dataDisks?: DataDisk[];
|
|
12285
12386
|
/**
|
|
@@ -12300,7 +12401,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12300
12401
|
desiredSize?: number;
|
|
12301
12402
|
/**
|
|
12302
12403
|
* @remarks
|
|
12303
|
-
* The custom image ID. By default, the image provided by ACK is used.
|
|
12404
|
+
* The custom image ID. By default, the image provided by Container Service for Kubernetes (ACK) is used.
|
|
12304
12405
|
*
|
|
12305
12406
|
* @example
|
|
12306
12407
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -12341,7 +12442,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12341
12442
|
instanceChargeType?: string;
|
|
12342
12443
|
/**
|
|
12343
12444
|
* @remarks
|
|
12344
|
-
* The instance
|
|
12445
|
+
* The instance properties.
|
|
12345
12446
|
*/
|
|
12346
12447
|
instancePatterns?: InstancePatterns[];
|
|
12347
12448
|
/**
|
|
@@ -12392,7 +12493,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12392
12493
|
loginAsNonRoot?: boolean;
|
|
12393
12494
|
/**
|
|
12394
12495
|
* @remarks
|
|
12395
|
-
* The password for SSH logon. You must specify this parameter or `key_pair
|
|
12496
|
+
* The password for SSH logon. You must specify this parameter or the `key_pair` parameter. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
12396
12497
|
*
|
|
12397
12498
|
* @example
|
|
12398
12499
|
* Hello1234
|
|
@@ -12404,13 +12505,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12404
12505
|
*
|
|
12405
12506
|
* * `PRIORITY`: ECS instances are scaled based on the value of VSwitchIds.N. If an ECS instance cannot be created in the zone where the vSwitch that has the highest priority resides, the system creates the ECS instance in the zone where the vSwitch that has the next highest priority resides.
|
|
12406
12507
|
*
|
|
12407
|
-
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created
|
|
12508
|
+
* * `COST_OPTIMIZED`: ECS instances are created based on the vCPU unit price in ascending order. Preemptible instances are preferably created if preemptible instance types are specified in the scaling configurations. You can set the `CompensateWithOnDemand` parameter to specify whether to automatically create pay-as-you-go instances when preemptible instances cannot be created due to insufficient inventory.
|
|
12408
12509
|
*
|
|
12409
12510
|
* **
|
|
12410
12511
|
*
|
|
12411
|
-
* **Note** `COST_OPTIMIZED`
|
|
12512
|
+
* **Note** `COST_OPTIMIZED` takes effect only when multiple instance types are specified or at least one preemptible instance type is specified.
|
|
12412
12513
|
*
|
|
12413
|
-
* * `BALANCE`: ECS instances are evenly distributed across multiple zones
|
|
12514
|
+
* * `BALANCE`: ECS instances are evenly distributed across multiple zones for the scaling group. If ECS instances become imbalanced among multiple zones due to insufficient inventory, you can call the [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html) operation of Auto Scaling to evenly distribute the ECS instances among zones.
|
|
12414
12515
|
*
|
|
12415
12516
|
* Default value: `PRIORITY`.
|
|
12416
12517
|
*
|
|
@@ -12420,7 +12521,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12420
12521
|
multiAzPolicy?: string;
|
|
12421
12522
|
/**
|
|
12422
12523
|
* @remarks
|
|
12423
|
-
* The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is
|
|
12524
|
+
* The minimum number of pay-as-you-go instances that must be kept in the scaling group. Valid values: 0 to 1000. If the number of pay-as-you-go instances is less than the value of this parameter, the system preferably creates pay-as-you-go instances.
|
|
12424
12525
|
*
|
|
12425
12526
|
* @example
|
|
12426
12527
|
* 0
|
|
@@ -12460,7 +12561,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12460
12561
|
periodUnit?: string;
|
|
12461
12562
|
/**
|
|
12462
12563
|
* @remarks
|
|
12463
|
-
* The
|
|
12564
|
+
* The operating system distribution. Valid values:
|
|
12464
12565
|
*
|
|
12465
12566
|
* * `CentOS`
|
|
12466
12567
|
* * `AliyunLinux`
|
|
@@ -12482,7 +12583,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12482
12583
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
12483
12584
|
/**
|
|
12484
12585
|
* @remarks
|
|
12485
|
-
* The name of the worker
|
|
12586
|
+
* The name of the worker RAM role.
|
|
12486
12587
|
*
|
|
12487
12588
|
* * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
|
|
12488
12589
|
* * The specified RAM role must be a **regular service role** and the **Select Trusted Service** parameter must be set to **Elastic Compute Service**. For more information, see [Create a normal service role](https://help.aliyun.com/document_detail/116800.html). If the specified RAM role is not the default worker RAM role created by the cluster, the name of the RAM role cannot start with `KubernetesMasterRole-` or `KubernetesWorkerRole-`.
|
|
@@ -12504,7 +12605,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12504
12605
|
* @remarks
|
|
12505
12606
|
* The scaling mode of the scaling group. Valid values:
|
|
12506
12607
|
*
|
|
12507
|
-
* * `release`: the standard mode. ECS instances are created and released based on resource usage.
|
|
12608
|
+
* * `release`: the standard mode. ECS instances are created and released based on the resource usage.
|
|
12508
12609
|
* * `recycle`: the swift mode. ECS instances are created, stopped, or started during scaling events. This reduces the time required for the next scale-out event. When the instance is stopped, you are charged only for the storage service. This does not apply to ECS instances that are attached with local disks.
|
|
12509
12610
|
*
|
|
12510
12611
|
* Default value: `release`.
|
|
@@ -12540,7 +12641,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12540
12641
|
securityHardeningOs?: boolean;
|
|
12541
12642
|
/**
|
|
12542
12643
|
* @remarks
|
|
12543
|
-
* Specifies whether to enable MLPS Security Hardening. You can enable
|
|
12644
|
+
* Specifies whether to enable MLPS Security Hardening. You can enable security hardening based on Multi-Level Protection Scheme (MLPS) only when Alibaba Cloud Linux 2 or Alibaba Cloud Linux 3 is installed on nodes. Alibaba Cloud provides standards for baseline checks and a scanner to ensure the compliance of Alibaba Cloud Linux 2 and Alibaba Cloud Linux 3 images with the level 3 standards of MLPS 2.0.
|
|
12544
12645
|
*
|
|
12545
12646
|
* @example
|
|
12546
12647
|
* false
|
|
@@ -12556,10 +12657,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12556
12657
|
spotInstancePools?: number;
|
|
12557
12658
|
/**
|
|
12558
12659
|
* @remarks
|
|
12559
|
-
* Specifies whether to
|
|
12660
|
+
* Specifies whether to enable the supplementation of preemptible instances. If you set this parameter to true, when the scaling group receives a system message indicating that a preemptible instance is to be reclaimed, the scaling group attempts to create a new instance to replace this instance. Valid values:
|
|
12560
12661
|
*
|
|
12561
|
-
* * `true`:
|
|
12562
|
-
* * `false`:
|
|
12662
|
+
* * `true`: enables the supplementation of preemptible instances.
|
|
12663
|
+
* * `false`: disables the supplementation of preemptible instances.
|
|
12563
12664
|
*
|
|
12564
12665
|
* @example
|
|
12565
12666
|
* false
|
|
@@ -12575,10 +12676,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12575
12676
|
* The bidding policy of preemptible instances. Valid values:
|
|
12576
12677
|
*
|
|
12577
12678
|
* * `NoSpot`: non-preemptible.
|
|
12578
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
12679
|
+
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
12579
12680
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
12580
12681
|
*
|
|
12581
|
-
* For more information, see [
|
|
12682
|
+
* For more information, see [Use preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
12582
12683
|
*
|
|
12583
12684
|
* @example
|
|
12584
12685
|
* NoSpot
|
|
@@ -12599,7 +12700,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12599
12700
|
systemDiskBurstingEnabled?: boolean;
|
|
12600
12701
|
/**
|
|
12601
12702
|
* @remarks
|
|
12602
|
-
* The system disk
|
|
12703
|
+
* The categories of the system disk for nodes. The system attempts to create system disks of a disk category with a lower priority if the disk category with a higher priority is unavailable. Valid values: Valid values:
|
|
12603
12704
|
*
|
|
12604
12705
|
* * `cloud`: basic disk.
|
|
12605
12706
|
* * `cloud_efficiency`: ultra disk.
|
|
@@ -12611,7 +12712,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12611
12712
|
systemDiskCategories?: string[];
|
|
12612
12713
|
/**
|
|
12613
12714
|
* @remarks
|
|
12614
|
-
* The system disk
|
|
12715
|
+
* The category of the system disk for nodes. Valid values:
|
|
12615
12716
|
*
|
|
12616
12717
|
* * `cloud`: basic disk.
|
|
12617
12718
|
* * `cloud_efficiency`: ultra disk.
|
|
@@ -12669,7 +12770,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12669
12770
|
* @remarks
|
|
12670
12771
|
* The preset read/write IOPS of the system disk. Valid values: 0 to min{50,000, 1,000 × Capacity - Baseline IOPS} Baseline IOPS = min{1,800 + 50 × Capacity, 50,000}.
|
|
12671
12772
|
*
|
|
12672
|
-
* This parameter is
|
|
12773
|
+
* This parameter is supported only when `SystemDiskCategory` is set to `cloud_auto`. For more information, see [ESSD AutoPL disks](https://help.aliyun.com/document_detail/368372.html).
|
|
12673
12774
|
*
|
|
12674
12775
|
* @example
|
|
12675
12776
|
* 1000
|
|
@@ -12689,7 +12790,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12689
12790
|
* @remarks
|
|
12690
12791
|
* The labels that you want to add only to ECS instances.
|
|
12691
12792
|
*
|
|
12692
|
-
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs:
|
|
12793
|
+
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: or contain https:// or http://.
|
|
12693
12794
|
*/
|
|
12694
12795
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
12695
12796
|
/**
|
|
@@ -12885,7 +12986,27 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
|
|
|
12885
12986
|
});
|
|
12886
12987
|
}
|
|
12887
12988
|
export declare class DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
12989
|
+
/**
|
|
12990
|
+
* @remarks
|
|
12991
|
+
* The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
12992
|
+
*
|
|
12993
|
+
* Valid values:
|
|
12994
|
+
*
|
|
12995
|
+
* * patch: specifies the latest patch version.
|
|
12996
|
+
* * stable: specifies the second-latest minor version.
|
|
12997
|
+
* * rapid: specifies the latest minor version.
|
|
12998
|
+
*
|
|
12999
|
+
* @example
|
|
13000
|
+
* patch
|
|
13001
|
+
*/
|
|
12888
13002
|
channel?: string;
|
|
13003
|
+
/**
|
|
13004
|
+
* @remarks
|
|
13005
|
+
* Specifies whether to enable auto cluster update.
|
|
13006
|
+
*
|
|
13007
|
+
* @example
|
|
13008
|
+
* true
|
|
13009
|
+
*/
|
|
12889
13010
|
enabled?: boolean;
|
|
12890
13011
|
static names(): {
|
|
12891
13012
|
[key: string]: string;
|
|
@@ -12898,6 +13019,10 @@ export declare class DescribeClusterDetailResponseBodyOperationPolicyClusterAuto
|
|
|
12898
13019
|
});
|
|
12899
13020
|
}
|
|
12900
13021
|
export declare class DescribeClusterDetailResponseBodyOperationPolicy extends $tea.Model {
|
|
13022
|
+
/**
|
|
13023
|
+
* @remarks
|
|
13024
|
+
* The configurations of auto cluster update.
|
|
13025
|
+
*/
|
|
12901
13026
|
clusterAutoUpgrade?: DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade;
|
|
12902
13027
|
static names(): {
|
|
12903
13028
|
[key: string]: string;
|
|
@@ -13296,6 +13421,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13296
13421
|
* customized,test.,5,.com
|
|
13297
13422
|
*/
|
|
13298
13423
|
nodeNameMode?: string;
|
|
13424
|
+
/**
|
|
13425
|
+
* @remarks
|
|
13426
|
+
* The custom script to be executed before nodes in the node pool are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
13427
|
+
*/
|
|
13299
13428
|
preUserData?: string;
|
|
13300
13429
|
/**
|
|
13301
13430
|
* @remarks
|
|
@@ -13328,7 +13457,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13328
13457
|
unschedulable?: boolean;
|
|
13329
13458
|
/**
|
|
13330
13459
|
* @remarks
|
|
13331
|
-
* The
|
|
13460
|
+
* The custom script to be executed after nodes in the node pool are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
13332
13461
|
*
|
|
13333
13462
|
* @example
|
|
13334
13463
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -14393,7 +14522,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14393
14522
|
cpuPolicy?: string;
|
|
14394
14523
|
/**
|
|
14395
14524
|
* @remarks
|
|
14396
|
-
* The labels that
|
|
14525
|
+
* The labels that are added to the nodes in the cluster. You must add labels based on the following rules:
|
|
14397
14526
|
*
|
|
14398
14527
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
14399
14528
|
* * The key must be unique and can be up to 64 characters in length. The value can be empty and can be up to 128 characters in length. Keys and 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).
|
|
@@ -14412,6 +14541,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14412
14541
|
* customized,test.,5,.com
|
|
14413
14542
|
*/
|
|
14414
14543
|
nodeNameMode?: string;
|
|
14544
|
+
/**
|
|
14545
|
+
* @remarks
|
|
14546
|
+
* The user-defined script that is executed before nodes are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
14547
|
+
*
|
|
14548
|
+
* @example
|
|
14549
|
+
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD
|
|
14550
|
+
*/
|
|
14415
14551
|
preUserData?: string;
|
|
14416
14552
|
/**
|
|
14417
14553
|
* @remarks
|
|
@@ -14431,7 +14567,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14431
14567
|
runtimeVersion?: string;
|
|
14432
14568
|
/**
|
|
14433
14569
|
* @remarks
|
|
14434
|
-
* The taints of the nodes in the node pool. Taints can be used together with tolerations to prevent pods from being scheduled to
|
|
14570
|
+
* The taints of the nodes in the node pool. Taints can be used together with tolerations to prevent pods from being scheduled to specific nodes. For more information, see [taint-and-toleration](https://kubernetes.io/zh/docs/concepts/scheduling-eviction/taint-and-toleration/).
|
|
14435
14571
|
*/
|
|
14436
14572
|
taints?: Taint[];
|
|
14437
14573
|
/**
|
|
@@ -14444,7 +14580,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14444
14580
|
unschedulable?: boolean;
|
|
14445
14581
|
/**
|
|
14446
14582
|
* @remarks
|
|
14447
|
-
* The user
|
|
14583
|
+
* The user-defined script that is executed after nodes are initialized. For more information, see [Generate user-defined data](https://help.aliyun.com/document_detail/49121.html).
|
|
14448
14584
|
*
|
|
14449
14585
|
* @example
|
|
14450
14586
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -14647,7 +14783,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
14647
14783
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig extends $tea.Model {
|
|
14648
14784
|
/**
|
|
14649
14785
|
* @remarks
|
|
14650
|
-
* The
|
|
14786
|
+
* The configurations of the kubelet.
|
|
14651
14787
|
*/
|
|
14652
14788
|
kubeletConfiguration?: KubeletConfig;
|
|
14653
14789
|
static names(): {
|
|
@@ -14896,7 +15032,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
14896
15032
|
instanceChargeType?: string;
|
|
14897
15033
|
/**
|
|
14898
15034
|
* @remarks
|
|
14899
|
-
*
|
|
15035
|
+
* The attributes of an instance.
|
|
14900
15036
|
*/
|
|
14901
15037
|
instancePatterns?: InstancePatterns[];
|
|
14902
15038
|
/**
|
|
@@ -15142,7 +15278,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15142
15278
|
systemDiskBurstingEnabled?: boolean;
|
|
15143
15279
|
/**
|
|
15144
15280
|
* @remarks
|
|
15145
|
-
* The system
|
|
15281
|
+
* The types of system disks. The system attempts to create system disks of a disk type with a lower priority if the disk type with a higher priority is unavailable. Valid values: Valid values: cloud (basic disk), cloud_efficiency (ultra disk), cloud_ssd (standard SSD), cloud_essd (Enterprise SSD).
|
|
15146
15282
|
*/
|
|
15147
15283
|
systemDiskCategories?: string[];
|
|
15148
15284
|
/**
|
|
@@ -15158,7 +15294,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15158
15294
|
systemDiskCategory?: string;
|
|
15159
15295
|
/**
|
|
15160
15296
|
* @remarks
|
|
15161
|
-
* The algorithm that
|
|
15297
|
+
* The encryption algorithm that is used to encrypt the system disk. The value is aes-256.
|
|
15162
15298
|
*
|
|
15163
15299
|
* @example
|
|
15164
15300
|
* aes-256
|
|
@@ -15211,7 +15347,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15211
15347
|
systemDiskSize?: number;
|
|
15212
15348
|
/**
|
|
15213
15349
|
* @remarks
|
|
15214
|
-
* The
|
|
15350
|
+
* The labels that you want to add only to Elastic Compute Service (ECS) instances.
|
|
15215
15351
|
*
|
|
15216
15352
|
* The tag key must be unique and cannot exceed 128 characters in length. The tag key and value must not start with aliyun or acs: or contain https:// or http://.
|
|
15217
15353
|
*/
|
|
@@ -15387,7 +15523,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.
|
|
|
15387
15523
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
15388
15524
|
/**
|
|
15389
15525
|
* @remarks
|
|
15390
|
-
* The
|
|
15526
|
+
* The configurations of the scaling group.
|
|
15391
15527
|
*/
|
|
15392
15528
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
15393
15529
|
/**
|
|
@@ -16088,7 +16224,27 @@ export declare class DescribeClustersResponseBody extends $tea.Model {
|
|
|
16088
16224
|
});
|
|
16089
16225
|
}
|
|
16090
16226
|
export declare class DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade extends $tea.Model {
|
|
16227
|
+
/**
|
|
16228
|
+
* @remarks
|
|
16229
|
+
* The frequency of auto cluster updates. For more information, see [Update frequency](https://help.aliyun.com/document_detail/2712866.html).
|
|
16230
|
+
*
|
|
16231
|
+
* Valid values:
|
|
16232
|
+
*
|
|
16233
|
+
* * patch: the latest patch version.
|
|
16234
|
+
* * stables: the second-latest minor version.
|
|
16235
|
+
* * rapid: the latest minor version.
|
|
16236
|
+
*
|
|
16237
|
+
* @example
|
|
16238
|
+
* patch
|
|
16239
|
+
*/
|
|
16091
16240
|
channel?: string;
|
|
16241
|
+
/**
|
|
16242
|
+
* @remarks
|
|
16243
|
+
* Specifies whether to enable auto cluster update.
|
|
16244
|
+
*
|
|
16245
|
+
* @example
|
|
16246
|
+
* true
|
|
16247
|
+
*/
|
|
16092
16248
|
enabled?: boolean;
|
|
16093
16249
|
static names(): {
|
|
16094
16250
|
[key: string]: string;
|
|
@@ -16101,6 +16257,10 @@ export declare class DescribeClustersV1ResponseBodyClustersOperationPolicyCluste
|
|
|
16101
16257
|
});
|
|
16102
16258
|
}
|
|
16103
16259
|
export declare class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
|
|
16260
|
+
/**
|
|
16261
|
+
* @remarks
|
|
16262
|
+
* The configurations of auto cluster update.
|
|
16263
|
+
*/
|
|
16104
16264
|
clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
|
|
16105
16265
|
static names(): {
|
|
16106
16266
|
[key: string]: string;
|
|
@@ -16114,6 +16274,9 @@ export declare class DescribeClustersV1ResponseBodyClustersOperationPolicy exten
|
|
|
16114
16274
|
}
|
|
16115
16275
|
export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
16116
16276
|
/**
|
|
16277
|
+
* @remarks
|
|
16278
|
+
* The domain name of the cluster.
|
|
16279
|
+
*
|
|
16117
16280
|
* @example
|
|
16118
16281
|
* cluster.local
|
|
16119
16282
|
*/
|
|
@@ -16148,6 +16311,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16148
16311
|
*/
|
|
16149
16312
|
clusterType?: string;
|
|
16150
16313
|
/**
|
|
16314
|
+
* @remarks
|
|
16315
|
+
* The pod CIDR block.
|
|
16316
|
+
*
|
|
16151
16317
|
* @example
|
|
16152
16318
|
* 172.20.0.0/16
|
|
16153
16319
|
*/
|
|
@@ -16208,6 +16374,12 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16208
16374
|
*/
|
|
16209
16375
|
initVersion?: string;
|
|
16210
16376
|
/**
|
|
16377
|
+
* @remarks
|
|
16378
|
+
* The IP stack of the cluster. Valid values:
|
|
16379
|
+
*
|
|
16380
|
+
* * ipv4: The cluster is an IPv4 cluster.
|
|
16381
|
+
* * dual: The cluster is a dual-stack cluster.
|
|
16382
|
+
*
|
|
16211
16383
|
* @example
|
|
16212
16384
|
* ipv4
|
|
16213
16385
|
*/
|
|
@@ -16264,6 +16436,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16264
16436
|
* 1.18.8-aliyun.1
|
|
16265
16437
|
*/
|
|
16266
16438
|
nextVersion?: string;
|
|
16439
|
+
/**
|
|
16440
|
+
* @remarks
|
|
16441
|
+
* The automatic O\\&M policy of the cluster.
|
|
16442
|
+
*/
|
|
16267
16443
|
operationPolicy?: DescribeClustersV1ResponseBodyClustersOperationPolicy;
|
|
16268
16444
|
/**
|
|
16269
16445
|
* @remarks
|
|
@@ -16290,6 +16466,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16290
16466
|
*/
|
|
16291
16467
|
profile?: string;
|
|
16292
16468
|
/**
|
|
16469
|
+
* @remarks
|
|
16470
|
+
* The kube-proxy mode. Valid values: ipvs and iptables.
|
|
16471
|
+
*
|
|
16293
16472
|
* @example
|
|
16294
16473
|
* ipvs
|
|
16295
16474
|
*/
|
|
@@ -16320,6 +16499,8 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16320
16499
|
securityGroupId?: string;
|
|
16321
16500
|
/**
|
|
16322
16501
|
* @remarks
|
|
16502
|
+
* The Service CIDR block.
|
|
16503
|
+
*
|
|
16323
16504
|
* This parameter is required.
|
|
16324
16505
|
*
|
|
16325
16506
|
* @example
|
|
@@ -16328,7 +16509,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16328
16509
|
serviceCidr?: string;
|
|
16329
16510
|
/**
|
|
16330
16511
|
* @remarks
|
|
16331
|
-
* The number of nodes in the cluster, including
|
|
16512
|
+
* The number of nodes in the cluster, including control planes and worker nodes.
|
|
16332
16513
|
*
|
|
16333
16514
|
* @example
|
|
16334
16515
|
* 5
|
|
@@ -16363,7 +16544,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16363
16544
|
*
|
|
16364
16545
|
* The pod CIDR block cannot overlap with the CIDR block of the VPC in which the cluster is deployed and the CIDR blocks of existing clusters in the VPC. You cannot modify the pod CIDR block after you create the cluster.
|
|
16365
16546
|
*
|
|
16366
|
-
* For more information about the network planning of ACK clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/86500.html).
|
|
16547
|
+
* For more information about the network planning of Container Service for Kubernetes (ACK) clusters, see [Plan CIDR blocks for an ACK cluster](https://help.aliyun.com/document_detail/86500.html).
|
|
16367
16548
|
*
|
|
16368
16549
|
* @example
|
|
16369
16550
|
* 172.21.0.0/16
|
|
@@ -16377,6 +16558,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16377
16558
|
*/
|
|
16378
16559
|
tags?: Tag[];
|
|
16379
16560
|
/**
|
|
16561
|
+
* @remarks
|
|
16562
|
+
* The time zone.
|
|
16563
|
+
*
|
|
16380
16564
|
* @example
|
|
16381
16565
|
* Asia/Shanghai
|
|
16382
16566
|
*/
|
|
@@ -16399,7 +16583,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16399
16583
|
vpcId?: string;
|
|
16400
16584
|
/**
|
|
16401
16585
|
* @remarks
|
|
16402
|
-
* The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster.
|
|
16586
|
+
* The IDs of the vSwitches. You can select one to three vSwitches when you create a cluster. To ensure the high availability of the cluster, we recommend that you select vSwitches in different zones.
|
|
16403
16587
|
*
|
|
16404
16588
|
* @example
|
|
16405
16589
|
* vsw-2vc41xuumx5z2rdma****,vsw-2vc41xuumx5z2rdma****
|
|
@@ -16407,6 +16591,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16407
16591
|
* @deprecated
|
|
16408
16592
|
*/
|
|
16409
16593
|
vswitchId?: string;
|
|
16594
|
+
/**
|
|
16595
|
+
* @remarks
|
|
16596
|
+
* The vSwitches of the control planes.
|
|
16597
|
+
*/
|
|
16410
16598
|
vswitchIds?: string[];
|
|
16411
16599
|
/**
|
|
16412
16600
|
* @remarks
|
|
@@ -16677,7 +16865,11 @@ export declare class DescribeEdgeMachinesResponseBodyPageInfo extends $tea.Model
|
|
|
16677
16865
|
export declare class DescribeEventsResponseBodyEventsData extends $tea.Model {
|
|
16678
16866
|
/**
|
|
16679
16867
|
* @remarks
|
|
16680
|
-
* The severity level of the event.
|
|
16868
|
+
* The severity level of the event. Valid values:
|
|
16869
|
+
*
|
|
16870
|
+
* * info
|
|
16871
|
+
* * warning
|
|
16872
|
+
* * error
|
|
16681
16873
|
*
|
|
16682
16874
|
* @example
|
|
16683
16875
|
* info
|
|
@@ -17031,6 +17223,9 @@ export declare class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $
|
|
|
17031
17223
|
/**
|
|
17032
17224
|
* @remarks
|
|
17033
17225
|
* Indicates whether a restart is required.
|
|
17226
|
+
*
|
|
17227
|
+
* @example
|
|
17228
|
+
* false
|
|
17034
17229
|
*/
|
|
17035
17230
|
needReboot?: boolean;
|
|
17036
17231
|
static names(): {
|
|
@@ -19114,9 +19309,9 @@ export declare class ListUserKubeConfigStatesResponseBodyStates extends $tea.Mod
|
|
|
19114
19309
|
clusterId?: string;
|
|
19115
19310
|
/**
|
|
19116
19311
|
* @remarks
|
|
19117
|
-
* The cluster
|
|
19312
|
+
* The name of the cluster.
|
|
19118
19313
|
*
|
|
19119
|
-
* The name must be 1 to 63 characters in length, and can contain digits,
|
|
19314
|
+
* The name must be 1 to 63 characters in length, and can contain digits, underscores (_), and hyphens (-). The name must start with a letter or number.
|
|
19120
19315
|
*
|
|
19121
19316
|
* @example
|
|
19122
19317
|
* cluster-demo
|
|
@@ -19132,8 +19327,6 @@ export declare class ListUserKubeConfigStatesResponseBodyStates extends $tea.Mod
|
|
|
19132
19327
|
* * `updating`: The cluster is being upgraded.
|
|
19133
19328
|
* * `updating_failed`: The cluster failed to be updated.
|
|
19134
19329
|
* * `scaling`: The cluster is being scaled.
|
|
19135
|
-
* * `waiting`: The cluster is waiting for connection requests.
|
|
19136
|
-
* * `disconnected`: The cluster is disconnected.
|
|
19137
19330
|
* * `stopped`: The cluster is stopped.
|
|
19138
19331
|
* * `deleting`: The cluster is being deleted.
|
|
19139
19332
|
* * `deleted`: The cluster is deleted.
|
|
@@ -19336,7 +19529,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19336
19529
|
* Specifies whether to enable auto scaling. Valid values:
|
|
19337
19530
|
*
|
|
19338
19531
|
* * `true`: enables auto scaling for the node pool.
|
|
19339
|
-
* * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in
|
|
19532
|
+
* * `false`: disables auto scaling for the node pool. If you set this parameter to false, other parameters in `auto_scaling` do not take effect.
|
|
19340
19533
|
*
|
|
19341
19534
|
* Default value: `false`.
|
|
19342
19535
|
*
|
|
@@ -19377,7 +19570,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19377
19570
|
minInstances?: number;
|
|
19378
19571
|
/**
|
|
19379
19572
|
* @remarks
|
|
19380
|
-
* The instance
|
|
19573
|
+
* The instance type that is used for auto scaling. Valid values:
|
|
19381
19574
|
*
|
|
19382
19575
|
* * `cpu`: regular instance.
|
|
19383
19576
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -19418,7 +19611,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19418
19611
|
cmsEnabled?: boolean;
|
|
19419
19612
|
/**
|
|
19420
19613
|
* @remarks
|
|
19421
|
-
* The CPU management policy of nodes
|
|
19614
|
+
* The CPU management policy of nodes. The following policies are supported if the Kubernetes version of the cluster is 1.12.6 or later:
|
|
19422
19615
|
*
|
|
19423
19616
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
19424
19617
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -19437,6 +19630,13 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19437
19630
|
* * The key must be unique and cannot exceed 64 characters in length. The value can be empty and cannot exceed 128 characters in length. Keys and 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).
|
|
19438
19631
|
*/
|
|
19439
19632
|
labels?: Tag[];
|
|
19633
|
+
/**
|
|
19634
|
+
* @remarks
|
|
19635
|
+
* The user-defined script that is executed before nodes are initialized. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
|
|
19636
|
+
*
|
|
19637
|
+
* @example
|
|
19638
|
+
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
19639
|
+
*/
|
|
19440
19640
|
preUserData?: string;
|
|
19441
19641
|
/**
|
|
19442
19642
|
* @remarks
|
|
@@ -19469,7 +19669,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19469
19669
|
unschedulable?: boolean;
|
|
19470
19670
|
/**
|
|
19471
19671
|
* @remarks
|
|
19472
|
-
* The user
|
|
19672
|
+
* The user-defined script that is executed after nodes are initialized. For more information, see [Prepare user data](https://help.aliyun.com/document_detail/49121.html).
|
|
19473
19673
|
*
|
|
19474
19674
|
* @example
|
|
19475
19675
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -19601,7 +19801,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19601
19801
|
*
|
|
19602
19802
|
* Valid values: 1 to 1000.
|
|
19603
19803
|
*
|
|
19604
|
-
* Default value: 1
|
|
19804
|
+
* Default value: 1.
|
|
19605
19805
|
*
|
|
19606
19806
|
* @example
|
|
19607
19807
|
* 1
|
|
@@ -19656,7 +19856,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19656
19856
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
19657
19857
|
/**
|
|
19658
19858
|
* @remarks
|
|
19659
|
-
*
|
|
19859
|
+
* Indicates whether auto update is enabled. Valid values:
|
|
19660
19860
|
*
|
|
19661
19861
|
* * `true`: enables auto update.
|
|
19662
19862
|
* * `false`: disables auto update.
|
|
@@ -19779,7 +19979,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
19779
19979
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
19780
19980
|
/**
|
|
19781
19981
|
* @remarks
|
|
19782
|
-
* The
|
|
19982
|
+
* The price cap of a preemptible instance.
|
|
19783
19983
|
*
|
|
19784
19984
|
* @example
|
|
19785
19985
|
* ecs.c6.large
|
|
@@ -19833,7 +20033,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19833
20033
|
* @remarks
|
|
19834
20034
|
* Specifies whether to automatically create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created due to reasons such as the cost or insufficient inventory. This parameter takes effect only when you set `multi_az_policy` to `COST_OPTIMIZED`. Valid values:
|
|
19835
20035
|
*
|
|
19836
|
-
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created
|
|
20036
|
+
* * `true`: automatically creates pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
19837
20037
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
19838
20038
|
*
|
|
19839
20039
|
* @example
|
|
@@ -19904,10 +20104,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19904
20104
|
instanceTypes?: string[];
|
|
19905
20105
|
/**
|
|
19906
20106
|
* @remarks
|
|
19907
|
-
* The
|
|
20107
|
+
* The metering method of the public IP address. Valid values:
|
|
19908
20108
|
*
|
|
19909
20109
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
19910
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
20110
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
19911
20111
|
*
|
|
19912
20112
|
* @example
|
|
19913
20113
|
* PayByBandwidth
|
|
@@ -19923,7 +20123,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19923
20123
|
internetMaxBandwidthOut?: number;
|
|
19924
20124
|
/**
|
|
19925
20125
|
* @remarks
|
|
19926
|
-
* The name of the key pair. You must specify this parameter or
|
|
20126
|
+
* The name of the key pair. You must specify this parameter or `login_password`. You must specify the `key_pair` parameter if the node pool is a managed node pool.
|
|
19927
20127
|
*
|
|
19928
20128
|
* @example
|
|
19929
20129
|
* pro-nodepool
|
|
@@ -19931,7 +20131,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19931
20131
|
keyPair?: string;
|
|
19932
20132
|
/**
|
|
19933
20133
|
* @remarks
|
|
19934
|
-
* The password for SSH logon. You must specify this parameter or
|
|
20134
|
+
* The password for SSH logon. You must specify this parameter or `key_pair`. The password must be 8 to 30 characters in length, and must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
|
|
19935
20135
|
*
|
|
19936
20136
|
* @example
|
|
19937
20137
|
* Hello1234
|
|
@@ -20012,12 +20212,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20012
20212
|
platform?: string;
|
|
20013
20213
|
/**
|
|
20014
20214
|
* @remarks
|
|
20015
|
-
* The
|
|
20215
|
+
* The configuration of the private node pool.
|
|
20016
20216
|
*/
|
|
20017
20217
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
20018
20218
|
/**
|
|
20019
20219
|
* @remarks
|
|
20020
|
-
*
|
|
20220
|
+
* The ApsaraDB RDS instances.
|
|
20021
20221
|
*/
|
|
20022
20222
|
rdsInstances?: string[];
|
|
20023
20223
|
/**
|
|
@@ -20084,10 +20284,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20084
20284
|
systemDiskCategories?: string[];
|
|
20085
20285
|
/**
|
|
20086
20286
|
* @remarks
|
|
20087
|
-
* The type of
|
|
20287
|
+
* The type of system disk. Valid values:
|
|
20088
20288
|
*
|
|
20089
20289
|
* * `cloud_efficiency`: ultra disk.
|
|
20090
|
-
* * `cloud_ssd`: standard SSD
|
|
20290
|
+
* * `cloud_ssd`: standard SSD
|
|
20091
20291
|
*
|
|
20092
20292
|
* Default value: `cloud_ssd`.
|
|
20093
20293
|
*
|
|
@@ -20097,7 +20297,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20097
20297
|
systemDiskCategory?: string;
|
|
20098
20298
|
/**
|
|
20099
20299
|
* @remarks
|
|
20100
|
-
* The encryption algorithm that is used by the system disk.
|
|
20300
|
+
* The encryption algorithm that is used by the system disk. The value is aes-256.
|
|
20101
20301
|
*
|
|
20102
20302
|
* @example
|
|
20103
20303
|
* aes-256
|
|
@@ -20105,7 +20305,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20105
20305
|
systemDiskEncryptAlgorithm?: string;
|
|
20106
20306
|
/**
|
|
20107
20307
|
* @remarks
|
|
20108
|
-
*
|
|
20308
|
+
* Indicates whether the system disk is encrypted. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
20109
20309
|
*
|
|
20110
20310
|
* @example
|
|
20111
20311
|
* false
|
|
@@ -20151,7 +20351,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20151
20351
|
systemDiskSize?: number;
|
|
20152
20352
|
/**
|
|
20153
20353
|
* @remarks
|
|
20154
|
-
* The
|
|
20354
|
+
* The tags that you want to add only to ECS instances.
|
|
20155
20355
|
*
|
|
20156
20356
|
* The label key must be unique and cannot exceed 128 characters in length. The label key and value cannot start with aliyun or acs: or contain https:// or http://.
|
|
20157
20357
|
*/
|
|
@@ -20198,6 +20398,10 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
20198
20398
|
});
|
|
20199
20399
|
}
|
|
20200
20400
|
export declare class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
|
|
20401
|
+
/**
|
|
20402
|
+
* @remarks
|
|
20403
|
+
* sysctl parameter configuration
|
|
20404
|
+
*/
|
|
20201
20405
|
sysctl?: {
|
|
20202
20406
|
[key: string]: any;
|
|
20203
20407
|
};
|
|
@@ -20296,7 +20500,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20296
20500
|
autoSnapshotPolicyId?: string;
|
|
20297
20501
|
/**
|
|
20298
20502
|
* @remarks
|
|
20299
|
-
* The data disk
|
|
20503
|
+
* The type of the data disk.
|
|
20300
20504
|
*
|
|
20301
20505
|
* @example
|
|
20302
20506
|
* cloud_essd
|
|
@@ -20304,7 +20508,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20304
20508
|
category?: string;
|
|
20305
20509
|
/**
|
|
20306
20510
|
* @remarks
|
|
20307
|
-
* Specifies whether to encrypt the data
|
|
20511
|
+
* Specifies whether to encrypt the data disks. Valid values:
|
|
20308
20512
|
*
|
|
20309
20513
|
* * `true`: encrypts the data disk.
|
|
20310
20514
|
* * `false`: does not encrypt the data disk.
|
|
@@ -20317,7 +20521,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20317
20521
|
encrypted?: string;
|
|
20318
20522
|
/**
|
|
20319
20523
|
* @remarks
|
|
20320
|
-
* The data disk
|
|
20524
|
+
* The size of the data disk. Valid values: 40 to 32767.
|
|
20321
20525
|
*
|
|
20322
20526
|
* @example
|
|
20323
20527
|
* 120
|
|
@@ -20519,7 +20723,7 @@ export declare class UpgradeClusterNodepoolRequestRollingPolicy extends $tea.Mod
|
|
|
20519
20723
|
batchInterval?: number;
|
|
20520
20724
|
/**
|
|
20521
20725
|
* @remarks
|
|
20522
|
-
* The maximum number of
|
|
20726
|
+
* The maximum number of nodes per batch.
|
|
20523
20727
|
*
|
|
20524
20728
|
* @example
|
|
20525
20729
|
* 3
|
|
@@ -20723,9 +20927,9 @@ export default class Client extends OpenApi {
|
|
|
20723
20927
|
* You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
|
|
20724
20928
|
*
|
|
20725
20929
|
* @remarks
|
|
20726
|
-
*
|
|
20727
|
-
*
|
|
20728
|
-
*
|
|
20930
|
+
* > - To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
20931
|
+
* > - You cannot revoke the permissions of an Alibaba Cloud account.
|
|
20932
|
+
* > - You cannot revoke the permissions of the account that you use to call this operation.
|
|
20729
20933
|
*
|
|
20730
20934
|
* @param tmpReq - CleanUserPermissionsRequest
|
|
20731
20935
|
* @param headers - map
|
|
@@ -20739,9 +20943,9 @@ export default class Client extends OpenApi {
|
|
|
20739
20943
|
* You can call the CleanUserPermissions operation to delete the kubeconfig files of the specified users and revoke the relevant Role-Based Access Control (RBAC) permissions. This API operation is suitable for scenarios where employees have resigned or the accounts of employees are locked.
|
|
20740
20944
|
*
|
|
20741
20945
|
* @remarks
|
|
20742
|
-
*
|
|
20743
|
-
*
|
|
20744
|
-
*
|
|
20946
|
+
* > - To call this operation, make sure that you have the AliyunCSFullAccess permission.
|
|
20947
|
+
* > - You cannot revoke the permissions of an Alibaba Cloud account.
|
|
20948
|
+
* > - You cannot revoke the permissions of the account that you use to call this operation.
|
|
20745
20949
|
*
|
|
20746
20950
|
* @param request - CleanUserPermissionsRequest
|
|
20747
20951
|
* @returns CleanUserPermissionsResponse
|
|
@@ -20820,7 +21024,7 @@ export default class Client extends OpenApi {
|
|
|
20820
21024
|
*/
|
|
20821
21025
|
createClusterDiagnosis(clusterId: string, request: CreateClusterDiagnosisRequest): Promise<CreateClusterDiagnosisResponse>;
|
|
20822
21026
|
/**
|
|
20823
|
-
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O
|
|
21027
|
+
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
|
|
20824
21028
|
*
|
|
20825
21029
|
* @param request - CreateClusterNodePoolRequest
|
|
20826
21030
|
* @param headers - map
|
|
@@ -20831,7 +21035,7 @@ export default class Client extends OpenApi {
|
|
|
20831
21035
|
[key: string]: string;
|
|
20832
21036
|
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterNodePoolResponse>;
|
|
20833
21037
|
/**
|
|
20834
|
-
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O
|
|
21038
|
+
* Creates a node pool for a Container Service for Kubernetes (ACK) cluster. You can use node pools to facilitate node management. For example, you can schedule, configure, or maintain nodes by node pool, and enable auto scaling for a node pool. We recommend that you use a managed node pool, which can help automate specific O\\\\\\&M tasks for nodes, such as Common Vulnerabilities and Exposures (CVE) patching and node repair. This reduces your O\\\\\\&M workload.
|
|
20835
21039
|
*
|
|
20836
21040
|
* @param request - CreateClusterNodePoolRequest
|
|
20837
21041
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -21333,7 +21537,7 @@ export default class Client extends OpenApi {
|
|
|
21333
21537
|
*/
|
|
21334
21538
|
describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<DescribeClusterNodePoolDetailResponse>;
|
|
21335
21539
|
/**
|
|
21336
|
-
* Queries node pools in a
|
|
21540
|
+
* Queries the information about all node pools in a cluster.
|
|
21337
21541
|
*
|
|
21338
21542
|
* @param request - DescribeClusterNodePoolsRequest
|
|
21339
21543
|
* @param headers - map
|
|
@@ -21344,14 +21548,14 @@ export default class Client extends OpenApi {
|
|
|
21344
21548
|
[key: string]: string;
|
|
21345
21549
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse>;
|
|
21346
21550
|
/**
|
|
21347
|
-
* Queries node pools in a
|
|
21551
|
+
* Queries the information about all node pools in a cluster.
|
|
21348
21552
|
*
|
|
21349
21553
|
* @param request - DescribeClusterNodePoolsRequest
|
|
21350
21554
|
* @returns DescribeClusterNodePoolsResponse
|
|
21351
21555
|
*/
|
|
21352
21556
|
describeClusterNodePools(ClusterId: string, request: DescribeClusterNodePoolsRequest): Promise<DescribeClusterNodePoolsResponse>;
|
|
21353
21557
|
/**
|
|
21354
|
-
*
|
|
21558
|
+
* null
|
|
21355
21559
|
*
|
|
21356
21560
|
* @param request - DescribeClusterNodesRequest
|
|
21357
21561
|
* @param headers - map
|
|
@@ -21362,7 +21566,7 @@ export default class Client extends OpenApi {
|
|
|
21362
21566
|
[key: string]: string;
|
|
21363
21567
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodesResponse>;
|
|
21364
21568
|
/**
|
|
21365
|
-
*
|
|
21569
|
+
* null
|
|
21366
21570
|
*
|
|
21367
21571
|
* @param request - DescribeClusterNodesRequest
|
|
21368
21572
|
* @returns DescribeClusterNodesResponse
|
|
@@ -21569,7 +21773,7 @@ export default class Client extends OpenApi {
|
|
|
21569
21773
|
*/
|
|
21570
21774
|
describeEdgeMachines(request: DescribeEdgeMachinesRequest): Promise<DescribeEdgeMachinesResponse>;
|
|
21571
21775
|
/**
|
|
21572
|
-
* Queries detailed information about a type of events, including the severity level, status, and
|
|
21776
|
+
* Queries the detailed information about a type of events, including the severity level, status, and time. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
21573
21777
|
*
|
|
21574
21778
|
* @param request - DescribeEventsRequest
|
|
21575
21779
|
* @param headers - map
|
|
@@ -21580,7 +21784,7 @@ export default class Client extends OpenApi {
|
|
|
21580
21784
|
[key: string]: string;
|
|
21581
21785
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeEventsResponse>;
|
|
21582
21786
|
/**
|
|
21583
|
-
* Queries detailed information about a type of events, including the severity level, status, and
|
|
21787
|
+
* Queries the detailed information about a type of events, including the severity level, status, and time. Events are generated when clusters are created, modified, and updated, node pools are created and scaled out, and components are installed.
|
|
21584
21788
|
*
|
|
21585
21789
|
* @param request - DescribeEventsRequest
|
|
21586
21790
|
* @returns DescribeEventsResponse
|
|
@@ -21647,7 +21851,7 @@ export default class Client extends OpenApi {
|
|
|
21647
21851
|
*/
|
|
21648
21852
|
describeNodePoolVuls(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest): Promise<DescribeNodePoolVulsResponse>;
|
|
21649
21853
|
/**
|
|
21650
|
-
* Queries
|
|
21854
|
+
* Queries a list of security policies. Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment.
|
|
21651
21855
|
*
|
|
21652
21856
|
* @param headers - map
|
|
21653
21857
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21657,7 +21861,7 @@ export default class Client extends OpenApi {
|
|
|
21657
21861
|
[key: string]: string;
|
|
21658
21862
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePoliciesResponse>;
|
|
21659
21863
|
/**
|
|
21660
|
-
* Queries
|
|
21864
|
+
* Queries a list of security policies. Container Service for Kubernetes (ACK) clusters offer a variety of built-in container security policies, such as Compliance, Infra, K8s-general, and pod security policy (PSP). You can use these policies to ensure the security of containers running in a production environment.
|
|
21661
21865
|
* @returns DescribePoliciesResponse
|
|
21662
21866
|
*/
|
|
21663
21867
|
describePolicies(): Promise<DescribePoliciesResponse>;
|
|
@@ -21954,6 +22158,8 @@ export default class Client extends OpenApi {
|
|
|
21954
22158
|
*/
|
|
21955
22159
|
getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse>;
|
|
21956
22160
|
/**
|
|
22161
|
+
* You can call the GetClusterAuditProject operation to query the Simple Log Service (SLS) project that stores the audit logs of the API server of a cluster.
|
|
22162
|
+
*
|
|
21957
22163
|
* @param headers - map
|
|
21958
22164
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
21959
22165
|
* @returns GetClusterAuditProjectResponse
|
|
@@ -21962,6 +22168,7 @@ export default class Client extends OpenApi {
|
|
|
21962
22168
|
[key: string]: string;
|
|
21963
22169
|
}, runtime: $Util.RuntimeOptions): Promise<GetClusterAuditProjectResponse>;
|
|
21964
22170
|
/**
|
|
22171
|
+
* You can call the GetClusterAuditProject operation to query the Simple Log Service (SLS) project that stores the audit logs of the API server of a cluster.
|
|
21965
22172
|
* @returns GetClusterAuditProjectResponse
|
|
21966
22173
|
*/
|
|
21967
22174
|
getClusterAuditProject(clusterid: string): Promise<GetClusterAuditProjectResponse>;
|
|
@@ -22052,8 +22259,7 @@ export default class Client extends OpenApi {
|
|
|
22052
22259
|
*
|
|
22053
22260
|
* @remarks
|
|
22054
22261
|
* *Precautions**:
|
|
22055
|
-
* *
|
|
22056
|
-
* * If you use a RAM user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned when you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
22262
|
+
* * If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
22057
22263
|
* * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
|
|
22058
22264
|
*
|
|
22059
22265
|
* @param request - GrantPermissionsRequest
|
|
@@ -22069,8 +22275,7 @@ export default class Client extends OpenApi {
|
|
|
22069
22275
|
*
|
|
22070
22276
|
* @remarks
|
|
22071
22277
|
* *Precautions**:
|
|
22072
|
-
* *
|
|
22073
|
-
* * If you use a RAM user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned when you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
22278
|
+
* * If you use a Resource Access Management (RAM) user to call the operation, make sure that the RAM user has the permissions to modify the permissions of other RAM users or RAM roles. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned after you call the operation. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](https://help.aliyun.com/document_detail/119035.html).
|
|
22074
22279
|
* * If you update full permissions, the existing permissions of the RAM user or RAM role on the cluster are overwritten. You must specify all the permissions that you want to grant to the RAM user or RAM role in the request parameters when you call the operation.
|
|
22075
22280
|
*
|
|
22076
22281
|
* @param request - GrantPermissionsRequest
|
|
@@ -22538,7 +22743,7 @@ export default class Client extends OpenApi {
|
|
|
22538
22743
|
*/
|
|
22539
22744
|
removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: RemoveNodePoolNodesRequest): Promise<RemoveNodePoolNodesResponse>;
|
|
22540
22745
|
/**
|
|
22541
|
-
*
|
|
22746
|
+
* Repairs a node pool.
|
|
22542
22747
|
*
|
|
22543
22748
|
* @param request - RepairClusterNodePoolRequest
|
|
22544
22749
|
* @param headers - map
|
|
@@ -22549,7 +22754,7 @@ export default class Client extends OpenApi {
|
|
|
22549
22754
|
[key: string]: string;
|
|
22550
22755
|
}, runtime: $Util.RuntimeOptions): Promise<RepairClusterNodePoolResponse>;
|
|
22551
22756
|
/**
|
|
22552
|
-
*
|
|
22757
|
+
* Repairs a node pool.
|
|
22553
22758
|
*
|
|
22554
22759
|
* @param request - RepairClusterNodePoolRequest
|
|
22555
22760
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -22575,7 +22780,7 @@ export default class Client extends OpenApi {
|
|
|
22575
22780
|
*/
|
|
22576
22781
|
resumeComponentUpgrade(clusterid: string, componentid: string): Promise<ResumeComponentUpgradeResponse>;
|
|
22577
22782
|
/**
|
|
22578
|
-
*
|
|
22783
|
+
* Resumes a task.
|
|
22579
22784
|
*
|
|
22580
22785
|
* @param headers - map
|
|
22581
22786
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22585,7 +22790,7 @@ export default class Client extends OpenApi {
|
|
|
22585
22790
|
[key: string]: string;
|
|
22586
22791
|
}, runtime: $Util.RuntimeOptions): Promise<ResumeTaskResponse>;
|
|
22587
22792
|
/**
|
|
22588
|
-
*
|
|
22793
|
+
* Resumes a task.
|
|
22589
22794
|
* @returns ResumeTaskResponse
|
|
22590
22795
|
*/
|
|
22591
22796
|
resumeTask(taskId: string): Promise<ResumeTaskResponse>;
|
|
@@ -22664,7 +22869,7 @@ export default class Client extends OpenApi {
|
|
|
22664
22869
|
*/
|
|
22665
22870
|
scaleCluster(ClusterId: string, request: ScaleClusterRequest): Promise<ScaleClusterResponse>;
|
|
22666
22871
|
/**
|
|
22667
|
-
*
|
|
22872
|
+
* Scales out a node pool.
|
|
22668
22873
|
*
|
|
22669
22874
|
* @param request - ScaleClusterNodePoolRequest
|
|
22670
22875
|
* @param headers - map
|
|
@@ -22675,7 +22880,7 @@ export default class Client extends OpenApi {
|
|
|
22675
22880
|
[key: string]: string;
|
|
22676
22881
|
}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterNodePoolResponse>;
|
|
22677
22882
|
/**
|
|
22678
|
-
*
|
|
22883
|
+
* Scales out a node pool.
|
|
22679
22884
|
*
|
|
22680
22885
|
* @param request - ScaleClusterNodePoolRequest
|
|
22681
22886
|
* @returns ScaleClusterNodePoolResponse
|