Git Product home page Git Product logo

fairscape-helm's Introduction

FAIRscape Helm chart

Test Fairscape Helm Chart Validate Helm chart

Some links:

Defining a Helm chart

To redeploy easily FAIRscape on any Kubernetes cluster.

Check the documentation to create a Helm chart:

How to build the Helm chart

  • Define parameters go to values.yaml (variables and their values to be used by the templates)
  • Then the deployment is defined in templates/deployment.yaml and can use variables defined in values.yaml
  • Charts/ folder is for external charts dependencies (if we want to define FAIRscape using multiple charts for modularity)

Added: defined OpenShift Route in the Helm chart (alongside Ingress)

Test run the chart

Check if the Helm chart is properly defined:

helm lint fairscape

To run the chart in dry-run mode:

helm install --dry-run --debug ./fairscape --set service.internalPort=8080 --generate-name

Deploy the chart

Check the fairscape/values.yaml file to see the parameters of the chart.

  • Deploy the chart on OpenShift DSRI:
helm install fairscape ./fairscape --set service.type=NodePort,serviceAccount.name=anyuid,openshiftRoute.enabled=true

We override service.type and serviceAccount.name from the values.yaml file

  • Or deploy on Kubernetes with Ingress routes:
helm install fairscape ./fairscape --set service.type=NodePort,ingress.enabled=true

Update the chart

Upgrade the deployed chart using local source code:

helm upgrade fairscape ./fairscape --set service.type=NodePort,serviceAccount.name=anyuid,openshiftRoute.enabled=true

Uninstall the chart

helm uninstall fairscape

Known issues

Helm Swagger API validation reject when we provide an empty string as host ""

Current fix: host is hardcoded as "" in the template instead of using value from values.yaml

It was previously (in templates/openshiftRoute.yaml):

spec:
  host: {{ .Values.openshiftRoute.host }}

Setup the triplestore

Recommended to use Stardog (licensed triplestore) for its path explanation feature

fairscape-helm's People

Contributors

vemonet avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

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.