@alicloud/cs20151215 7.0.4 → 7.1.0
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 +120 -42
- package/dist/client.js +332 -71
- package/dist/client.js.map +1 -1
- package/dist/models/CreateClusterNodePoolRequest.d.ts +123 -366
- package/dist/models/CreateClusterNodePoolRequest.js +2 -0
- package/dist/models/CreateClusterNodePoolRequest.js.map +1 -1
- package/dist/models/CreateClusterRequest.d.ts +119 -621
- package/dist/models/CreateClusterRequest.js.map +1 -1
- package/dist/models/CreateClusterResponseBody.d.ts +3 -3
- package/dist/models/CreateNodePoolComponentInstancesRequest.d.ts +100 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js +144 -0
- package/dist/models/CreateNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/CreateNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.d.ts +28 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js +62 -0
- package/dist/models/CreateNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/DeleteNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.d.ts +38 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js +66 -0
- package/dist/models/DeleteNodePoolComponentInstanceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeAddonRequest.d.ts +7 -18
- package/dist/models/DescribeAddonRequest.js.map +1 -1
- package/dist/models/DescribeAddonResponseBody.d.ts +12 -12
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.d.ts +159 -228
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolDetailResponseBody.js.map +1 -1
- package/dist/models/DescribeClusterNodePoolsResponseBody.d.ts +121 -240
- package/dist/models/DescribeClusterNodePoolsResponseBody.js +2 -0
- package/dist/models/DescribeClusterNodePoolsResponseBody.js.map +1 -1
- package/dist/models/InstallNodePoolComponentsRequest.d.ts +12 -4
- package/dist/models/InstallNodePoolComponentsRequest.js +2 -0
- package/dist/models/InstallNodePoolComponentsRequest.js.map +1 -1
- package/dist/models/ListNodePoolComponentInstancesRequest.d.ts +23 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js +60 -0
- package/dist/models/ListNodePoolComponentInstancesRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js +69 -0
- package/dist/models/ListNodePoolComponentInstancesResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.d.ts +76 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js +117 -0
- package/dist/models/ListNodePoolComponentInstancesResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsRequest.js +73 -0
- package/dist/models/ListNodePoolComponentsRequest.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponse.d.ts +19 -0
- package/dist/models/ListNodePoolComponentsResponse.js +69 -0
- package/dist/models/ListNodePoolComponentsResponse.js.map +1 -0
- package/dist/models/ListNodePoolComponentsResponseBody.d.ts +51 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js +88 -0
- package/dist/models/ListNodePoolComponentsResponseBody.js.map +1 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.d.ts +48 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js +70 -0
- package/dist/models/ListNodePoolComponentsShrinkRequest.js.map +1 -0
- package/dist/models/MaintenanceWindow.d.ts +1 -1
- package/dist/models/ModifyClusterNodePoolRequest.d.ts +99 -257
- package/dist/models/ModifyClusterNodePoolRequest.js +2 -0
- package/dist/models/ModifyClusterNodePoolRequest.js.map +1 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.d.ts +9 -1
- package/dist/models/ModifyNodePoolNodeConfigRequest.js +2 -0
- package/dist/models/ModifyNodePoolNodeConfigRequest.js.map +1 -1
- package/dist/models/Nodepool.d.ts +70 -195
- package/dist/models/Nodepool.js.map +1 -1
- package/dist/models/Runtime.d.ts +2 -2
- package/dist/models/UpdateNodePoolComponentInstanceRequest.d.ts +77 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js +122 -0
- package/dist/models/UpdateNodePoolComponentInstanceRequest.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.d.ts +19 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js +69 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponse.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.d.ts +28 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js +62 -0
- package/dist/models/UpdateNodePoolComponentInstanceResponseBody.js.map +1 -0
- package/dist/models/UpdateNodePoolComponentRequest.d.ts +12 -4
- package/dist/models/UpdateNodePoolComponentRequest.js +2 -0
- package/dist/models/UpdateNodePoolComponentRequest.js.map +1 -1
- package/dist/models/UpgradeClusterNodepoolRequest.d.ts +23 -11
- package/dist/models/UpgradeClusterNodepoolRequest.js +2 -0
- package/dist/models/UpgradeClusterNodepoolRequest.js.map +1 -1
- package/dist/models/model.d.ts +25 -0
- package/dist/models/model.js +63 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +366 -71
- package/src/models/CreateClusterNodePoolRequest.ts +126 -367
- package/src/models/CreateClusterRequest.ts +119 -621
- package/src/models/CreateClusterResponseBody.ts +3 -3
- package/src/models/CreateNodePoolComponentInstancesRequest.ts +170 -0
- package/src/models/CreateNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/CreateNodePoolComponentInstancesResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceRequest.ts +62 -0
- package/src/models/DeleteNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/DeleteNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/DeleteNodePoolComponentInstanceShrinkRequest.ts +59 -0
- package/src/models/DescribeAddonRequest.ts +7 -18
- package/src/models/DescribeAddonResponseBody.ts +12 -12
- package/src/models/DescribeClusterNodePoolDetailResponseBody.ts +161 -228
- package/src/models/DescribeClusterNodePoolsResponseBody.ts +123 -240
- package/src/models/InstallNodePoolComponentsRequest.ts +14 -4
- package/src/models/ListNodePoolComponentInstancesRequest.ts +38 -0
- package/src/models/ListNodePoolComponentInstancesResponse.ts +40 -0
- package/src/models/ListNodePoolComponentInstancesResponseBody.ts +128 -0
- package/src/models/ListNodePoolComponentsRequest.ts +76 -0
- package/src/models/ListNodePoolComponentsResponse.ts +40 -0
- package/src/models/ListNodePoolComponentsResponseBody.ts +85 -0
- package/src/models/ListNodePoolComponentsShrinkRequest.ts +73 -0
- package/src/models/MaintenanceWindow.ts +1 -1
- package/src/models/ModifyClusterNodePoolRequest.ts +101 -257
- package/src/models/ModifyNodePoolNodeConfigRequest.ts +11 -1
- package/src/models/Nodepool.ts +70 -195
- package/src/models/Runtime.ts +2 -2
- package/src/models/UpdateNodePoolComponentInstanceRequest.ts +134 -0
- package/src/models/UpdateNodePoolComponentInstanceResponse.ts +40 -0
- package/src/models/UpdateNodePoolComponentInstanceResponseBody.ts +45 -0
- package/src/models/UpdateNodePoolComponentRequest.ts +14 -4
- package/src/models/UpgradeClusterNodepoolRequest.ts +25 -11
- package/src/models/model.ts +25 -0
|
@@ -7,7 +7,8 @@ import { Taint } from "./Taint";
|
|
|
7
7
|
export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model {
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
* [
|
|
10
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
11
|
+
*
|
|
11
12
|
* The peak bandwidth of the EIP.
|
|
12
13
|
*
|
|
13
14
|
* Valid values: [1,100]. Unit: Mbit/s.
|
|
@@ -20,14 +21,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
20
21
|
eipBandwidth?: number;
|
|
21
22
|
/**
|
|
22
23
|
* @remarks
|
|
23
|
-
* [
|
|
24
|
-
*
|
|
25
|
-
* The EIP billing type. Valid values:
|
|
26
|
-
*
|
|
27
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
28
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
29
|
-
*
|
|
30
|
-
* Default value: `PayByBandwidth`.
|
|
24
|
+
* **[Deprecated]** Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
31
25
|
*
|
|
32
26
|
* @example
|
|
33
27
|
* null
|
|
@@ -39,26 +33,13 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
39
33
|
* @remarks
|
|
40
34
|
* Specifies whether to enable auto scaling. Valid values:
|
|
41
35
|
*
|
|
42
|
-
* - `true`: enables the auto scaling feature for the node pool. When the capacity planning of the cluster cannot meet the scheduling requirements of application pods, ACK automatically scales nodes based on the configured minimum and maximum instance counts. Clusters of version 1.24 or later use instant elasticity by default. Clusters of versions earlier than 1.24 use node auto scaling by default. For more information, see [Node scaling](https://help.aliyun.com/document_detail/2746785.html).
|
|
43
|
-
*
|
|
44
|
-
* - `false`: disables auto scaling. ACK adjusts the number of nodes in the node pool based on the configured desired node count and maintains the node count at the desired value.
|
|
45
|
-
*
|
|
46
|
-
* When the value is false, other configuration parameters in `auto_scaling` do not take effect.
|
|
47
|
-
*
|
|
48
|
-
* Default value: `false`.
|
|
49
|
-
*
|
|
50
36
|
* @example
|
|
51
37
|
* true
|
|
52
38
|
*/
|
|
53
39
|
enable?: boolean;
|
|
54
40
|
/**
|
|
55
41
|
* @remarks
|
|
56
|
-
* [
|
|
57
|
-
*
|
|
58
|
-
* - `true`: associates an EIP.
|
|
59
|
-
* - `false`: does not associate an EIP.
|
|
60
|
-
*
|
|
61
|
-
* Default value: `false`.
|
|
42
|
+
* **[Deprecated]** This parameter is deprecated. Use internet_charge_type and internet_max_bandwidth_out instead.
|
|
62
43
|
*
|
|
63
44
|
* @example
|
|
64
45
|
* null
|
|
@@ -68,9 +49,7 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
68
49
|
isBondEip?: boolean;
|
|
69
50
|
/**
|
|
70
51
|
* @remarks
|
|
71
|
-
* The maximum number of instances that can be scaled in the node pool, excluding existing instances. This parameter takes effect only when `enable=true`.
|
|
72
|
-
*
|
|
73
|
-
* Valid values: [min_instances, 2000]. Default value: 0.
|
|
52
|
+
* The maximum number of instances that can be scaled out in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
74
53
|
*
|
|
75
54
|
* @example
|
|
76
55
|
* 10
|
|
@@ -78,12 +57,12 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
78
57
|
maxInstances?: number;
|
|
79
58
|
/**
|
|
80
59
|
* @remarks
|
|
81
|
-
* The minimum number of instances
|
|
60
|
+
* The minimum number of scalable instances in the node pool, excluding your existing instances. This parameter takes effect only when `enable=true`.
|
|
82
61
|
*
|
|
83
62
|
* Valid values: [0, max_instances]. Default value: 0.
|
|
84
63
|
*
|
|
85
|
-
* > - If the minimum number of instances is not 0, the corresponding number of ECS instances
|
|
86
|
-
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool
|
|
64
|
+
* > - If the minimum number of instances is not 0, the scaling group automatically creates the corresponding number of ECS instances after it takes effect.
|
|
65
|
+
* > - Set the maximum number of instances to a value that is not less than the current number of nodes in the node pool. Otherwise, nodes in the node pool are scaled in after the auto scaling feature takes effect.
|
|
87
66
|
*
|
|
88
67
|
* @example
|
|
89
68
|
* 2
|
|
@@ -93,13 +72,6 @@ export declare class ModifyClusterNodePoolRequestAutoScaling extends $dara.Model
|
|
|
93
72
|
* @remarks
|
|
94
73
|
* The auto scaling type, classified by instance type. Valid values:
|
|
95
74
|
*
|
|
96
|
-
* - `cpu`: regular instance type.
|
|
97
|
-
* - `gpu`: GPU instance type.
|
|
98
|
-
* - `gpushare`: GPU sharing type.
|
|
99
|
-
* - `spot`: spot instance type.
|
|
100
|
-
*
|
|
101
|
-
* Default value: `cpu`.
|
|
102
|
-
*
|
|
103
75
|
* @example
|
|
104
76
|
* cpu
|
|
105
77
|
*
|
|
@@ -150,12 +122,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
150
122
|
cmsEnabled?: boolean;
|
|
151
123
|
/**
|
|
152
124
|
* @remarks
|
|
153
|
-
* The
|
|
154
|
-
*
|
|
155
|
-
* - `static`: allows enhanced CPU affinity and exclusivity for pods with certain resource characteristics on the node.
|
|
156
|
-
* - `none`: enables the existing default CPU affinity scheme.
|
|
157
|
-
*
|
|
158
|
-
* Default value: `none`.
|
|
125
|
+
* The CPU management policy for nodes. The following two policies are supported for clusters of version 1.12.6 or later:
|
|
159
126
|
*
|
|
160
127
|
* @example
|
|
161
128
|
* none
|
|
@@ -163,19 +130,12 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
163
130
|
cpuPolicy?: string;
|
|
164
131
|
/**
|
|
165
132
|
* @remarks
|
|
166
|
-
* The node labels.
|
|
167
|
-
*
|
|
168
|
-
* - Labels consist of case-sensitive key-value pairs. You can set up to 20 labels.
|
|
169
|
-
* - Label keys cannot be duplicated and can be up to 64 characters. Label values can be empty and can be up to 128 characters. Neither label keys nor label values can 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).
|
|
133
|
+
* The node labels. You can add labels to the nodes in the Kubernetes cluster. Label definition rules:
|
|
170
134
|
*/
|
|
171
135
|
labels?: Tag[];
|
|
172
136
|
/**
|
|
173
137
|
* @remarks
|
|
174
|
-
* The custom node name parameter. A node name consists of three parts: prefix + node IP + suffix.
|
|
175
|
-
*
|
|
176
|
-
* Both the prefix and suffix can consist of one or more parts separated by ".". Each part can contain lowercase letters, digits, and hyphens (-). The node name must start and end with a lowercase letter or digit. The node IP is the full private IP address of the node.
|
|
177
|
-
*
|
|
178
|
-
* The parameter contains four parts separated by commas. For example, if you pass in "customized,aliyun,ip,com" (where "customized" and "ip" are fixed strings, "aliyun" is the prefix, and "com" is the suffix), the node name is: aliyun.192.168.xxx.xxx.com.
|
|
138
|
+
* The custom node name parameter. A node name consists of three parts: prefix + node IP address + suffix.
|
|
179
139
|
*
|
|
180
140
|
* @example
|
|
181
141
|
* customized,aliyun,ip,com
|
|
@@ -183,7 +143,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
183
143
|
nodeNameMode?: string;
|
|
184
144
|
/**
|
|
185
145
|
* @remarks
|
|
186
|
-
* The
|
|
146
|
+
* The pre-user data of the instance. Before a node joins the cluster, the specified pre-user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
187
147
|
*
|
|
188
148
|
* @example
|
|
189
149
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -191,11 +151,11 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
191
151
|
preUserData?: string;
|
|
192
152
|
/**
|
|
193
153
|
* @remarks
|
|
194
|
-
* The container runtime name. ACK supports the following three container runtimes
|
|
154
|
+
* The container runtime name. ACK supports the following three container runtimes.
|
|
195
155
|
*
|
|
196
|
-
* - containerd:
|
|
197
|
-
* - Sandboxed-Container.runv:
|
|
198
|
-
* - docker:
|
|
156
|
+
* - containerd: Recommended. Supports all cluster versions.
|
|
157
|
+
* - Sandboxed-Container.runv: Sandboxed container runtime that provides higher isolation. Supports clusters of version 1.31 and earlier.
|
|
158
|
+
* - docker: No longer maintained. Supports clusters of version 1.22 and earlier.
|
|
199
159
|
*
|
|
200
160
|
* Default value: containerd.
|
|
201
161
|
*
|
|
@@ -218,11 +178,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
218
178
|
taints?: Taint[];
|
|
219
179
|
/**
|
|
220
180
|
* @remarks
|
|
221
|
-
* Specifies whether the nodes added
|
|
222
|
-
*
|
|
223
|
-
* - true: Unschedulable.
|
|
224
|
-
*
|
|
225
|
-
* - false: Schedulable.
|
|
181
|
+
* Specifies whether the nodes added during the scale-out are unschedulable.
|
|
226
182
|
*
|
|
227
183
|
* @example
|
|
228
184
|
* false
|
|
@@ -230,7 +186,7 @@ export declare class ModifyClusterNodePoolRequestKubernetesConfig extends $dara.
|
|
|
230
186
|
unschedulable?: boolean;
|
|
231
187
|
/**
|
|
232
188
|
* @remarks
|
|
233
|
-
* The instance user data. After
|
|
189
|
+
* The instance user data. After a node joins the cluster, the specified user data script is run. For more information, see [User data scripts](https://help.aliyun.com/document_detail/49121.html).
|
|
234
190
|
*
|
|
235
191
|
* @example
|
|
236
192
|
* IyEvdXNyL2Jpbi9iYXNoCmVjaG8gIkhlbGxvIEFDSyEi
|
|
@@ -262,11 +218,17 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
262
218
|
*/
|
|
263
219
|
autoRepairPolicyId?: string;
|
|
264
220
|
/**
|
|
221
|
+
* @remarks
|
|
222
|
+
* The maximum number of nodes that can be repaired in parallel. When a large number of abnormal nodes exist in the node pool, this parameter specifies the maximum number or percentage of nodes that can be repaired simultaneously. You can specify a number (such as 5, valid range: 1 to 100000) or a percentage (such as 10%, valid range: 1% to 100%). Default value: 1.
|
|
223
|
+
*
|
|
265
224
|
* @example
|
|
266
225
|
* 5
|
|
267
226
|
*/
|
|
268
227
|
maxParallelRepairingNodes?: string;
|
|
269
228
|
/**
|
|
229
|
+
* @remarks
|
|
230
|
+
* The circuit breaker condition for self-healing. When the number or percentage of faulty nodes exceeds this threshold, self-healing enters a circuit breaker state and stops initiating new repair actions. You can specify a number (such as 10, valid range: 1 to 100000) or a percentage (such as 20%, valid range: 1% to 100%). Default value: 100%.
|
|
231
|
+
*
|
|
270
232
|
* @example
|
|
271
233
|
* 20%
|
|
272
234
|
*/
|
|
@@ -275,11 +237,6 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
275
237
|
* @remarks
|
|
276
238
|
* Specifies whether to allow node restart. This parameter takes effect only when `auto_repair=true`. Valid values:
|
|
277
239
|
*
|
|
278
|
-
* - `true`: allows node restart.
|
|
279
|
-
* - `false`: does not allow node restart.
|
|
280
|
-
*
|
|
281
|
-
* Default value: `true`.
|
|
282
|
-
*
|
|
283
240
|
* @example
|
|
284
241
|
* true
|
|
285
242
|
*/
|
|
@@ -298,11 +255,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoRepairPolicy exte
|
|
|
298
255
|
export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy extends $dara.Model {
|
|
299
256
|
/**
|
|
300
257
|
* @remarks
|
|
301
|
-
* Specifies whether to allow
|
|
302
|
-
* - `true`: allows automatic kubelet upgrade.
|
|
303
|
-
* - `false`: does not allow automatic kubelet upgrade.
|
|
304
|
-
*
|
|
305
|
-
* Default value: `true`.
|
|
258
|
+
* Specifies whether to allow auto upgrade of kubelet. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
306
259
|
*
|
|
307
260
|
* @example
|
|
308
261
|
* true
|
|
@@ -310,11 +263,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
310
263
|
autoUpgradeKubelet?: boolean;
|
|
311
264
|
/**
|
|
312
265
|
* @remarks
|
|
313
|
-
* Specifies whether to allow
|
|
314
|
-
* - `true`: allows automatic OS upgrade.
|
|
315
|
-
* - `false`: does not allow automatic OS upgrade.
|
|
316
|
-
*
|
|
317
|
-
* Default value: `false`.
|
|
266
|
+
* Specifies whether to allow auto upgrade of the operating system. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
318
267
|
*
|
|
319
268
|
* @example
|
|
320
269
|
* false
|
|
@@ -322,11 +271,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
322
271
|
autoUpgradeOs?: boolean;
|
|
323
272
|
/**
|
|
324
273
|
* @remarks
|
|
325
|
-
* Specifies whether to allow
|
|
326
|
-
* - `true`: allows automatic runtime upgrade.
|
|
327
|
-
* - `false`: does not allow automatic runtime upgrade.
|
|
328
|
-
*
|
|
329
|
-
* Default value: `true`.
|
|
274
|
+
* Specifies whether to allow auto upgrade of the runtime. This parameter takes effect only when `auto_upgrade=true`. Valid values:
|
|
330
275
|
*
|
|
331
276
|
* @example
|
|
332
277
|
* false
|
|
@@ -346,9 +291,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoUpgradePolicy ext
|
|
|
346
291
|
export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy extends $dara.Model {
|
|
347
292
|
/**
|
|
348
293
|
* @remarks
|
|
349
|
-
* Specifies the packages to exclude during vulnerability
|
|
350
|
-
*
|
|
351
|
-
* Default value: `kernel`.
|
|
294
|
+
* Specifies the packages to exclude during vulnerability fix.
|
|
352
295
|
*
|
|
353
296
|
* @example
|
|
354
297
|
* kernel
|
|
@@ -356,11 +299,11 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
356
299
|
excludePackages?: string;
|
|
357
300
|
/**
|
|
358
301
|
* @remarks
|
|
359
|
-
* Specifies whether to allow node
|
|
360
|
-
* - `true`:
|
|
361
|
-
* - `false`:
|
|
302
|
+
* Specifies whether to allow node restarts. This parameter takes effect only when `auto_vul_fix=true`. Valid values:
|
|
303
|
+
* - `true`: Node restarts are allowed.
|
|
304
|
+
* - `false`: Node restarts are not allowed.
|
|
362
305
|
*
|
|
363
|
-
* Default value: `true
|
|
306
|
+
* Default value: `true`
|
|
364
307
|
*
|
|
365
308
|
* @example
|
|
366
309
|
* true
|
|
@@ -368,13 +311,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
368
311
|
restartNode?: boolean;
|
|
369
312
|
/**
|
|
370
313
|
* @remarks
|
|
371
|
-
* The vulnerability levels allowed for
|
|
372
|
-
*
|
|
373
|
-
* - `asap`: high
|
|
374
|
-
* - `later`: medium
|
|
375
|
-
* - `nntf`: low
|
|
376
|
-
*
|
|
377
|
-
* Default value: `asap`.
|
|
314
|
+
* The vulnerability levels that are allowed for auto fix, separated by commas. Example: `asap,later`. Supported vulnerability levels:
|
|
378
315
|
*
|
|
379
316
|
* @example
|
|
380
317
|
* asap,nntf
|
|
@@ -394,14 +331,7 @@ export declare class ModifyClusterNodePoolRequestManagementAutoVulFixPolicy exte
|
|
|
394
331
|
export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends $dara.Model {
|
|
395
332
|
/**
|
|
396
333
|
* @remarks
|
|
397
|
-
* [
|
|
398
|
-
*
|
|
399
|
-
* Specifies whether to enable auto upgrade:
|
|
400
|
-
*
|
|
401
|
-
* - true: enables auto upgrade.
|
|
402
|
-
* - false: disables auto upgrade.
|
|
403
|
-
*
|
|
404
|
-
* Default value: `true`.
|
|
334
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
405
335
|
*
|
|
406
336
|
* @example
|
|
407
337
|
* true
|
|
@@ -413,21 +343,13 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
413
343
|
* @remarks
|
|
414
344
|
* The maximum number of unavailable nodes.
|
|
415
345
|
*
|
|
416
|
-
* Valid values: [1,1000\\].
|
|
417
|
-
*
|
|
418
|
-
* Default value: 1.
|
|
419
|
-
*
|
|
420
346
|
* @example
|
|
421
347
|
* 1
|
|
422
348
|
*/
|
|
423
349
|
maxUnavailable?: number;
|
|
424
350
|
/**
|
|
425
351
|
* @remarks
|
|
426
|
-
* The number of extra nodes.
|
|
427
|
-
*
|
|
428
|
-
* During an upgrade, nodes become unavailable. You can create extra nodes to compensate for the cluster workload.
|
|
429
|
-
*
|
|
430
|
-
* > The number of extra nodes should not exceed the current number of nodes.
|
|
352
|
+
* The number of extra nodes. You can specify either this parameter or `surge_percentage`.
|
|
431
353
|
*
|
|
432
354
|
* @example
|
|
433
355
|
* 5
|
|
@@ -435,9 +357,7 @@ export declare class ModifyClusterNodePoolRequestManagementUpgradeConfig extends
|
|
|
435
357
|
surge?: number;
|
|
436
358
|
/**
|
|
437
359
|
* @remarks
|
|
438
|
-
* The percentage of extra nodes.
|
|
439
|
-
*
|
|
440
|
-
* Number of extra nodes = percentage of extra nodes × number of nodes. For example, if the percentage is set to 50% and there are 6 existing nodes, the number of extra nodes = 50% × 6 = 3.
|
|
360
|
+
* The percentage of extra nodes. You can specify either this parameter or `surge`.
|
|
441
361
|
*
|
|
442
362
|
* @example
|
|
443
363
|
* 0
|
|
@@ -464,9 +384,9 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
464
384
|
* @remarks
|
|
465
385
|
* Specifies whether to automatically repair nodes. This parameter takes effect only when `enable=true`.
|
|
466
386
|
*
|
|
467
|
-
* - `true`:
|
|
387
|
+
* - `true`: Automatically repairs nodes.
|
|
468
388
|
*
|
|
469
|
-
* - `false`:
|
|
389
|
+
* - `false`: Does not automatically repair nodes.
|
|
470
390
|
*
|
|
471
391
|
* Default value: `true`.
|
|
472
392
|
*
|
|
@@ -482,10 +402,6 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
482
402
|
/**
|
|
483
403
|
* @remarks
|
|
484
404
|
* Specifies whether to automatically upgrade nodes. This parameter takes effect only when `enable=true`.
|
|
485
|
-
* - `true`: enables auto upgrade.
|
|
486
|
-
* - `false`: disables auto upgrade.
|
|
487
|
-
*
|
|
488
|
-
* Default value: `true`.
|
|
489
405
|
*
|
|
490
406
|
* @example
|
|
491
407
|
* true
|
|
@@ -500,11 +416,6 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
500
416
|
* @remarks
|
|
501
417
|
* Specifies whether to automatically fix CVE vulnerabilities. This parameter takes effect only when `enable=true`.
|
|
502
418
|
*
|
|
503
|
-
* - `true`: allows automatic CVE fixing.
|
|
504
|
-
* - `false`: does not allow automatic CVE fixing.
|
|
505
|
-
*
|
|
506
|
-
* Default value: `true`.
|
|
507
|
-
*
|
|
508
419
|
* @example
|
|
509
420
|
* true
|
|
510
421
|
*/
|
|
@@ -514,25 +425,24 @@ export declare class ModifyClusterNodePoolRequestManagement extends $dara.Model
|
|
|
514
425
|
* The auto CVE fix policy.
|
|
515
426
|
*/
|
|
516
427
|
autoVulFixPolicy?: ModifyClusterNodePoolRequestManagementAutoVulFixPolicy;
|
|
428
|
+
/**
|
|
429
|
+
* @remarks
|
|
430
|
+
* Specifies whether to enable node rotation. Only intelligent managed node pools support this feature, and it is enabled by default. Common node pools do not support this feature.
|
|
431
|
+
*/
|
|
517
432
|
driftEnabled?: boolean;
|
|
518
433
|
/**
|
|
519
434
|
* @remarks
|
|
520
435
|
* Specifies whether to enable the managed node pool. Valid values:
|
|
521
436
|
*
|
|
522
|
-
* - `true`: enables the managed node pool.
|
|
523
|
-
* - `false`: disables the managed node pool. Other related configurations take effect only when `enable=true`.
|
|
524
|
-
*
|
|
525
|
-
* Default value: `false`.
|
|
526
|
-
*
|
|
527
437
|
* @example
|
|
528
438
|
* true
|
|
529
439
|
*/
|
|
530
440
|
enable?: boolean;
|
|
531
441
|
/**
|
|
532
442
|
* @remarks
|
|
533
|
-
* [
|
|
443
|
+
* **[Deprecated]** Use the `auto_upgrade` parameter at the upper level instead.
|
|
534
444
|
*
|
|
535
|
-
* The
|
|
445
|
+
* The automatic upgrade configuration. This parameter takes effect only when `enable=true`.
|
|
536
446
|
*
|
|
537
447
|
* @deprecated
|
|
538
448
|
*/
|
|
@@ -561,9 +471,7 @@ export declare class ModifyClusterNodePoolRequestNodepoolInfo extends $dara.Mode
|
|
|
561
471
|
name?: string;
|
|
562
472
|
/**
|
|
563
473
|
* @remarks
|
|
564
|
-
* The resource group ID of the node pool. Instances
|
|
565
|
-
*
|
|
566
|
-
* A resource can belong to only one resource group. You can map resource groups to concepts such as projects, applications, or organizations based on your business scenarios.
|
|
474
|
+
* The resource group ID of the node pool. Instances scaled out by the node pool belong to this resource group.
|
|
567
475
|
*
|
|
568
476
|
* @example
|
|
569
477
|
* rg-acfmyvw3wjm****
|
|
@@ -591,10 +499,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions
|
|
|
591
499
|
id?: string;
|
|
592
500
|
/**
|
|
593
501
|
* @remarks
|
|
594
|
-
* The private node pool
|
|
595
|
-
* - `Open`:
|
|
596
|
-
* - `Target`:
|
|
597
|
-
* - `None`:
|
|
502
|
+
* The type of the private node pool. The private pool option for instance launch. After an elasticity assurance or capacity reservation takes effect, a private pool is generated for instances to use during launch. Valid values:
|
|
503
|
+
* - `Open`: open mode. The system automatically matches open private pool capacity. If no matching private pool capacity is available, public pool resources are used to launch the instance.
|
|
504
|
+
* - `Target`: targeted mode. The instance is launched using the specified private pool capacity. If the specified private pool capacity is unavailable, the instance fails to launch.
|
|
505
|
+
* - `None`: none mode. The instance launch does not use private pool capacity.
|
|
598
506
|
*
|
|
599
507
|
* @example
|
|
600
508
|
* Open
|
|
@@ -619,10 +527,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions
|
|
|
619
527
|
privatePoolIds?: string[];
|
|
620
528
|
/**
|
|
621
529
|
* @remarks
|
|
622
|
-
* The resource pool strategy used when
|
|
623
|
-
*
|
|
624
|
-
*
|
|
625
|
-
*
|
|
530
|
+
* The resource pool strategy used when instances are created. Resource pools include private pools generated after elasticity assurance or capacity reservation takes effect, and public pools, which are available for instance startup. Valid values:
|
|
531
|
+
*
|
|
532
|
+
* - PrivatePoolFirst: private pool preferred. When this strategy is selected, if resouce_pool_options.private_pool_ids is specified, the specified private pools are used first. If no private pool is specified or the specified private pool has insufficient capacity, open-type private pools are automatically matched. If no eligible private pool is available, the public pool is used to create instances.
|
|
533
|
+
* - PrivatePoolOnly: private pool only. When this strategy is selected, you must specify resouce_pool_options.private_pool_ids. If the specified private pool has insufficient capacity, the instance fails to start.
|
|
534
|
+
* - None: no resource pool strategy is used.
|
|
535
|
+
*
|
|
626
536
|
* Default value: None.
|
|
627
537
|
*
|
|
628
538
|
* @example
|
|
@@ -651,7 +561,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit exte
|
|
|
651
561
|
instanceType?: string;
|
|
652
562
|
/**
|
|
653
563
|
* @remarks
|
|
654
|
-
* The maximum price
|
|
564
|
+
* The maximum price of a single instance.
|
|
655
565
|
*
|
|
656
566
|
* <props="china">Unit: CNY/hour.
|
|
657
567
|
*
|
|
@@ -679,22 +589,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
679
589
|
* @remarks
|
|
680
590
|
* Specifies whether to enable auto-renewal for nodes. This parameter takes effect only when `instance_charge_type` is set to `PrePaid`. Valid values:
|
|
681
591
|
*
|
|
682
|
-
* - `true`: enables auto-renewal.
|
|
683
|
-
* - `false`: disables auto-renewal.
|
|
684
|
-
*
|
|
685
|
-
* Default value: `false`.
|
|
686
|
-
*
|
|
687
592
|
* @example
|
|
688
593
|
* true
|
|
689
594
|
*/
|
|
690
595
|
autoRenew?: boolean;
|
|
691
596
|
/**
|
|
692
597
|
* @remarks
|
|
693
|
-
* The
|
|
694
|
-
* - When PeriodUnit=Week: 1, 2, 3.
|
|
695
|
-
* - When PeriodUnit=Month: 1, 2, 3, 6, 12, 24, 36, 48, 60.
|
|
696
|
-
*
|
|
697
|
-
* Default value: 1.
|
|
598
|
+
* The duration of a single auto-renewal cycle. Valid values:
|
|
698
599
|
*
|
|
699
600
|
* @example
|
|
700
601
|
* 1
|
|
@@ -702,10 +603,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
702
603
|
autoRenewPeriod?: number;
|
|
703
604
|
/**
|
|
704
605
|
* @remarks
|
|
705
|
-
*
|
|
606
|
+
* Specifies whether to allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances when spot instances cannot be created due to cost or inventory reasons, if `multi_az_policy` is set to `COST_OPTIMIZED`. Valid values:
|
|
706
607
|
*
|
|
707
|
-
* - `true`:
|
|
708
|
-
* - `false`:
|
|
608
|
+
* - `true`: allows the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
609
|
+
* - `false`: does not allow the automatic creation of pay-as-you-go instances to meet the required number of ECS instances.
|
|
709
610
|
*
|
|
710
611
|
* @example
|
|
711
612
|
* true
|
|
@@ -713,12 +614,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
713
614
|
compensateWithOnDemand?: boolean;
|
|
714
615
|
/**
|
|
715
616
|
* @remarks
|
|
716
|
-
* The data cloud disk
|
|
617
|
+
* The data cloud disk configurations for nodes. Valid values: 0 to 10. You can add up to 10 data cloud disks.
|
|
717
618
|
*/
|
|
718
619
|
dataDisks?: DataDisk[];
|
|
719
620
|
/**
|
|
720
621
|
* @remarks
|
|
721
|
-
* The deployment set
|
|
622
|
+
* The deployment set to which the ECS instances created by the node pool belong. This setting takes effect only on new nodes. The deployment set of existing nodes is not changed.
|
|
722
623
|
*
|
|
723
624
|
* @example
|
|
724
625
|
* ds-bp1d19mmbsv3jf6xxxxx
|
|
@@ -728,10 +629,6 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
728
629
|
* @remarks
|
|
729
630
|
* The desired number of nodes in the node pool.
|
|
730
631
|
*
|
|
731
|
-
* The total number of nodes that the node pool should maintain. We recommend that you configure at least 2 nodes to ensure that cluster components run properly. You can scale the node pool in or out by adjusting the desired node count.
|
|
732
|
-
*
|
|
733
|
-
* If you do not need to create nodes, set this parameter to 0 and manually adjust it later to add nodes.
|
|
734
|
-
*
|
|
735
632
|
* @example
|
|
736
633
|
* 2
|
|
737
634
|
*/
|
|
@@ -741,6 +638,14 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
741
638
|
* The block device initialization configuration.
|
|
742
639
|
*/
|
|
743
640
|
diskInit?: DiskInit[];
|
|
641
|
+
/**
|
|
642
|
+
* @remarks
|
|
643
|
+
* Specifies whether to enable high-density cloud disk mode. This is supported only when the node pool uses instance types. When enabled, the total number of system cloud disks and data cloud disks does not exceed the high-density cloud disk count supported by the instance type.
|
|
644
|
+
*
|
|
645
|
+
* @example
|
|
646
|
+
* false
|
|
647
|
+
*/
|
|
648
|
+
enableHighDensityMode?: boolean;
|
|
744
649
|
/**
|
|
745
650
|
* @remarks
|
|
746
651
|
* The custom image ID. You can call `DescribeKubernetesVersionMetadata` to query the images supported by the system. The latest system image is used by default.
|
|
@@ -761,7 +666,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
761
666
|
* - `CentOS`: CentOS image.
|
|
762
667
|
* - `Windows`: Windows image.
|
|
763
668
|
* - `WindowsCore`: WindowsCore image.
|
|
764
|
-
* - `ContainerOS`:
|
|
669
|
+
* - `ContainerOS`: Container-optimized image.
|
|
765
670
|
* - `AliyunLinux3ContainerOptimized`: Alinux3 container-optimized image.
|
|
766
671
|
*
|
|
767
672
|
* @example
|
|
@@ -772,33 +677,23 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
772
677
|
* @remarks
|
|
773
678
|
* The billing method of nodes in the node pool. Valid values:
|
|
774
679
|
*
|
|
775
|
-
* - `PrePaid`: subscription.
|
|
776
|
-
* - `PostPaid`: pay-as-you-go.
|
|
777
|
-
*
|
|
778
|
-
* Default value: `PostPaid`.
|
|
779
|
-
*
|
|
780
680
|
* @example
|
|
781
681
|
* PostPaid
|
|
782
682
|
*/
|
|
783
683
|
instanceChargeType?: string;
|
|
784
684
|
/**
|
|
785
685
|
* @remarks
|
|
786
|
-
* The instance attribute
|
|
686
|
+
* The instance attribute configurations.
|
|
787
687
|
*/
|
|
788
688
|
instancePatterns?: InstancePatterns[];
|
|
789
689
|
/**
|
|
790
690
|
* @remarks
|
|
791
|
-
* The list of node instance types. You can
|
|
792
|
-
*
|
|
793
|
-
* Supported number of instance types: [1,10].
|
|
691
|
+
* The list of node instance types. You can specify multiple instance types as alternatives. During node creation, the system attempts to purchase instances starting from the first specification until the creation succeeds. The final purchased instance type may vary depending on inventory availability.
|
|
794
692
|
*/
|
|
795
693
|
instanceTypes?: string[];
|
|
796
694
|
/**
|
|
797
695
|
* @remarks
|
|
798
|
-
* The billing
|
|
799
|
-
*
|
|
800
|
-
* - `PayByBandwidth`: pay-by-bandwidth.
|
|
801
|
-
* - `PayByTraffic`: pay-by-traffic.
|
|
696
|
+
* The billing method for public IP addresses. Valid values:
|
|
802
697
|
*
|
|
803
698
|
* @example
|
|
804
699
|
* PayByBandwidth
|
|
@@ -806,7 +701,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
806
701
|
internetChargeType?: string;
|
|
807
702
|
/**
|
|
808
703
|
* @remarks
|
|
809
|
-
* The maximum outbound bandwidth for node public IP
|
|
704
|
+
* The maximum outbound bandwidth for the node public IP address. Unit: Mbps (Mega bit per second). Valid values: [1,100\\].
|
|
810
705
|
*
|
|
811
706
|
* @example
|
|
812
707
|
* 5
|
|
@@ -814,7 +709,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
814
709
|
internetMaxBandwidthOut?: number;
|
|
815
710
|
/**
|
|
816
711
|
* @remarks
|
|
817
|
-
* The key pair name.
|
|
712
|
+
* The key pair name. Specify either this parameter or `login_password`. When the node pool is a managed node pool, only `key_pair` is supported.
|
|
818
713
|
*
|
|
819
714
|
* @example
|
|
820
715
|
* pro-nodepool
|
|
@@ -822,7 +717,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
822
717
|
keyPair?: string;
|
|
823
718
|
/**
|
|
824
719
|
* @remarks
|
|
825
|
-
* The SSH logon password.
|
|
720
|
+
* The SSH logon password. Specify either 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.
|
|
826
721
|
*
|
|
827
722
|
* @example
|
|
828
723
|
* Hello1234
|
|
@@ -832,23 +727,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
832
727
|
* @remarks
|
|
833
728
|
* The multi-zone scaling policy for ECS instances in the scaling group. Valid values:
|
|
834
729
|
*
|
|
835
|
-
* - `PRIORITY`: scales based on the vSwitches (VSwitchIds.N) you defined. When ECS instances cannot be created in the zone of a higher-priority vSwitch, the system automatically uses the next-priority vSwitch to create ECS instances.
|
|
836
|
-
*
|
|
837
|
-
* - `COST_OPTIMIZED`: attempts to create instances in order of vCPU unit price from lowest to highest. When the scaling configuration sets the spot billing method for multiple instance types, spot instances are created first. You can use the `CompensateWithOnDemand` parameter to specify whether to automatically attempt to create pay-as-you-go instances when spot instances cannot be created due to insufficient inventory or other reasons.
|
|
838
|
-
*
|
|
839
|
-
* > `COST_OPTIMIZED` takes effect only when the scaling configuration specifies multiple instance types or uses spot instances.
|
|
840
|
-
*
|
|
841
|
-
* - `BALANCE`: evenly allocates ECS instances across the multiple active zones specified in the scaling group. If zones become unbalanced due to insufficient inventory, you can call the `RebalanceInstances` API operation to rebalance resources. For more information, see [RebalanceInstances](https://help.aliyun.com/document_detail/71516.html).
|
|
842
|
-
*
|
|
843
|
-
* Default value: `PRIORITY`.
|
|
844
|
-
*
|
|
845
730
|
* @example
|
|
846
731
|
* BALANCE
|
|
847
732
|
*/
|
|
848
733
|
multiAzPolicy?: string;
|
|
849
734
|
/**
|
|
850
735
|
* @remarks
|
|
851
|
-
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created
|
|
736
|
+
* The minimum number of pay-as-you-go instances required by the scaling group. Valid values: [0,1000\\]. Pay-as-you-go instances are created with priority when the number of pay-as-you-go instances is less than this value.
|
|
852
737
|
*
|
|
853
738
|
* @example
|
|
854
739
|
* 0
|
|
@@ -856,7 +741,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
856
741
|
onDemandBaseCapacity?: number;
|
|
857
742
|
/**
|
|
858
743
|
* @remarks
|
|
859
|
-
* The percentage of pay-as-you-go instances among instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`). Valid values: [0,100\\].
|
|
744
|
+
* The percentage of pay-as-you-go instances among the instances that exceed the minimum number of pay-as-you-go instances (`on_demand_base_capacity`) in the scaling group. Valid values: [0,100\\].
|
|
860
745
|
*
|
|
861
746
|
* @example
|
|
862
747
|
* 20
|
|
@@ -864,10 +749,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
864
749
|
onDemandPercentageAboveBaseCapacity?: number;
|
|
865
750
|
/**
|
|
866
751
|
* @remarks
|
|
867
|
-
* The subscription duration of nodes in the node pool. This parameter takes effect
|
|
752
|
+
* The subscription duration of nodes in the node pool. This parameter takes effect only when `instance_charge_type` is set to `PrePaid` and is required in this case.
|
|
868
753
|
*
|
|
869
|
-
* - When `period_unit=Week`, valid values of `period`:
|
|
870
|
-
* - When `period_unit=Month`, valid values of `period`:
|
|
754
|
+
* - When `period_unit=Week`, valid values of `period`: 1, 2, 3, and 4.
|
|
755
|
+
* - When `period_unit=Month`, valid values of `period`: 1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 24, 36, 48, and 60.
|
|
871
756
|
*
|
|
872
757
|
* @example
|
|
873
758
|
* 1
|
|
@@ -877,18 +762,13 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
877
762
|
* @remarks
|
|
878
763
|
* The billing cycle of nodes in the node pool. This parameter takes effect and is required only when `instance_charge_type` is set to `PrePaid`.
|
|
879
764
|
*
|
|
880
|
-
* - `Month`: the billing cycle is month.
|
|
881
|
-
* - `Week`: the billing cycle is week.
|
|
882
|
-
*
|
|
883
|
-
* Default value: `Month`.
|
|
884
|
-
*
|
|
885
765
|
* @example
|
|
886
766
|
* Month
|
|
887
767
|
*/
|
|
888
768
|
periodUnit?: string;
|
|
889
769
|
/**
|
|
890
770
|
* @remarks
|
|
891
|
-
* **
|
|
771
|
+
* **[Deprecated]** Use the `image_type` parameter instead.
|
|
892
772
|
*
|
|
893
773
|
* The operating system platform. Valid values:
|
|
894
774
|
*
|
|
@@ -910,23 +790,18 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
910
790
|
privatePoolOptions?: ModifyClusterNodePoolRequestScalingGroupPrivatePoolOptions;
|
|
911
791
|
/**
|
|
912
792
|
* @remarks
|
|
913
|
-
* The list of
|
|
793
|
+
* The list of RDS instances.
|
|
914
794
|
*/
|
|
915
795
|
rdsInstances?: string[];
|
|
916
796
|
/**
|
|
917
797
|
* @remarks
|
|
918
|
-
* The resource
|
|
919
|
-
* This parameter takes effect only when creating pay-as-you-go instances.
|
|
920
|
-
* This parameter cannot be set together with private_pool_options.match_criteria or private_pool_options.id.
|
|
798
|
+
* The resource pools and resource pool policies used when creating instances. After you set this parameter, note the following:
|
|
921
799
|
*/
|
|
922
800
|
resourcePoolOptions?: ModifyClusterNodePoolRequestScalingGroupResourcePoolOptions;
|
|
923
801
|
/**
|
|
924
802
|
* @remarks
|
|
925
803
|
* The scaling group mode. Valid values:
|
|
926
804
|
*
|
|
927
|
-
* - `release`: standard mode. Scales by creating and releasing ECS instances based on resource usage.
|
|
928
|
-
* - `recycle`: rapid mode. Scales by creating, stopping, and starting instances, which improves the speed of subsequent scaling operations (compute resources are not charged during the stopped state, only storage fees are charged, except for local disk instance types).
|
|
929
|
-
*
|
|
930
805
|
* @example
|
|
931
806
|
* release
|
|
932
807
|
*/
|
|
@@ -938,7 +813,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
938
813
|
securityGroupIds?: string[];
|
|
939
814
|
/**
|
|
940
815
|
* @remarks
|
|
941
|
-
* The number of available instance types. The scaling group creates spot instances
|
|
816
|
+
* The number of available instance types. The scaling group creates spot instances in a cost-optimized manner across multiple instance types. Valid values: [1,10\\].
|
|
942
817
|
*
|
|
943
818
|
* @example
|
|
944
819
|
* 5
|
|
@@ -946,10 +821,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
946
821
|
spotInstancePools?: number;
|
|
947
822
|
/**
|
|
948
823
|
* @remarks
|
|
949
|
-
* Specifies whether to enable spot instance supplementation. If enabled, when the
|
|
950
|
-
*
|
|
951
|
-
* - `true`: Enables spot instance supplementation.
|
|
952
|
-
* - `false`: Disables spot instance supplementation.
|
|
824
|
+
* Specifies whether to enable spot instance supplementation. If enabled, when the scaling group receives a system message that a spot instance will be reclaimed, it attempts to create a new instance to replace the spot instance that is about to be reclaimed. Valid values:
|
|
953
825
|
*
|
|
954
826
|
* @example
|
|
955
827
|
* false
|
|
@@ -957,18 +829,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
957
829
|
spotInstanceRemedy?: boolean;
|
|
958
830
|
/**
|
|
959
831
|
* @remarks
|
|
960
|
-
* The price limit
|
|
832
|
+
* The price limit configurations for spot instances.
|
|
961
833
|
*/
|
|
962
834
|
spotPriceLimit?: ModifyClusterNodePoolRequestScalingGroupSpotPriceLimit[];
|
|
963
835
|
/**
|
|
964
836
|
* @remarks
|
|
965
|
-
* The spot instance
|
|
966
|
-
*
|
|
967
|
-
* - `NoSpot`: non-spot instance.
|
|
968
|
-
* - `SpotWithPriceLimit`: sets a maximum price for spot instances.
|
|
969
|
-
* - `SpotAsPriceGo`: the system automatically bids at the current market price.
|
|
970
|
-
*
|
|
971
|
-
* For more information, see [Spot instances](https://help.aliyun.com/document_detail/157759.html).
|
|
837
|
+
* The type of spot instance. Valid values:
|
|
972
838
|
*
|
|
973
839
|
* @example
|
|
974
840
|
* SpotWithPriceLimit
|
|
@@ -976,11 +842,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
976
842
|
spotStrategy?: string;
|
|
977
843
|
/**
|
|
978
844
|
* @remarks
|
|
979
|
-
* Specifies whether to enable burst (performance burst) for the node system cloud disk. Valid values:
|
|
980
|
-
* - true: enables burst. When enabled, the cloud disk temporarily improves performance during sudden data read/write pressure from fluctuating workloads until the workload returns to a steady state.
|
|
981
|
-
* - false: disables burst.
|
|
982
|
-
*
|
|
983
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
845
|
+
* Specifies whether to enable burst (I/O performance burst) for the node system cloud disk. Valid values:
|
|
984
846
|
*
|
|
985
847
|
* @example
|
|
986
848
|
* true
|
|
@@ -988,17 +850,17 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
988
850
|
systemDiskBurstingEnabled?: boolean;
|
|
989
851
|
/**
|
|
990
852
|
* @remarks
|
|
991
|
-
*
|
|
853
|
+
* The multiple cloud disk types for the system cloud disk. If a cloud disk type with a higher priority is unavailable, the system automatically attempts the next priority cloud disk type to create the system cloud disk.
|
|
992
854
|
*/
|
|
993
855
|
systemDiskCategories?: string[];
|
|
994
856
|
/**
|
|
995
857
|
* @remarks
|
|
996
|
-
* The type of the
|
|
858
|
+
* The type of the system cloud disk for nodes. Valid values:
|
|
997
859
|
* - `cloud_efficiency`: ultra cloud disk.
|
|
998
860
|
* - `cloud_ssd`: standard SSD.
|
|
999
861
|
* - `cloud_essd`: ESSD.
|
|
1000
862
|
* - `cloud_auto`: ESSD AutoPL cloud disk.
|
|
1001
|
-
* - `cloud_essd_entry`: ESSD Entry
|
|
863
|
+
* - `cloud_essd_entry`: ESSD Entry disk.
|
|
1002
864
|
*
|
|
1003
865
|
* Default value: `cloud_efficiency`.
|
|
1004
866
|
*
|
|
@@ -1018,10 +880,6 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1018
880
|
* @remarks
|
|
1019
881
|
* Specifies whether to encrypt the system cloud disk. Valid values:
|
|
1020
882
|
*
|
|
1021
|
-
* - true: encrypts the system cloud disk.
|
|
1022
|
-
*
|
|
1023
|
-
* - false: does not encrypt the system cloud disk.
|
|
1024
|
-
*
|
|
1025
883
|
* @example
|
|
1026
884
|
* false
|
|
1027
885
|
*/
|
|
@@ -1037,10 +895,6 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1037
895
|
/**
|
|
1038
896
|
* @remarks
|
|
1039
897
|
* The performance level of the node system cloud disk. This parameter takes effect only for ESSD cloud disks. The performance level is related to the cloud disk size. For more information, see [ESSD cloud disks](https://help.aliyun.com/document_detail/122389.html).
|
|
1040
|
-
* - PL0: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1041
|
-
* - PL1: moderate maximum concurrent I/O performance with relatively stable read/write latency.
|
|
1042
|
-
* - PL2: high maximum concurrent I/O performance with stable read/write latency.
|
|
1043
|
-
* - PL3: ultra-high maximum concurrent I/O performance with extremely stable read/write latency.
|
|
1044
898
|
*
|
|
1045
899
|
* @example
|
|
1046
900
|
* PL1
|
|
@@ -1048,11 +902,7 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1048
902
|
systemDiskPerformanceLevel?: string;
|
|
1049
903
|
/**
|
|
1050
904
|
* @remarks
|
|
1051
|
-
* The provisioned read/write IOPS
|
|
1052
|
-
*
|
|
1053
|
-
* Valid values: 0~min{50,000, 1000\\*capacity-baseline performance}. Baseline performance=min{1,800+50\\*capacity, 50000}.
|
|
1054
|
-
*
|
|
1055
|
-
* This parameter is supported only when `system_disk_category` is set to `cloud_auto`. For more information, see [ESSD AutoPL cloud disks](https://help.aliyun.com/document_detail/368372.html).
|
|
905
|
+
* The provisioned read/write IOPS for the node system cloud disk.
|
|
1056
906
|
*
|
|
1057
907
|
* @example
|
|
1058
908
|
* 1000
|
|
@@ -1062,12 +912,6 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1062
912
|
* @remarks
|
|
1063
913
|
* The size of the node system cloud disk. Unit: GiB.
|
|
1064
914
|
*
|
|
1065
|
-
* Valid values: [20,2048\\].
|
|
1066
|
-
*
|
|
1067
|
-
* The value must be greater than or equal to max{20, ImageSize}.
|
|
1068
|
-
*
|
|
1069
|
-
* Default value: max{40, image size corresponding to the ImageId parameter}.
|
|
1070
|
-
*
|
|
1071
915
|
* @example
|
|
1072
916
|
* 120
|
|
1073
917
|
*/
|
|
@@ -1082,14 +926,12 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1082
926
|
systemDiskSnapshotPolicyId?: string;
|
|
1083
927
|
/**
|
|
1084
928
|
* @remarks
|
|
1085
|
-
*
|
|
1086
|
-
*
|
|
1087
|
-
* Tag keys cannot be duplicated and can be up to 128 characters in length. Tag keys and tag values cannot start with "aliyun" or "acs:", or contain "https://" or "http://".
|
|
929
|
+
* Adds tags only to ECS instances.
|
|
1088
930
|
*/
|
|
1089
931
|
tags?: Tag[];
|
|
1090
932
|
/**
|
|
1091
933
|
* @remarks
|
|
1092
|
-
* The list of vSwitch IDs. Valid values:
|
|
934
|
+
* The list of vSwitch IDs. Valid values: 1 to 8.
|
|
1093
935
|
*
|
|
1094
936
|
* > To ensure high availability, select vSwitches in different zones.
|
|
1095
937
|
*/
|
|
@@ -1108,10 +950,10 @@ export declare class ModifyClusterNodePoolRequestScalingGroup extends $dara.Mode
|
|
|
1108
950
|
export declare class ModifyClusterNodePoolRequestTeeConfig extends $dara.Model {
|
|
1109
951
|
/**
|
|
1110
952
|
* @remarks
|
|
1111
|
-
* Specifies whether to enable confidential computing
|
|
953
|
+
* Specifies whether to enable the confidential computing cluster. Valid values:
|
|
1112
954
|
*
|
|
1113
955
|
* - `true`: Enabled.
|
|
1114
|
-
* - `false`:
|
|
956
|
+
* - `false`: Not enabled.
|
|
1115
957
|
*
|
|
1116
958
|
* Default value: `false`.
|
|
1117
959
|
*
|
|
@@ -1176,7 +1018,7 @@ export declare class ModifyClusterNodePoolRequest extends $dara.Model {
|
|
|
1176
1018
|
teeConfig?: ModifyClusterNodePoolRequestTeeConfig;
|
|
1177
1019
|
/**
|
|
1178
1020
|
* @remarks
|
|
1179
|
-
*
|
|
1021
|
+
* Specifies whether to synchronously update node labels and taints.
|
|
1180
1022
|
*
|
|
1181
1023
|
* @example
|
|
1182
1024
|
* true
|