@alicloud/cs20151215 4.7.9 → 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 +534 -299
- package/dist/client.js +55 -30
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +560 -299
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
|
|
@@ -812,6 +812,13 @@ export declare class CancelComponentUpgradeResponse extends $tea.Model {
|
|
|
812
812
|
});
|
|
813
813
|
}
|
|
814
814
|
export declare class CancelOperationPlanResponseBody extends $tea.Model {
|
|
815
|
+
/**
|
|
816
|
+
* @remarks
|
|
817
|
+
* The request ID.
|
|
818
|
+
*
|
|
819
|
+
* @example
|
|
820
|
+
* db82195b-75a8-40e5-9be4-16f1829dc624
|
|
821
|
+
*/
|
|
815
822
|
requestId?: string;
|
|
816
823
|
static names(): {
|
|
817
824
|
[key: string]: string;
|
|
@@ -1006,17 +1013,15 @@ export declare class CleanClusterUserPermissionsResponse extends $tea.Model {
|
|
|
1006
1013
|
export declare class CleanUserPermissionsRequest extends $tea.Model {
|
|
1007
1014
|
/**
|
|
1008
1015
|
* @remarks
|
|
1009
|
-
* The cluster IDs.
|
|
1010
|
-
*
|
|
1011
|
-
* * 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.
|
|
1012
1017
|
*/
|
|
1013
1018
|
clusterIds?: string[];
|
|
1014
1019
|
/**
|
|
1015
1020
|
* @remarks
|
|
1016
1021
|
* Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
|
|
1017
1022
|
*
|
|
1018
|
-
* *
|
|
1019
|
-
* *
|
|
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.
|
|
1020
1025
|
*
|
|
1021
1026
|
* @example
|
|
1022
1027
|
* false
|
|
@@ -1035,17 +1040,15 @@ export declare class CleanUserPermissionsRequest extends $tea.Model {
|
|
|
1035
1040
|
export declare class CleanUserPermissionsShrinkRequest extends $tea.Model {
|
|
1036
1041
|
/**
|
|
1037
1042
|
* @remarks
|
|
1038
|
-
* The cluster IDs.
|
|
1039
|
-
*
|
|
1040
|
-
* * 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.
|
|
1041
1044
|
*/
|
|
1042
1045
|
clusterIdsShrink?: string;
|
|
1043
1046
|
/**
|
|
1044
1047
|
* @remarks
|
|
1045
1048
|
* Specifies whether to forcefully delete the specified kubeconfig files. Valid values:
|
|
1046
1049
|
*
|
|
1047
|
-
* *
|
|
1048
|
-
* *
|
|
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.
|
|
1049
1052
|
*
|
|
1050
1053
|
* @example
|
|
1051
1054
|
* false
|
|
@@ -1064,7 +1067,7 @@ export declare class CleanUserPermissionsShrinkRequest extends $tea.Model {
|
|
|
1064
1067
|
export declare class CleanUserPermissionsResponseBody extends $tea.Model {
|
|
1065
1068
|
/**
|
|
1066
1069
|
* @remarks
|
|
1067
|
-
*
|
|
1070
|
+
* The request ID.
|
|
1068
1071
|
*
|
|
1069
1072
|
* @example
|
|
1070
1073
|
* 687C5BAA-D103-4993-884B-C35E4314****
|
|
@@ -1072,7 +1075,7 @@ export declare class CleanUserPermissionsResponseBody extends $tea.Model {
|
|
|
1072
1075
|
requestId?: string;
|
|
1073
1076
|
/**
|
|
1074
1077
|
* @remarks
|
|
1075
|
-
*
|
|
1078
|
+
* The task ID.
|
|
1076
1079
|
*
|
|
1077
1080
|
* @example
|
|
1078
1081
|
* clean-user-permissions-2085266204********-6694c16e6ae07***********
|
|
@@ -1271,19 +1274,19 @@ export declare class CreateAutoscalingConfigResponse extends $tea.Model {
|
|
|
1271
1274
|
export declare class CreateClusterRequest extends $tea.Model {
|
|
1272
1275
|
/**
|
|
1273
1276
|
* @remarks
|
|
1274
|
-
* The
|
|
1277
|
+
* The ACL rule of the SLB instance associated with the API server if the cluster is a registered cluster.
|
|
1275
1278
|
*/
|
|
1276
1279
|
accessControlList?: string[];
|
|
1277
1280
|
/**
|
|
1278
1281
|
* @remarks
|
|
1279
|
-
* 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.
|
|
1280
1283
|
*
|
|
1281
1284
|
* **Network plug-in**: required. The Flannel and Terway plug-ins are supported. Select one of the plug-ins for the cluster.
|
|
1282
1285
|
*
|
|
1283
|
-
* *
|
|
1284
|
-
* * 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.
|
|
1285
1288
|
*
|
|
1286
|
-
* **Volume plug-in**: optional. Only the `
|
|
1289
|
+
* **Volume plug-in**: optional. Only the `CSI` plug-in is supported.
|
|
1287
1290
|
*
|
|
1288
1291
|
* Specify the `CSI` plug-in in the following format: [{"name":"csi-plugin","config": ""},{"name": "csi-provisioner","config": ""}].
|
|
1289
1292
|
*
|
|
@@ -1292,23 +1295,23 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1292
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"}"}].
|
|
1293
1296
|
* * To create a `Simple Log Service project`, specify the component in the following format: [{"name": "logtail-ds","config": "{"IngressDashboardEnabled":"true"}"}].
|
|
1294
1297
|
*
|
|
1295
|
-
* **Ingress controller
|
|
1298
|
+
* **Ingress controller**`: optional. By default, the nginx-ingress-controller component is installed in ACK dedicated clusters.`
|
|
1296
1299
|
*
|
|
1297
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"}"}].
|
|
1298
|
-
* * 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}].
|
|
1299
1302
|
*
|
|
1300
1303
|
* **Event center**: optional. By default, the event center feature is enabled.
|
|
1301
1304
|
*
|
|
1302
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).
|
|
1303
1306
|
*
|
|
1304
|
-
*
|
|
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"}"}].
|
|
1305
1308
|
*/
|
|
1306
1309
|
addons?: Addon[];
|
|
1307
1310
|
/**
|
|
1308
1311
|
* @remarks
|
|
1309
|
-
*
|
|
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 (,).``
|
|
1310
1313
|
*
|
|
1311
|
-
* 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).
|
|
1312
1315
|
*
|
|
1313
1316
|
* @example
|
|
1314
1317
|
* kubernetes.default.svc
|
|
@@ -1316,13 +1319,14 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1316
1319
|
apiAudiences?: string;
|
|
1317
1320
|
/**
|
|
1318
1321
|
* @remarks
|
|
1319
|
-
* 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:
|
|
1320
1323
|
*
|
|
1321
|
-
*
|
|
1322
|
-
*
|
|
1323
|
-
* - `false`: Do not auto-renew.
|
|
1324
|
+
* * `true`: enables auto-renewal.
|
|
1325
|
+
* * `false`: disables auto-renewal.
|
|
1324
1326
|
*
|
|
1325
|
-
* Default value: `false
|
|
1327
|
+
* Default value: `false`
|
|
1328
|
+
*
|
|
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).
|
|
1326
1330
|
*
|
|
1327
1331
|
* @example
|
|
1328
1332
|
* true
|
|
@@ -1330,29 +1334,32 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1330
1334
|
autoRenew?: boolean;
|
|
1331
1335
|
/**
|
|
1332
1336
|
* @remarks
|
|
1333
|
-
*
|
|
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
|
+
*
|
|
1334
1339
|
* Default value: 1.
|
|
1335
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
|
+
*
|
|
1336
1343
|
* @example
|
|
1337
1344
|
* 1
|
|
1338
1345
|
*/
|
|
1339
1346
|
autoRenewPeriod?: number;
|
|
1340
1347
|
/**
|
|
1341
1348
|
* @remarks
|
|
1342
|
-
* The billing method of the
|
|
1343
|
-
*
|
|
1344
|
-
* ECS instances in node pools.
|
|
1349
|
+
* The billing method of the resource. The following resources are billed on a subscription basis:
|
|
1345
1350
|
*
|
|
1346
|
-
* The internal-facing SLB instance
|
|
1351
|
+
* The internal-facing SLB instance used by the API server.
|
|
1347
1352
|
*
|
|
1348
1353
|
* Valid values:
|
|
1349
1354
|
*
|
|
1350
|
-
* PrePaid: subscription
|
|
1355
|
+
* PrePaid: subscription
|
|
1351
1356
|
*
|
|
1352
|
-
* PostPaid: pay-as-you-go
|
|
1357
|
+
* PostPaid: pay-as-you-go
|
|
1353
1358
|
*
|
|
1354
1359
|
* Default value: PostPaid.
|
|
1355
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
|
+
*
|
|
1356
1363
|
* @example
|
|
1357
1364
|
* 1
|
|
1358
1365
|
*/
|
|
@@ -1374,7 +1381,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1374
1381
|
* * `true`: installs the CloudMonitor agent.
|
|
1375
1382
|
* * `false`: does not install the CloudMonitor agent.
|
|
1376
1383
|
*
|
|
1377
|
-
* Default value: `false
|
|
1384
|
+
* Default value: `false`
|
|
1378
1385
|
*
|
|
1379
1386
|
* @example
|
|
1380
1387
|
* true
|
|
@@ -1392,10 +1399,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1392
1399
|
clusterDomain?: string;
|
|
1393
1400
|
/**
|
|
1394
1401
|
* @remarks
|
|
1395
|
-
*
|
|
1402
|
+
* If you set `cluster_type` to `ManagedKubernetes` and specify `profile`, you can further specify the edition of the cluster. Valid values:
|
|
1396
1403
|
*
|
|
1397
|
-
* * `ack.pro.small`: Pro
|
|
1398
|
-
* * `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.
|
|
1399
1406
|
*
|
|
1400
1407
|
* @example
|
|
1401
1408
|
* ack.pro.small
|
|
@@ -1403,9 +1410,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1403
1410
|
clusterSpec?: string;
|
|
1404
1411
|
/**
|
|
1405
1412
|
* @remarks
|
|
1406
|
-
* * `Kubernetes`: ACK dedicated cluster.
|
|
1407
|
-
* * `ManagedKubernetes`: ACK managed cluster. ACK managed clusters include ACK Basic clusters, ACK Pro clusters, ACK Serverless clusters (Basic
|
|
1408
|
-
* * `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.
|
|
1409
1416
|
*
|
|
1410
1417
|
* This parameter is required.
|
|
1411
1418
|
*
|
|
@@ -1427,9 +1434,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1427
1434
|
containerCidr?: string;
|
|
1428
1435
|
/**
|
|
1429
1436
|
* @remarks
|
|
1430
|
-
* The
|
|
1437
|
+
* The control plane component for which you want to enable log collection.
|
|
1431
1438
|
*
|
|
1432
|
-
* By default, the
|
|
1439
|
+
* By default, the log of kube-apiserver, kube-controller-manager, and kube-scheduler is collected.
|
|
1433
1440
|
*/
|
|
1434
1441
|
controlplaneLogComponents?: string[];
|
|
1435
1442
|
/**
|
|
@@ -1452,8 +1459,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1452
1459
|
* @remarks
|
|
1453
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:
|
|
1454
1461
|
*
|
|
1455
|
-
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity
|
|
1456
|
-
* * `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
|
|
1457
1464
|
*
|
|
1458
1465
|
* Default value: `none`.
|
|
1459
1466
|
*
|
|
@@ -1463,7 +1470,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1463
1470
|
cpuPolicy?: string;
|
|
1464
1471
|
/**
|
|
1465
1472
|
* @remarks
|
|
1466
|
-
* 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 (,).
|
|
1467
1474
|
*
|
|
1468
1475
|
* @example
|
|
1469
1476
|
* cs.aliyun.com
|
|
@@ -1471,12 +1478,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1471
1478
|
customSan?: string;
|
|
1472
1479
|
/**
|
|
1473
1480
|
* @remarks
|
|
1474
|
-
* 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:
|
|
1475
1482
|
*
|
|
1476
|
-
* * `true`:
|
|
1477
|
-
* * `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.
|
|
1478
1485
|
*
|
|
1479
|
-
* Default value: `false
|
|
1486
|
+
* Default value: `false`
|
|
1480
1487
|
*
|
|
1481
1488
|
* @example
|
|
1482
1489
|
* true
|
|
@@ -1484,12 +1491,12 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1484
1491
|
deletionProtection?: boolean;
|
|
1485
1492
|
/**
|
|
1486
1493
|
* @remarks
|
|
1487
|
-
* Specifies whether to perform a rollback
|
|
1494
|
+
* Specifies whether to perform a rollback if the cluster fails to be created. Valid values:
|
|
1488
1495
|
*
|
|
1489
1496
|
* * `true`: performs a rollback when the cluster fails to be created.
|
|
1490
1497
|
* * `false`: does not perform a rollback when the cluster fails to be created.
|
|
1491
1498
|
*
|
|
1492
|
-
* Default value: `true
|
|
1499
|
+
* Default value: `true`
|
|
1493
1500
|
*
|
|
1494
1501
|
* @example
|
|
1495
1502
|
* true
|
|
@@ -1499,7 +1506,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1499
1506
|
disableRollback?: boolean;
|
|
1500
1507
|
/**
|
|
1501
1508
|
* @remarks
|
|
1502
|
-
* 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.
|
|
1503
1510
|
*
|
|
1504
1511
|
* @example
|
|
1505
1512
|
* true
|
|
@@ -1522,7 +1529,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1522
1529
|
* * `true`: enables Internet access for the cluster.
|
|
1523
1530
|
* * `false`: disables Internet access for the cluster. If you set the value to false, the API server cannot be accessed over the Internet.
|
|
1524
1531
|
*
|
|
1525
|
-
* Default value: `false
|
|
1532
|
+
* Default value: `false`
|
|
1526
1533
|
*
|
|
1527
1534
|
* @example
|
|
1528
1535
|
* true
|
|
@@ -1532,10 +1539,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1532
1539
|
* @remarks
|
|
1533
1540
|
* Specifies whether to mount a data disk to a node that is created based on an existing ECS instance. Valid values:
|
|
1534
1541
|
*
|
|
1535
|
-
* * `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.
|
|
1536
1543
|
* * `false`: does not store the data of containers and images on a data disk.
|
|
1537
1544
|
*
|
|
1538
|
-
* Default value: `false
|
|
1545
|
+
* Default value: `false`
|
|
1539
1546
|
*
|
|
1540
1547
|
* How data disks are mounted:
|
|
1541
1548
|
*
|
|
@@ -1576,7 +1583,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1576
1583
|
imageType?: string;
|
|
1577
1584
|
/**
|
|
1578
1585
|
* @remarks
|
|
1579
|
-
* 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.
|
|
1580
1587
|
*
|
|
1581
1588
|
* > This parameter is required if you create worker nodes on existing ECS instances.
|
|
1582
1589
|
*/
|
|
@@ -1599,7 +1606,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1599
1606
|
* * `true`: creates an advanced security group.
|
|
1600
1607
|
* * `false`: does not create an advanced security group.
|
|
1601
1608
|
*
|
|
1602
|
-
* Default value: `true
|
|
1609
|
+
* Default value: `true`
|
|
1603
1610
|
*
|
|
1604
1611
|
* @example
|
|
1605
1612
|
* true
|
|
@@ -1612,7 +1619,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1612
1619
|
* * `true`: retains the names.
|
|
1613
1620
|
* * `false`: does not retain the names. The system assigns new names.
|
|
1614
1621
|
*
|
|
1615
|
-
* Default value: `true
|
|
1622
|
+
* Default value: `true`
|
|
1616
1623
|
*
|
|
1617
1624
|
* @example
|
|
1618
1625
|
* true
|
|
@@ -1620,7 +1627,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1620
1627
|
keepInstanceName?: boolean;
|
|
1621
1628
|
/**
|
|
1622
1629
|
* @remarks
|
|
1623
|
-
* 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.
|
|
1624
1631
|
*
|
|
1625
1632
|
* @example
|
|
1626
1633
|
* secrity-key
|
|
@@ -1638,7 +1645,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1638
1645
|
kubernetesVersion?: string;
|
|
1639
1646
|
/**
|
|
1640
1647
|
* @remarks
|
|
1641
|
-
* 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.
|
|
1642
1649
|
*
|
|
1643
1650
|
* @example
|
|
1644
1651
|
* lb-wz9t256gqa3vbouk****
|
|
@@ -1671,12 +1678,16 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1671
1678
|
loggingType?: string;
|
|
1672
1679
|
/**
|
|
1673
1680
|
* @remarks
|
|
1674
|
-
* 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.
|
|
1675
1682
|
*
|
|
1676
1683
|
* @example
|
|
1677
1684
|
* Hello@1234
|
|
1678
1685
|
*/
|
|
1679
1686
|
loginPassword?: string;
|
|
1687
|
+
/**
|
|
1688
|
+
* @remarks
|
|
1689
|
+
* Cluster maintenance window.
|
|
1690
|
+
*/
|
|
1680
1691
|
maintenanceWindow?: MaintenanceWindow;
|
|
1681
1692
|
/**
|
|
1682
1693
|
* @remarks
|
|
@@ -1685,7 +1696,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1685
1696
|
* * `true`: enables auto-renewal.
|
|
1686
1697
|
* * `false`: disables auto-renewal.
|
|
1687
1698
|
*
|
|
1688
|
-
* Default value: `true
|
|
1699
|
+
* Default value: `true`
|
|
1689
1700
|
*
|
|
1690
1701
|
* @example
|
|
1691
1702
|
* true
|
|
@@ -1693,7 +1704,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1693
1704
|
masterAutoRenew?: boolean;
|
|
1694
1705
|
/**
|
|
1695
1706
|
* @remarks
|
|
1696
|
-
* 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.
|
|
1697
1708
|
*
|
|
1698
1709
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
1699
1710
|
*
|
|
@@ -1718,9 +1729,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1718
1729
|
* The billing method of master nodes. Valid values:
|
|
1719
1730
|
*
|
|
1720
1731
|
* * `PrePaid`: subscription.
|
|
1721
|
-
* * `PostPaid`:
|
|
1732
|
+
* * `PostPaid`: pay-as-you-go.
|
|
1722
1733
|
*
|
|
1723
|
-
* Default value: `PostPaid
|
|
1734
|
+
* Default value: `PostPaid`
|
|
1724
1735
|
*
|
|
1725
1736
|
* @example
|
|
1726
1737
|
* PrePaid
|
|
@@ -1757,8 +1768,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1757
1768
|
* @remarks
|
|
1758
1769
|
* The system disk type of master nodes. Valid values:
|
|
1759
1770
|
*
|
|
1760
|
-
* * `cloud_efficiency`: ultra disk
|
|
1761
|
-
* * `cloud_ssd`: standard SSD
|
|
1771
|
+
* * `cloud_efficiency`: ultra disk
|
|
1772
|
+
* * `cloud_ssd`: standard SSD
|
|
1762
1773
|
* * `cloud_essd`: Enterprise SSD (ESSD).
|
|
1763
1774
|
*
|
|
1764
1775
|
* Default value: `cloud_ssd`. The default value may vary in different zones.
|
|
@@ -1797,14 +1808,14 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1797
1808
|
* @remarks
|
|
1798
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.
|
|
1799
1810
|
*
|
|
1800
|
-
* 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`.
|
|
1801
1812
|
*/
|
|
1802
1813
|
masterVswitchIds?: string[];
|
|
1803
1814
|
/**
|
|
1804
1815
|
* @remarks
|
|
1805
|
-
* The cluster
|
|
1816
|
+
* The name of the cluster.
|
|
1806
1817
|
*
|
|
1807
|
-
* 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 (-).
|
|
1808
1819
|
*
|
|
1809
1820
|
* This parameter is required.
|
|
1810
1821
|
*
|
|
@@ -1814,12 +1825,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1814
1825
|
name?: string;
|
|
1815
1826
|
/**
|
|
1816
1827
|
* @remarks
|
|
1817
|
-
*
|
|
1818
|
-
*
|
|
1819
|
-
* * `true`: automatically creates a NAT gateway and configures SNAT rules. This enables Internet access for the VPC in which the cluster is deployed.
|
|
1820
|
-
* * `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.
|
|
1821
|
-
*
|
|
1822
|
-
* Default value: `false`.
|
|
1828
|
+
* This parameter is deprecated. Use `snat_entry` instead.
|
|
1823
1829
|
*
|
|
1824
1830
|
* @example
|
|
1825
1831
|
* true
|
|
@@ -1827,7 +1833,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1827
1833
|
natGateway?: boolean;
|
|
1828
1834
|
/**
|
|
1829
1835
|
* @remarks
|
|
1830
|
-
* 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.
|
|
1831
1837
|
*
|
|
1832
1838
|
* Default value: `26`.
|
|
1833
1839
|
*
|
|
@@ -1844,7 +1850,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1844
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.
|
|
1845
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.
|
|
1846
1852
|
*
|
|
1847
|
-
* 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.
|
|
1848
1854
|
*
|
|
1849
1855
|
* @example
|
|
1850
1856
|
* aliyun.com00055test
|
|
@@ -1875,6 +1881,10 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1875
1881
|
* @deprecated
|
|
1876
1882
|
*/
|
|
1877
1883
|
numOfNodes?: number;
|
|
1884
|
+
/**
|
|
1885
|
+
* @remarks
|
|
1886
|
+
* Cluster auto operation and maintenance policy.
|
|
1887
|
+
*/
|
|
1878
1888
|
operationPolicy?: CreateClusterRequestOperationPolicy;
|
|
1879
1889
|
/**
|
|
1880
1890
|
* @remarks
|
|
@@ -1897,6 +1907,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1897
1907
|
*
|
|
1898
1908
|
* Default value: 1.
|
|
1899
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
|
+
*
|
|
1900
1912
|
* @example
|
|
1901
1913
|
* FY2023
|
|
1902
1914
|
*/
|
|
@@ -1905,7 +1917,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1905
1917
|
* @remarks
|
|
1906
1918
|
* The billing cycle. This parameter is required if charge_type is set to PrePaid.
|
|
1907
1919
|
*
|
|
1908
|
-
*
|
|
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).
|
|
1909
1923
|
*
|
|
1910
1924
|
* @example
|
|
1911
1925
|
* Month
|
|
@@ -1913,7 +1927,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1913
1927
|
periodUnit?: string;
|
|
1914
1928
|
/**
|
|
1915
1929
|
* @remarks
|
|
1916
|
-
* The
|
|
1930
|
+
* The operating system distribution. Valid values:
|
|
1917
1931
|
*
|
|
1918
1932
|
* * CentOS
|
|
1919
1933
|
* * AliyunLinux
|
|
@@ -1930,19 +1944,19 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1930
1944
|
platform?: string;
|
|
1931
1945
|
/**
|
|
1932
1946
|
* @remarks
|
|
1933
|
-
* 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.
|
|
1934
1948
|
*
|
|
1935
|
-
* > 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.
|
|
1936
1950
|
*/
|
|
1937
1951
|
podVswitchIds?: string[];
|
|
1938
1952
|
/**
|
|
1939
1953
|
* @remarks
|
|
1940
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:
|
|
1941
1955
|
*
|
|
1942
|
-
* * `Default
|
|
1943
|
-
* * `Edge`: ACK Edge cluster. ACK Edge clusters include ACK Edge Basic clusters and ACK Edge Pro clusters.
|
|
1944
|
-
* * `Serverless`: ACK Serverless cluster. ACK Serverless clusters include ACK Serverless Basic clusters and ACK Serverless Pro clusters.
|
|
1945
|
-
* * `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.
|
|
1946
1960
|
*
|
|
1947
1961
|
* @example
|
|
1948
1962
|
* Default
|
|
@@ -1952,8 +1966,8 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1952
1966
|
* @remarks
|
|
1953
1967
|
* The kube-proxy mode. Valid values:
|
|
1954
1968
|
*
|
|
1955
|
-
* * `iptables`: a mature and stable mode that uses iptables rules to conduct
|
|
1956
|
-
* * `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.
|
|
1957
1971
|
*
|
|
1958
1972
|
* Default value: `ipvs`.
|
|
1959
1973
|
*
|
|
@@ -1963,7 +1977,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1963
1977
|
proxyMode?: string;
|
|
1964
1978
|
/**
|
|
1965
1979
|
* @remarks
|
|
1966
|
-
* 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.
|
|
1967
1981
|
*/
|
|
1968
1982
|
rdsInstances?: string[];
|
|
1969
1983
|
/**
|
|
@@ -1993,7 +2007,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
1993
2007
|
runtime?: Runtime;
|
|
1994
2008
|
/**
|
|
1995
2009
|
* @remarks
|
|
1996
|
-
* 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.
|
|
1997
2011
|
*
|
|
1998
2012
|
* @example
|
|
1999
2013
|
* sg-bp1bdue0qc1g7k****
|
|
@@ -2006,7 +2020,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2006
2020
|
* * `true`: enables Alibaba Cloud Linux Security Hardening.
|
|
2007
2021
|
* * `false`: disables Alibaba Cloud Linux Security Hardening.
|
|
2008
2022
|
*
|
|
2009
|
-
* Default value: `false
|
|
2023
|
+
* Default value: `false`
|
|
2010
2024
|
*
|
|
2011
2025
|
* @example
|
|
2012
2026
|
* false
|
|
@@ -2014,9 +2028,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2014
2028
|
securityHardeningOs?: boolean;
|
|
2015
2029
|
/**
|
|
2016
2030
|
* @remarks
|
|
2017
|
-
*
|
|
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`.
|
|
2018
2032
|
*
|
|
2019
|
-
* 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).
|
|
2020
2034
|
*
|
|
2021
2035
|
* @example
|
|
2022
2036
|
* kubernetes.default.svc
|
|
@@ -2024,7 +2038,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2024
2038
|
serviceAccountIssuer?: string;
|
|
2025
2039
|
/**
|
|
2026
2040
|
* @remarks
|
|
2027
|
-
* 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.
|
|
2028
2042
|
*
|
|
2029
2043
|
* By default, the Service CIDR block is set to 172.19.0.0/20.
|
|
2030
2044
|
*
|
|
@@ -2036,24 +2050,24 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2036
2050
|
serviceCidr?: string;
|
|
2037
2051
|
/**
|
|
2038
2052
|
* @remarks
|
|
2039
|
-
* The
|
|
2053
|
+
* The methods for implementing service discovery in `ACK Serverless` clusters.
|
|
2040
2054
|
*
|
|
2041
|
-
* * `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.
|
|
2042
|
-
* * `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.
|
|
2043
2057
|
*
|
|
2044
2058
|
* By default, this parameter is not specified.
|
|
2045
2059
|
*/
|
|
2046
2060
|
serviceDiscoveryTypes?: string[];
|
|
2047
2061
|
/**
|
|
2048
2062
|
* @remarks
|
|
2049
|
-
* 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:
|
|
2050
2064
|
*
|
|
2051
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.
|
|
2052
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.
|
|
2053
2067
|
*
|
|
2054
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).
|
|
2055
2069
|
*
|
|
2056
|
-
* Default value: `true
|
|
2070
|
+
* Default value: `true`
|
|
2057
2071
|
*
|
|
2058
2072
|
* @example
|
|
2059
2073
|
* true
|
|
@@ -2068,7 +2082,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2068
2082
|
* * `true`: enables security hardening based on MLPS.
|
|
2069
2083
|
* * `false`: disables security hardening based on MLPS.
|
|
2070
2084
|
*
|
|
2071
|
-
* Default value: `false
|
|
2085
|
+
* Default value: `false`
|
|
2072
2086
|
*
|
|
2073
2087
|
* @example
|
|
2074
2088
|
* false
|
|
@@ -2081,7 +2095,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2081
2095
|
* * `true`: enables SSH logon.
|
|
2082
2096
|
* * `false`: disables SSH logon.
|
|
2083
2097
|
*
|
|
2084
|
-
* Default value: `false
|
|
2098
|
+
* Default value: `false`
|
|
2085
2099
|
*
|
|
2086
2100
|
* @example
|
|
2087
2101
|
* true
|
|
@@ -2089,15 +2103,15 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2089
2103
|
sshFlags?: boolean;
|
|
2090
2104
|
/**
|
|
2091
2105
|
* @remarks
|
|
2092
|
-
* The
|
|
2106
|
+
* The tags to be added to nodes. You must add labels based on the following rules:
|
|
2093
2107
|
*
|
|
2094
2108
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
2095
|
-
* * 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).
|
|
2096
2110
|
*/
|
|
2097
2111
|
tags?: Tag[];
|
|
2098
2112
|
/**
|
|
2099
2113
|
* @remarks
|
|
2100
|
-
* 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/).
|
|
2101
2115
|
*/
|
|
2102
2116
|
taints?: Taint[];
|
|
2103
2117
|
/**
|
|
@@ -2144,15 +2158,15 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2144
2158
|
vpcid?: string;
|
|
2145
2159
|
/**
|
|
2146
2160
|
* @remarks
|
|
2147
|
-
* 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.
|
|
2148
2162
|
*/
|
|
2149
2163
|
vswitchIds?: string[];
|
|
2150
2164
|
/**
|
|
2151
2165
|
* @remarks
|
|
2152
|
-
* 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:
|
|
2153
2167
|
*
|
|
2154
2168
|
* * `true`: enables auto-renewal.
|
|
2155
|
-
* * `false`: disables auto-renewal
|
|
2169
|
+
* * `false`: disables auto-renewal
|
|
2156
2170
|
*
|
|
2157
2171
|
* Default value: `true`
|
|
2158
2172
|
*
|
|
@@ -2164,7 +2178,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2164
2178
|
workerAutoRenew?: boolean;
|
|
2165
2179
|
/**
|
|
2166
2180
|
* @remarks
|
|
2167
|
-
* 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.
|
|
2168
2182
|
*
|
|
2169
2183
|
* Valid values: 1, 2, 3, 6, and 12.
|
|
2170
2184
|
*
|
|
@@ -2221,7 +2235,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2221
2235
|
* @remarks
|
|
2222
2236
|
* The billing cycle of worker nodes. This parameter is required if worker_instance_charge_type is set to `PrePaid`.
|
|
2223
2237
|
*
|
|
2224
|
-
*
|
|
2238
|
+
* Valid value: `Month`, which indicates that worker nodes are billed only on a monthly basis.
|
|
2225
2239
|
*
|
|
2226
2240
|
* @example
|
|
2227
2241
|
* Month
|
|
@@ -2231,7 +2245,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2231
2245
|
workerPeriodUnit?: string;
|
|
2232
2246
|
/**
|
|
2233
2247
|
* @remarks
|
|
2234
|
-
* 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).
|
|
2235
2249
|
*
|
|
2236
2250
|
* Valid values:
|
|
2237
2251
|
*
|
|
@@ -2291,7 +2305,7 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2291
2305
|
workerSystemDiskSnapshotPolicyId?: string;
|
|
2292
2306
|
/**
|
|
2293
2307
|
* @remarks
|
|
2294
|
-
* 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.
|
|
2295
2309
|
*
|
|
2296
2310
|
* `worker_vswitch_ids` is optional but `vswitch_ids` is required if you create an ACK managed cluster that does not contain nodes.
|
|
2297
2311
|
*
|
|
@@ -2300,9 +2314,11 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2300
2314
|
workerVswitchIds?: string[];
|
|
2301
2315
|
/**
|
|
2302
2316
|
* @remarks
|
|
2303
|
-
*
|
|
2317
|
+
* This parameter is deprecated. Use `zone_ids` instead.
|
|
2318
|
+
*
|
|
2319
|
+
* The ID of the zone to which the cluster belongs. This parameter is specific to ACK managed clusters.
|
|
2304
2320
|
*
|
|
2305
|
-
*
|
|
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.
|
|
2306
2322
|
*
|
|
2307
2323
|
* @example
|
|
2308
2324
|
* cn-beiji****
|
|
@@ -2312,8 +2328,9 @@ export declare class CreateClusterRequest extends $tea.Model {
|
|
|
2312
2328
|
zoneId?: string;
|
|
2313
2329
|
/**
|
|
2314
2330
|
* @remarks
|
|
2315
|
-
*
|
|
2316
|
-
*
|
|
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.
|
|
2317
2334
|
*/
|
|
2318
2335
|
zoneIds?: string[];
|
|
2319
2336
|
static names(): {
|
|
@@ -2499,7 +2516,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2499
2516
|
autoScaling?: CreateClusterNodePoolRequestAutoScaling;
|
|
2500
2517
|
/**
|
|
2501
2518
|
* @remarks
|
|
2502
|
-
* This parameter is deprecated. Use desired_size instead.
|
|
2519
|
+
* This parameter is deprecated. Use the desired_size parameter instead.
|
|
2503
2520
|
*
|
|
2504
2521
|
* The number of nodes in the node pool.
|
|
2505
2522
|
*
|
|
@@ -2509,6 +2526,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2509
2526
|
* @deprecated
|
|
2510
2527
|
*/
|
|
2511
2528
|
count?: number;
|
|
2529
|
+
hostNetwork?: boolean;
|
|
2512
2530
|
/**
|
|
2513
2531
|
* @remarks
|
|
2514
2532
|
* This parameter is deprecated.
|
|
@@ -2520,15 +2538,16 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
2520
2538
|
interconnectConfig?: CreateClusterNodePoolRequestInterconnectConfig;
|
|
2521
2539
|
/**
|
|
2522
2540
|
* @remarks
|
|
2523
|
-
* 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:
|
|
2524
2542
|
*
|
|
2525
|
-
* * `basic`: basic
|
|
2526
|
-
* * `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.
|
|
2527
2545
|
*
|
|
2528
2546
|
* @example
|
|
2529
2547
|
* basic
|
|
2530
2548
|
*/
|
|
2531
2549
|
interconnectMode?: string;
|
|
2550
|
+
intranet?: boolean;
|
|
2532
2551
|
/**
|
|
2533
2552
|
* @remarks
|
|
2534
2553
|
* The configurations of the cluster.
|
|
@@ -3351,6 +3370,9 @@ export declare class DeleteClusterNodepoolResponseBody extends $tea.Model {
|
|
|
3351
3370
|
*/
|
|
3352
3371
|
requestId?: string;
|
|
3353
3372
|
/**
|
|
3373
|
+
* @remarks
|
|
3374
|
+
* task IDs
|
|
3375
|
+
*
|
|
3354
3376
|
* @example
|
|
3355
3377
|
* T-655ace947e0e6603af000004
|
|
3356
3378
|
*/
|
|
@@ -3969,12 +3991,12 @@ export declare class DescribeClusterAddonInstanceResponseBody extends $tea.Model
|
|
|
3969
3991
|
* @remarks
|
|
3970
3992
|
* The status of the component. Valid values:
|
|
3971
3993
|
*
|
|
3972
|
-
* * initial:
|
|
3973
|
-
* * active:
|
|
3974
|
-
* * unhealthy:
|
|
3975
|
-
* * upgrading:
|
|
3976
|
-
* * updating:
|
|
3977
|
-
* * 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.
|
|
3978
4000
|
* * deleted: The component is deleted.
|
|
3979
4001
|
*
|
|
3980
4002
|
* @example
|
|
@@ -4265,6 +4287,9 @@ export declare class DescribeClusterAttachScriptsResponse extends $tea.Model {
|
|
|
4265
4287
|
}
|
|
4266
4288
|
export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
4267
4289
|
/**
|
|
4290
|
+
* @remarks
|
|
4291
|
+
* The on-premises domain name of the cluster.
|
|
4292
|
+
*
|
|
4268
4293
|
* @example
|
|
4269
4294
|
* cluster.local
|
|
4270
4295
|
*/
|
|
@@ -4299,6 +4324,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4299
4324
|
*/
|
|
4300
4325
|
clusterType?: string;
|
|
4301
4326
|
/**
|
|
4327
|
+
* @remarks
|
|
4328
|
+
* The CIDR block of the pod.
|
|
4329
|
+
*
|
|
4302
4330
|
* @example
|
|
4303
4331
|
* 172.20.0.0/16
|
|
4304
4332
|
*/
|
|
@@ -4339,6 +4367,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4339
4367
|
*/
|
|
4340
4368
|
dockerVersion?: string;
|
|
4341
4369
|
/**
|
|
4370
|
+
* @remarks
|
|
4371
|
+
* The ID of the Server Load Balancer (SLB) instance that is created for the Ingress of the cluster.
|
|
4372
|
+
*
|
|
4342
4373
|
* @example
|
|
4343
4374
|
* lb-2zehc05z3b8dwiifh****
|
|
4344
4375
|
*/
|
|
@@ -4352,6 +4383,12 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4352
4383
|
*/
|
|
4353
4384
|
initVersion?: string;
|
|
4354
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
|
+
*
|
|
4355
4392
|
* @example
|
|
4356
4393
|
* ipv4
|
|
4357
4394
|
*/
|
|
@@ -4388,29 +4425,50 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4388
4425
|
*/
|
|
4389
4426
|
name?: string;
|
|
4390
4427
|
/**
|
|
4428
|
+
* @remarks
|
|
4429
|
+
* The network type of the cluster. Example: Virtual Private Cloud (VPC).
|
|
4430
|
+
*
|
|
4391
4431
|
* @example
|
|
4392
4432
|
* vpc
|
|
4393
4433
|
*/
|
|
4394
4434
|
networkMode?: string;
|
|
4395
4435
|
/**
|
|
4436
|
+
* @remarks
|
|
4437
|
+
* The Kubernetes version to which the cluster can be updated.
|
|
4438
|
+
*
|
|
4396
4439
|
* @example
|
|
4397
4440
|
* 1.18.8-aliyun.1
|
|
4398
4441
|
*/
|
|
4399
4442
|
nextVersion?: string;
|
|
4400
4443
|
/**
|
|
4444
|
+
* @remarks
|
|
4445
|
+
* The number of the IP addresses of the node.
|
|
4446
|
+
*
|
|
4401
4447
|
* @example
|
|
4402
4448
|
* 26
|
|
4403
4449
|
*/
|
|
4404
4450
|
nodeCidrMask?: string;
|
|
4451
|
+
/**
|
|
4452
|
+
* @remarks
|
|
4453
|
+
* The automatic O\\&M policy of the cluster.
|
|
4454
|
+
*/
|
|
4405
4455
|
operationPolicy?: DescribeClusterDetailResponseBodyOperationPolicy;
|
|
4406
4456
|
/**
|
|
4407
4457
|
* @remarks
|
|
4408
|
-
* The ROS parameters of the cluster.
|
|
4458
|
+
* The Resource Orchestration Service (ROS) parameters of the cluster.
|
|
4409
4459
|
*/
|
|
4410
4460
|
parameters?: {
|
|
4411
4461
|
[key: string]: string;
|
|
4412
4462
|
};
|
|
4413
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
|
+
*
|
|
4414
4472
|
* @example
|
|
4415
4473
|
* false
|
|
4416
4474
|
*/
|
|
@@ -4429,6 +4487,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4429
4487
|
*/
|
|
4430
4488
|
profile?: string;
|
|
4431
4489
|
/**
|
|
4490
|
+
* @remarks
|
|
4491
|
+
* The proxy mode. Valid values: ipvs and iptables.
|
|
4492
|
+
*
|
|
4432
4493
|
* @example
|
|
4433
4494
|
* ipvs
|
|
4434
4495
|
*/
|
|
@@ -4459,6 +4520,8 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4459
4520
|
securityGroupId?: string;
|
|
4460
4521
|
/**
|
|
4461
4522
|
* @remarks
|
|
4523
|
+
* The CIDR block of the Service.
|
|
4524
|
+
*
|
|
4462
4525
|
* This parameter is required.
|
|
4463
4526
|
*
|
|
4464
4527
|
* @example
|
|
@@ -4502,9 +4565,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4502
4565
|
* * 172.16-31.0.0/12-16
|
|
4503
4566
|
* * 192.168.0.0/16
|
|
4504
4567
|
*
|
|
4505
|
-
* 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.
|
|
4506
4569
|
*
|
|
4507
|
-
* 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).
|
|
4508
4571
|
*
|
|
4509
4572
|
* @example
|
|
4510
4573
|
* 172.20.0.0/16
|
|
@@ -4518,6 +4581,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4518
4581
|
*/
|
|
4519
4582
|
tags?: Tag[];
|
|
4520
4583
|
/**
|
|
4584
|
+
* @remarks
|
|
4585
|
+
* The time zone.
|
|
4586
|
+
*
|
|
4521
4587
|
* @example
|
|
4522
4588
|
* Asia/Shanghai
|
|
4523
4589
|
*/
|
|
@@ -4540,7 +4606,7 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4540
4606
|
vpcId?: string;
|
|
4541
4607
|
/**
|
|
4542
4608
|
* @remarks
|
|
4543
|
-
* 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.
|
|
4544
4610
|
*
|
|
4545
4611
|
* @example
|
|
4546
4612
|
* vsw-2zete8s4qocqg0mf6****,vsw-2zete8s4qocqg0mf6****
|
|
@@ -4548,6 +4614,10 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4548
4614
|
* @deprecated
|
|
4549
4615
|
*/
|
|
4550
4616
|
vswitchId?: string;
|
|
4617
|
+
/**
|
|
4618
|
+
* @remarks
|
|
4619
|
+
* The vSwitch for the control plane of the cluster.
|
|
4620
|
+
*/
|
|
4551
4621
|
vswitchIds?: string[];
|
|
4552
4622
|
/**
|
|
4553
4623
|
* @remarks
|
|
@@ -4558,6 +4628,9 @@ export declare class DescribeClusterDetailResponseBody extends $tea.Model {
|
|
|
4558
4628
|
*/
|
|
4559
4629
|
workerRamRoleName?: string;
|
|
4560
4630
|
/**
|
|
4631
|
+
* @remarks
|
|
4632
|
+
* The ID of the zone within the region where the cluster is located.
|
|
4633
|
+
*
|
|
4561
4634
|
* @example
|
|
4562
4635
|
* cn-beijing-a
|
|
4563
4636
|
*/
|
|
@@ -4682,6 +4755,7 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4682
4755
|
* The auto scaling configuration of the node pool.
|
|
4683
4756
|
*/
|
|
4684
4757
|
autoScaling?: DescribeClusterNodePoolDetailResponseBodyAutoScaling;
|
|
4758
|
+
hostNetwork?: boolean;
|
|
4685
4759
|
/**
|
|
4686
4760
|
* @remarks
|
|
4687
4761
|
* The network configuration of the edge node pool. This parameter takes effect only for edge node pools.
|
|
@@ -4695,9 +4769,10 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
4695
4769
|
* improved
|
|
4696
4770
|
*/
|
|
4697
4771
|
interconnectMode?: string;
|
|
4772
|
+
intranet?: boolean;
|
|
4698
4773
|
/**
|
|
4699
4774
|
* @remarks
|
|
4700
|
-
* The
|
|
4775
|
+
* The configurations of the cluster in which the node pool is deployed.
|
|
4701
4776
|
*/
|
|
4702
4777
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
4703
4778
|
/**
|
|
@@ -5680,7 +5755,7 @@ export declare class DescribeEventsRequest extends $tea.Model {
|
|
|
5680
5755
|
export declare class DescribeEventsResponseBody extends $tea.Model {
|
|
5681
5756
|
/**
|
|
5682
5757
|
* @remarks
|
|
5683
|
-
* The details of the
|
|
5758
|
+
* The details of the events.
|
|
5684
5759
|
*/
|
|
5685
5760
|
events?: DescribeEventsResponseBodyEvents[];
|
|
5686
5761
|
/**
|
|
@@ -5812,12 +5887,12 @@ export declare class DescribeKubernetesVersionMetadataRequest extends $tea.Model
|
|
|
5812
5887
|
* @remarks
|
|
5813
5888
|
* The query mode. Valid values:
|
|
5814
5889
|
*
|
|
5815
|
-
* * `supported`: queries all supported versions.
|
|
5816
|
-
* * `creatable`: queries only versions that
|
|
5890
|
+
* * `supported`: queries all supported Kubernetes versions.
|
|
5891
|
+
* * `creatable`: queries only Kubernetes versions of clusters that you can create.
|
|
5817
5892
|
*
|
|
5818
5893
|
* If you specify `KubernetesVersion`, this parameter does not take effect.
|
|
5819
5894
|
*
|
|
5820
|
-
*
|
|
5895
|
+
* If you do not specify a query mode, Kubernetes versions of clusters that you can create are returned.
|
|
5821
5896
|
*
|
|
5822
5897
|
* @example
|
|
5823
5898
|
* supported
|
|
@@ -6987,7 +7062,10 @@ export declare class GetClusterAddonInstanceResponse extends $tea.Model {
|
|
|
6987
7062
|
export declare class GetClusterAuditProjectResponseBody extends $tea.Model {
|
|
6988
7063
|
/**
|
|
6989
7064
|
* @remarks
|
|
6990
|
-
* 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.
|
|
6991
7069
|
*
|
|
6992
7070
|
* @example
|
|
6993
7071
|
* true
|
|
@@ -7849,7 +7927,7 @@ export declare class ListTagResourcesRequest extends $tea.Model {
|
|
|
7849
7927
|
resourceType?: string;
|
|
7850
7928
|
/**
|
|
7851
7929
|
* @remarks
|
|
7852
|
-
* The
|
|
7930
|
+
* The labels that you want to query. You can specify up to 20 labels.
|
|
7853
7931
|
*
|
|
7854
7932
|
* @example
|
|
7855
7933
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -7906,7 +7984,7 @@ export declare class ListTagResourcesShrinkRequest extends $tea.Model {
|
|
|
7906
7984
|
resourceType?: string;
|
|
7907
7985
|
/**
|
|
7908
7986
|
* @remarks
|
|
7909
|
-
* The
|
|
7987
|
+
* The labels that you want to query. You can specify up to 20 labels.
|
|
7910
7988
|
*
|
|
7911
7989
|
* @example
|
|
7912
7990
|
* [{\\"key\\":\\"env\\",\\"value\\",\\"dev\\"},{\\"key\\":\\"dev\\", \\"value\\":\\"IT\\"}]
|
|
@@ -8508,9 +8586,13 @@ export declare class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
8508
8586
|
export declare class ModifyNodePoolNodeConfigRequest extends $tea.Model {
|
|
8509
8587
|
/**
|
|
8510
8588
|
* @remarks
|
|
8511
|
-
* The
|
|
8589
|
+
* The parameters of the kubelet.
|
|
8512
8590
|
*/
|
|
8513
8591
|
kubeletConfig?: KubeletConfig;
|
|
8592
|
+
/**
|
|
8593
|
+
* @remarks
|
|
8594
|
+
* Operating system parameter configuration.
|
|
8595
|
+
*/
|
|
8514
8596
|
osConfig?: ModifyNodePoolNodeConfigRequestOsConfig;
|
|
8515
8597
|
/**
|
|
8516
8598
|
* @remarks
|
|
@@ -9367,15 +9449,15 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9367
9449
|
runtime?: Runtime;
|
|
9368
9450
|
/**
|
|
9369
9451
|
* @remarks
|
|
9370
|
-
* The
|
|
9452
|
+
* The tags that you want to add to nodes. When you add labels to a node, the following rules apply:
|
|
9371
9453
|
*
|
|
9372
9454
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
9373
|
-
* * 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).
|
|
9374
9456
|
*/
|
|
9375
9457
|
tags?: Tag[];
|
|
9376
9458
|
/**
|
|
9377
9459
|
* @remarks
|
|
9378
|
-
* 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/).
|
|
9379
9461
|
*/
|
|
9380
9462
|
taints?: Taint[];
|
|
9381
9463
|
/**
|
|
@@ -9398,7 +9480,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9398
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:
|
|
9399
9481
|
*
|
|
9400
9482
|
* * `true`: enables auto-renewal.
|
|
9401
|
-
* * `false`:
|
|
9483
|
+
* * `false`: disables auto-renewal.
|
|
9402
9484
|
*
|
|
9403
9485
|
* Default value: `true`.
|
|
9404
9486
|
*
|
|
@@ -9430,7 +9512,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9430
9512
|
* * `PrePaid`: subscription.
|
|
9431
9513
|
* * `PostPaid`: pay-as-you-go.
|
|
9432
9514
|
*
|
|
9433
|
-
* Default value: `PostPaid
|
|
9515
|
+
* Default value: `PostPaid`
|
|
9434
9516
|
*
|
|
9435
9517
|
* @example
|
|
9436
9518
|
* PrePaid
|
|
@@ -9449,7 +9531,7 @@ export declare class ScaleOutClusterRequest extends $tea.Model {
|
|
|
9449
9531
|
*
|
|
9450
9532
|
* Valid values: 1, 2, 3, 6, 12, 24, 36, 48, and 60.
|
|
9451
9533
|
*
|
|
9452
|
-
* Default value: 1
|
|
9534
|
+
* Default value: 1
|
|
9453
9535
|
*
|
|
9454
9536
|
* @example
|
|
9455
9537
|
* 1
|
|
@@ -9768,7 +9850,7 @@ export declare class SyncClusterNodePoolResponse extends $tea.Model {
|
|
|
9768
9850
|
export declare class TagResourcesRequest extends $tea.Model {
|
|
9769
9851
|
/**
|
|
9770
9852
|
* @remarks
|
|
9771
|
-
* The
|
|
9853
|
+
* The ID of the region in which the resource resides.
|
|
9772
9854
|
*
|
|
9773
9855
|
* This parameter is required.
|
|
9774
9856
|
*
|
|
@@ -9785,7 +9867,7 @@ export declare class TagResourcesRequest extends $tea.Model {
|
|
|
9785
9867
|
resourceIds?: string[];
|
|
9786
9868
|
/**
|
|
9787
9869
|
* @remarks
|
|
9788
|
-
* The type of
|
|
9870
|
+
* The type of resources that you want to label. Valid value: `CLUSTER`.
|
|
9789
9871
|
*
|
|
9790
9872
|
* This parameter is required.
|
|
9791
9873
|
*
|
|
@@ -9795,11 +9877,11 @@ export declare class TagResourcesRequest extends $tea.Model {
|
|
|
9795
9877
|
resourceType?: string;
|
|
9796
9878
|
/**
|
|
9797
9879
|
* @remarks
|
|
9798
|
-
* 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:
|
|
9799
9881
|
*
|
|
9800
|
-
* *
|
|
9801
|
-
* *
|
|
9802
|
-
* *
|
|
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://`.
|
|
9803
9885
|
*
|
|
9804
9886
|
* This parameter is required.
|
|
9805
9887
|
*/
|
|
@@ -10654,7 +10736,7 @@ export declare class UpgradeClusterAddonsRequest extends $tea.Model {
|
|
|
10654
10736
|
export declare class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
10655
10737
|
/**
|
|
10656
10738
|
* @remarks
|
|
10657
|
-
* The ID
|
|
10739
|
+
* The cluster ID.
|
|
10658
10740
|
*
|
|
10659
10741
|
* @example
|
|
10660
10742
|
* cf4299b79b3e34226abfdc80a4bda****
|
|
@@ -10662,7 +10744,7 @@ export declare class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
|
10662
10744
|
clusterId?: string;
|
|
10663
10745
|
/**
|
|
10664
10746
|
* @remarks
|
|
10665
|
-
* The ID
|
|
10747
|
+
* The request ID.
|
|
10666
10748
|
*
|
|
10667
10749
|
* @example
|
|
10668
10750
|
* bfd12953-31cb-42f1-8a36-7b80ec345094
|
|
@@ -10670,7 +10752,7 @@ export declare class UpgradeClusterAddonsResponseBody extends $tea.Model {
|
|
|
10670
10752
|
requestId?: string;
|
|
10671
10753
|
/**
|
|
10672
10754
|
* @remarks
|
|
10673
|
-
* The ID
|
|
10755
|
+
* The task ID.
|
|
10674
10756
|
*
|
|
10675
10757
|
* @example
|
|
10676
10758
|
* T-62a944794ee141074400****
|
|
@@ -10739,7 +10821,7 @@ export declare class UpgradeClusterNodepoolRequest extends $tea.Model {
|
|
|
10739
10821
|
runtimeType?: string;
|
|
10740
10822
|
/**
|
|
10741
10823
|
* @remarks
|
|
10742
|
-
* 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.
|
|
10743
10825
|
*
|
|
10744
10826
|
* @example
|
|
10745
10827
|
* 1.5.10
|
|
@@ -11486,7 +11568,25 @@ export declare class CheckServiceRoleResponseBodyRoles extends $tea.Model {
|
|
|
11486
11568
|
});
|
|
11487
11569
|
}
|
|
11488
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
|
+
*/
|
|
11489
11582
|
channel?: string;
|
|
11583
|
+
/**
|
|
11584
|
+
* @remarks
|
|
11585
|
+
* Whether to enable automatic cluster upgrades.
|
|
11586
|
+
*
|
|
11587
|
+
* @example
|
|
11588
|
+
* true
|
|
11589
|
+
*/
|
|
11490
11590
|
enabled?: boolean;
|
|
11491
11591
|
static names(): {
|
|
11492
11592
|
[key: string]: string;
|
|
@@ -11499,6 +11599,10 @@ export declare class CreateClusterRequestOperationPolicyClusterAutoUpgrade exten
|
|
|
11499
11599
|
});
|
|
11500
11600
|
}
|
|
11501
11601
|
export declare class CreateClusterRequestOperationPolicy extends $tea.Model {
|
|
11602
|
+
/**
|
|
11603
|
+
* @remarks
|
|
11604
|
+
* Automatic cluster upgrade
|
|
11605
|
+
*/
|
|
11502
11606
|
clusterAutoUpgrade?: CreateClusterRequestOperationPolicyClusterAutoUpgrade;
|
|
11503
11607
|
static names(): {
|
|
11504
11608
|
[key: string]: string;
|
|
@@ -11523,12 +11627,12 @@ export declare class CreateClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
11523
11627
|
category?: string;
|
|
11524
11628
|
/**
|
|
11525
11629
|
* @remarks
|
|
11526
|
-
* Specifies whether to encrypt the data
|
|
11630
|
+
* Specifies whether to encrypt the data disks. Valid values:
|
|
11527
11631
|
*
|
|
11528
11632
|
* * `true`: encrypts the data disk.
|
|
11529
11633
|
* * `false`: does not encrypt the data disk.
|
|
11530
11634
|
*
|
|
11531
|
-
* Default value: `false
|
|
11635
|
+
* Default value: `false`
|
|
11532
11636
|
*
|
|
11533
11637
|
* @example
|
|
11534
11638
|
* true
|
|
@@ -11571,7 +11675,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11571
11675
|
*
|
|
11572
11676
|
* **
|
|
11573
11677
|
*
|
|
11574
|
-
* **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.
|
|
11575
11679
|
*
|
|
11576
11680
|
* @example
|
|
11577
11681
|
* 5
|
|
@@ -11592,7 +11696,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11592
11696
|
*
|
|
11593
11697
|
* **
|
|
11594
11698
|
*
|
|
11595
|
-
* **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.
|
|
11596
11700
|
*
|
|
11597
11701
|
* @example
|
|
11598
11702
|
* PayByBandwidth
|
|
@@ -11626,7 +11730,7 @@ export declare class CreateClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
11626
11730
|
*
|
|
11627
11731
|
* **
|
|
11628
11732
|
*
|
|
11629
|
-
* **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.
|
|
11630
11734
|
*
|
|
11631
11735
|
* @example
|
|
11632
11736
|
* true
|
|
@@ -11754,7 +11858,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11754
11858
|
cmsEnabled?: boolean;
|
|
11755
11859
|
/**
|
|
11756
11860
|
* @remarks
|
|
11757
|
-
* 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:
|
|
11758
11862
|
*
|
|
11759
11863
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
11760
11864
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -11767,12 +11871,12 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11767
11871
|
cpuPolicy?: string;
|
|
11768
11872
|
/**
|
|
11769
11873
|
* @remarks
|
|
11770
|
-
* 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.
|
|
11771
11875
|
*/
|
|
11772
11876
|
labels?: Tag[];
|
|
11773
11877
|
/**
|
|
11774
11878
|
* @remarks
|
|
11775
|
-
*
|
|
11879
|
+
* A custom node name consists of a prefix, a node IP address, and a suffix.
|
|
11776
11880
|
*
|
|
11777
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.
|
|
11778
11882
|
* * The node IP address in a custom node name is the private IP address of the node.
|
|
@@ -11783,10 +11887,17 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11783
11887
|
* customized,aliyun,ip,com
|
|
11784
11888
|
*/
|
|
11785
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
|
+
*/
|
|
11786
11897
|
preUserData?: string;
|
|
11787
11898
|
/**
|
|
11788
11899
|
* @remarks
|
|
11789
|
-
* 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:
|
|
11790
11901
|
*
|
|
11791
11902
|
* * containerd: containerd is the recommended runtime and supports all Kubernetes versions.
|
|
11792
11903
|
* * Sandboxed-Container.runv: The Sandbox-Container runtime provides improved isolation and supports Kubernetes 1.24 and earlier.
|
|
@@ -11821,7 +11932,7 @@ export declare class CreateClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
11821
11932
|
unschedulable?: boolean;
|
|
11822
11933
|
/**
|
|
11823
11934
|
* @remarks
|
|
11824
|
-
* The user data
|
|
11935
|
+
* The user-defined data of nodes. You can specify custom scripts that are automatically executed after the nodes are initialized.
|
|
11825
11936
|
*
|
|
11826
11937
|
* @example
|
|
11827
11938
|
* dGhpcyBpcyBhIGV4YW1wbGU=
|
|
@@ -11921,9 +12032,9 @@ export declare class CreateClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
11921
12032
|
* @remarks
|
|
11922
12033
|
* The severity levels of CVEs that can be automatically patched. Separate multiple levels with commas (,). Example: `asap,later`. Valid values:
|
|
11923
12034
|
*
|
|
11924
|
-
* * `asap`: high.
|
|
11925
|
-
* * `later`: medium.
|
|
11926
|
-
* * `nntf`: low.
|
|
12035
|
+
* * `asap`: high severity.
|
|
12036
|
+
* * `later`: medium severity.
|
|
12037
|
+
* * `nntf`: low severity.
|
|
11927
12038
|
*
|
|
11928
12039
|
* If `auto_vul_fix` is set to true, the default value of this parameter is `asap`.
|
|
11929
12040
|
*
|
|
@@ -11951,7 +12062,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
11951
12062
|
*
|
|
11952
12063
|
* **
|
|
11953
12064
|
*
|
|
11954
|
-
* **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter.
|
|
12065
|
+
* **Caution** This parameter is deprecated. Use the preceding auto_upgrade parameter instead.
|
|
11955
12066
|
*
|
|
11956
12067
|
* @example
|
|
11957
12068
|
* false
|
|
@@ -11961,9 +12072,9 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
11961
12072
|
autoUpgrade?: boolean;
|
|
11962
12073
|
/**
|
|
11963
12074
|
* @remarks
|
|
11964
|
-
* The maximum number of
|
|
12075
|
+
* The maximum number of nodes that can be in the Unavailable state. Valid values: 1 to 1000.
|
|
11965
12076
|
*
|
|
11966
|
-
* Default value: 1
|
|
12077
|
+
* Default value: 1.
|
|
11967
12078
|
*
|
|
11968
12079
|
* @example
|
|
11969
12080
|
* 1
|
|
@@ -11971,7 +12082,7 @@ export declare class CreateClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
11971
12082
|
maxUnavailable?: number;
|
|
11972
12083
|
/**
|
|
11973
12084
|
* @remarks
|
|
11974
|
-
* The number of additional nodes
|
|
12085
|
+
* The number of additional nodes.
|
|
11975
12086
|
*
|
|
11976
12087
|
* @example
|
|
11977
12088
|
* 0
|
|
@@ -12140,7 +12251,7 @@ export declare class CreateClusterNodePoolRequestNodepoolInfo extends $tea.Model
|
|
|
12140
12251
|
export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions extends $tea.Model {
|
|
12141
12252
|
/**
|
|
12142
12253
|
* @remarks
|
|
12143
|
-
* The private node pool
|
|
12254
|
+
* The ID of the private node pool.
|
|
12144
12255
|
*
|
|
12145
12256
|
* @example
|
|
12146
12257
|
* eap-bp67acfmxazb4****
|
|
@@ -12150,9 +12261,9 @@ export declare class CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
12150
12261
|
* @remarks
|
|
12151
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:
|
|
12152
12263
|
*
|
|
12153
|
-
* * `Open`: open private
|
|
12154
|
-
* * `Target`: private
|
|
12155
|
-
* * `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.
|
|
12156
12267
|
*
|
|
12157
12268
|
* @example
|
|
12158
12269
|
* Open
|
|
@@ -12179,7 +12290,7 @@ export declare class CreateClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
12179
12290
|
instanceType?: string;
|
|
12180
12291
|
/**
|
|
12181
12292
|
* @remarks
|
|
12182
|
-
* The price cap of a preemptible instance.
|
|
12293
|
+
* The price cap of a preemptible instance of the type.
|
|
12183
12294
|
*
|
|
12184
12295
|
* @example
|
|
12185
12296
|
* 0.39
|
|
@@ -12248,7 +12359,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12248
12359
|
autoRenewPeriod?: number;
|
|
12249
12360
|
/**
|
|
12250
12361
|
* @remarks
|
|
12251
|
-
* This parameter is deprecated. Use security_hardening_os instead.
|
|
12362
|
+
* This parameter is deprecated. Use the security_hardening_os parameter instead.
|
|
12252
12363
|
*
|
|
12253
12364
|
* @example
|
|
12254
12365
|
* false
|
|
@@ -12269,7 +12380,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12269
12380
|
compensateWithOnDemand?: boolean;
|
|
12270
12381
|
/**
|
|
12271
12382
|
* @remarks
|
|
12272
|
-
* The configurations of the data disks that are
|
|
12383
|
+
* The configurations of the data disks that are attached to nodes in the node pool.
|
|
12273
12384
|
*/
|
|
12274
12385
|
dataDisks?: DataDisk[];
|
|
12275
12386
|
/**
|
|
@@ -12290,7 +12401,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12290
12401
|
desiredSize?: number;
|
|
12291
12402
|
/**
|
|
12292
12403
|
* @remarks
|
|
12293
|
-
* 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.
|
|
12294
12405
|
*
|
|
12295
12406
|
* @example
|
|
12296
12407
|
* aliyun_2_1903_x64_20G_alibase_20200529.vhd
|
|
@@ -12331,7 +12442,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12331
12442
|
instanceChargeType?: string;
|
|
12332
12443
|
/**
|
|
12333
12444
|
* @remarks
|
|
12334
|
-
* The instance
|
|
12445
|
+
* The instance properties.
|
|
12335
12446
|
*/
|
|
12336
12447
|
instancePatterns?: InstancePatterns[];
|
|
12337
12448
|
/**
|
|
@@ -12382,7 +12493,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12382
12493
|
loginAsNonRoot?: boolean;
|
|
12383
12494
|
/**
|
|
12384
12495
|
* @remarks
|
|
12385
|
-
* 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.
|
|
12386
12497
|
*
|
|
12387
12498
|
* @example
|
|
12388
12499
|
* Hello1234
|
|
@@ -12394,13 +12505,13 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12394
12505
|
*
|
|
12395
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.
|
|
12396
12507
|
*
|
|
12397
|
-
* * `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.
|
|
12398
12509
|
*
|
|
12399
12510
|
* **
|
|
12400
12511
|
*
|
|
12401
|
-
* **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.
|
|
12402
12513
|
*
|
|
12403
|
-
* * `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.
|
|
12404
12515
|
*
|
|
12405
12516
|
* Default value: `PRIORITY`.
|
|
12406
12517
|
*
|
|
@@ -12410,7 +12521,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12410
12521
|
multiAzPolicy?: string;
|
|
12411
12522
|
/**
|
|
12412
12523
|
* @remarks
|
|
12413
|
-
* 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.
|
|
12414
12525
|
*
|
|
12415
12526
|
* @example
|
|
12416
12527
|
* 0
|
|
@@ -12450,7 +12561,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12450
12561
|
periodUnit?: string;
|
|
12451
12562
|
/**
|
|
12452
12563
|
* @remarks
|
|
12453
|
-
* The
|
|
12564
|
+
* The operating system distribution. Valid values:
|
|
12454
12565
|
*
|
|
12455
12566
|
* * `CentOS`
|
|
12456
12567
|
* * `AliyunLinux`
|
|
@@ -12472,7 +12583,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12472
12583
|
privatePoolOptions?: CreateClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
12473
12584
|
/**
|
|
12474
12585
|
* @remarks
|
|
12475
|
-
* The name of the worker
|
|
12586
|
+
* The name of the worker RAM role.
|
|
12476
12587
|
*
|
|
12477
12588
|
* * If you do not specify this parameter, the default worker RAM role created by the cluster is used.
|
|
12478
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-`.
|
|
@@ -12494,7 +12605,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12494
12605
|
* @remarks
|
|
12495
12606
|
* The scaling mode of the scaling group. Valid values:
|
|
12496
12607
|
*
|
|
12497
|
-
* * `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.
|
|
12498
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.
|
|
12499
12610
|
*
|
|
12500
12611
|
* Default value: `release`.
|
|
@@ -12530,7 +12641,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12530
12641
|
securityHardeningOs?: boolean;
|
|
12531
12642
|
/**
|
|
12532
12643
|
* @remarks
|
|
12533
|
-
* 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.
|
|
12534
12645
|
*
|
|
12535
12646
|
* @example
|
|
12536
12647
|
* false
|
|
@@ -12546,10 +12657,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12546
12657
|
spotInstancePools?: number;
|
|
12547
12658
|
/**
|
|
12548
12659
|
* @remarks
|
|
12549
|
-
* 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:
|
|
12550
12661
|
*
|
|
12551
|
-
* * `true`:
|
|
12552
|
-
* * `false`:
|
|
12662
|
+
* * `true`: enables the supplementation of preemptible instances.
|
|
12663
|
+
* * `false`: disables the supplementation of preemptible instances.
|
|
12553
12664
|
*
|
|
12554
12665
|
* @example
|
|
12555
12666
|
* false
|
|
@@ -12565,10 +12676,10 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12565
12676
|
* The bidding policy of preemptible instances. Valid values:
|
|
12566
12677
|
*
|
|
12567
12678
|
* * `NoSpot`: non-preemptible.
|
|
12568
|
-
* * `SpotWithPriceLimit`: specifies the highest bid.
|
|
12679
|
+
* * `SpotWithPriceLimit`: specifies the highest bid for the preemptible instance.
|
|
12569
12680
|
* * `SpotAsPriceGo`: automatically submits bids based on the up-to-date market price.
|
|
12570
12681
|
*
|
|
12571
|
-
* For more information, see [
|
|
12682
|
+
* For more information, see [Use preemptible instances](https://help.aliyun.com/document_detail/165053.html).
|
|
12572
12683
|
*
|
|
12573
12684
|
* @example
|
|
12574
12685
|
* NoSpot
|
|
@@ -12589,7 +12700,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12589
12700
|
systemDiskBurstingEnabled?: boolean;
|
|
12590
12701
|
/**
|
|
12591
12702
|
* @remarks
|
|
12592
|
-
* 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:
|
|
12593
12704
|
*
|
|
12594
12705
|
* * `cloud`: basic disk.
|
|
12595
12706
|
* * `cloud_efficiency`: ultra disk.
|
|
@@ -12601,7 +12712,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12601
12712
|
systemDiskCategories?: string[];
|
|
12602
12713
|
/**
|
|
12603
12714
|
* @remarks
|
|
12604
|
-
* The system disk
|
|
12715
|
+
* The category of the system disk for nodes. Valid values:
|
|
12605
12716
|
*
|
|
12606
12717
|
* * `cloud`: basic disk.
|
|
12607
12718
|
* * `cloud_efficiency`: ultra disk.
|
|
@@ -12659,7 +12770,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12659
12770
|
* @remarks
|
|
12660
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}.
|
|
12661
12772
|
*
|
|
12662
|
-
* 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).
|
|
12663
12774
|
*
|
|
12664
12775
|
* @example
|
|
12665
12776
|
* 1000
|
|
@@ -12679,7 +12790,7 @@ export declare class CreateClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
12679
12790
|
* @remarks
|
|
12680
12791
|
* The labels that you want to add only to ECS instances.
|
|
12681
12792
|
*
|
|
12682
|
-
* 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://.
|
|
12683
12794
|
*/
|
|
12684
12795
|
tags?: CreateClusterNodePoolRequestScalingGroupTags[];
|
|
12685
12796
|
/**
|
|
@@ -12875,7 +12986,27 @@ export declare class DescribeAddonsResponseBodyComponentGroups extends $tea.Mode
|
|
|
12875
12986
|
});
|
|
12876
12987
|
}
|
|
12877
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
|
+
*/
|
|
12878
13002
|
channel?: string;
|
|
13003
|
+
/**
|
|
13004
|
+
* @remarks
|
|
13005
|
+
* Specifies whether to enable auto cluster update.
|
|
13006
|
+
*
|
|
13007
|
+
* @example
|
|
13008
|
+
* true
|
|
13009
|
+
*/
|
|
12879
13010
|
enabled?: boolean;
|
|
12880
13011
|
static names(): {
|
|
12881
13012
|
[key: string]: string;
|
|
@@ -12888,6 +13019,10 @@ export declare class DescribeClusterDetailResponseBodyOperationPolicyClusterAuto
|
|
|
12888
13019
|
});
|
|
12889
13020
|
}
|
|
12890
13021
|
export declare class DescribeClusterDetailResponseBodyOperationPolicy extends $tea.Model {
|
|
13022
|
+
/**
|
|
13023
|
+
* @remarks
|
|
13024
|
+
* The configurations of auto cluster update.
|
|
13025
|
+
*/
|
|
12891
13026
|
clusterAutoUpgrade?: DescribeClusterDetailResponseBodyOperationPolicyClusterAutoUpgrade;
|
|
12892
13027
|
static names(): {
|
|
12893
13028
|
[key: string]: string;
|
|
@@ -13286,6 +13421,10 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13286
13421
|
* customized,test.,5,.com
|
|
13287
13422
|
*/
|
|
13288
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
|
+
*/
|
|
13289
13428
|
preUserData?: string;
|
|
13290
13429
|
/**
|
|
13291
13430
|
* @remarks
|
|
@@ -13318,7 +13457,7 @@ export declare class DescribeClusterNodePoolDetailResponseBodyKubernetesConfig e
|
|
|
13318
13457
|
unschedulable?: boolean;
|
|
13319
13458
|
/**
|
|
13320
13459
|
* @remarks
|
|
13321
|
-
* 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).
|
|
13322
13461
|
*
|
|
13323
13462
|
* @example
|
|
13324
13463
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -14383,7 +14522,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14383
14522
|
cpuPolicy?: string;
|
|
14384
14523
|
/**
|
|
14385
14524
|
* @remarks
|
|
14386
|
-
* The labels that
|
|
14525
|
+
* The labels that are added to the nodes in the cluster. You must add labels based on the following rules:
|
|
14387
14526
|
*
|
|
14388
14527
|
* * A label is a case-sensitive key-value pair. You can add up to 20 labels.
|
|
14389
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).
|
|
@@ -14402,6 +14541,13 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14402
14541
|
* customized,test.,5,.com
|
|
14403
14542
|
*/
|
|
14404
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
|
+
*/
|
|
14405
14551
|
preUserData?: string;
|
|
14406
14552
|
/**
|
|
14407
14553
|
* @remarks
|
|
@@ -14421,7 +14567,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14421
14567
|
runtimeVersion?: string;
|
|
14422
14568
|
/**
|
|
14423
14569
|
* @remarks
|
|
14424
|
-
* 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/).
|
|
14425
14571
|
*/
|
|
14426
14572
|
taints?: Taint[];
|
|
14427
14573
|
/**
|
|
@@ -14434,7 +14580,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConf
|
|
|
14434
14580
|
unschedulable?: boolean;
|
|
14435
14581
|
/**
|
|
14436
14582
|
* @remarks
|
|
14437
|
-
* 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).
|
|
14438
14584
|
*
|
|
14439
14585
|
* @example
|
|
14440
14586
|
* IyEvYmluL3NoCmVjaG8gIkhlbGxvIEFD****
|
|
@@ -14637,7 +14783,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
14637
14783
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig extends $tea.Model {
|
|
14638
14784
|
/**
|
|
14639
14785
|
* @remarks
|
|
14640
|
-
* The
|
|
14786
|
+
* The configurations of the kubelet.
|
|
14641
14787
|
*/
|
|
14642
14788
|
kubeletConfiguration?: KubeletConfig;
|
|
14643
14789
|
static names(): {
|
|
@@ -14886,7 +15032,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
14886
15032
|
instanceChargeType?: string;
|
|
14887
15033
|
/**
|
|
14888
15034
|
* @remarks
|
|
14889
|
-
*
|
|
15035
|
+
* The attributes of an instance.
|
|
14890
15036
|
*/
|
|
14891
15037
|
instancePatterns?: InstancePatterns[];
|
|
14892
15038
|
/**
|
|
@@ -15132,7 +15278,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15132
15278
|
systemDiskBurstingEnabled?: boolean;
|
|
15133
15279
|
/**
|
|
15134
15280
|
* @remarks
|
|
15135
|
-
* 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).
|
|
15136
15282
|
*/
|
|
15137
15283
|
systemDiskCategories?: string[];
|
|
15138
15284
|
/**
|
|
@@ -15148,7 +15294,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15148
15294
|
systemDiskCategory?: string;
|
|
15149
15295
|
/**
|
|
15150
15296
|
* @remarks
|
|
15151
|
-
* The algorithm that
|
|
15297
|
+
* The encryption algorithm that is used to encrypt the system disk. The value is aes-256.
|
|
15152
15298
|
*
|
|
15153
15299
|
* @example
|
|
15154
15300
|
* aes-256
|
|
@@ -15201,7 +15347,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup e
|
|
|
15201
15347
|
systemDiskSize?: number;
|
|
15202
15348
|
/**
|
|
15203
15349
|
* @remarks
|
|
15204
|
-
* The
|
|
15350
|
+
* The labels that you want to add only to Elastic Compute Service (ECS) instances.
|
|
15205
15351
|
*
|
|
15206
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://.
|
|
15207
15353
|
*/
|
|
@@ -15377,7 +15523,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.
|
|
|
15377
15523
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
15378
15524
|
/**
|
|
15379
15525
|
* @remarks
|
|
15380
|
-
* The
|
|
15526
|
+
* The configurations of the scaling group.
|
|
15381
15527
|
*/
|
|
15382
15528
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
15383
15529
|
/**
|
|
@@ -16078,7 +16224,27 @@ export declare class DescribeClustersResponseBody extends $tea.Model {
|
|
|
16078
16224
|
});
|
|
16079
16225
|
}
|
|
16080
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
|
+
*/
|
|
16081
16240
|
channel?: string;
|
|
16241
|
+
/**
|
|
16242
|
+
* @remarks
|
|
16243
|
+
* Specifies whether to enable auto cluster update.
|
|
16244
|
+
*
|
|
16245
|
+
* @example
|
|
16246
|
+
* true
|
|
16247
|
+
*/
|
|
16082
16248
|
enabled?: boolean;
|
|
16083
16249
|
static names(): {
|
|
16084
16250
|
[key: string]: string;
|
|
@@ -16091,6 +16257,10 @@ export declare class DescribeClustersV1ResponseBodyClustersOperationPolicyCluste
|
|
|
16091
16257
|
});
|
|
16092
16258
|
}
|
|
16093
16259
|
export declare class DescribeClustersV1ResponseBodyClustersOperationPolicy extends $tea.Model {
|
|
16260
|
+
/**
|
|
16261
|
+
* @remarks
|
|
16262
|
+
* The configurations of auto cluster update.
|
|
16263
|
+
*/
|
|
16094
16264
|
clusterAutoUpgrade?: DescribeClustersV1ResponseBodyClustersOperationPolicyClusterAutoUpgrade;
|
|
16095
16265
|
static names(): {
|
|
16096
16266
|
[key: string]: string;
|
|
@@ -16104,6 +16274,9 @@ export declare class DescribeClustersV1ResponseBodyClustersOperationPolicy exten
|
|
|
16104
16274
|
}
|
|
16105
16275
|
export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
16106
16276
|
/**
|
|
16277
|
+
* @remarks
|
|
16278
|
+
* The domain name of the cluster.
|
|
16279
|
+
*
|
|
16107
16280
|
* @example
|
|
16108
16281
|
* cluster.local
|
|
16109
16282
|
*/
|
|
@@ -16138,6 +16311,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16138
16311
|
*/
|
|
16139
16312
|
clusterType?: string;
|
|
16140
16313
|
/**
|
|
16314
|
+
* @remarks
|
|
16315
|
+
* The pod CIDR block.
|
|
16316
|
+
*
|
|
16141
16317
|
* @example
|
|
16142
16318
|
* 172.20.0.0/16
|
|
16143
16319
|
*/
|
|
@@ -16198,6 +16374,12 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16198
16374
|
*/
|
|
16199
16375
|
initVersion?: string;
|
|
16200
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
|
+
*
|
|
16201
16383
|
* @example
|
|
16202
16384
|
* ipv4
|
|
16203
16385
|
*/
|
|
@@ -16254,6 +16436,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16254
16436
|
* 1.18.8-aliyun.1
|
|
16255
16437
|
*/
|
|
16256
16438
|
nextVersion?: string;
|
|
16439
|
+
/**
|
|
16440
|
+
* @remarks
|
|
16441
|
+
* The automatic O\\&M policy of the cluster.
|
|
16442
|
+
*/
|
|
16257
16443
|
operationPolicy?: DescribeClustersV1ResponseBodyClustersOperationPolicy;
|
|
16258
16444
|
/**
|
|
16259
16445
|
* @remarks
|
|
@@ -16280,6 +16466,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16280
16466
|
*/
|
|
16281
16467
|
profile?: string;
|
|
16282
16468
|
/**
|
|
16469
|
+
* @remarks
|
|
16470
|
+
* The kube-proxy mode. Valid values: ipvs and iptables.
|
|
16471
|
+
*
|
|
16283
16472
|
* @example
|
|
16284
16473
|
* ipvs
|
|
16285
16474
|
*/
|
|
@@ -16310,6 +16499,8 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16310
16499
|
securityGroupId?: string;
|
|
16311
16500
|
/**
|
|
16312
16501
|
* @remarks
|
|
16502
|
+
* The Service CIDR block.
|
|
16503
|
+
*
|
|
16313
16504
|
* This parameter is required.
|
|
16314
16505
|
*
|
|
16315
16506
|
* @example
|
|
@@ -16318,7 +16509,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16318
16509
|
serviceCidr?: string;
|
|
16319
16510
|
/**
|
|
16320
16511
|
* @remarks
|
|
16321
|
-
* The number of nodes in the cluster, including
|
|
16512
|
+
* The number of nodes in the cluster, including control planes and worker nodes.
|
|
16322
16513
|
*
|
|
16323
16514
|
* @example
|
|
16324
16515
|
* 5
|
|
@@ -16353,7 +16544,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16353
16544
|
*
|
|
16354
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.
|
|
16355
16546
|
*
|
|
16356
|
-
* 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).
|
|
16357
16548
|
*
|
|
16358
16549
|
* @example
|
|
16359
16550
|
* 172.21.0.0/16
|
|
@@ -16367,6 +16558,9 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16367
16558
|
*/
|
|
16368
16559
|
tags?: Tag[];
|
|
16369
16560
|
/**
|
|
16561
|
+
* @remarks
|
|
16562
|
+
* The time zone.
|
|
16563
|
+
*
|
|
16370
16564
|
* @example
|
|
16371
16565
|
* Asia/Shanghai
|
|
16372
16566
|
*/
|
|
@@ -16389,7 +16583,7 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16389
16583
|
vpcId?: string;
|
|
16390
16584
|
/**
|
|
16391
16585
|
* @remarks
|
|
16392
|
-
* 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.
|
|
16393
16587
|
*
|
|
16394
16588
|
* @example
|
|
16395
16589
|
* vsw-2vc41xuumx5z2rdma****,vsw-2vc41xuumx5z2rdma****
|
|
@@ -16397,6 +16591,10 @@ export declare class DescribeClustersV1ResponseBodyClusters extends $tea.Model {
|
|
|
16397
16591
|
* @deprecated
|
|
16398
16592
|
*/
|
|
16399
16593
|
vswitchId?: string;
|
|
16594
|
+
/**
|
|
16595
|
+
* @remarks
|
|
16596
|
+
* The vSwitches of the control planes.
|
|
16597
|
+
*/
|
|
16400
16598
|
vswitchIds?: string[];
|
|
16401
16599
|
/**
|
|
16402
16600
|
* @remarks
|
|
@@ -16667,7 +16865,11 @@ export declare class DescribeEdgeMachinesResponseBodyPageInfo extends $tea.Model
|
|
|
16667
16865
|
export declare class DescribeEventsResponseBodyEventsData extends $tea.Model {
|
|
16668
16866
|
/**
|
|
16669
16867
|
* @remarks
|
|
16670
|
-
* The severity level of the event.
|
|
16868
|
+
* The severity level of the event. Valid values:
|
|
16869
|
+
*
|
|
16870
|
+
* * info
|
|
16871
|
+
* * warning
|
|
16872
|
+
* * error
|
|
16671
16873
|
*
|
|
16672
16874
|
* @example
|
|
16673
16875
|
* info
|
|
@@ -17021,6 +17223,9 @@ export declare class DescribeNodePoolVulsResponseBodyVulRecordsVulList extends $
|
|
|
17021
17223
|
/**
|
|
17022
17224
|
* @remarks
|
|
17023
17225
|
* Indicates whether a restart is required.
|
|
17226
|
+
*
|
|
17227
|
+
* @example
|
|
17228
|
+
* false
|
|
17024
17229
|
*/
|
|
17025
17230
|
needReboot?: boolean;
|
|
17026
17231
|
static names(): {
|
|
@@ -17464,6 +17669,26 @@ export declare class DescribePolicyInstancesResponseBody extends $tea.Model {
|
|
|
17464
17669
|
* deny
|
|
17465
17670
|
*/
|
|
17466
17671
|
policyAction?: string;
|
|
17672
|
+
/**
|
|
17673
|
+
* @deprecated
|
|
17674
|
+
*/
|
|
17675
|
+
created?: string;
|
|
17676
|
+
/**
|
|
17677
|
+
* @deprecated
|
|
17678
|
+
*/
|
|
17679
|
+
updated?: string;
|
|
17680
|
+
/**
|
|
17681
|
+
* @deprecated
|
|
17682
|
+
*/
|
|
17683
|
+
resourceId?: string;
|
|
17684
|
+
/**
|
|
17685
|
+
* @deprecated
|
|
17686
|
+
*/
|
|
17687
|
+
totalViolations?: number;
|
|
17688
|
+
/**
|
|
17689
|
+
* @deprecated
|
|
17690
|
+
*/
|
|
17691
|
+
isDeleted?: number;
|
|
17467
17692
|
static names(): {
|
|
17468
17693
|
[key: string]: string;
|
|
17469
17694
|
};
|
|
@@ -19084,9 +19309,9 @@ export declare class ListUserKubeConfigStatesResponseBodyStates extends $tea.Mod
|
|
|
19084
19309
|
clusterId?: string;
|
|
19085
19310
|
/**
|
|
19086
19311
|
* @remarks
|
|
19087
|
-
* The cluster
|
|
19312
|
+
* The name of the cluster.
|
|
19088
19313
|
*
|
|
19089
|
-
* 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.
|
|
19090
19315
|
*
|
|
19091
19316
|
* @example
|
|
19092
19317
|
* cluster-demo
|
|
@@ -19102,8 +19327,6 @@ export declare class ListUserKubeConfigStatesResponseBodyStates extends $tea.Mod
|
|
|
19102
19327
|
* * `updating`: The cluster is being upgraded.
|
|
19103
19328
|
* * `updating_failed`: The cluster failed to be updated.
|
|
19104
19329
|
* * `scaling`: The cluster is being scaled.
|
|
19105
|
-
* * `waiting`: The cluster is waiting for connection requests.
|
|
19106
|
-
* * `disconnected`: The cluster is disconnected.
|
|
19107
19330
|
* * `stopped`: The cluster is stopped.
|
|
19108
19331
|
* * `deleting`: The cluster is being deleted.
|
|
19109
19332
|
* * `deleted`: The cluster is deleted.
|
|
@@ -19306,7 +19529,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19306
19529
|
* Specifies whether to enable auto scaling. Valid values:
|
|
19307
19530
|
*
|
|
19308
19531
|
* * `true`: enables auto scaling for the node pool.
|
|
19309
|
-
* * `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.
|
|
19310
19533
|
*
|
|
19311
19534
|
* Default value: `false`.
|
|
19312
19535
|
*
|
|
@@ -19347,7 +19570,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $tea.Model
|
|
|
19347
19570
|
minInstances?: number;
|
|
19348
19571
|
/**
|
|
19349
19572
|
* @remarks
|
|
19350
|
-
* The instance
|
|
19573
|
+
* The instance type that is used for auto scaling. Valid values:
|
|
19351
19574
|
*
|
|
19352
19575
|
* * `cpu`: regular instance.
|
|
19353
19576
|
* * `gpu`: GPU-accelerated instance.
|
|
@@ -19388,7 +19611,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19388
19611
|
cmsEnabled?: boolean;
|
|
19389
19612
|
/**
|
|
19390
19613
|
* @remarks
|
|
19391
|
-
* 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:
|
|
19392
19615
|
*
|
|
19393
19616
|
* * `static`: allows pods with specific resource characteristics on the node to be granted with enhanced CPU affinity and exclusivity.
|
|
19394
19617
|
* * `none`: specifies that the default CPU affinity is used.
|
|
@@ -19407,6 +19630,13 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19407
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).
|
|
19408
19631
|
*/
|
|
19409
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
|
+
*/
|
|
19410
19640
|
preUserData?: string;
|
|
19411
19641
|
/**
|
|
19412
19642
|
* @remarks
|
|
@@ -19439,7 +19669,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $tea.M
|
|
|
19439
19669
|
unschedulable?: boolean;
|
|
19440
19670
|
/**
|
|
19441
19671
|
* @remarks
|
|
19442
|
-
* 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).
|
|
19443
19673
|
*
|
|
19444
19674
|
* @example
|
|
19445
19675
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -19571,7 +19801,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
19571
19801
|
*
|
|
19572
19802
|
* Valid values: 1 to 1000.
|
|
19573
19803
|
*
|
|
19574
|
-
* Default value: 1
|
|
19804
|
+
* Default value: 1.
|
|
19575
19805
|
*
|
|
19576
19806
|
* @example
|
|
19577
19807
|
* 1
|
|
@@ -19626,7 +19856,7 @@ export declare class ModifyClusterNodePoolRequestManagement extends $tea.Model {
|
|
|
19626
19856
|
autoRepairPolicy?: ModifyClusterNodePoolRequestManagementAutoRepairPolicy;
|
|
19627
19857
|
/**
|
|
19628
19858
|
* @remarks
|
|
19629
|
-
*
|
|
19859
|
+
* Indicates whether auto update is enabled. Valid values:
|
|
19630
19860
|
*
|
|
19631
19861
|
* * `true`: enables auto update.
|
|
19632
19862
|
* * `false`: disables auto update.
|
|
@@ -19749,7 +19979,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
19749
19979
|
export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit extends $tea.Model {
|
|
19750
19980
|
/**
|
|
19751
19981
|
* @remarks
|
|
19752
|
-
* The
|
|
19982
|
+
* The price cap of a preemptible instance.
|
|
19753
19983
|
*
|
|
19754
19984
|
* @example
|
|
19755
19985
|
* ecs.c6.large
|
|
@@ -19803,7 +20033,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19803
20033
|
* @remarks
|
|
19804
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:
|
|
19805
20035
|
*
|
|
19806
|
-
* * `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.
|
|
19807
20037
|
* * `false`: does not create pay-as-you-go instances to meet the required number of ECS instances if preemptible instances cannot be created.
|
|
19808
20038
|
*
|
|
19809
20039
|
* @example
|
|
@@ -19874,10 +20104,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19874
20104
|
instanceTypes?: string[];
|
|
19875
20105
|
/**
|
|
19876
20106
|
* @remarks
|
|
19877
|
-
* The
|
|
20107
|
+
* The metering method of the public IP address. Valid values:
|
|
19878
20108
|
*
|
|
19879
20109
|
* * `PayByBandwidth`: pay-by-bandwidth.
|
|
19880
|
-
* * `PayByTraffic`: pay-by-data-transfer
|
|
20110
|
+
* * `PayByTraffic`: pay-by-data-transfer
|
|
19881
20111
|
*
|
|
19882
20112
|
* @example
|
|
19883
20113
|
* PayByBandwidth
|
|
@@ -19893,7 +20123,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19893
20123
|
internetMaxBandwidthOut?: number;
|
|
19894
20124
|
/**
|
|
19895
20125
|
* @remarks
|
|
19896
|
-
* 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.
|
|
19897
20127
|
*
|
|
19898
20128
|
* @example
|
|
19899
20129
|
* pro-nodepool
|
|
@@ -19901,7 +20131,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19901
20131
|
keyPair?: string;
|
|
19902
20132
|
/**
|
|
19903
20133
|
* @remarks
|
|
19904
|
-
* 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.
|
|
19905
20135
|
*
|
|
19906
20136
|
* @example
|
|
19907
20137
|
* Hello1234
|
|
@@ -19982,12 +20212,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
19982
20212
|
platform?: string;
|
|
19983
20213
|
/**
|
|
19984
20214
|
* @remarks
|
|
19985
|
-
* The
|
|
20215
|
+
* The configuration of the private node pool.
|
|
19986
20216
|
*/
|
|
19987
20217
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
19988
20218
|
/**
|
|
19989
20219
|
* @remarks
|
|
19990
|
-
*
|
|
20220
|
+
* The ApsaraDB RDS instances.
|
|
19991
20221
|
*/
|
|
19992
20222
|
rdsInstances?: string[];
|
|
19993
20223
|
/**
|
|
@@ -20054,10 +20284,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20054
20284
|
systemDiskCategories?: string[];
|
|
20055
20285
|
/**
|
|
20056
20286
|
* @remarks
|
|
20057
|
-
* The type of
|
|
20287
|
+
* The type of system disk. Valid values:
|
|
20058
20288
|
*
|
|
20059
20289
|
* * `cloud_efficiency`: ultra disk.
|
|
20060
|
-
* * `cloud_ssd`: standard SSD
|
|
20290
|
+
* * `cloud_ssd`: standard SSD
|
|
20061
20291
|
*
|
|
20062
20292
|
* Default value: `cloud_ssd`.
|
|
20063
20293
|
*
|
|
@@ -20067,7 +20297,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20067
20297
|
systemDiskCategory?: string;
|
|
20068
20298
|
/**
|
|
20069
20299
|
* @remarks
|
|
20070
|
-
* 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.
|
|
20071
20301
|
*
|
|
20072
20302
|
* @example
|
|
20073
20303
|
* aes-256
|
|
@@ -20075,7 +20305,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20075
20305
|
systemDiskEncryptAlgorithm?: string;
|
|
20076
20306
|
/**
|
|
20077
20307
|
* @remarks
|
|
20078
|
-
*
|
|
20308
|
+
* Indicates whether the system disk is encrypted. Valid values: true: encrypts the system disk. false: does not encrypt the system disk.
|
|
20079
20309
|
*
|
|
20080
20310
|
* @example
|
|
20081
20311
|
* false
|
|
@@ -20121,7 +20351,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $tea.Model
|
|
|
20121
20351
|
systemDiskSize?: number;
|
|
20122
20352
|
/**
|
|
20123
20353
|
* @remarks
|
|
20124
|
-
* The
|
|
20354
|
+
* The tags that you want to add only to ECS instances.
|
|
20125
20355
|
*
|
|
20126
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://.
|
|
20127
20357
|
*/
|
|
@@ -20168,6 +20398,10 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
20168
20398
|
});
|
|
20169
20399
|
}
|
|
20170
20400
|
export declare class ModifyNodePoolNodeConfigRequestOsConfig extends $tea.Model {
|
|
20401
|
+
/**
|
|
20402
|
+
* @remarks
|
|
20403
|
+
* sysctl parameter configuration
|
|
20404
|
+
*/
|
|
20171
20405
|
sysctl?: {
|
|
20172
20406
|
[key: string]: any;
|
|
20173
20407
|
};
|
|
@@ -20266,7 +20500,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20266
20500
|
autoSnapshotPolicyId?: string;
|
|
20267
20501
|
/**
|
|
20268
20502
|
* @remarks
|
|
20269
|
-
* The data disk
|
|
20503
|
+
* The type of the data disk.
|
|
20270
20504
|
*
|
|
20271
20505
|
* @example
|
|
20272
20506
|
* cloud_essd
|
|
@@ -20274,7 +20508,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20274
20508
|
category?: string;
|
|
20275
20509
|
/**
|
|
20276
20510
|
* @remarks
|
|
20277
|
-
* Specifies whether to encrypt the data
|
|
20511
|
+
* Specifies whether to encrypt the data disks. Valid values:
|
|
20278
20512
|
*
|
|
20279
20513
|
* * `true`: encrypts the data disk.
|
|
20280
20514
|
* * `false`: does not encrypt the data disk.
|
|
@@ -20287,7 +20521,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
20287
20521
|
encrypted?: string;
|
|
20288
20522
|
/**
|
|
20289
20523
|
* @remarks
|
|
20290
|
-
* The data disk
|
|
20524
|
+
* The size of the data disk. Valid values: 40 to 32767.
|
|
20291
20525
|
*
|
|
20292
20526
|
* @example
|
|
20293
20527
|
* 120
|
|
@@ -20489,7 +20723,7 @@ export declare class UpgradeClusterNodepoolRequestRollingPolicy extends $tea.Mod
|
|
|
20489
20723
|
batchInterval?: number;
|
|
20490
20724
|
/**
|
|
20491
20725
|
* @remarks
|
|
20492
|
-
* The maximum number of
|
|
20726
|
+
* The maximum number of nodes per batch.
|
|
20493
20727
|
*
|
|
20494
20728
|
* @example
|
|
20495
20729
|
* 3
|
|
@@ -20597,7 +20831,7 @@ export default class Client extends OpenApi {
|
|
|
20597
20831
|
*/
|
|
20598
20832
|
cancelComponentUpgrade(clusterId: string, componentId: string): Promise<CancelComponentUpgradeResponse>;
|
|
20599
20833
|
/**
|
|
20600
|
-
* You can call the CancelOperationPlan operation to cancel a pending auto O
|
|
20834
|
+
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
|
|
20601
20835
|
*
|
|
20602
20836
|
* @param headers - map
|
|
20603
20837
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20607,7 +20841,7 @@ export default class Client extends OpenApi {
|
|
|
20607
20841
|
[key: string]: string;
|
|
20608
20842
|
}, runtime: $Util.RuntimeOptions): Promise<CancelOperationPlanResponse>;
|
|
20609
20843
|
/**
|
|
20610
|
-
* You can call the CancelOperationPlan operation to cancel a pending auto O
|
|
20844
|
+
* You can call the CancelOperationPlan operation to cancel a pending auto O\\\\\\\\\\\\&M plan.
|
|
20611
20845
|
* @returns CancelOperationPlanResponse
|
|
20612
20846
|
*/
|
|
20613
20847
|
cancelOperationPlan(planId: string): Promise<CancelOperationPlanResponse>;
|
|
@@ -20693,9 +20927,9 @@ export default class Client extends OpenApi {
|
|
|
20693
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.
|
|
20694
20928
|
*
|
|
20695
20929
|
* @remarks
|
|
20696
|
-
*
|
|
20697
|
-
*
|
|
20698
|
-
*
|
|
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.
|
|
20699
20933
|
*
|
|
20700
20934
|
* @param tmpReq - CleanUserPermissionsRequest
|
|
20701
20935
|
* @param headers - map
|
|
@@ -20709,9 +20943,9 @@ export default class Client extends OpenApi {
|
|
|
20709
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.
|
|
20710
20944
|
*
|
|
20711
20945
|
* @remarks
|
|
20712
|
-
*
|
|
20713
|
-
*
|
|
20714
|
-
*
|
|
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.
|
|
20715
20949
|
*
|
|
20716
20950
|
* @param request - CleanUserPermissionsRequest
|
|
20717
20951
|
* @returns CleanUserPermissionsResponse
|
|
@@ -20790,7 +21024,7 @@ export default class Client extends OpenApi {
|
|
|
20790
21024
|
*/
|
|
20791
21025
|
createClusterDiagnosis(clusterId: string, request: CreateClusterDiagnosisRequest): Promise<CreateClusterDiagnosisResponse>;
|
|
20792
21026
|
/**
|
|
20793
|
-
* 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.
|
|
20794
21028
|
*
|
|
20795
21029
|
* @param request - CreateClusterNodePoolRequest
|
|
20796
21030
|
* @param headers - map
|
|
@@ -20801,7 +21035,7 @@ export default class Client extends OpenApi {
|
|
|
20801
21035
|
[key: string]: string;
|
|
20802
21036
|
}, runtime: $Util.RuntimeOptions): Promise<CreateClusterNodePoolResponse>;
|
|
20803
21037
|
/**
|
|
20804
|
-
* 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.
|
|
20805
21039
|
*
|
|
20806
21040
|
* @param request - CreateClusterNodePoolRequest
|
|
20807
21041
|
* @returns CreateClusterNodePoolResponse
|
|
@@ -20934,7 +21168,7 @@ export default class Client extends OpenApi {
|
|
|
20934
21168
|
*/
|
|
20935
21169
|
deleteCluster(ClusterId: string, request: DeleteClusterRequest): Promise<DeleteClusterResponse>;
|
|
20936
21170
|
/**
|
|
20937
|
-
*
|
|
21171
|
+
* null
|
|
20938
21172
|
*
|
|
20939
21173
|
* @param request - DeleteClusterNodepoolRequest
|
|
20940
21174
|
* @param headers - map
|
|
@@ -20945,7 +21179,7 @@ export default class Client extends OpenApi {
|
|
|
20945
21179
|
[key: string]: string;
|
|
20946
21180
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterNodepoolResponse>;
|
|
20947
21181
|
/**
|
|
20948
|
-
*
|
|
21182
|
+
* null
|
|
20949
21183
|
*
|
|
20950
21184
|
* @param request - DeleteClusterNodepoolRequest
|
|
20951
21185
|
* @returns DeleteClusterNodepoolResponse
|
|
@@ -21303,7 +21537,7 @@ export default class Client extends OpenApi {
|
|
|
21303
21537
|
*/
|
|
21304
21538
|
describeClusterNodePoolDetail(ClusterId: string, NodepoolId: string): Promise<DescribeClusterNodePoolDetailResponse>;
|
|
21305
21539
|
/**
|
|
21306
|
-
* Queries node pools in a
|
|
21540
|
+
* Queries the information about all node pools in a cluster.
|
|
21307
21541
|
*
|
|
21308
21542
|
* @param request - DescribeClusterNodePoolsRequest
|
|
21309
21543
|
* @param headers - map
|
|
@@ -21314,14 +21548,14 @@ export default class Client extends OpenApi {
|
|
|
21314
21548
|
[key: string]: string;
|
|
21315
21549
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodePoolsResponse>;
|
|
21316
21550
|
/**
|
|
21317
|
-
* Queries node pools in a
|
|
21551
|
+
* Queries the information about all node pools in a cluster.
|
|
21318
21552
|
*
|
|
21319
21553
|
* @param request - DescribeClusterNodePoolsRequest
|
|
21320
21554
|
* @returns DescribeClusterNodePoolsResponse
|
|
21321
21555
|
*/
|
|
21322
21556
|
describeClusterNodePools(ClusterId: string, request: DescribeClusterNodePoolsRequest): Promise<DescribeClusterNodePoolsResponse>;
|
|
21323
21557
|
/**
|
|
21324
|
-
*
|
|
21558
|
+
* null
|
|
21325
21559
|
*
|
|
21326
21560
|
* @param request - DescribeClusterNodesRequest
|
|
21327
21561
|
* @param headers - map
|
|
@@ -21332,7 +21566,7 @@ export default class Client extends OpenApi {
|
|
|
21332
21566
|
[key: string]: string;
|
|
21333
21567
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeClusterNodesResponse>;
|
|
21334
21568
|
/**
|
|
21335
|
-
*
|
|
21569
|
+
* null
|
|
21336
21570
|
*
|
|
21337
21571
|
* @param request - DescribeClusterNodesRequest
|
|
21338
21572
|
* @returns DescribeClusterNodesResponse
|
|
@@ -21539,7 +21773,7 @@ export default class Client extends OpenApi {
|
|
|
21539
21773
|
*/
|
|
21540
21774
|
describeEdgeMachines(request: DescribeEdgeMachinesRequest): Promise<DescribeEdgeMachinesResponse>;
|
|
21541
21775
|
/**
|
|
21542
|
-
* 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.
|
|
21543
21777
|
*
|
|
21544
21778
|
* @param request - DescribeEventsRequest
|
|
21545
21779
|
* @param headers - map
|
|
@@ -21550,7 +21784,7 @@ export default class Client extends OpenApi {
|
|
|
21550
21784
|
[key: string]: string;
|
|
21551
21785
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeEventsResponse>;
|
|
21552
21786
|
/**
|
|
21553
|
-
* 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.
|
|
21554
21788
|
*
|
|
21555
21789
|
* @param request - DescribeEventsRequest
|
|
21556
21790
|
* @returns DescribeEventsResponse
|
|
@@ -21617,7 +21851,7 @@ export default class Client extends OpenApi {
|
|
|
21617
21851
|
*/
|
|
21618
21852
|
describeNodePoolVuls(clusterId: string, nodepoolId: string, request: DescribeNodePoolVulsRequest): Promise<DescribeNodePoolVulsResponse>;
|
|
21619
21853
|
/**
|
|
21620
|
-
* 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.
|
|
21621
21855
|
*
|
|
21622
21856
|
* @param headers - map
|
|
21623
21857
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -21627,7 +21861,7 @@ export default class Client extends OpenApi {
|
|
|
21627
21861
|
[key: string]: string;
|
|
21628
21862
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePoliciesResponse>;
|
|
21629
21863
|
/**
|
|
21630
|
-
* 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.
|
|
21631
21865
|
* @returns DescribePoliciesResponse
|
|
21632
21866
|
*/
|
|
21633
21867
|
describePolicies(): Promise<DescribePoliciesResponse>;
|
|
@@ -21924,6 +22158,8 @@ export default class Client extends OpenApi {
|
|
|
21924
22158
|
*/
|
|
21925
22159
|
getClusterAddonInstance(clusterId: string, instanceName: string): Promise<GetClusterAddonInstanceResponse>;
|
|
21926
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
|
+
*
|
|
21927
22163
|
* @param headers - map
|
|
21928
22164
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
21929
22165
|
* @returns GetClusterAuditProjectResponse
|
|
@@ -21932,6 +22168,7 @@ export default class Client extends OpenApi {
|
|
|
21932
22168
|
[key: string]: string;
|
|
21933
22169
|
}, runtime: $Util.RuntimeOptions): Promise<GetClusterAuditProjectResponse>;
|
|
21934
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.
|
|
21935
22172
|
* @returns GetClusterAuditProjectResponse
|
|
21936
22173
|
*/
|
|
21937
22174
|
getClusterAuditProject(clusterid: string): Promise<GetClusterAuditProjectResponse>;
|
|
@@ -22022,8 +22259,7 @@ export default class Client extends OpenApi {
|
|
|
22022
22259
|
*
|
|
22023
22260
|
* @remarks
|
|
22024
22261
|
* *Precautions**:
|
|
22025
|
-
* *
|
|
22026
|
-
* * 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).
|
|
22027
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.
|
|
22028
22264
|
*
|
|
22029
22265
|
* @param request - GrantPermissionsRequest
|
|
@@ -22039,8 +22275,7 @@ export default class Client extends OpenApi {
|
|
|
22039
22275
|
*
|
|
22040
22276
|
* @remarks
|
|
22041
22277
|
* *Precautions**:
|
|
22042
|
-
* *
|
|
22043
|
-
* * 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).
|
|
22044
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.
|
|
22045
22280
|
*
|
|
22046
22281
|
* @param request - GrantPermissionsRequest
|
|
@@ -22508,7 +22743,7 @@ export default class Client extends OpenApi {
|
|
|
22508
22743
|
*/
|
|
22509
22744
|
removeNodePoolNodes(ClusterId: string, NodepoolId: string, request: RemoveNodePoolNodesRequest): Promise<RemoveNodePoolNodesResponse>;
|
|
22510
22745
|
/**
|
|
22511
|
-
*
|
|
22746
|
+
* Repairs a node pool.
|
|
22512
22747
|
*
|
|
22513
22748
|
* @param request - RepairClusterNodePoolRequest
|
|
22514
22749
|
* @param headers - map
|
|
@@ -22519,7 +22754,7 @@ export default class Client extends OpenApi {
|
|
|
22519
22754
|
[key: string]: string;
|
|
22520
22755
|
}, runtime: $Util.RuntimeOptions): Promise<RepairClusterNodePoolResponse>;
|
|
22521
22756
|
/**
|
|
22522
|
-
*
|
|
22757
|
+
* Repairs a node pool.
|
|
22523
22758
|
*
|
|
22524
22759
|
* @param request - RepairClusterNodePoolRequest
|
|
22525
22760
|
* @returns RepairClusterNodePoolResponse
|
|
@@ -22545,7 +22780,7 @@ export default class Client extends OpenApi {
|
|
|
22545
22780
|
*/
|
|
22546
22781
|
resumeComponentUpgrade(clusterid: string, componentid: string): Promise<ResumeComponentUpgradeResponse>;
|
|
22547
22782
|
/**
|
|
22548
|
-
*
|
|
22783
|
+
* Resumes a task.
|
|
22549
22784
|
*
|
|
22550
22785
|
* @param headers - map
|
|
22551
22786
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22555,7 +22790,7 @@ export default class Client extends OpenApi {
|
|
|
22555
22790
|
[key: string]: string;
|
|
22556
22791
|
}, runtime: $Util.RuntimeOptions): Promise<ResumeTaskResponse>;
|
|
22557
22792
|
/**
|
|
22558
|
-
*
|
|
22793
|
+
* Resumes a task.
|
|
22559
22794
|
* @returns ResumeTaskResponse
|
|
22560
22795
|
*/
|
|
22561
22796
|
resumeTask(taskId: string): Promise<ResumeTaskResponse>;
|
|
@@ -22634,7 +22869,7 @@ export default class Client extends OpenApi {
|
|
|
22634
22869
|
*/
|
|
22635
22870
|
scaleCluster(ClusterId: string, request: ScaleClusterRequest): Promise<ScaleClusterResponse>;
|
|
22636
22871
|
/**
|
|
22637
|
-
*
|
|
22872
|
+
* Scales out a node pool.
|
|
22638
22873
|
*
|
|
22639
22874
|
* @param request - ScaleClusterNodePoolRequest
|
|
22640
22875
|
* @param headers - map
|
|
@@ -22645,7 +22880,7 @@ export default class Client extends OpenApi {
|
|
|
22645
22880
|
[key: string]: string;
|
|
22646
22881
|
}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterNodePoolResponse>;
|
|
22647
22882
|
/**
|
|
22648
|
-
*
|
|
22883
|
+
* Scales out a node pool.
|
|
22649
22884
|
*
|
|
22650
22885
|
* @param request - ScaleClusterNodePoolRequest
|
|
22651
22886
|
* @returns ScaleClusterNodePoolResponse
|