/helmchart

Helm Chart for Pachyderm

Primary LanguageGo

Pachyderm Helm Chart

The repo contains the pachyderm helm chart.

Usage

Create a values.yaml file with your storage provider of choice, and other options, then run

$ helm repo add pach https://pachyderm.github.io/helmchart
$ helm install pach/pachyderm -f values.yaml

Developer Guide

To run the tests for the helm chart, run the following:

$ make test

Diff against pachctl

To see how this Helm chart and pachctl deploy differ, one can do something similar to the following:

  1. Generate a pachctl manifest with

    $ pachctl deploy googleBUCKET-NAME 10 --dynamic-etcd-nodes 1 -o yaml --dry-run > pachmanifest.yaml
  2. Generate a Helm manifest with

    $ helm template -f examples/gcp-values.yaml ./pachyderm > helmmanifest.yaml
  3. Visually diff the two.

JSON Schema

We use helm-schema-gen to manage the JSON schema. It can be installed with:

$ helm plugin install https://github.com/karuppiah7890/helm-schema-gen.git

When updating values.yaml please run the following to update the json schema file.

$ cd pachyderm
$ helm schema-gen values.yaml > values.schema.json

Validate Helm manifest

go install github.com/instrumenta/kubeval
kubeval helmmanifest.yaml