Skip to main content

Cron Job

A Cron Job in Kubernetes is a resource used to schedule and manage periodic tasks. It allows users to execute jobs at specified times or intervals, efficiently managing workloads like backups or report generation. For more detailed information, you can refer to the official Kubernetes CronJob documentation.

Terraform Mappings:

  • kubernetes_cron_job_v1.metadata[0].name
  • kubernetes_cron_job.metadata[0].name

Supported Methods​

  • GET: Get a Cron Job by name
  • LIST: List all Cron Jobs
  • SEARCH: Search for a Cron Job using the ListOptions JSON format e.g. ("labelSelector": "app=wordpress")