Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

REST focused Typescript classes for Kubernetes APIs, and tools for generating API interfaces
Go to Latest
interface PodFailurePolicyOnExitCodesRequirement
import { type PodFailurePolicyOnExitCodesRequirement } from "https://deno.land/x/kubernetes_apis@v0.5.0/builtin/batch@v1/mod.ts";

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.

Properties

optional
containerName: string | null
operator: string
values: Array<number>