Skip to main content

Managing CronJobs List

  1. List all CronJobs in the current namespace:
kubectl get cronjobs

This will display a list of all CronJobs in the namespace you are currently working in.

  1. List CronJobs in a specific namespace:
kubectl get cronjobs -n <namespace>

Replace <namespace> with the name of the namespace.

  1. View detailed information about a specific CronJob:
kubectl describe cronjob <cronjob-name>

This provides detailed information about the specified CronJob, including its schedule, concurrency policy, and job history.

  1. List all CronJobs across all namespaces:
kubectl get cronjobs --all-namespaces