Interface: KubeCronJob

    lib/k8s/cronJob .KubeCronJob

    CronJob structure returned by the k8s API.

    see https://kubernetes.io/docs/reference/kubernetes-api/workload-resources/cron-job-v1/ Kubernetes API reference for CronJob

    see https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/ Kubernetes definition for CronJob

    Hierarchy

    Properties

    apiVersion

    Optional apiVersion: string

    Inherited from

    KubeObjectInterface . apiVersion

    Defined in

    lib/k8s/cluster.ts:55


    kind

    kind: string

    Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to.

    In CamelCase.

    Cannot be updated.

    see more info

    Inherited from

    KubeObjectInterface . kind

    Defined in

    lib/k8s/cluster.ts:54


    metadata

    metadata: KubeMetadata

    Inherited from

    KubeObjectInterface . metadata

    Defined in

    lib/k8s/cluster.ts:56


    spec

    spec: Object

    Index signature

    ▪ [otherProps: string]: any

    Type declaration

    Name Type
    concurrencyPolicy string
    failedJobsHistoryLimit number
    jobTemplate { spec: { metadata?: Partial< KubeMetadata > ; template: { spec: { containers: KubeContainer [] ; metadata?: Partial< KubeMetadata > } } } }
    jobTemplate.spec { metadata?: Partial< KubeMetadata > ; template: { spec: { containers: KubeContainer [] ; metadata?: Partial< KubeMetadata > } } }
    jobTemplate.spec.metadata? Partial< KubeMetadata >
    jobTemplate.spec.template { spec: { containers: KubeContainer [] ; metadata?: Partial< KubeMetadata > } }
    jobTemplate.spec.template.spec { containers: KubeContainer [] ; metadata?: Partial< KubeMetadata > }
    jobTemplate.spec.template.spec.containers KubeContainer []
    jobTemplate.spec.template.spec.metadata? Partial< KubeMetadata >
    schedule string
    startingDeadlineSeconds? number
    successfulJobsHistoryLimit number
    suspend boolean

    Defined in

    lib/k8s/cronJob.ts:12


    status

    status: Object

    Index signature

    ▪ [otherProps: string]: any

    Defined in

    lib/k8s/cronJob.ts:32