aitrain

by KaiXiangC

Helm chartv0.2.0App v2022.07Verified publisher

A Helm chart for deployment and management of Kubernetes in clusters

About this chart

aitrain-helm3

Prerequisites

  • Kubernetes 1.22+
  • Helm 3.5.0+

Getting started

Add repository

helm repo add aitrain-helm3 https://kaixiangc.github.io/aitrain-helm3/

Install Chart

helm install my-aitrain aitrain-helm3/aitrain --version 0.2.0

Uninstall Chart

To uninstall the my-aitrain deployment run:

helm uninstall my-aitrain

Parameters

The following table lists the helpers available in the library

common

KeyDescriptionDefault
common.destinationDestion Cluster Type [ OpenShift: OCP , Kubernetes: K8S ]kubernetes
common.namespace_prefixName Space Prefixaitrain
common.versionVersion Type [ v2021.12 , v2022.07 ]v2022.07
common.domian_nameURL Domian"127-0-0-1.nip.io"
common.ingress_classIngress Class Namenginx
common.k8s_dns_serverDNS Server""
common.enable_vmVM Related Configurationfalse
common.oauth_typeOAuth Provider Type [ go-oauth , google-oauth , github-oauth ]go-oauth

storageclass

KeyDescriptionDefault
storageclass.installInstall Storage Classfalse
storageclass.existing_sc_nameStorage Class Namestandard

api

KeyDescriptionDefault
api.uid_startUID Start Value0
api.uid_countUID Count Value100000

Useful links

  • https://helm.sh/docs/intro/using_helm/

Deploy aitrain with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has aitrain on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartaitrain is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply