Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface K8sContainerRegistration

Additional options for Kubernetes implementation of container goals.

Hierarchy

Index

Properties

Optional callback

Replace generic callback in ContainerRegistration with Kubernetes-specific callback.

containers

containers: K8sGoalContainer[]

Replace generic containers in ContainerRegistration with Kubernetes containers.

Containers to run for this goal. The goal result is based on the exit status of the first element of the containers array. The other containers are considered "sidecar" containers provided functionality that the main container needs to function. If not set, the working directory of the first container is set to ContainerProjectHome, which contains the project upon which the goal should operate. If workingDir is set, it is not changed. If workingDir is set to the empty string, the workingDir property is deleted from the main container spec, meaning the container default working directory will be used.

Optional initContainers

initContainers: V1Container[]

Init containers to run for this goal. Any containers provided here will run after the one inserted by the SDM to manage the cloned repository.

Optional input

input: Array<{ classifier: string }>

Cache classifiers to retrieve from cache before starting goal execution. The values must correspond to output classifiers from previously executed container goals in the same goal set.

Optional output

output: CacheEntry[]

File path globs to store in cache after goal execution. They values should be glob paths relative to the root of the project directory.

Optional volumes

Replace generic volumes in ContainerRegistration with Kubernetes volumes available to mount in containers.

Generated using TypeDoc