Add CronRabbit Monitoring to Helm Chart CronJobs

Kubernetes

The Problem

Managing monitoring for multiple Kubernetes CronJobs across environments requires a templated approach. Hardcoding ping URLs in manifests doesn't scale.

The Solution

Use Helm values.yaml to inject CronRabbit ping URLs per job per environment. Template the monitoring curl commands in your CronJob manifests.

Helm Pattern

Add cronrabbit.pingUrl to your values.yaml. Reference it in your CronJob template with {{ .Values.cronrabbit.pingUrl }}.

Code Examples

values.yaml

Bash
# values.yaml
cronrabbit:
  backup:
    pingUrl: "https://ping.cronrabbit.com/backup-id"
  cleanup:
    pingUrl: "https://ping.cronrabbit.com/cleanup-id"

Ready to Monitor Your Cron Jobs?

Create your free account and add your first monitor in under 5 minutes. No credit card required.