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

x/kubernetes_apis/builtin/batch@v1/structs.ts>PodFailurePolicyRule

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

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.

Properties

action: string
optional
onExitCodes: PodFailurePolicyOnExitCodesRequirement | null
optional
onPodConditions: Array<PodFailurePolicyOnPodConditionsPattern> | null