In our example we are going to use manual headroom in order to demostrate the value of having headroom capacity.
By default while creating an Ocean cluster, automatic headroom is enabled while manual headroom is not.
Specifically for AKS users both automatic and manual headroom are enabled by default
Enable automatic headroom by following one of the two sections based on your preference
Allow both automatic and manual headroom by enabling the enableAutomaticAndManualHeadroom
configuration (recommended)
This process will soon be available through the Spot Console.
Enter your Ocean cluster, click on the Actions button on the top right and choose Edit Cluster
On the screen on the top bar select the Review tab
Switch to JSON view on the top right
Enter edit mode
Search for the autoScaler
section and make sure the following exists if not, add them (no need to modify anything else) and click Update
{
"autoScaler": {
"isAutoConfig": true,
"enableAutomaticAndManualHeadroom": true
}
}
Disable automatic headroom
Enter your Ocean cluster, click on the Actions button on the top right and choose Edit Cluster
On the screen on the top bar select the Review tab
Switch to JSON view on the top right
Enter edit mode
Search for the autoScaler
section and make sure the isAutoConfig
property is set to false
, if enableAutomaticAndManualHeadroom
is defined, set it to false
as well and click the Update button
{
"autoScaler": {
"isAutoConfig": false,
"enableAutomaticAndManualHeadroom": false
}
}