KubernetesContainerRunnerOptions
Home > @backstage/backend-common
> KubernetesContainerRunnerOptions
Options to create a KubernetesContainerRunner
Kubernetes Jobs will be created on the provided 'namespace' and their names will be prefixed with the provided 'name'.
'podTemplate' defines a Pod template for the Jobs. It has to include a volume definition named as the KubernetesContainerRunnerMountBase 'volumeName'.
Signature:
export type KubernetesContainerRunnerOptions = {
kubeConfig: KubeConfig;
name: string;
namespace?: string;
mountBase?: KubernetesContainerRunnerMountBase;
podTemplate?: V1PodTemplateSpec;
timeoutMs?: number;
};
References: KubernetesContainerRunnerMountBase