Giter Site home page Giter Site logo

helm-job's Introduction

A Helm Chart for DRY job deployments

CircleCI License version

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.

Parameter Description Default

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

helm-job's People

Contributors

alexnuttinck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

helm-job's Issues

[cetic/job] command + args don't work

Describe the bug
Using the command or args examples from the values.yaml does not work.

Version of Helm and Kubernetes:

version.BuildInfo{Version:"v3.5.2", GitCommit:"167aac70832d3a384f65f9745335e9fb40169dc2", GitTreeState:"dirty", GoVersion:"go1.15.7"}```

What happened:
The generated template is missing quotes

    env:
        - name: "ENV_VAR_TEST"
          value: "Test content"
        command: [/bin/sh]
        args: [-c echo 'consuming a message'; ps faxuwww; echo 'ENV_VAR_TEST='$(ENV_VAR_TEST)' != '$ENV_VAR_TEST; sleep 5]

What you expected to happen:
Add command and args as lists with quotes

env:
        - name: "ENV_VAR_TEST"
          value: "Test content"
        command: 
          - "/bin/sh"
        args: 
          - "-c"
          - "echo 'consuming a message'; ps faxuwww; echo 'ENV_VAR_TEST='$(ENV_VAR_TEST)' != '$ENV_VAR_TEST; sleep 5"

How to reproduce it (as minimally and precisely as possible):

command: ["/bin/sh"]
args: ["-c", "echo 'works'; sleep 5"]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.