Module k8s_openapi::api::batch::v1

source ·

Structs§

  • CronJob represents the configuration of a single cron job.
  • 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.
  • 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.
  • SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
  • SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the “succeededIndexes” or “succeededCount” specified.
  • UncountedTerminatedPods holds UIDs of Pods that have terminated but haven’t been accounted in Job status counters.