tsaas
by Helm
A Helm chart for Tsimulus as a Service
About this chart
Helm Chart for TSimulus as a Service (tsaas)
Introduction
This Helm chart installs tsaas in a Kubernetes cluster.
Prerequisites
- Kubernetes cluster 1.10+
- Helm 3.0.0+
- PV provisioner support in the underlying infrastructure.
Installation
Add Helm repository
helm repo add cetic https://cetic.github.io/helm-charts
helm repo update
Configure the chart
The following items can be set via --set flag during installation or configured by editing the values.yaml directly (need to download the chart first).
Configure the way how to expose tsaas service:
- Ingress: The ingress controller must be installed in the Kubernetes cluster.
- ClusterIP: Exposes the service on a cluster-internal IP. Choosing this value makes the service only reachable from within the cluster.
- NodePort: Exposes the service on each Node’s IP at a static port (the NodePort). You’ll be able to contact the NodePort service, from outside the cluster, by requesting
NodeIP:NodePort. - LoadBalancer: Exposes the service externally using a cloud provider’s load balancer.
Install the chart
Install the tsaas helm chart with a release name my-release:
helm install --name my-release cetic/tsaas
Uninstallation
To uninstall/delete the my-release deployment:
helm delete --purge my-release
Configuration
The following table lists the configurable parameters of the tsaas chart and the default values.
| Parameter | Description | Default |
|---|---|---|
| ReplicaCount | ||
replicaCount | Number of replica | 1 |
| Image | ||
image.repository | tsaas Image name | ceticasbl/tsimulus-saas |
image.tag | tsaas Image tag | 0.1.18 |
image.pullPolicy | tsaas Image pull policy | IfNotPresent |
| Service | ||
service.type | Type of service for tsaas | NodePort |
service.port | Port to expose service | 8080 |
| Ingress | ||
ingress.enabled | Enables Ingress | false |
ingress.annotations | Ingress annotations | {} |
ingress.path | Path to access frontend | / |
ingress.hosts | Ingress hosts | [] |
ingress.tls | Ingress TLS configuration | [] |
| Resources | ||
resources | CPU/Memory resource requests/limits | {} |
| NodeSelector | ||
nodeSelector | nodeSelector | {} |
| Tolerations | ||
tolerations | tolerations | {} |
| Affinity | ||
affinity | affinity | {} |
Contributing
Feel free to contribute by making a pull request.
Please read the official Contribution Guide from Helm for more information on how you can contribute to this Chart.
License
Apache License 2.0
Deploy tsaas with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has tsaas 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 charttsaas is pinned at v0.1.5 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