Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/kubernetes_apis/builtin/batch@v1/mod.ts

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Latest
import * as kubernetesApis from "https://deno.land/x/kubernetes_apis@v0.5.1/builtin/batch@v1/mod.ts";

Interfaces

CronJob represents the configuration of a single cron job.

CronJobList is a collection of cron jobs.

CronJobSpec describes how the job execution will look like and when it will actually run.

CronJobStatus represents the current state of a cron job.

Job represents the configuration of a single job.

JobCondition describes current state of a job.

JobList is a collection of jobs.

JobSpec describes how the job execution will look like.

JobStatus represents the current state of a Job.

JobTemplateSpec describes the data a Job should have when created from a template

PodFailurePolicy describes how failed pods influence the backoffLimit.

PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.

PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.

PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.

UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.