elasti

by KubeElasti

Helm chartv0.1.31-rc1App 0.1.31-rc1MITVerified publisher

KubeElasti is a Kubernetes-native solution that offers scale-to-zero functionality when there is no traffic and automatic scale up to 1 when traffic arrives.

About this chart

KubeElasti helm chart

KubeElasti is a Kubernetes-native solution that offers scale-to-zero functionality when there is no traffic and automatic scale up to 1 when traffic arrives. Most Kubernetes autoscaling solutions like HPA or Keda can scale from 1 to n replicas based on cpu utilization or memory usage

Parameters

Global parameters for elasti helm chart

NameDescriptionValue
global.kubernetesClusterDomaindomain of the Kubernetes clustercluster.local
global.allowedNamespacesnamespaces to confine KubeElasti to; empty installs cluster-scoped RBAC and watches all namespaces[]
global.nameOverridename of the deployment""
global.fullnameOverridefull name of the deployment""
global.enableMonitoringwhether to enable monitoringfalse
global.secretNamename of the secret to use for the deploymentelasti-secret
global.image.registryregistry to use for the deploymentghcr.io
global.imagePullSecretsimage pull secrets to use for the deployment[]
global.labelslabels to apply to all resources{}
global.annotationsannotations to apply to all resources{}
global.podLabelslabels to apply to all pods{}
global.podAnnotationsannotations to apply to all pods{}
global.serviceLabelslabels to apply to all services{}
global.serviceAnnotationsannotations to apply to all services{}
global.deploymentLabelslabels to apply to all deployments{}
global.deploymentAnnotationsannotations to apply to all deployments{}
global.serviceAccountservice account configuration{}
global.serviceAccount.annotationsannotations to apply to all service accounts{}
global.serviceAccount.labelslabels to apply to all service accounts{}

Elasti controller parameters

NameDescriptionValue
elastiController.manager.argsarguments to pass to the manager[]
elastiController.manager.containerSecurityContextcontainer security context{}
elastiController.manager.podSecurityContextpod security context{}
elastiController.manager.image.registryregistry to use for the deployment""
elastiController.manager.image.repositoryrepository to use for the deploymentkubeelasti/elasti-operator
elastiController.manager.image.tagtag to use for the deployment0.1.31-rc1
elastiController.manager.imagePullPolicyimage pull policyIfNotPresent
elastiController.manager.resourcesresources to use for the deployment{}
elastiController.manager.sentry.enabledwhether to enable sentryfalse
elastiController.manager.sentry.environmentenvironment to use for the deployment""
elastiController.manager.envenvironment to use for the deployment{}
elastiController.replicasnumber of replicas to use for the deployment1
elastiController.commonLabelslabels to apply to all elastiController resources{}
elastiController.commonAnnotationsannotations to apply to all elastiController resources{}
elastiController.podLabelslabels to apply to elastiController pods{}
elastiController.podAnnotationsannotations to apply to elastiController pods{}
elastiController.deploymentLabelslabels to apply to elastiController deployment{}
elastiController.deploymentAnnotationsannotations to apply to elastiController deployment{}
elastiController.affinityaffinity rules for pod assignment{}
elastiController.nodeSelectornode labels for pod assignment{}
elastiController.tolerationstolerations for pod assignment[]
elastiController.serviceAccount.annotationsannotations to use for the deployment{}
elastiController.serviceAccount.labelslabels to use for the service account{}
elastiController.metricsServicemetrics service to use for the deployment{}
elastiController.metricsService.labelslabels to apply to metricsService{}
elastiController.metricsService.annotationsannotations to apply to metricsService{}
elastiController.serviceservice to use for the deployment{}
elastiController.service.labelslabels to apply to service{}
elastiController.service.annotationsannotations to apply to service{}
elastiController.serviceMonitorserviceMonitor configuration{}
elastiController.serviceMonitor.labelslabels to apply to serviceMonitor{}
elastiController.serviceMonitor.annotationsannotations to apply to serviceMonitor{}

Elasti resolver parameters

NameDescriptionValue
elastiResolver.proxy.envenvironment to use for the deployment{}
elastiResolver.proxy.image.registryregistry to use for the deployment""
elastiResolver.proxy.image.repositoryrepository to use for the deploymentkubeelasti/elasti-resolver
elastiResolver.proxy.image.tagtag to use for the deployment0.1.31-rc1
elastiResolver.proxy.imagePullPolicyimage pull policyIfNotPresent
elastiResolver.proxy.resourcesresources to use for the deployment{}
elastiResolver.proxy.containerSecurityContextcontainer security context{}
elastiResolver.proxy.podSecurityContextpod security context{}
elastiResolver.proxy.sentry.enabledwhether to enable sentryfalse
elastiResolver.proxy.sentry.environmentenvironment to use for the deployment""
elastiResolver.replicasnumber of replicas to use for the deployment1
elastiResolver.commonLabelslabels to apply to all elastiResolver resources{}
elastiResolver.commonAnnotationsannotations to apply to all elastiResolver resources{}
elastiResolver.podLabelslabels to apply to elastiResolver pods{}
elastiResolver.podAnnotationsannotations to apply to elastiResolver pods{}
elastiResolver.deploymentLabelslabels to apply to elastiResolver deployment{}
elastiResolver.deploymentAnnotationsannotations to apply to elastiResolver deployment{}
elastiResolver.affinityaffinity rules for pod assignment{}
elastiResolver.nodeSelectornode labels for pod assignment{}
elastiResolver.tolerationstolerations for pod assignment[]
elastiResolver.serviceAccount.annotationsannotations to use for the deployment{}
elastiResolver.serviceAccount.labelslabels to use for the service account{}
elastiResolver.autoscaling.enabledwhether to enable autoscalingfalse
elastiResolver.autoscaling.minReplicasminimum number of replicas to use for the deployment1
elastiResolver.autoscaling.maxReplicasmaximum number of replicas to use for the deployment4
elastiResolver.autoscaling.targetCPUUtilizationPercentagetarget CPU utilization percentage to use for the deployment70
elastiResolver.reverseProxyServicereverse proxy service to use for the deployment{}
elastiResolver.serviceservice to use for the deployment{}
elastiResolver.service.labelslabels to apply to service{}
elastiResolver.service.annotationsannotations to apply to service{}
elastiResolver.serviceMonitorserviceMonitor configuration{}
elastiResolver.serviceMonitor.labelslabels to apply to serviceMonitor{}

Deploy elasti with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has elasti 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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartelasti is pinned at v0.1.31-rc1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. 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