Skip to content

NIEHS/accelerator-helm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

accelerator-helm

Helm charts and support for Navigator/Accelerator infrastructure

Author: Mike Conway and Deep Patel

Links:

Basic usage

Development

Can run on Rancher, set up a values.yaml file with overrides in a separate location (outside of git repo)

At a minimum, you should set the passwords you need externally, see this sample for your local values.yaml overrides

mongodb:
  auth:
    rootPassword: somepassword 
    # you set for the 'root' user in mongodb

Here I cd into the accelerator subdir of the repo, give a namespace and point to my override values. I then cd accelerator under the repo root. If I've just pulled the chart I need to bring in the dependencies in our Helm chart, so I run the helm dependency build command.

kubectl create namespace accelerator-dev

helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo add airflow https://airflow.apache.org/

helm dependency build 

helm install -f ../../accel-values/accel-values.yaml -n accelerator-dev accelerator .

here i have alias k="kubectl" and am setting the default namespace as above

k config set-context --current --namespace=accelerator-dev

Be sure to port-forward 27017 (the mongodb service) and then you should be able to connect to the mongodb using a client such as MongoDB Compass

Here we're uninstalling

helm uninstall accelerator -ns accelerator-dev

Custom Accelerator Worker

This repo contains a custom airflow container for workers that includes some additional system and python dependencies. See the accel-worker-image

The build of the custom container is automated by a GitHub action and the image is stored at: ghcr.io/niehs/accel-airflow:TAG, with latest being the default

About

Helm charts and support for Navigator/Accelerator infrastructure

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages