Deploy a project to the Kubernetes cluster
Deploys a project to the Kubernetes cluster. An ESP server is created on demand in the Kubernetes cluster. Returns information about the job that processes the request.
1{2 "archived": false,3 "failedTasks": [],4 "id": "088e6ef9-5a1f-4af0-b065-50de6033b558",5 "startDt": {6 "date": "2023-01-31",7 "time": "14:39",8 "timestamp": 16751759425169 },10 "startTime": 1675175942516,11 "startedBy": "user1",12 "status": "STARTED",13 "statusMessage": "Running"14}
The clusterConfiguration property is optional when deploying to a deployment of type cluster. If the projectVersion property is not supplied, then the latest version of the project is used.
| Name | Type | Required | Description |
|---|---|---|---|
clusterConfiguration | clusterProjectServerRepresentation | false | The configuration settings for running the project in a Kubernetes cluster. A representation of the limits for the associated ESP server that runs in the Kubernetes cluster. |
projectName | string | true | |
projectVersion | integer | false |
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 201 | Created | The request succeeded. | Headers | Schema |
| 400 | Bad Request | The request was invalid. Additional information is available in the application logs if the environment variable | Schema | |
| 404 | Not Found | No resource exists at the requested path. | Schema |