@@ -149,3 +149,103 @@ properties:
149
149
If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
150
150
Once the customer is created then corecount cannot be changed.
151
151
default_value : 0
152
+ - name : ' autoscalingSettings'
153
+ type : NestedObject
154
+ description : |
155
+ Configuration of the autoscaling applied to this cluster
156
+ properties :
157
+ - name : ' autoscalingPolicies'
158
+ type : Map
159
+ required : true
160
+ description : |
161
+ The map with autoscaling policies applied to the cluster.
162
+ The key is the identifier of the policy.
163
+ It must meet the following requirements:
164
+ * Only contains 1-63 alphanumeric characters and hyphens
165
+ * Begins with an alphabetical character
166
+ * Ends with a non-hyphen character
167
+ * Not formatted as a UUID
168
+ * Complies with [RFC 1034](https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
169
+
170
+ Currently the map must contain only one element
171
+ that describes the autoscaling policy for compute nodes.
172
+ key_name : ' autoscale_policy_id'
173
+ key_description : ' The key is the identifier of the policy.'
174
+ value_type :
175
+ name : AutoscalingPolicy
176
+ type : NestedObject
177
+ properties :
178
+ - name : ' nodeTypeId'
179
+ type : String
180
+ required : true
181
+ description : |
182
+ The canonical identifier of the node type to add or remove.
183
+ - name : ' scaleOutSize'
184
+ type : Integer
185
+ required : true
186
+ description : |
187
+ Number of nodes to add to a cluster during a scale-out operation.
188
+ Must be divisible by 2 for stretched clusters.
189
+ - name : ' cpuThresholds'
190
+ type : NestedObject
191
+ description : |
192
+ Utilization thresholds pertaining to CPU utilization.
193
+ properties :
194
+ - name : ' scaleOut'
195
+ type : Integer
196
+ required : true
197
+ description : |
198
+ The utilization triggering the scale-out operation in percent.
199
+ - name : ' scaleIn'
200
+ type : Integer
201
+ required : true
202
+ description : |
203
+ The utilization triggering the scale-in operation in percent.
204
+ - name : ' consumedMemoryThresholds'
205
+ type : NestedObject
206
+ description : |
207
+ Utilization thresholds pertaining to amount of consumed memory.
208
+ properties :
209
+ - name : ' scaleOut'
210
+ type : Integer
211
+ required : true
212
+ description : |
213
+ The utilization triggering the scale-out operation in percent.
214
+ - name : ' scaleIn'
215
+ type : Integer
216
+ required : true
217
+ description : |
218
+ The utilization triggering the scale-in operation in percent.
219
+ - name : ' storageThresholds'
220
+ type : NestedObject
221
+ description : |
222
+ Utilization thresholds pertaining to amount of consumed storage.
223
+ properties :
224
+ - name : ' scaleOut'
225
+ type : Integer
226
+ required : true
227
+ description : |
228
+ The utilization triggering the scale-out operation in percent.
229
+ - name : ' scaleIn'
230
+ type : Integer
231
+ required : true
232
+ description : |
233
+ The utilization triggering the scale-in operation in percent.
234
+ - name : ' minClusterNodeCount'
235
+ type : Integer
236
+ description : |
237
+ Minimum number of nodes of any type in a cluster.
238
+ Mandatory for successful addition of autoscaling settings in cluster.
239
+ - name : ' maxClusterNodeCount'
240
+ type : Integer
241
+ description : |
242
+ Maximum number of nodes of any type in a cluster.
243
+ Mandatory for successful addition of autoscaling settings in cluster.
244
+ - name : ' coolDownPeriod'
245
+ type : String
246
+ description : |
247
+ The minimum duration between consecutive autoscale operations.
248
+ It starts once addition or removal of nodes is fully completed.
249
+ Minimum cool down period is 30m.
250
+ Cool down period must be in whole minutes (for example, 30m, 31m, 50m).
251
+ Mandatory for successful addition of autoscaling settings in cluster.
0 commit comments