Skip to content

policy-design-lab/farmdoc-helm

Repository files navigation

FarmDoc

FarmDoc, need some texts in here.

TL;DR;

$ helm repo add ncsa https://opensource.ncsa.illinois.edu/charts/
$ helm install farmdoc ncsa/farmdoc

Introduction

This chart bootstraps the FarmDoc deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.16+
  • helm 3
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release ncsa/farmdoc

The command deploys IN-CORE on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation. This will also install MongoDB, RabbitMQ, elasticsearch as well as some extractors.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

Needs to be written

The following table lists the configurable parameters of the IN-CORE chart and their default values.

Parameter Description Default
ingress.hosts[0].host ingress rule for farmdoc farmdoc.example.com
ingress.traefik Use Traefik V2 middleware false

Specify each parameter using the --set key=value[,key=value] argument to helm install. Or more convenient use a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml ncsa/farmdoc

Since the ingress hostname is used in multiple places, it is recommended to use a variable in yaml to copy this information. For example:

hostname: &hostname farmdoc-tst.ncsa.illinois.edu

ingress:
  hosts:
    - host: *hostname

jupyterhub:
  hub:
    extraEnv:
      KEYCLOAK_HOSTNAME: *hostname
  ingress:
    hosts:
      - *hostname
  singleuser:
    extraEnv:
      FARMDOC_SERVER: *hostname
      
keycloak:
  ingress:
    rules:
      - host: *hostname
        paths:
          - /auth/

Tip: You can use the default values.yaml to find the names of all options

Persistence

IN-CORE will use a persistent storage to store all data that is uploaded as well as is generated.

Existing PersistentVolumeClaims

  1. Create the PersistentVolume
  2. Create the PersistentVolumeClaim
  3. Install the chart

For an example of using existing PVC, see the file farmdoc-pvc.yaml.

ChangeLog

1.0.0

This is the first release of the helm chart for FarmDoc

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published