https://github.com/kitproj/kit/internal/types/workflow| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Access Restrictions | Defined In |
|---|---|---|---|---|---|---|---|
| Can be instantiated | No | Unknown status | Unknown identifiability | Forbidden | Allowed | none | workflow.schema.json |
unknown
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Duration"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| Duration | object |
Required | cannot be null | Untitled schema |
Duration
-
is required
-
Type:
object(Duration) -
cannot be null
-
defined in: Untitled schema
object (Duration)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/EnvVars"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
.* |
string |
Optional | cannot be null | Untitled schema |
.*
-
is optional
-
Type:
string -
cannot be null
-
defined in: Untitled schema
string
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Envfile"}| Property | Type | Required | Nullable | Defined by |
|---|
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/HTTPGetAction"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| scheme | string |
Optional | cannot be null | Untitled schema |
| port | integer |
Optional | cannot be null | Untitled schema |
| path | string |
Optional | cannot be null | Untitled schema |
Scheme to use for connecting to the host. Defaults to HTTP.
scheme
-
is optional
-
Type:
string(scheme) -
cannot be null
-
defined in: Untitled schema
string (scheme)
Number of the port
port
-
is optional
-
Type:
integer(port) -
cannot be null
-
defined in: Untitled schema
integer (port)
Path to access on the HTTP server.
path
-
is optional
-
Type:
string(path) -
cannot be null
-
defined in: Untitled schema
string (path)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/HostPath"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| path | string |
Required | cannot be null | Untitled schema |
Path of the directory on the host.
path
-
is required
-
Type:
string(path) -
cannot be null
-
defined in: Untitled schema
string (path)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Port"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| containerPort | integer |
Optional | cannot be null | Untitled schema |
| hostPort | integer |
Optional | cannot be null | Untitled schema |
The container port to expose
containerPort
-
is optional
-
Type:
integer(containerPort) -
cannot be null
-
defined in: Untitled schema
integer (containerPort)
The host port to route to the container port
hostPort
-
is optional
-
Type:
integer(hostPort) -
cannot be null
-
defined in: Untitled schema
integer (hostPort)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Ports"}| Property | Type | Required | Nullable | Defined by |
|---|
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Probe"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| tcpSocket | object |
Optional | cannot be null | Untitled schema |
| httpGet | object |
Optional | cannot be null | Untitled schema |
| initialDelaySeconds | integer |
Optional | cannot be null | Untitled schema |
| periodSeconds | integer |
Optional | cannot be null | Untitled schema |
| successThreshold | integer |
Optional | cannot be null | Untitled schema |
| failureThreshold | integer |
Optional | cannot be null | Untitled schema |
TCPSocketAction describes an action based on opening a socket
tcpSocket
-
is optional
-
Type:
object(TCPSocketAction) -
cannot be null
-
defined in: Untitled schema
object (TCPSocketAction)
HTTPGetAction describes an action based on HTTP Locks requests.
httpGet
-
is optional
-
Type:
object(HTTPGetAction) -
cannot be null
-
defined in: Untitled schema
object (HTTPGetAction)
Number of seconds after the process has started before the probe is initiated.
initialDelaySeconds
-
is optional
-
Type:
integer(initialDelaySeconds) -
cannot be null
-
defined in: Untitled schema
integer (initialDelaySeconds)
How often (in seconds) to perform the probe.
periodSeconds
-
is optional
-
Type:
integer(periodSeconds) -
cannot be null
-
defined in: Untitled schema
integer (periodSeconds)
Minimum consecutive successes for the probe to be considered successful after having failed.
successThreshold
-
is optional
-
Type:
integer(successThreshold) -
cannot be null
-
defined in: Untitled schema
integer (successThreshold)
Minimum consecutive failures for the probe to be considered failed after having succeeded.
failureThreshold
-
is optional
-
Type:
integer(failureThreshold) -
cannot be null
-
defined in: Untitled schema
integer (failureThreshold)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Strings"}| Property | Type | Required | Nullable | Defined by |
|---|
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/TCPSocketAction"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| port | integer |
Required | cannot be null | Untitled schema |
Port number of the port to probe.
port
-
is required
-
Type:
integer(port) -
cannot be null
-
defined in: Untitled schema
integer (port)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Task"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| type | string |
Optional | cannot be null | Untitled schema |
| log | string |
Optional | cannot be null | Untitled schema |
| image | string |
Optional | cannot be null | Untitled schema |
| imagePullPolicy | string |
Optional | cannot be null | Untitled schema |
| livenessProbe | object |
Optional | cannot be null | Untitled schema |
| readinessProbe | object |
Optional | cannot be null | Untitled schema |
| command | array |
Optional | cannot be null | Untitled schema |
| args | array |
Optional | cannot be null | Untitled schema |
| sh | string |
Optional | cannot be null | Untitled schema |
| manifests | array |
Optional | cannot be null | Untitled schema |
| namespace | string |
Optional | cannot be null | Untitled schema |
| workingDir | string |
Optional | cannot be null | Untitled schema |
| user | string |
Optional | cannot be null | Untitled schema |
| env | object |
Optional | cannot be null | Untitled schema |
| envfile | array |
Optional | cannot be null | Untitled schema |
| ports | array |
Optional | cannot be null | Untitled schema |
| volumeMounts | array |
Optional | cannot be null | Untitled schema |
| tty | boolean |
Optional | cannot be null | Untitled schema |
| watch | array |
Optional | cannot be null | Untitled schema |
| mutex | string |
Optional | cannot be null | Untitled schema |
| semaphore | string |
Optional | cannot be null | Untitled schema |
| dependencies | array |
Optional | cannot be null | Untitled schema |
| targets | array |
Optional | cannot be null | Untitled schema |
| restartPolicy | string |
Optional | cannot be null | Untitled schema |
| stalledTimeout | object |
Optional | cannot be null | Untitled schema |
| group | string |
Optional | cannot be null | Untitled schema |
| default | boolean |
Optional | cannot be null | Untitled schema |
Type is the type of the task: "service" or "job". If omitted, if there are ports, it's a service, otherwise it's a job. This is only needed when you have service that does not listen on ports. Services are running in the background.
type
-
is optional
-
Type:
string(type) -
cannot be null
-
defined in: Untitled schema
string (type)
Where to log the output of the task. E.g. if the task is verbose. Defaults to /dev/stdout. Maybe a file, or /dev/null.
log
-
is optional
-
Type:
string(log) -
cannot be null
-
defined in: Untitled schema
string (log)
Either the container image to run, or a directory containing a Dockerfile. If omitted, the process runs on the host.
image
-
is optional
-
Type:
string(image) -
cannot be null
-
defined in: Untitled schema
string (image)
Pull policy, e.g. Always, Never, IfNotPresent
imagePullPolicy
-
is optional
-
Type:
string(imagePullPolicy) -
cannot be null
-
defined in: Untitled schema
string (imagePullPolicy)
A probe to check if the task is alive, it will be restarted if not.
livenessProbe
-
is optional
-
Type:
object(Probe) -
cannot be null
-
defined in: Untitled schema
object (Probe)
A probe to check if the task is alive, it will be restarted if not.
readinessProbe
-
is optional
-
Type:
object(Probe) -
cannot be null
-
defined in: Untitled schema
object (Probe)
The command to run in the container or on the host. If both the image and the command are omitted, this is a noop.
command
-
is optional
-
Type:
string[] -
cannot be null
-
defined in: Untitled schema
string[]
The arguments to pass to the command
args
-
is optional
-
Type:
string[] -
cannot be null
-
defined in: Untitled schema
string[]
The shell script to run, instead of the command
sh
-
is optional
-
Type:
string(sh) -
cannot be null
-
defined in: Untitled schema
string (sh)
A directories or files of Kubernetes manifests to apply. Once running the task will wait for the resources to be ready.
manifests
-
is optional
-
Type:
string[] -
cannot be null
-
defined in: Untitled schema
string[]
The namespace to run the Kubernetes resource in. Defaults to the namespace of the current Kubernetes context.
namespace
-
is optional
-
Type:
string(namespace) -
cannot be null
-
defined in: Untitled schema
string (namespace)
The working directory in the container or on the host
workingDir
-
is optional
-
Type:
string(workingDir) -
cannot be null
-
defined in: Untitled schema
string (workingDir)
The user to run the task as.
user
-
is optional
-
Type:
string(user) -
cannot be null
-
defined in: Untitled schema
string (user)
A list of environment variables.
env
-
is optional
-
Type:
object(EnvVars) -
cannot be null
-
defined in: Untitled schema
object (EnvVars)
Environment file (e.g. .env) to use
envfile
-
is optional
-
Type:
string[] -
cannot be null
-
defined in: Untitled schema
string[]
A list of ports to expose.
ports
-
is optional
-
Type:
object[](Port) -
cannot be null
-
defined in: Untitled schema
object[] (Port)
Volumes to mount in the container
volumeMounts
-
is optional
-
Type:
object[](VolumeMount) -
cannot be null
-
defined in: Untitled schema
object[] (VolumeMount)
Use a pseudo-TTY
tty
-
is optional
-
Type:
boolean(tty) -
cannot be null
-
defined in: Untitled schema
boolean (tty)
A list of files to watch for changes, and restart the task if they change
watch
-
is optional
-
Type:
string[] -
cannot be null
-
defined in: Untitled schema
string[]
A mutex to prevent multiple tasks with the same mutex from running at the same time
mutex
-
is optional
-
Type:
string(mutex) -
cannot be null
-
defined in: Untitled schema
string (mutex)
A semaphore to limit the number of tasks with the same semaphore that can run at the same time
semaphore
-
is optional
-
Type:
string(semaphore) -
cannot be null
-
defined in: Untitled schema
string (semaphore)
A list of tasks to run before this task
dependencies
-
is optional
-
Type:
string[] -
cannot be null
-
defined in: Untitled schema
string[]
A list of files this task will create. If these exist, and they're newer than the watched files, the task is skipped.
targets
-
is optional
-
Type:
string[] -
cannot be null
-
defined in: Untitled schema
string[]
The restart policy, e.g. Always, Never, OnFailure. Defaults depends on the type of task.
restartPolicy
-
is optional
-
Type:
string(restartPolicy) -
cannot be null
-
defined in: Untitled schema
string (restartPolicy)
The timeout for the task to be considered stalled. If omitted, the task will be considered stalled after 30 seconds of no activity.
stalledTimeout
-
is optional
-
Type:
object(Duration) -
cannot be null
-
defined in: Untitled schema
object (Duration)
The group this task belongs to. Tasks in the same group will be visually grouped together in the UI.
group
-
is optional
-
Type:
string(group) -
cannot be null
-
defined in: Untitled schema
string (group)
Whether this is the default task to run if no task is specified.
default
-
is optional
-
Type:
boolean(default) -
cannot be null
-
defined in: Untitled schema
boolean (default)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Tasks"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
.* |
object |
Optional | cannot be null | Untitled schema |
A task is a container or a command to run.
.*
-
is optional
-
Type:
object(Task) -
cannot be null
-
defined in: Untitled schema
object (Task)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Volume"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| name | string |
Required | cannot be null | Untitled schema |
| hostPath | object |
Required | cannot be null | Untitled schema |
Volume's name.
name
-
is required
-
Type:
string(name) -
cannot be null
-
defined in: Untitled schema
string (name)
HostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container.
hostPath
-
is required
-
Type:
object(HostPath) -
cannot be null
-
defined in: Untitled schema
object (HostPath)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/VolumeMount"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| name | string |
Required | cannot be null | Untitled schema |
| mountPath | string |
Required | cannot be null | Untitled schema |
This must match the name of a volume.
name
-
is required
-
Type:
string(name) -
cannot be null
-
defined in: Untitled schema
string (name)
Path within the container at which the volume should be mounted.
mountPath
-
is required
-
Type:
string(mountPath) -
cannot be null
-
defined in: Untitled schema
string (mountPath)
Reference this group by using
{"$ref":"https://github.com/kitproj/kit/internal/types/workflow#/$defs/Workflow"}| Property | Type | Required | Nullable | Defined by |
|---|---|---|---|---|
| port | integer |
Optional | cannot be null | Untitled schema |
| terminationGracePeriodSeconds | integer |
Optional | cannot be null | Untitled schema |
| tasks | object |
Optional | cannot be null | Untitled schema |
| volumes | array |
Optional | cannot be null | Untitled schema |
| semaphores | object |
Optional | cannot be null | Untitled schema |
| env | object |
Optional | cannot be null | Untitled schema |
| envfile | array |
Optional | cannot be null | Untitled schema |
port
-
is optional
-
Type:
integer(port) -
cannot be null
-
defined in: Untitled schema
integer (port)
terminationGracePeriodSeconds
-
is optional
-
Type:
integer(terminationGracePeriodSeconds) -
cannot be null
-
defined in: Untitled schema
integer (terminationGracePeriodSeconds)
tasks
-
is optional
-
Type:
object(Tasks) -
cannot be null
-
defined in: Untitled schema
object (Tasks)
volumes
-
is optional
-
Type:
object[](Volume) -
cannot be null
-
defined in: Untitled schema
object[] (Volume)
semaphores
-
is optional
-
Type:
object(semaphores) -
cannot be null
-
defined in: Untitled schema
object (semaphores)
A list of environment variables.
env
-
is optional
-
Type:
object(EnvVars) -
cannot be null
-
defined in: Untitled schema
object (EnvVars)
envfile
-
is optional
-
Type:
string[] -
cannot be null
-
defined in: Untitled schema
string[]