cron-schedules
by Helm
A Helm chart for Kubernetes which provides the listing of CronJobs and Schedules
About this chart
cron-schedules
cron-schedules is a simple utility web server in go which queries the list of avaialble CronJobs in the current namespace and displays along with the schedule corresponding to it.
TL;DR;
$ helm repo add gkarthiks https://gkarthiks.github.io/helm-charts
$ helm install --name cron-schedules gkarthiks/cron-schedules
Introduction
This deploys a stateless deployment of the cron-schedules on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.8+ with Beta APIs enabled
Installing the Chart
To install the chart with the release name cron-schedules:
$ helm repo add gkarthiks https://gkarthiks.github.io/helm-charts
$ helm install --name cron-schedules gkarthiks/cron-schedules
The command deploys cron-schedules on the Kubernetes cluster in the default configuration.
Uninstalling the Chart
To uninstall/delete the cron-schedules deployment:
$ helm delete cron-schedules
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters and their default values.
| Parameter | Description | Default |
|---|---|---|
replicaCount | desired number of cron-schedules pods | 1 |
image.repository | cron-schedules image repository | gkarthics/cronjob-schedule-table |
image.tag | cron-schedules image tag | v0.1.0 |
image.pullPolicy | image pull policy | IfNotPresent |
service.type | desired service type | ClusterIP |
service.port | service external port | 8080 |
ingress.enabled | enable ingress controller resource | false |
ingress.annotations | annotations for the host's ingress records | false |
ingress.path | path for the ingress route | / |
ingress.hosts | list of host address for ingress creation | |
ingress.tls | utilize TLS backend in ingress | |
resources | cpu/memory resource requests/limits | {} |
nodeSelector | node labels for pod assignment | {} |
tolerations | tolerations for pod assignment | {} |
affinity | affinity settings for proxy pod assignments | {} |
readinessProbe | readiness probe, as of now there is no endpoint to check. | false |
livenessProbe | liveness probe, as of now there is no endpoint to check. | false |
| clusterScope.enabled | To list the cronjobs on the cluster scope | true |
Deploy cron-schedules with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has cron-schedules on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartcron-schedules is pinned at v0.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below opentenant validate opentenant.yaml terraform init && terraform apply