james-kompose
A Helm chart for Kubernetes
About this chart
Inbox Server
Inbox Server by AppsCode - Inbox Server by AppsCode
TL;DR;
$ helm repo add appscode https://charts.appscode.com/stable/
$ helm repo update
$ helm search repo appscode/james-kompose --version=0.1.0
$ helm upgrade -i james-kompose appscode/james-kompose -n monitoring --create-namespace --version=0.1.0
Introduction
This chart deploys Inbox Server on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.21+
Installing the Chart
To install/upgrade the chart with the release name james-kompose:
$ helm upgrade -i james-kompose appscode/james-kompose -n monitoring --create-namespace --version=0.1.0
The command deploys Inbox Server on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall the james-kompose:
$ helm uninstall james-kompose -n monitoring
The command removes all the Kubernetes components associated with the chart and deletes the release.
Configuration
The following table lists the configurable parameters of the james-kompose chart and their default values.
| Parameter | Description | Default |
|---|---|---|
| replicaCount | 1 | |
| image.repository | ghcr.io/appscode/inbox-server | |
| image.pullPolicy | Always | |
| image.tag | Overrides the image tag whose default is the chart appVersion. | MailetGroup |
| imagePullSecrets | [] | |
| nameOverride | "" | |
| fullnameOverride | "" | |
| serviceAccount.create | Specifies whether a service account should be created | true |
| serviceAccount.automount | Automatically mount a ServiceAccount's API credentials? | true |
| serviceAccount.annotations | Annotations to add to the service account | {} |
| serviceAccount.name | The name of the service account to use. If not set and create is true, a name is generated using the fullname template | "" |
| podAnnotations | {} | |
| podLabels | {} | |
| podSecurityContext | {} | |
| securityContext | {} | |
| service.type | ClusterIP | |
| ingress.enabled | false | |
| ingress.className | "" | |
| ingress.annotations | {} | |
| ingress.tls | [] | |
| resources | {} | |
| livenessProbe.httpGet.path | / | |
| livenessProbe.httpGet.port | http | |
| readinessProbe.httpGet.path | / | |
| readinessProbe.httpGet.port | http | |
| autoscaling.enabled | false | |
| autoscaling.minReplicas | 1 | |
| autoscaling.maxReplicas | 100 | |
| autoscaling.targetCPUUtilizationPercentage | 80 | |
| volumes | Additional volumes on the output Deployment definition. | [] |
| volumeMounts | Additional volumeMounts on the output Deployment definition. | [] |
| nodeSelector | {} | |
| tolerations | [] | |
| affinity | {} | |
| cassandra.image.repository | cassandra | |
| cassandra.image.pullPolicy | IfNotPresent | |
| cassandra.image.tag | Overrides the image tag whose default is the chart appVersion. | 4.1.3 |
| cassandra.livenessProbe.failureThreshold | 5 | |
| cassandra.livenessProbe.periodSeconds | 3 | |
| cassandra.livenessProbe.timeoutSeconds | 20 | |
| opensearch.enabled | true | |
| opensearch.image.repository | opensearchproject/opensearch | |
| opensearch.image.pullPolicy | IfNotPresent | |
| opensearch.image.tag | Overrides the image tag whose default is the chart appVersion. | 2.1.0 |
| rabbitmq.image.repository | rabbitmq | |
| rabbitmq.image.pullPolicy | IfNotPresent | |
| rabbitmq.image.tag | Overrides the image tag whose default is the chart appVersion. | 3.12.1-management |
| s3.enabled | false | |
| s3.image.repository | ghcr.io/appscode/cloudserver | |
| s3.image.pullPolicy | IfNotPresent | |
| s3.image.tag | Overrides the image tag whose default is the chart appVersion. | 8.8.20 |
| tika.enabled | false | |
| tika.image.repository | apache/tika | |
| tika.image.pullPolicy | IfNotPresent | |
| tika.image.tag | Overrides the image tag whose default is the chart appVersion. | 2.8.0.0 |
Specify each parameter using the --set key=value[,key=value] argument to helm upgrade -i. For example:
$ helm upgrade -i james-kompose appscode/james-kompose -n monitoring --create-namespace --version=0.1.0 --set replicaCount=1
Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:
$ helm upgrade -i james-kompose appscode/james-kompose -n monitoring --create-namespace --versio
Deploy james-kompose with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has james-kompose 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 chartjames-kompose is pinned at v0.1.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