@alicloud/cs20151215 3.0.24 → 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 +125 -78
- package/dist/client.js +159 -84
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +198 -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;
|
|
@@ -2819,11 +2864,13 @@ export declare class MigrateClusterResponse extends $tea.Model {
|
|
|
2819
2864
|
});
|
|
2820
2865
|
}
|
|
2821
2866
|
export declare class ModifyClusterRequest extends $tea.Model {
|
|
2867
|
+
accessControlList?: string[];
|
|
2822
2868
|
apiServerEip?: boolean;
|
|
2823
2869
|
apiServerEipId?: string;
|
|
2870
|
+
clusterName?: string;
|
|
2824
2871
|
deletionProtection?: boolean;
|
|
2825
2872
|
enableRrsa?: boolean;
|
|
2826
|
-
ingressDomainRebinding?:
|
|
2873
|
+
ingressDomainRebinding?: boolean;
|
|
2827
2874
|
ingressLoadbalancerId?: string;
|
|
2828
2875
|
instanceDeletionProtection?: boolean;
|
|
2829
2876
|
maintenanceWindow?: MaintenanceWindow;
|
|
@@ -2997,7 +3044,7 @@ export declare class ModifyClusterTagsResponse extends $tea.Model {
|
|
|
2997
3044
|
});
|
|
2998
3045
|
}
|
|
2999
3046
|
export declare class ModifyNodePoolNodeConfigRequest extends $tea.Model {
|
|
3000
|
-
kubeletConfig?:
|
|
3047
|
+
kubeletConfig?: KubeletConfig;
|
|
3001
3048
|
rollingPolicy?: ModifyNodePoolNodeConfigRequestRollingPolicy;
|
|
3002
3049
|
static names(): {
|
|
3003
3050
|
[key: string]: string;
|
|
@@ -4615,6 +4662,18 @@ export declare class DescribeClusterNodePoolDetailResponseBodyManagement extends
|
|
|
4615
4662
|
[key: string]: any;
|
|
4616
4663
|
});
|
|
4617
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
|
+
}
|
|
4618
4677
|
export declare class DescribeClusterNodePoolDetailResponseBodyNodepoolInfo extends $tea.Model {
|
|
4619
4678
|
created?: string;
|
|
4620
4679
|
isDefault?: boolean;
|
|
@@ -4819,6 +4878,18 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepoolsManagement ext
|
|
|
4819
4878
|
[key: string]: any;
|
|
4820
4879
|
});
|
|
4821
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
|
+
}
|
|
4822
4893
|
export declare class DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo extends $tea.Model {
|
|
4823
4894
|
created?: string;
|
|
4824
4895
|
isDefault?: boolean;
|
|
@@ -4948,6 +5019,7 @@ export declare class DescribeClusterNodePoolsResponseBodyNodepools extends $tea.
|
|
|
4948
5019
|
kubernetesConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsKubernetesConfig;
|
|
4949
5020
|
management?: DescribeClusterNodePoolsResponseBodyNodepoolsManagement;
|
|
4950
5021
|
maxNodes?: number;
|
|
5022
|
+
nodeConfig?: DescribeClusterNodePoolsResponseBodyNodepoolsNodeConfig;
|
|
4951
5023
|
nodepoolInfo?: DescribeClusterNodePoolsResponseBodyNodepoolsNodepoolInfo;
|
|
4952
5024
|
scalingGroup?: DescribeClusterNodePoolsResponseBodyNodepoolsScalingGroup;
|
|
4953
5025
|
status?: DescribeClusterNodePoolsResponseBodyNodepoolsStatus;
|
|
@@ -6007,40 +6079,6 @@ export declare class ModifyClusterNodePoolRequestTeeConfig extends $tea.Model {
|
|
|
6007
6079
|
[key: string]: any;
|
|
6008
6080
|
});
|
|
6009
6081
|
}
|
|
6010
|
-
export declare class ModifyNodePoolNodeConfigRequestKubeletConfig extends $tea.Model {
|
|
6011
|
-
cpuManagerPolicy?: string;
|
|
6012
|
-
eventBurst?: number;
|
|
6013
|
-
eventRecordQPS?: number;
|
|
6014
|
-
evictionHard?: {
|
|
6015
|
-
[key: string]: any;
|
|
6016
|
-
};
|
|
6017
|
-
evictionSoft?: {
|
|
6018
|
-
[key: string]: any;
|
|
6019
|
-
};
|
|
6020
|
-
evictionSoftGracePeriod?: {
|
|
6021
|
-
[key: string]: any;
|
|
6022
|
-
};
|
|
6023
|
-
kubeAPIBurst?: number;
|
|
6024
|
-
kubeAPIQPS?: number;
|
|
6025
|
-
kubeReserved?: {
|
|
6026
|
-
[key: string]: any;
|
|
6027
|
-
};
|
|
6028
|
-
registryBurst?: number;
|
|
6029
|
-
registryPullQPS?: number;
|
|
6030
|
-
serializeImagePulls?: boolean;
|
|
6031
|
-
systemReserved?: {
|
|
6032
|
-
[key: string]: any;
|
|
6033
|
-
};
|
|
6034
|
-
static names(): {
|
|
6035
|
-
[key: string]: string;
|
|
6036
|
-
};
|
|
6037
|
-
static types(): {
|
|
6038
|
-
[key: string]: any;
|
|
6039
|
-
};
|
|
6040
|
-
constructor(map?: {
|
|
6041
|
-
[key: string]: any;
|
|
6042
|
-
});
|
|
6043
|
-
}
|
|
6044
6082
|
export declare class ModifyNodePoolNodeConfigRequestRollingPolicy extends $tea.Model {
|
|
6045
6083
|
maxParallelism?: number;
|
|
6046
6084
|
static names(): {
|
|
@@ -6109,6 +6147,7 @@ export declare class ScaleOutClusterRequestWorkerDataDisks extends $tea.Model {
|
|
|
6109
6147
|
});
|
|
6110
6148
|
}
|
|
6111
6149
|
export declare class UnInstallClusterAddonsRequestAddons extends $tea.Model {
|
|
6150
|
+
cleanupCloudResources?: boolean;
|
|
6112
6151
|
name?: string;
|
|
6113
6152
|
static names(): {
|
|
6114
6153
|
[key: string]: string;
|
|
@@ -6215,10 +6254,7 @@ export default class Client extends OpenApi {
|
|
|
6215
6254
|
deleteClusterNodepool(ClusterId: string, NodepoolId: string, request: DeleteClusterNodepoolRequest): Promise<DeleteClusterNodepoolResponse>;
|
|
6216
6255
|
/**
|
|
6217
6256
|
* >
|
|
6218
|
-
* * 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.
|
|
6219
|
-
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6220
|
-
* * Nodes remain in the unschedulable state when they are being removed.
|
|
6221
|
-
* * 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.
|
|
6222
6258
|
*
|
|
6223
6259
|
* @param request DeleteClusterNodesRequest
|
|
6224
6260
|
* @param headers map
|
|
@@ -6230,10 +6266,7 @@ export default class Client extends OpenApi {
|
|
|
6230
6266
|
}, runtime: $Util.RuntimeOptions): Promise<DeleteClusterNodesResponse>;
|
|
6231
6267
|
/**
|
|
6232
6268
|
* >
|
|
6233
|
-
* * 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.
|
|
6234
|
-
* * Unknown errors may occur when you remove nodes. Before you remove nodes, back up the data on the nodes.
|
|
6235
|
-
* * Nodes remain in the unschedulable state when they are being removed.
|
|
6236
|
-
* * 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.
|
|
6237
6270
|
*
|
|
6238
6271
|
* @param request DeleteClusterNodesRequest
|
|
6239
6272
|
* @return DeleteClusterNodesResponse
|
|
@@ -6454,7 +6487,8 @@ export default class Client extends OpenApi {
|
|
|
6454
6487
|
}, runtime: $Util.RuntimeOptions): Promise<DescribePolicyInstancesStatusResponse>;
|
|
6455
6488
|
describePolicyInstancesStatus(clusterId: string): Promise<DescribePolicyInstancesStatusResponse>;
|
|
6456
6489
|
/**
|
|
6457
|
-
*
|
|
6490
|
+
* **
|
|
6491
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
6458
6492
|
*
|
|
6459
6493
|
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
6460
6494
|
* @param headers map
|
|
@@ -6465,7 +6499,8 @@ export default class Client extends OpenApi {
|
|
|
6465
6499
|
[key: string]: string;
|
|
6466
6500
|
}, runtime: $Util.RuntimeOptions): Promise<DescribeSubaccountK8sClusterUserConfigResponse>;
|
|
6467
6501
|
/**
|
|
6468
|
-
*
|
|
6502
|
+
* **
|
|
6503
|
+
* ****Only Alibaba Cloud accounts can call this API operation.
|
|
6469
6504
|
*
|
|
6470
6505
|
* @param request DescribeSubaccountK8sClusterUserConfigRequest
|
|
6471
6506
|
* @return DescribeSubaccountK8sClusterUserConfigResponse
|
|
@@ -6520,10 +6555,9 @@ export default class Client extends OpenApi {
|
|
|
6520
6555
|
}, runtime: $Util.RuntimeOptions): Promise<GetUpgradeStatusResponse>;
|
|
6521
6556
|
getUpgradeStatus(ClusterId: string): Promise<GetUpgradeStatusResponse>;
|
|
6522
6557
|
/**
|
|
6523
|
-
*
|
|
6524
|
-
* * Make sure that you have granted the
|
|
6525
|
-
*
|
|
6526
|
-
* * 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~~).
|
|
6527
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.
|
|
6528
6562
|
*
|
|
6529
6563
|
* @param request GrantPermissionsRequest
|
|
@@ -6535,10 +6569,9 @@ export default class Client extends OpenApi {
|
|
|
6535
6569
|
[key: string]: string;
|
|
6536
6570
|
}, runtime: $Util.RuntimeOptions): Promise<GrantPermissionsResponse>;
|
|
6537
6571
|
/**
|
|
6538
|
-
*
|
|
6539
|
-
* * Make sure that you have granted the
|
|
6540
|
-
*
|
|
6541
|
-
* * 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~~).
|
|
6542
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.
|
|
6543
6576
|
*
|
|
6544
6577
|
* @param request GrantPermissionsRequest
|
|
@@ -6565,7 +6598,7 @@ export default class Client extends OpenApi {
|
|
|
6565
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.
|
|
6566
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).
|
|
6567
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).
|
|
6568
|
-
* 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.
|
|
6569
6602
|
*
|
|
6570
6603
|
* @param request ModifyClusterAddonRequest
|
|
6571
6604
|
* @param headers map
|
|
@@ -6579,7 +6612,7 @@ export default class Client extends OpenApi {
|
|
|
6579
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.
|
|
6580
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).
|
|
6581
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).
|
|
6582
|
-
* 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.
|
|
6583
6616
|
*
|
|
6584
6617
|
* @param request ModifyClusterAddonRequest
|
|
6585
6618
|
* @return ModifyClusterAddonResponse
|
|
@@ -6597,16 +6630,31 @@ export default class Client extends OpenApi {
|
|
|
6597
6630
|
[key: string]: string;
|
|
6598
6631
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyClusterTagsResponse>;
|
|
6599
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
|
+
*/
|
|
6600
6641
|
modifyNodePoolNodeConfigWithOptions(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest, headers: {
|
|
6601
6642
|
[key: string]: string;
|
|
6602
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
|
+
*/
|
|
6603
6650
|
modifyNodePoolNodeConfig(ClusterId: string, NodepoolId: string, request: ModifyNodePoolNodeConfigRequest): Promise<ModifyNodePoolNodeConfigResponse>;
|
|
6604
6651
|
modifyPolicyInstanceWithOptions(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest, headers: {
|
|
6605
6652
|
[key: string]: string;
|
|
6606
6653
|
}, runtime: $Util.RuntimeOptions): Promise<ModifyPolicyInstanceResponse>;
|
|
6607
6654
|
modifyPolicyInstance(clusterId: string, policyName: string, request: ModifyPolicyInstanceRequest): Promise<ModifyPolicyInstanceResponse>;
|
|
6608
6655
|
/**
|
|
6609
|
-
* 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.
|
|
6610
6658
|
*
|
|
6611
6659
|
* @param request OpenAckServiceRequest
|
|
6612
6660
|
* @param headers map
|
|
@@ -6617,7 +6665,8 @@ export default class Client extends OpenApi {
|
|
|
6617
6665
|
[key: string]: string;
|
|
6618
6666
|
}, runtime: $Util.RuntimeOptions): Promise<OpenAckServiceResponse>;
|
|
6619
6667
|
/**
|
|
6620
|
-
* 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.
|
|
6621
6670
|
*
|
|
6622
6671
|
* @param request OpenAckServiceRequest
|
|
6623
6672
|
* @return OpenAckServiceResponse
|
|
@@ -6654,11 +6703,9 @@ export default class Client extends OpenApi {
|
|
|
6654
6703
|
*/
|
|
6655
6704
|
removeClusterNodes(ClusterId: string, request: RemoveClusterNodesRequest): Promise<RemoveClusterNodesResponse>;
|
|
6656
6705
|
/**
|
|
6657
|
-
*
|
|
6658
|
-
*
|
|
6659
|
-
* *
|
|
6660
|
-
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6661
|
-
* * 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.
|
|
6662
6709
|
*
|
|
6663
6710
|
* @param tmpReq RemoveNodePoolNodesRequest
|
|
6664
6711
|
* @param headers map
|
|
@@ -6669,11 +6716,9 @@ export default class Client extends OpenApi {
|
|
|
6669
6716
|
[key: string]: string;
|
|
6670
6717
|
}, runtime: $Util.RuntimeOptions): Promise<RemoveNodePoolNodesResponse>;
|
|
6671
6718
|
/**
|
|
6672
|
-
*
|
|
6673
|
-
*
|
|
6674
|
-
* *
|
|
6675
|
-
* * Nodes remain in the Unschedulable state when they are being removed.
|
|
6676
|
-
* * 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.
|
|
6677
6722
|
*
|
|
6678
6723
|
* @param request RemoveNodePoolNodesRequest
|
|
6679
6724
|
* @return RemoveNodePoolNodesResponse
|
|
@@ -6722,7 +6767,8 @@ export default class Client extends OpenApi {
|
|
|
6722
6767
|
}, runtime: $Util.RuntimeOptions): Promise<ScaleClusterNodePoolResponse>;
|
|
6723
6768
|
scaleClusterNodePool(ClusterId: string, NodepoolId: string, request: ScaleClusterNodePoolRequest): Promise<ScaleClusterNodePoolResponse>;
|
|
6724
6769
|
/**
|
|
6725
|
-
*
|
|
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~~).
|
|
6726
6772
|
*
|
|
6727
6773
|
* @param request ScaleOutClusterRequest
|
|
6728
6774
|
* @param headers map
|
|
@@ -6733,7 +6779,8 @@ export default class Client extends OpenApi {
|
|
|
6733
6779
|
[key: string]: string;
|
|
6734
6780
|
}, runtime: $Util.RuntimeOptions): Promise<ScaleOutClusterResponse>;
|
|
6735
6781
|
/**
|
|
6736
|
-
*
|
|
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~~).
|
|
6737
6784
|
*
|
|
6738
6785
|
* @param request ScaleOutClusterRequest
|
|
6739
6786
|
* @return ScaleOutClusterResponse
|
|
@@ -6780,9 +6827,9 @@ export default class Client extends OpenApi {
|
|
|
6780
6827
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateControlPlaneLogResponse>;
|
|
6781
6828
|
updateControlPlaneLog(ClusterId: string, request: UpdateControlPlaneLogRequest): Promise<UpdateControlPlaneLogResponse>;
|
|
6782
6829
|
/**
|
|
6783
|
-
*
|
|
6784
|
-
*
|
|
6785
|
-
* *
|
|
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.
|
|
6786
6833
|
*
|
|
6787
6834
|
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
6788
6835
|
* @param headers map
|
|
@@ -6793,9 +6840,9 @@ export default class Client extends OpenApi {
|
|
|
6793
6840
|
[key: string]: string;
|
|
6794
6841
|
}, runtime: $Util.RuntimeOptions): Promise<UpdateK8sClusterUserConfigExpireResponse>;
|
|
6795
6842
|
/**
|
|
6796
|
-
*
|
|
6797
|
-
*
|
|
6798
|
-
* *
|
|
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.
|
|
6799
6846
|
*
|
|
6800
6847
|
* @param request UpdateK8sClusterUserConfigExpireRequest
|
|
6801
6848
|
* @return UpdateK8sClusterUserConfigExpireResponse
|
|
@@ -6814,7 +6861,7 @@ export default class Client extends OpenApi {
|
|
|
6814
6861
|
}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterAddonsResponse>;
|
|
6815
6862
|
upgradeClusterAddons(ClusterId: string, request: UpgradeClusterAddonsRequest): Promise<UpgradeClusterAddonsResponse>;
|
|
6816
6863
|
/**
|
|
6817
|
-
*
|
|
6864
|
+
* This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
6818
6865
|
*
|
|
6819
6866
|
* @param request UpgradeClusterNodepoolRequest
|
|
6820
6867
|
* @param headers map
|
|
@@ -6825,7 +6872,7 @@ export default class Client extends OpenApi {
|
|
|
6825
6872
|
[key: string]: string;
|
|
6826
6873
|
}, runtime: $Util.RuntimeOptions): Promise<UpgradeClusterNodepoolResponse>;
|
|
6827
6874
|
/**
|
|
6828
|
-
*
|
|
6875
|
+
* This operation allows you to update the Kubernetes version, OS version, or container runtime version of the nodes in a node pool.
|
|
6829
6876
|
*
|
|
6830
6877
|
* @param request UpgradeClusterNodepoolRequest
|
|
6831
6878
|
* @return UpgradeClusterNodepoolResponse
|