@alicloud/cs20151215 3.0.23 → 3.0.25
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 +126 -78
- package/dist/client.js +164 -84
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +205 -101
package/dist/client.d.ts
CHANGED
|
@@ -36,6 +36,48 @@ export declare class DataDisk extends $tea.Model {
|
|
|
36
36
|
[key: string]: any;
|
|
37
37
|
});
|
|
38
38
|
}
|
|
39
|
+
export declare class KubeletConfig extends $tea.Model {
|
|
40
|
+
allowedUnsafeSysctls?: string[];
|
|
41
|
+
containerLogMaxFiles?: number;
|
|
42
|
+
containerLogMaxSize?: string;
|
|
43
|
+
cpuManagerPolicy?: string;
|
|
44
|
+
eventBurst?: number;
|
|
45
|
+
eventRecordQPS?: number;
|
|
46
|
+
evictionHard?: {
|
|
47
|
+
[key: string]: any;
|
|
48
|
+
};
|
|
49
|
+
evictionSoft?: {
|
|
50
|
+
[key: string]: any;
|
|
51
|
+
};
|
|
52
|
+
evictionSoftGracePeriod?: {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
};
|
|
55
|
+
featureGates?: {
|
|
56
|
+
[key: string]: any;
|
|
57
|
+
};
|
|
58
|
+
kubeAPIBurst?: number;
|
|
59
|
+
kubeAPIQPS?: number;
|
|
60
|
+
kubeReserved?: {
|
|
61
|
+
[key: string]: any;
|
|
62
|
+
};
|
|
63
|
+
maxPods?: number;
|
|
64
|
+
readOnlyPort?: number;
|
|
65
|
+
registryBurst?: number;
|
|
66
|
+
registryPullQPS?: number;
|
|
67
|
+
serializeImagePulls?: boolean;
|
|
68
|
+
systemReserved?: {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
};
|
|
71
|
+
static names(): {
|
|
72
|
+
[key: string]: string;
|
|
73
|
+
};
|
|
74
|
+
static types(): {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
};
|
|
77
|
+
constructor(map?: {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
});
|
|
80
|
+
}
|
|
39
81
|
export declare class MaintenanceWindow extends $tea.Model {
|
|
40
82
|
duration?: string;
|
|
41
83
|
enable?: boolean;
|
|
@@ -384,6 +426,7 @@ export declare class CreateAutoscalingConfigResponse extends $tea.Model {
|
|
|
384
426
|
});
|
|
385
427
|
}
|
|
386
428
|
export declare class CreateClusterRequest extends $tea.Model {
|
|
429
|
+
accessControlList?: string[];
|
|
387
430
|
addons?: Addon[];
|
|
388
431
|
apiAudiences?: string;
|
|
389
432
|
chargeType?: string;
|
|
@@ -536,6 +579,7 @@ export declare class CreateClusterNodePoolRequest extends $tea.Model {
|
|
|
536
579
|
}
|
|
537
580
|
export declare class CreateClusterNodePoolResponseBody extends $tea.Model {
|
|
538
581
|
nodepoolId?: string;
|
|
582
|
+
taskId?: string;
|
|
539
583
|
static names(): {
|
|
540
584
|
[key: string]: string;
|
|
541
585
|
};
|
|
@@ -1451,6 +1495,7 @@ export declare class DescribeClusterNodePoolDetailResponseBody extends $tea.Mode
|
|
|
1451
1495
|
kubernetesConfig?: DescribeClusterNodePoolDetailResponseBodyKubernetesConfig;
|
|
1452
1496
|
management?: DescribeClusterNodePoolDetailResponseBodyManagement;
|
|
1453
1497
|
maxNodes?: number;
|
|
1498
|
+
nodeConfig?: DescribeClusterNodePoolDetailResponseBodyNodeConfig;
|
|
1454
1499
|
nodepoolInfo?: DescribeClusterNodePoolDetailResponseBodyNodepoolInfo;
|
|
1455
1500
|
scalingGroup?: DescribeClusterNodePoolDetailResponseBodyScalingGroup;
|
|
1456
1501
|
status?: DescribeClusterNodePoolDetailResponseBodyStatus;
|
|
@@ -1971,6 +2016,7 @@ export declare class DescribeEventsResponse extends $tea.Model {
|
|
|
1971
2016
|
});
|
|
1972
2017
|
}
|
|
1973
2018
|
export declare class DescribeExternalAgentRequest extends $tea.Model {
|
|
2019
|
+
agentMode?: string;
|
|
1974
2020
|
privateIpAddress?: string;
|
|
1975
2021
|
static names(): {
|
|
1976
2022
|
[key: string]: string;
|
|
@@ -2818,11 +2864,13 @@ export declare class MigrateClusterResponse extends $tea.Model {
|
|
|
2818
2864
|
});
|
|
2819
2865
|
}
|
|
2820
2866
|
export declare class ModifyClusterRequest extends $tea.Model {
|
|
2867
|
+
accessControlList?: string[];
|
|
2821
2868
|
apiServerEip?: boolean;
|
|
2822
2869
|
apiServerEipId?: string;
|
|
2870
|
+
clusterName?: string;
|
|
2823
2871
|
deletionProtection?: boolean;
|
|
2824
2872
|
enableRrsa?: boolean;
|
|
2825
|
-
ingressDomainRebinding?:
|
|
2873
|
+
ingressDomainRebinding?: boolean;
|
|
2826
2874
|
ingressLoadbalancerId?: string;
|
|
2827
2875
|
instanceDeletionProtection?: boolean;
|
|
2828
2876
|
maintenanceWindow?: MaintenanceWindow;
|
|
@@ -2996,7 +3044,7 @@ export declare class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
2996
3044
|
});
|
|
2997
3045
|
}
|
|
2998
3046
|
export declare class ModifyNodePoolNodeConfigRequest extends $tea.Model {
|
|
2999
|
-
kubeletConfig?:
|
|
3047
|
+
kubeletConfig?: KubeletConfig;
|
|
3000
3048
|
rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
3001
3049
|
static names(): {
|
|
3002
3050
|
[key: string]: string;
|
|
@@ -4614,6 +4662,18 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
4614
4662
|
[key: string]: any;
|
|
4615
4663
|
});
|
|
4616
4664
|
}
|
|
4665
|
+
export declare class DescribeClusterNodePoolDetailResponseBodyNodeConfig extends $tea.Model {
|
|
4666
|
+
kubeletConfiguration?: KubeletConfig;
|
|
4667
|
+
static names(): {
|
|
4668
|
+
[key: string]: string;
|
|
4669
|
+
};
|
|
4670
|
+
static types(): {
|
|
4671
|
+
[key: string]: any;
|
|
4672
|
+
};
|
|
4673
|
+
constructor(map?: {
|
|
4674
|
+
[key: string]: any;
|
|
4675
|
+
});
|
|
4676
|
+
}
|
|
4617
4677
|
export declare class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $tea.Model {
|
|
4618
4678
|
created?: string;
|
|
4619
4679
|
isDefault?: boolean;
|
|
@@ -4818,6 +4878,18 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
4818
4878
|
[key: string]: any;
|
|
4819
4879
|
});
|
|
4820
4880
|
}
|
|
4881
|
+
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig extends $tea.Model {
|
|
4882
|
+
kubeletConfiguration?: KubeletConfig;
|
|
4883
|
+
static names(): {
|
|
4884
|
+
[key: string]: string;
|
|
4885
|
+
};
|
|
4886
|
+
static types(): {
|
|
4887
|
+
[key: string]: any;
|
|
4888
|
+
};
|
|
4889
|
+
constructor(map?: {
|
|
4890
|
+
[key: string]: any;
|
|
4891
|
+
});
|
|
4892
|
+
}
|
|
4821
4893
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $tea.Model {
|
|
4822
4894
|
created?: string;
|
|
4823
4895
|
isDefault?: boolean;
|
|
@@ -4947,6 +5019,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.
|
|
|
4947
5019
|
kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
|
|
4948
5020
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
4949
5021
|
maxNodes?: number;
|
|
5022
|
+
nodeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig;
|
|
4950
5023
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
4951
5024
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
4952
5025
|
status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
|
|
@@ -6006,40 +6079,6 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
6006
6079
|
[key: string]: any;
|
|
6007
6080
|
});
|
|
6008
6081
|
}
|
|
6009
|
-
export declare class ModifyNodePoolNodeConfigRequestKubeletConfig extends $tea.Model {
|
|
6010
|
-
cpuManagerPolicy?: string;
|
|
6011
|
-
eventBurst?: number;
|
|
6012
|
-
eventRecordQPS?: number;
|
|
6013
|
-
evictionHard?: {
|
|
6014
|
-
[key: string]: any;
|
|
6015
|
-
};
|
|
6016
|
-
evictionSoft?: {
|
|
6017
|
-
[key: string]: any;
|
|
6018
|
-
};
|
|
6019
|
-
evictionSoftGracePeriod?: {
|
|
6020
|
-
[key: string]: any;
|
|
6021
|
-
};
|
|
6022
|
-
kubeAPIBurst?: number;
|
|
6023
|
-
kubeAPIQPS?: number;
|
|
6024
|
-
kubeReserved?: {
|
|
6025
|
-
[key: string]: any;
|
|
6026
|
-
};
|
|
6027
|
-
registryBurst?: number;
|
|
6028
|
-
registryPullQPS?: number;
|
|
6029
|
-
serializeImagePulls?: boolean;
|
|
6030
|
-
systemReserved?: {
|
|
6031
|
-
[key: string]: any;
|
|
6032
|
-
};
|
|
6033
|
-
static names(): {
|
|
6034
|
-
[key: string]: string;
|
|
6035
|
-
};
|
|
6036
|
-
static types(): {
|
|
6037
|
-
[key: string]: any;
|
|
6038
|
-
};
|
|
6039
|
-
constructor(map?: {
|
|
6040
|
-
[key: string]: any;
|
|
6041
|
-
});
|
|
6042
|
-
}
|
|
6043
6082
|
export declare class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
|
|
6044
6083
|
maxParallelism?: number;
|
|
6045
6084
|
static names(): {
|
|
@@ -6108,6 +6147,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
6108
6147
|
});
|
|
6109
6148
|
}
|
|
6110
6149
|
export declare class UnInstallClusterAddonsRequestAddons extends $tea.Model {
|
|
6150
|
+
cleanupCloudResources?: boolean;
|
|
6111
6151
|
name?: string;
|
|
6112
6152
|
static names(): {
|
|
6113
6153
|
[key: string]: string;
|
|
@@ -6214,10 +6254,7 @@ export default class Client extends OpenApi {
|
|
|
6214
6254
|
deleteClusterNodepool(ClusterId: string, NodepoolId: string, request: DeleteClusterNodepoolRequest): Promise<DeleteClusterNodepoolResponse>;
|
|
6215
6255
|
/**
|
|
6216
6256
|
* >
|
|
6217
|
-
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
6218
|
-
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6219
|
-
* * Nodes remain in the unschedulable state when they are being removed.
|
|
6220
|
-
* * You can remove only worker nodes by calling this operation.
|
|
6257
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
6221
6258
|
*
|
|
6222
6259
|
* @param request DeleteClusterNodesRequest
|
|
6223
6260
|
* @param headers map
|
|
@@ -6229,10 +6266,7 @@ export default class Client extends OpenApi {
|
|
|
6229
6266
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterNodesResponse>;
|
|
6230
6267
|
/**
|
|
6231
6268
|
* >
|
|
6232
|
-
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours.
|
|
6233
|
-
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6234
|
-
* * Nodes remain in the unschedulable state when they are being removed.
|
|
6235
|
-
* * You can remove only worker nodes by calling this operation.
|
|
6269
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
6236
6270
|
*
|
|
6237
6271
|
* @param request DeleteClusterNodesRequest
|
|
6238
6272
|
* @return DeleteClusterNodesResponse
|
|
@@ -6453,7 +6487,8 @@ export default class Client extends OpenApi {
|
|
|
6453
6487
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyInstancesStatusResponse>;
|
|
6454
6488
|
describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse>;
|
|
6455
6489
|
/**
|
|
6456
|
-
*
|
|
6490
|
+
* **
|
|
6491
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
6457
6492
|
*
|
|
6458
6493
|
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
6459
6494
|
* @param headers map
|
|
@@ -6464,7 +6499,8 @@ export default class Client extends OpenApi {
|
|
|
6464
6499
|
[key: string]: string;
|
|
6465
6500
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeSubaccountK8sClusterUserConfigResponse>;
|
|
6466
6501
|
/**
|
|
6467
|
-
*
|
|
6502
|
+
* **
|
|
6503
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
6468
6504
|
*
|
|
6469
6505
|
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
6470
6506
|
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
@@ -6519,10 +6555,9 @@ export default class Client extends OpenApi {
|
|
|
6519
6555
|
}, runtime: $Util.RuntimeOptions): Promise<GetUpgradeStatusResponse>;
|
|
6520
6556
|
getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse>;
|
|
6521
6557
|
/**
|
|
6522
|
-
*
|
|
6523
|
-
* * Make sure that you have granted the
|
|
6524
|
-
*
|
|
6525
|
-
* * If you call this operation as a RAM user, make sure that this RAM user has the permissions to grant other RAM users the permissions to manage ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` errors will be returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
|
|
6558
|
+
* ****
|
|
6559
|
+
* * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
|
|
6560
|
+
* * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
|
|
6526
6561
|
* * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
|
|
6527
6562
|
*
|
|
6528
6563
|
* @param request GrantPermissionsRequest
|
|
@@ -6534,10 +6569,9 @@ export default class Client extends OpenApi {
|
|
|
6534
6569
|
[key: string]: string;
|
|
6535
6570
|
}, runtime: $Util.RuntimeOptions): Promise<GrantPermissionsResponse>;
|
|
6536
6571
|
/**
|
|
6537
|
-
*
|
|
6538
|
-
* * Make sure that you have granted the
|
|
6539
|
-
*
|
|
6540
|
-
* * If you call this operation as a RAM user, make sure that this RAM user has the permissions to grant other RAM users the permissions to manage ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` errors will be returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
|
|
6572
|
+
* ****
|
|
6573
|
+
* * Make sure that you have granted the RAM user at least read-only permissions on the desired ACK clusters in the RAM console. Otherwise, the `ErrorRamPolicyConfig` error code is returned. For more information about how to authorize a RAM user by attaching RAM policies, see [Create a custom RAM policy](~~86485~~).
|
|
6574
|
+
* * If you use a RAM user to call this API operation, make sure that the RAM user is authorized to modify the permissions of other RAM users on the desired ACK clusters. Otherwise, the `StatusForbidden` or `ForbiddenGrantPermissions` error code is returned. For more information, see [Use a RAM user to grant RBAC permissions to other RAM users](~~119035~~).
|
|
6541
6575
|
* * This operation overwrites the permissions that have been granted to the specified RAM user. When you call this operation, make sure that the required permissions are included.
|
|
6542
6576
|
*
|
|
6543
6577
|
* @param request GrantPermissionsRequest
|
|
@@ -6564,7 +6598,7 @@ export default class Client extends OpenApi {
|
|
|
6564
6598
|
* You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
6565
6599
|
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
|
|
6566
6600
|
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
|
|
6567
|
-
* After you call this operation, the component may be redeployed and restarted. We recommend that you
|
|
6601
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
6568
6602
|
*
|
|
6569
6603
|
* @param request ModifyClusterAddonRequest
|
|
6570
6604
|
* @param headers map
|
|
@@ -6578,7 +6612,7 @@ export default class Client extends OpenApi {
|
|
|
6578
6612
|
* You can use this API operation to modify the components in a Container Service for Kubernetes (ACK) cluster or the control plane components in an ACK Pro cluster.
|
|
6579
6613
|
* * To query the customizable parameters of a component, call the `DescribeClusterAddonMetadata` API operation. For more information, see [Query the metadata of a specified component version](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/query).
|
|
6580
6614
|
* * For more information about the customizable parameters of control plane components in ACK Pro clusters, see [Customize the parameters of control plane components in ACK Pro clusters](https://www.alibabacloud.com/help/zh/container-service-for-kubernetes/latest/customize-control-plane-parameters-for-a-professional-kubernetes-cluster).
|
|
6581
|
-
* After you call this operation, the component may be redeployed and restarted. We recommend that you
|
|
6615
|
+
* After you call this operation, the component may be redeployed and restarted. We recommend that you assess the impact before you call this operation.
|
|
6582
6616
|
*
|
|
6583
6617
|
* @param request ModifyClusterAddonRequest
|
|
6584
6618
|
* @return ModifyClusterAddonResponse
|
|
@@ -6596,16 +6630,31 @@ export default class Client extends OpenApi {
|
|
|
6596
6630
|
[key: string]: string;
|
|
6597
6631
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse>;
|
|
6598
6632
|
modifyClusterTags(ClusterId: string, request: ModifyClusterTagsRequest): Promise<ModifyClusterTagsResponse>;
|
|
6633
|
+
/**
|
|
6634
|
+
* This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
|
|
6635
|
+
*
|
|
6636
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
6637
|
+
* @param headers map
|
|
6638
|
+
* @param runtime runtime options for this request RuntimeOptions
|
|
6639
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
6640
|
+
*/
|
|
6599
6641
|
modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {
|
|
6600
6642
|
[key: string]: string;
|
|
6601
6643
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyNodePoolNodeConfigResponse>;
|
|
6644
|
+
/**
|
|
6645
|
+
* This operation progressively modifies the kubelet configuration of the nodes in a node pool and restarts the kubelet process, which may affect your businesses.
|
|
6646
|
+
*
|
|
6647
|
+
* @param request ModifyNodePoolNodeConfigRequest
|
|
6648
|
+
* @return ModifyNodePoolNodeConfigResponse
|
|
6649
|
+
*/
|
|
6602
6650
|
modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse>;
|
|
6603
6651
|
modifyPolicyInstanceWithOptions(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest, headers: {
|
|
6604
6652
|
[key: string]: string;
|
|
6605
6653
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyInstanceResponse>;
|
|
6606
6654
|
modifyPolicyInstance(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest): Promise<ModifyPolicyInstanceResponse>;
|
|
6607
6655
|
/**
|
|
6608
|
-
* You can activate ACK
|
|
6656
|
+
* * You can activate ACK by using Alibaba Cloud accounts.
|
|
6657
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
6609
6658
|
*
|
|
6610
6659
|
* @param request OpenAckServiceRequest
|
|
6611
6660
|
* @param headers map
|
|
@@ -6616,7 +6665,8 @@ export default class Client extends OpenApi {
|
|
|
6616
6665
|
[key: string]: string;
|
|
6617
6666
|
}, runtime: $Util.RuntimeOptions): Promise<OpenAckServiceResponse>;
|
|
6618
6667
|
/**
|
|
6619
|
-
* You can activate ACK
|
|
6668
|
+
* * You can activate ACK by using Alibaba Cloud accounts.
|
|
6669
|
+
* * To activate ACK by using RAM users, you need to grant the AdministratorAccess permission to the RAM users.
|
|
6620
6670
|
*
|
|
6621
6671
|
* @param request OpenAckServiceRequest
|
|
6622
6672
|
* @return OpenAckServiceResponse
|
|
@@ -6653,11 +6703,9 @@ export default class Client extends OpenApi {
|
|
|
6653
6703
|
*/
|
|
6654
6704
|
removeClusterNodes(ClusterId: string, request: RemoveClusterNodesRequest): Promise<RemoveClusterNodesResponse>;
|
|
6655
6705
|
/**
|
|
6656
|
-
*
|
|
6657
|
-
*
|
|
6658
|
-
* *
|
|
6659
|
-
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6660
|
-
* * You can remove only worker nodes. You cannot remove control planes.
|
|
6706
|
+
* **
|
|
6707
|
+
* ****
|
|
6708
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
6661
6709
|
*
|
|
6662
6710
|
* @param tmpReq RemoveNodePoolNodesRequest
|
|
6663
6711
|
* @param headers map
|
|
@@ -6668,11 +6716,9 @@ export default class Client extends OpenApi {
|
|
|
6668
6716
|
[key: string]: string;
|
|
6669
6717
|
}, runtime: $Util.RuntimeOptions): Promise<RemoveNodePoolNodesResponse>;
|
|
6670
6718
|
/**
|
|
6671
|
-
*
|
|
6672
|
-
*
|
|
6673
|
-
* *
|
|
6674
|
-
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6675
|
-
* * You can remove only worker nodes. You cannot remove control planes.
|
|
6719
|
+
* **
|
|
6720
|
+
* ****
|
|
6721
|
+
* * When you remove a node, the pods that run on the node are migrated to other nodes. This may cause service interruptions. We recommend that you remove nodes during off-peak hours. - The operation may have unexpected risks. Back up the data before you perform this operation. - When the system removes a node, it sets the status of the node to Unschedulable. - The system removes only worker nodes. It does not remove master nodes.
|
|
6676
6722
|
*
|
|
6677
6723
|
* @param request RemoveNodePoolNodesRequest
|
|
6678
6724
|
* @return RemoveNodePoolNodesResponse
|
|
@@ -6721,7 +6767,8 @@ export default class Client extends OpenApi {
|
|
|
6721
6767
|
}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterNodePoolResponse>;
|
|
6722
6768
|
scaleClusterNodePool(ClusterId: string, NodepoolId: string, request: ScaleClusterNodePoolRequest): Promise<ScaleClusterNodePoolResponse>;
|
|
6723
6769
|
/**
|
|
6724
|
-
*
|
|
6770
|
+
* **
|
|
6771
|
+
* ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
|
|
6725
6772
|
*
|
|
6726
6773
|
* @param request ScaleOutClusterRequest
|
|
6727
6774
|
* @param headers map
|
|
@@ -6732,7 +6779,8 @@ export default class Client extends OpenApi {
|
|
|
6732
6779
|
[key: string]: string;
|
|
6733
6780
|
}, runtime: $Util.RuntimeOptions): Promise<ScaleOutClusterResponse>;
|
|
6734
6781
|
/**
|
|
6735
|
-
*
|
|
6782
|
+
* **
|
|
6783
|
+
* ****The ScaleOutCluster API operation is phased out. You must call the node pool-related API operations to manage nodes. If you want to add worker nodes to a Container Service for Kubernetes (ACK) cluster, call the ScaleClusterNodePool API operation. For more information, see [ScaleClusterNodePool](~~184928~~).
|
|
6736
6784
|
*
|
|
6737
6785
|
* @param request ScaleOutClusterRequest
|
|
6738
6786
|
* @return ScaleOutClusterResponse
|
|
@@ -6779,9 +6827,9 @@ export default class Client extends OpenApi {
|
|
|
6779
6827
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateControlPlaneLogResponse>;
|
|
6780
6828
|
updateControlPlaneLog(ClusterId: string, request: UpdateControlPlaneLogRequest): Promise<UpdateControlPlaneLogResponse>;
|
|
6781
6829
|
/**
|
|
6782
|
-
*
|
|
6783
|
-
*
|
|
6784
|
-
* *
|
|
6830
|
+
* **
|
|
6831
|
+
* ****
|
|
6832
|
+
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
6785
6833
|
*
|
|
6786
6834
|
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
6787
6835
|
* @param headers map
|
|
@@ -6792,9 +6840,9 @@ export default class Client extends OpenApi {
|
|
|
6792
6840
|
[key: string]: string;
|
|
6793
6841
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateK8sClusterUserConfigExpireResponse>;
|
|
6794
6842
|
/**
|
|
6795
|
-
*
|
|
6796
|
-
*
|
|
6797
|
-
* *
|
|
6843
|
+
* **
|
|
6844
|
+
* ****
|
|
6845
|
+
* * You can call this operation only with an Alibaba Cloud account. - If the kubeconfig file used by your cluster is revoked, the custom validity period of the kubeconfig file is reset. In this case, you need to call this API operation to reconfigure the validity period of the kubeconfig file.
|
|
6798
6846
|
*
|
|
6799
6847
|
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
6800
6848
|
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
@@ -6813,7 +6861,7 @@ export default class Client extends OpenApi {
|
|
|
6813
6861
|
}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterAddonsResponse>;
|
|
6814
6862
|
upgradeClusterAddons(ClusterId: string, request: UpgradeClusterAddonsRequest): Promise<UpgradeClusterAddonsResponse>;
|
|
6815
6863
|
/**
|
|
6816
|
-
*
|
|
6864
|
+
* This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
6817
6865
|
*
|
|
6818
6866
|
* @param request UpgradeClusterNodepoolRequest
|
|
6819
6867
|
* @param headers map
|
|
@@ -6824,7 +6872,7 @@ export default class Client extends OpenApi {
|
|
|
6824
6872
|
[key: string]: string;
|
|
6825
6873
|
}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterNodepoolResponse>;
|
|
6826
6874
|
/**
|
|
6827
|
-
*
|
|
6875
|
+
* This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
6828
6876
|
*
|
|
6829
6877
|
* @param request UpgradeClusterNodepoolRequest
|
|
6830
6878
|
* @return UpgradeClusterNodepoolResponse
|