Deploy one or more applications
Call DeployApplications to deploy applications, such as Spark, on an EMR on VKE virtual cluster.
You must have a Volcano Engine account and have enabled EMR permissions.
Request method: POST
Request URL: https://open.volcengineapi.com/?Version=2023-12-30&Action=DeployApplications
The following table lists only the request parameters specific to this API and some common parameters. For more information, see common parameters.
Parameter | Type | Required | Example value | Description |
|---|---|---|---|---|
Action | String | Yes | DeployApplications | The operation to be performed. Value: DeployApplications. |
Version | String | Yes | 2023-12-30 | API version. Value: 2023-12-30. |
ClusterId | String | Yes | emr-xxx | Cluster ID |
Applications | Object | No | [] | Application list |
The following table lists only the response parameters specific to this API. For more information, see response structure.
Parameter | Type | Example value | Description |
|---|---|---|---|
ClusterId | String | emr-xxx | Cluster ID |
OperationId | String | op-xxx | Operation ID |
{ "ClusterId": "emr-xxx", "Applications": [ { "ApplicationName": "Spark", "ApplicationConfigs": [ { "ConfigFileName": "spark-operator-values.yaml", "ConfigItemKey": "cpu_requirements", "ConfigItemValue": "2" }, { "ConfigFileName": "__envs__", "ConfigItemKey": "event_log_dir", "ConfigItemValue": "tos://abc//" }, { "ConfigFileName": "__envs__", "ConfigItemKey": "ve_access_key", "ConfigItemValue": "xxx" }, { "ConfigFileName": "__envs__", "ConfigItemKey": "ve_secret_key", "ConfigItemValue": "xxx" } ] } ] }
{ "ClusterId": "emr-xxx", "OperationId": "op-xxx" }
The following table lists the error codes related to the business logic of this API. For common error codes, see the common error codes documentation.
Status code | Error code | Note |
|---|---|---|
400 | InvalidParameter |