Overriding the job-level instance type using the CLI [Technical Preview]
Spot instance settings are the default settings at Virtual Cluster (VC) level, however, to enhance flexibility, you can overwrite the defaults on a per-job basis.
This feature is applicable only if the VC-level instance type is a spot instance. This feature is not applicable if the VC-level instance type is on-demand. In such a case, setting the compute configuration at the job level results in an error.
To set the job level instance type override, you must configure the following CLIs:
- CDP CLI Beta
- To install the CDP CLI Beta version, see Installing Beta CDP CLI.
- To configure the CDP CLI client, see CLI client setup.
- CDE CLI
- To configure the CDE CLI client, see Configuring the CLI client.
You need the following variables for the commands:
- CLUSTER-ID
- To obtain the cluster ID:
- Log in to the Cloudera Data Engineering UI and navigate to Administration in the left-navigation menu.
- Select the respective service.
- Click on the Service Details icon, and copy the CLUSTER ID.
- VC-ID
- To obtain the VC ID:
- Log in to the Cloudera Data Engineering UI and navigate to Administration in the left-navigation menu.
- Select the respective service and then the respective VC.
- Click on the Virtual Cluster Details icon, and copy the VC-ID.
