Git Product home page Git Product logo

helm-charts's Introduction

DataTorch Helm Charts

Scale DataTorch on Kubernetes a production-grade container orchestrator.

Introduction

DataTorch is a scalable annotation platform build for sharing and creating datasets.

This chart bootstraps a DataTorch deployment on Kubernetes cluster using Helm v3 package manager.

Note: You must have a license key and the image pull secret for this chart to work.

Prerequisites

  • Helm 3.0+
  • Kubernetes 1.13+ (1.15+ for ssl)

Installing Chart

  1. Add datatorch repo helm repo add datatorch https://charts.datatorch.io
  2. Use regcred script to create image pull secret
  3. Update values.yaml with FQDN's, database connections and license
  4. Deploy the instance with helm install (shown below)

To install the chart with release name my-release:

helm install my-release datatorch/datatorch

The command deploys DataTorch on kubernetes cluster in the default configuration.

Uninstalling 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.

SSL with NGINX and Cert-manager

Run the following commands to install cert-manager.

  1. sh ssl/install-certmanager.sh
  2. kubectl apply -f ssl/issuer-prod.yaml
  3. kubectl apply -f ssl/issuer-staging.yaml
  4. Add annotations and tls to ingress as shown in below.

Two issuers will be created (when testing used the letsencrypt-staging). Change the fields in each issuer to point to your email address. Once completed, you can apply the files to your cluster.

kubectl apply -f ./ssl/issuer-staging.yaml
kubectl apply -f ./ssl/issuer-prod.yaml

Add the following annotations to ingress

ingress:
  host: HOST_DOMAIN
  annotations:
    # ... other annotations
    cert-manager.io/issuer: "letsencrypt-prod"
    cert-manager.io/acme-challenge-type: http01
  tls:
    - secretName: TLS_SECRET_NAME
      hosts:
        - HOST_DOMAIN

pgbouncer

For Azure using managed postgres instance add pgbouncer to speed up connection.

The backend section has a extraContainers and extraVolumes section for this.

helm-charts's People

Contributors

jsbroks avatar

Watchers

 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.