Rack parameters are configuration settings that control various aspects of your Convox rack. These parameters allow you to customize and optimize the behavior of your applications and services running on the rack.
When installing a new rack through the Convox Console, you can configure parameters at installation time. This allows you to customize your rack configuration from the start, rather than modifying parameters after installation.
During rack installation, you can set any available parameters directly in the install modal. Parameters not explicitly set will use their default values.
The Convox Console provides pre-created parameter templates to help you quickly configure racks for common use cases:
You can upload a JSON file containing your desired parameter configurations. This feature allows you to:
Here’s an example JSON parameter file:
{
"node_type": "t3.medium",
"node_capacity_type": "on_demand",
"build_node_enabled": "true",
"build_node_type": "t3.large",
"high_availability": "true",
"node_disk": "20",
"min_on_demand_count": "2",
"max_on_demand_count": "10",
"proxy_protocol": "true",
"efs_csi_driver_enable": "true"
}
This example configuration:
t3.medium
instances for regular nodes with on-demand capacityt3.large
instancesNote: You only need to include parameters you want to change from their defaults. Any parameters not specified in your JSON file will use their default values.
To view the current rack parameters, use the following command:
$ convox rack params -r rackName
This command displays the current values of all rack parameters for the specified rack.
To set a rack parameter, use the following command:
$ convox rack params set parameterName=value -r rackName
Setting parameters... OK
This command sets the specified parameter to the given value.
Select your cloud provider to view the available parameters and their configurations.