- Notifications
You must be signed in to change notification settings - Fork2
📑 Helm chart deployment for DataTorch along with other utility charts
datatorch/helm-charts
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
DataTorch is a scalable annotation platform build for sharing and creatingdatasets.
This chart bootstraps a DataTorch deployment on Kubernetes cluster using Helm v3package manager.
Note: You must have a license key and the image pull secret for this chart towork.
- Helm 3.0+
- Kubernetes 1.13+ (1.15+ for ssl)
- Add datatorch repo
helm repo add datatorch https://charts.datatorch.io
- Use regcred script to create image pull secret
- Update values.yaml with FQDN's, database connections and license
- Deploy the instance with helm install (shown below)
To install the chart with release namemy-release
:
helm install my-release datatorch/datatorch
The command deploys DataTorch on kubernetes cluster in the defaultconfiguration.
To uninstall/delete themy-release
deployment:
helm delete my-release
The command removes all the Kubernetes components associated with the chart anddeletes the release.
Run the following commands to install cert-manager.
sh ssl/install-certmanager.sh
kubectl apply -f ssl/issuer-prod.yaml
kubectl apply -f ssl/issuer-staging.yaml
- Add annotations and tls to ingress as shown in below.
Two issuers will be created (when testing used theletsencrypt-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.yamlkubectl apply -f ./ssl/issuer-prod.yaml
Add the following annotations toingress
ingress:host:HOST_DOMAINannotations:# ... other annotationscert-manager.io/issuer:"letsencrypt-prod"cert-manager.io/acme-challenge-type:http01tls: -secretName:TLS_SECRET_NAMEhosts: -HOST_DOMAIN
For Azure using managed postgres instance addpgbouncer to speed up connection.
Thebackend
section has aextraContainers
andextraVolumes
section for this.