A Helm chart for deploying KairosCloud application on Kubernetes.
Prerequisites
Kubernetes 1.19+
Helm 3.2.0+
KEDA 2.0+ (if using KEDA autoscaling)
Installing the Chart
To install the chart with the release name my-kairoscloud:
helm install my-kairoscloud ./kairoscloud-chart
The command deploys KairosCloud 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-kairoscloud deployment:
helm delete my-kairoscloud
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
Name
Description
Value
nameOverride
String to partially override kairoscloud-chart.fullname template with a string (will prepend the release name)
""
fullnameOverride
String to fully override kairoscloud-chart.fullname template with a string
""
Image parameters
Name
Description
Value
image.repository
KairosCloud image repository
nginx
image.tag
KairosCloud image tag (immutable tags are recommended)
""
image.pullPolicy
KairosCloud image pull policy
IfNotPresent
Image pull secrets
Name
Description
Value
imagePullSecrets
Specify docker-registry secret names as an array
[]
ServiceAccount parameters
Name
Description
Value
serviceAccount.create
Specifies whether a ServiceAccount should be created
true
serviceAccount.annotations
Annotations to add to the ServiceAccount
{}
serviceAccount.name
The name of the ServiceAccount to use
""
Pod parameters
Name
Description
Value
podAnnotations
Annotations to add to the pods
{}
podSecurityContext
Pod security context
{}
securityContext
Container security context
{}
Service parameters
Name
Description
Value
service.type
KairosCloud service type
ClusterIP
service.port
KairosCloud service port
80
service.targetPort
KairosCloud service target port
8080
service.annotations
Annotations to add to the service
{}
Ingress parameters
Name
Description
Value
ingress.enabled
Enable ingress record generation for KairosCloud
false
ingress.className
IngressClass that will be used to implement the Ingress
""
ingress.annotations
Additional annotations for the Ingress resource
{}
ingress.hosts
An array of hosts to be covered with this ingress record
[]
ingress.tls
TLS configuration for additional hostname(s) to be covered with this ingress record
[]
Resource parameters
Name
Description
Value
resources.limits
The resources limits for the KairosCloud containers
{}
resources.requests
The requested resources for the KairosCloud containers
{}
Autoscaling parameters
Name
Description
Value
autoscaling.enabled
Enable Horizontal POD autoscaling for KairosCloud
false
autoscaling.minReplicas
Minimum number of KairosCloud replicas
1
autoscaling.maxReplicas
Maximum number of KairosCloud replicas
100
autoscaling.targetCPUUtilizationPercentage
Target CPU utilization percentage
80
KEDA (Kubernetes Event-Driven Autoscaling) parameters
Name
Description
Value
keda.enabled
Enable KEDA ScaledObject for event-driven autoscaling
false
keda.annotations
Annotations to add to the KEDA ScaledObject
{}
keda.minReplicas
Minimum number of replicas (defaults to autoscaling.minReplicas if not set)
null
keda.maxReplicas
Maximum number of replicas (defaults to autoscaling.maxReplicas if not set)
null
keda.pollingInterval
Polling interval for metrics (e.g., "30s", "1m")
null
keda.cooldownPeriod
Cooldown period for scaling down (e.g., "300s", "5m")
null
keda.idleReplicaCount
Number of replicas to maintain when idle (defaults to 0)
null
keda.advanced
Advanced KEDA configuration (HPA behavior, etc.)
{}
keda.triggers
Array of KEDA triggers for different scaling metrics
[]
keda.fallback
Global fallback configuration for KEDA
{}
StatefulSet parameters
Name
Description
Value
statefulset.enabled
Enable StatefulSet instead of Deployment
false
statefulset.serviceName
Service name for StatefulSet
""
statefulset.podManagementPolicy
Pod management policy for StatefulSet
OrderedReady
statefulset.updateStrategy
Update strategy for StatefulSet
{}
Persistence parameters
Name
Description
Value
persistence.enabled
Enable persistence using Persistent Volume Claims
false
persistence.storageClass
Persistent Volume storage class
""
persistence.accessMode
Persistent Volume access mode
ReadWriteOnce
persistence.size
Persistent Volume size
8Gi
persistence.annotations
Persistent Volume annotations
{}
ConfigMap parameters
Name
Description
Value
configMap.enabled
Enable ConfigMap
true
configMap.data
ConfigMap data
{}
PodDisruptionBudget parameters
Name
Description
Value
podDisruptionBudget.enabled
Enable PodDisruptionBudget
false
podDisruptionBudget.minAvailable
Minimum number of pods that must be available during eviction
1
podDisruptionBudget.maxUnavailable
Maximum number of pods that can be unavailable during eviction
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has kairoscloud-chart 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 chartkairoscloud-chart is pinned at v0.1.4 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