POST - /kubernetes/item/deploy/soajs/conjob
Description
This API deploys an item from the catalog using soajs recipe of type cronjob.
Input
Type: application/json
Param | Source | Type | Required | Description |
---|---|---|---|---|
configuration | body | object | Yes | Â |
recipe | body | object | Yes | Â |
catalog | body.recipe | object | Yes | Â |
id | body.recipe.catalog | string | Yes | Â |
version | body.recipe.catalog | string | Yes | Â |
shell | body.recipe.catalog | string | Yes | Â |
schedule | body.recipe.catalog | string | yes | Â |
concurrencyPolicy | body.recipe.catalog | string | yes | Â |
restartPolicy | body.recipe.catalog | enum | yes |
|
item | body.recipe | object | Yes | Â |
env | body.recipe.item | string | Yes | Â |
name | body.recipe.item | string | Yes | Â |
group | body.recipe.item | string | Yes | Â |
type | body.recipe.item | string | Yes | Â |
subtype | body.recipe.item | string | no | Â |
version | body.recipe.item | string | Yes | Â |
src | body.recipe | object | no | Â |
from | body.recipe.src | object | yes | Â |
repo | body.recipe.src | string | yes | Â |
owner | body.recipe.src | string | yes | Â |
mode | body.recipe | enum | yes | only |
labels | body.recipe | object | no | object of key and value for labels |
image | body.recipe | object | yes | Â |
name | body.recipe.image | string | yes | Â |
imagePullPolicy | body.recipe.image | string | yes | Â |
secret | body.recipe.image | string | no | Â |
ports | body.recipe | array of objects | no | Â |
name | body.recipe.ports | string | yes | Â |
containerPort | body.recipe.ports | integer | yes | Â |
workingDir | body.recipe | string | no | Â |
command | body.recipe | array | no | Â |
args | body.recipe | array | no | Â |
readinessProbe | body.recipe | object | yes | Â |
livenessProbe | body.recipe | object | no | Â |
env | body.recipe | array | no | Â |
items | body.recipe.env | object | no | Â |
volume | body.recipe | object | no | Â |
volumeMounts | body.recipe.volume | array of objects | no | Â |
volumes | body.recipe.volume | array of objects | no | Â |
replicas | body.recipe | integer | no | Â |
revisionHistoryLimit | body.recipe | integer | no | Â |
service | body.recipe | object | no | Â |
ports | body.recipe.service | array of objects | Yes | Â |
items | body.recipe.service.ports | object | yes | Â |
name | body.recipe.service.ports.items | string | yes | Â |
port | body.recipe.service.ports.items | integer | yes | Â |
type | body.recipe.service | string | Yes | Â |
externalTrafficPolicy | body.recipe.service | string | Yes | Â |
body.recipe.src.from
Conditional require, with one of the following:
["tag"]
["branch", "commit"]
Param | Source | Type | Required | Description |
---|---|---|---|---|
tag | body.recipe.src.from | string | Yes conditional | Â |
branch | body.recipe.src.from | string | Yes conditional | Â |
commit | body.recipe.src.from | string | Yes conditional | Â |
body.recipe.env.items
Conditional require, with one of the following:
["name", "valueFrom"]
["name", "value"]
Param | Source | Type | Required | Description |
---|---|---|---|---|
name | body.config.src.env | string | Yes conditional | Â |
value | body.config.src.env | string | Yes conditional | Â |
valueFrom | body.config.src.env | object | Yes conditional | Â |
secretKeyRef | body.config.src.env.valueFrom | object | yes | Â |
name | body.config.src.env.valueFrom.secretKeyRef | string | yes | Â |
key | body.config.src.env.valueFrom.secretKeyRef | string | yes | Â |
Â
Â