v1

latestOpenAPI 3.0.12026-07-14818567.3 KB
deployment

Update the deployment.

Update the deployment.

put/users/{login_name}/clusters/{cluster_id}/deployments/{name}

Path parameters

login_namestring required

login name

namestring required

deployment name

cluster_idstring required

cluster id

Request body

commandstring

Command is the command to run.

env_varsobject

EnvVars is the environment variables of the deployment.

http_probe_pathstring

HTTPProbePath is the user defined path of the http probe.

max_replicasinteger

MaxReplicas is the maximum number of replicas of the deployment.

min_replicasinteger

MinReplicas is the minimum number of replicas of the deployment.

portinteger

Port is the port of the deployment.

secretstring[]

Secret is the secret of the deployment.

startup_durationinteger

StartupDuration is the startup timeout.

target_loadinteger

TargetLoad is the target load of the deployment. (inflight requests per replica)

zero_durationinteger

ZeroDuration is the idle timeout before scaling to zero.

Response

OK