job

by Helm

Helm chartv0.1.1App 0.1.1Apache-2.0

A Helm chart which provide a DRY job deployment mechanism

About this chart

A Helm Chart for DRY job deployments

Introduction

This helm chart define a common structure to deploy kubernetes jobs.

The goal is to provide a DRY job deployment mechanism with some flexibility, to be used with some other charts orchestrating a series of jobs via dependencies, pointing to this chart, where each instance of this chart is differenciated using aliases.

The federating chart will provide the configuration for each jobs in its values file.

Prerequisites

  • Kubernetes cluster 1.10+
  • Helm 3.0.0+
  • PV provisioner support in the underlying infrastructure.

Installation

Add Helm repository

helm repo add cetic https://cetic.github.io/helm-charts
helm repo update

Configure the chart

The following items can be set via --set flag during installation or configured by editing the values.yaml directly (need to download the chart first).

TBD

Install the chart

Install the job helm chart with a release name my-release:

helm install my-release cetic/job

Uninstallation

To uninstall/delete the my-release deployment:

helm uninstall my-release

Configuration

The following table lists the configurable parameters of the job chart and the default values.

ParameterDescriptionDefault

TBD

Contributing

Feel free to contribute by making a pull request.

Please read the official Contribution Guide from Helm for more information on how you can contribute to this Chart.

License

Apache License 2.0

Deploy job with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has job 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartjob is pinned at v0.1.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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