Deploy a project to the Kubernetes cluster

post/deployments/{deploymentName}/clusterServers

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.

Request Samples

1

Response Samples

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": 1675175942516
9 },
10 "startTime": 1675175942516,
11 "startedBy": "user1",
12 "status": "STARTED",
13 "statusMessage": "Running"
14}

Path Parameters

NameTypeRequiredDescription
deploymentName
string
true

The name of the deployment.

Request Body

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.

NameTypeRequiredDescription
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

Responses

StatusMeaningDescription
201Created

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid. Additional information is available in the application logs if the environment variable LOGGING_LEVEL_ORG_SPRINGFRAMEWORK is set to DEBUG.

Schema
404Not Found

No resource exists at the requested path.

Schema