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
| Key | Description | Default |
|---|---|---|
| common.destination | Destion Cluster Type [ OpenShift: OCP , Kubernetes: K8S ] | kubernetes |
| common.namespace_prefix | Name Space Prefix | aitrain |
| common.version | Version Type [ v2021.12 , v2022.07 ] | v2022.07 |
| common.domian_name | URL Domian | "127-0-0-1.nip.io" |
| common.ingress_class | Ingress Class Name | nginx |
| common.k8s_dns_server | DNS Server | "" |
| common.enable_vm | VM Related Configuration | false |
| common.oauth_type | OAuth Provider Type [ go-oauth , google-oauth , github-oauth ] | go-oauth |
storageclass
| Key | Description | Default |
|---|---|---|
| storageclass.install | Install Storage Class | false |
| storageclass.existing_sc_name | Storage Class Name | standard |
api
| Key | Description | Default |
|---|---|---|
| api.uid_start | UID Start Value | 0 |
| api.uid_count | UID Count Value | 100000 |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartaitrain is pinned at v0.2.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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