base
by Helm
A starter Helm chart for Kubernetes
About this chart
base
Helm chart deploying base.
TODO
- Update
values.schema.json
TL;DR
helm repo add vulcanlink https://vulcanlink.github.io/charts/
helm install my-release vulcanlink/base
Introduction
This chart bootstraps a base deployment on a Kubernetes cluster using the Helm package manager.
Vulcan Link charts can be used for deployment and management of Helm Charts in Kubernetes clusters.
Prerequisites
- Kubernetes 1.12+
- Helm 3.0+
- PV provisioner support in the underlying infrastructure
Installing the Chart
To install the chart with the release name my-release:
helm install my-release vulcanlink/base
The command deploys the chart on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
helm delete my-release
Parameters
The following tables lists the configurable parameters of the chart and their default values.
| Parameter | Description | Default |
|---|---|---|
global.imageRegistry | Global Docker Image registry | nil |
global.imagePullSecrets | Global Docker registry secret names as an array | [] (does not add image pull secrets to deployed pods) |
global.storageClass | Global storage class for dynamic provisioning | nil |
image.tag | Image tag | {TAG_NAME} |
image.pullPolicy | Image pull policy | IfNotPresent |
image.pullSecrets | Specify Image pull secrets | nil (does not add image pull secrets to deployed pods) |
image.command | Specify Image run command | nil |
image.args | Specify Image run command args | nil |
nameOverride | String to partially override base.fullname template with a string (will prepend the release name) | nil |
fullnameOverride | String to fully override base.fullname template with a string | nil |
container.ports | Container ports | see values.yaml |
service | Kubernetes Services | see values.yaml |
prometheus | Enable prometheus metrics | false |
configmap.env | Key-value of env configmap which injects environment variables into pods | {} |
configmap.files | Key-value of files configmap which mounts files to pods | {} |
initContainers | List of initcontainers run in order. Useful for running custom config scripts | [] |
persistence.enabled | Enable persistent storage | false |
serviceAccount.create | Create a Service Account for the pod | true |
resources | Kubernetes resource limits | {} |
nodeSelector | Assign pods based on node tags | {} |
affiinity | Node affinity | {} |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
helm install my-release --set image.tag=0.10.3 vulcanlink/base
The above command overrides the default Docker image tag, installing a custom version.
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,
helm install my-release -f values.yaml vulcanlink/base
Tip: You can use the default values.yaml
Deploy base with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has base 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 chartbase is pinned at v1.0.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