For the complete documentation index, see llms.txt. This page is also available as Markdown.

Deployments

deployment related operations

Deprecated

List deployments

get
Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
uuidstring · uuidRequired

Unique identifier of the cluster

Responses
200

Expected response to a valid request

application/json
clusterUuidstring · uuidRequired
idstring · uuidRequired
namestringRequired
namespacestringRequired
projectstringOptional
createdAtstring · date-timeOptional
replicasinteger · int32Required
schedulerNamestringRequired
usernamestringOptional
connectionsstring[]Required
serviceIdstring · uuidOptional
revisionIdstring · uuidOptional
inferenceworkloadNamestringOptional
nodePoolstringOptional
get/v1/k8s/clusters/{uuid}/deployments
GET /v1/k8s/clusters/{uuid}/deployments HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[]
Deprecated

Get a deployment by id

get
Authorizations
AuthorizationstringRequired

Bearer authentication

Path parameters
uuidstring · uuidRequired

Unique identifier of the cluster

deploymentIdstringRequired

the unique Id of the deployment (UUID)

Responses
200

A deployment

application/json
clusterUuidstring · uuidRequired
idstring · uuidRequired
namestringRequired
namespacestringRequired
projectstringOptional
createdAtstring · date-timeOptional
replicasinteger · int32Required
schedulerNamestringRequired
usernamestringOptional
connectionsstring[]Required
serviceIdstring · uuidOptional
revisionIdstring · uuidOptional
inferenceworkloadNamestringOptional
nodePoolstringOptional
get/v1/k8s/clusters/{uuid}/deployments/{deploymentId}
GET /v1/k8s/clusters/{uuid}/deployments/{deploymentId} HTTP/1.1
Host: app.run.ai
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "clusterUuid": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
  "template": {
    "containers": [
      {
        "image": "image",
        "name": "name"
      }
    ]
  },
  "createdAt": "2022-02-01T16:21:16Z",
  "replicas": 6,
  "name": "name",
  "namespace": "namespace",
  "owners": [
    {
      "kind": "kind",
      "name": "name",
      "id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
    },
    {
      "kind": "kind",
      "name": "name",
      "id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91"
    }
  ],
  "id": "046b6c7f-0b8a-43b9-b35d-6489e6daee91",
  "schedulerName": "runai-scheduler",
  "conditions": [
    {
      "type": "Available",
      "status": true,
      "reason": "MinimumReplicasAvailable"
    },
    {
      "type": "Progressing",
      "status": true,
      "reason": "NewReplicaSetAvailable"
    }
  ]
}

Last updated