Optimized for: Gemini / ChatGPT / Claude
Advanced AI Prompt for Kubernetes CronJob with Resource Limits
Use this engineered prompt to drastically optimize your workflow and output.
Required Variables
- ✦
[JOB_NAME] - ✦
[SCHEDULE] - ✦
[IMAGE] - ✦
[SUCCESS_LIMIT] - ✦
[FAILED_LIMIT]
k8s-cronjob-resource-limited-manifest.txt
Generate a Kubernetes CronJob manifest for '[JOB_NAME]'. Set the schedule to '[SCHEDULE]'. Configure 'concurrencyPolicy: Forbid' to prevent overlapping runs. Set the 'successfulJobsHistoryLimit' to '[SUCCESS_LIMIT]' and 'failedJobsHistoryLimit' to '[FAILED_LIMIT]'. Ensure the job pod has specific resource requests and limits to prevent it from impacting the cluster's stability during execution.
Example Output
"The AI will output a CronJob manifest that executes periodic tasks while managing history and preventing resource exhaustion."