Create an EMR On VKE cluster
Call CreateVirtualCluster to create an EMR On VKE virtual cluster.
You must already have a Volcano Engine account and have enabled EMR permissions.
Request method: POST
Request URL: https://open.volcengineapi.com/?Version=2023-12-30&Action=CreateVirtualCluster
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 | Description |
|---|---|---|---|---|
Action | String | Yes | CreateVirtualCluster | The operation to perform. Value: CreateVirtualCluster |
Version | String | Yes | 2023-12-30 | API version. Value: 2023-12-30 |
ClusterName | String | Yes | cluster1 | Cluster name |
Applications | ApplicationVKE | No | [] | Application list |
ReleaseVersion | String | Yes | EMR-VKE-1.2.0 | Release version |
VkeCluster | VkeCluster | Yes | {} | VKE cluster information |
ProjectName | String | No | default | Volcano Engine project name |
ClientToken | String | No | xxx | Idempotency token |
The following table lists only the response parameters specific to this API. For more information, see response structure
Parameter | Type | Example | Description |
|---|---|---|---|
ClusterId | String | emr-xxx | Cluster ID |
OperationId | String | op-xxx | Operation record ID |
{ "ProjectName": "default", "ReleaseVersion": "EMR-VKE-1.0.0", "ClusterName": "xxx", "VkeCluster": { "VkeClusterId": "xxx", "VkeNodePoolIds": [ "xxx" ] }, "Applications": [ { "ApplicationName": "Ray", "ApplicationConfigs": [ ] } ] }
{ "ResponseMetadata": { "RequestId": "", "Action": "CreateVirtualCluster", "Error": null, "Region": "cn-beijing", "Service": "emr", "Version": "2023-12-30" }, "Result": { "ClusterId": "emr-xxx", "OperationId": "op-xxx" }
You can visit common error codes for more information about error codes.