elchi-stack

by Cloud Native Works

Helm chartv2.1.0App v1.8.4Apache-2.0Verified publisher

A comprehensive Helm chart for deploying Elchi proxy management platform with UI, controller, control plane and registry components

About this chart

Elchi Proxy Management Platform - Helm Charts

This repository contains Helm charts for deploying the Elchi - a comprehensive proxy management platform that provides UI-based configuration management for Envoy proxies.

🚀 What is Elchi?

Elchi is a proxy management platform that simplifies Envoy proxy configuration through a web-based interface:

  • UI Frontend: Web interface for creating and managing proxy configurations
  • Controller: Receives configurations from UI and stores them in MongoDB
  • Control Plane: Distributes configuration snapshots to Envoy proxies
  • Registry: Handles routing and service discovery between components

Requirements

RequirementMinimum VersionMaximum VersionNotes
Kubernetes1.211.35+Uses policy/v1 PDB (requires 1.21+)
Helm3.0.03.xChart API v2
CPU2 cores-Per node (1.3 cores for pods + system)
Memory4 GB-Per node (2.5 GB for pods + system)

Tested Versions: Kubernetes 1.21 - 1.35 (current latest)

API Versions Used

APIVersionKubernetes Requirement
apps/v1Stable1.9+
policy/v1Stable1.21+
v1 (core)Stable1.0+
rbac.authorization.k8s.io/v1Stable1.8+

Available Versions

Syntax: <elchiBackendVersion>-<goControlPlaneVersion>-<envoyVersion>

  • v1.8.4-v0.14.0-envoy1.39.4
  • v1.8.4-v0.14.0-envoy1.40.2

Global Values

ParameterDescriptionDefault
global.clusterDomainKubernetes cluster domain suffix"cluster.local"
global.mainAddressBase URL for all components"" (Required)
global.portPort clients use with mainAddress. Empty = derived: the gateway http NodePort (https NodePort with tlsEnabled), else 80/443. A release installed before 2.1.0 keeps its port""
global.tlsEnabledWhether to use HTTPSfalse
global.uiApiUrlBase URL the UI sends API requests to. Empty = the origin the UI was opened on""
global.timezoneTimezone for all services (e.g., "Europe/Istanbul", "UTC"). If empty, uses host timezone""
global.timezonePathCustom path to timezone file on host (advanced users only)"/etc/localtime"
global.installMongoWhether to use self-hosted MongoDBtrue
global.installVictoriaMetricsWhether to use self-hosted Victoria Metricstrue
global.installGslbWhether to deploy GSLB CoreDNS plugintrue
global.internalCommunicationController → control-plane calls stay inside the cluster (envoy-service:8080)true
global.storageClassStorage class for all PVCs (mongodb, victoriametrics)"standard"
global.versionsList of Elchi backend versions to deploy[{tag: v1.8.4-v0.14.0-envoy1.40.2}]
global.mongodb.hostsMongoDB connection hosts (comma-separated for replica set)""
global.mongodb.usernameMongoDB username"elchi"
global.mongodb.passwordMongoDB password. Empty = generated once and kept (built-in MongoDB); required for an external MongoDB. URL-safe characters only""
global.mongodb.databaseMongoDB database name"elchi"
global.mongodb.schemeConnection scheme (mongodb or mongodb+srv)""
global.mongodb.portMongoDB connection port""
global.mongodb.replicasetReplica set name (if using replica set)""
global.mongodb.timeoutMsConnection timeout in milliseconds""
global.mongodb.tlsEnabledEnable TLS connection to MongoDB""
global.mongodb.authSourceAuthentication source database (e.g., admin)""
global.mongodb.authMechanismAuthentication mechanism""
global.victoriametrics.endpointExternal Victoria Metrics endpoint (required when installVictoriaMetrics is false). Supports both http://host:port and host:port formats""
global.elchiBackend.controlPlaneDefaultReplicasReplicas for Control Plane services (production: 3+)1
global.elchiBackend.controllerDefaultReplicasReplicas for Controller services (production: 3+)1
global.envoy.service.typeEnvoy service type (ClusterIP, NodePort, LoadBalancer)"NodePort"
global.envoy.service.httpNodePortGateway NodePort; null = the chart picks the first free one from 30000 up and keeps it on upgradesnull
global.envoy.service.exposeAdminAdd the Envoy admin interface (9901) to the gateway Servicefalse
global.envoy.service.adminNodePortFixed NodePort for the admin interface; setting it also exposes the interfacenull
global.envoy.service.annotationsService annotations (for cloud provider configurations){}
global.grafana.userGrafana login username"elchi"
global.grafana.passwordGrafana login password. Empty = generated once and kept""
global.jwt.secretJWT signing secret. Empty = generated once (48 chars) and kept; explicit values need at least 32 characters""
global.secrets.nameSecret holding every credential (kept on helm uninstall)"elchi-stack-secrets"
global.secrets.autoGenerateGenerate a missing credential on install (needs cluster access at render: helm install/upgrade)true
global.secrets.adoptLegacyDefaultsOne-time: on the first upgrade of a release installed by chart < 2.0.0, seed the Secret with the former built-in defaultsfalse
global.jwt.accessTokenDurationAccess token expiration duration"1h"
global.jwt.refreshTokenDurationRefresh token expiration duration"5h"
global.cors.allowedOriginsCORS allowed origins (use "*" for all, or comma-separated domains)"*"
global.gslb.zoneDNS zone for GSLB resolution (Required)""
global.gslb.secretShared secret between elchi-coredns and the control plane. Empty = generated once and kept; enter the same value in the UI's GSLB settings""
global.gslb.ttlDefault TTL for DNS records in seconds (min: 1)300
global.gslb.syncIntervalInterval for syncing DNS records from backend (min: 5s, max: 5m). Must be greater than timeout"1m"
global.gslb.timeoutHTTP request timeout for backend communication (min: 1s). Must be less than syncInterval"4s"
global.gslb.adminEmailSOA admin email for DNS zone (Required)""
global.gslb.nameserversList of authoritative nameservers [{name, ip}] (Required)[]
global.gslb.staticRecordsStatic DNS records [{name, type, value}][]
global.gslb.regionsOptional list of GSLB regions for geographic routing[]
global.gslb.tlsSkipVerifySkip TLS certificate verification for backend communicationfalse

ElchiBackend Chart Values

ParameterDescriptionDefault
image.repositoryElchi backend image repository"jhonbrownn/elchi-backend"
image.pullPolicyImage pull policy"Always"
resources.controller.requests.memoryController service memory request"128Mi"
resources.controller.requests.cpuController service CPU request"100m"
resources.controller.limits.memoryController service memory limit"2Gi"
resources.controller.limits.cpuController service CPU limit"2000m"
resources.controlPlane.requests.memoryControl Plane service memory request"256Mi"
resources.controlPlane.requests.cpuControl Plane service CPU request"100m"
resources.controlPlane.limits.memoryControl Plane service memory limit"4Gi"
resources.controlPlane.limits.cpuControl Plane service CPU limit"1000m"
resources.registry.requests.memoryRegistry service memory request"64Mi"
resources.registry.requests.cpuRegistry service CPU request"50m"
resources.registry.limits.memoryRegistry service memory limit"512Mi"
resources.registry.limits.cpuRegistry service CPU limit"500m"
service.typeKubernetes service type"ClusterIP"
service.controller.portController REST service port8099
service.controller.grpcPortController gRPC service port50051
service.controlPlane.portControl Plane service port18000
service.registry.portRegistry gRPC service port9090
service.registry.metricsPortRegistry metrics service port9091
config.logging.levelLogging level"info"
config.logging.formatterLog formatter type"text"
config.logging.reportCallerWhether to report caller in logs"false"

Elchi Chart Values

ParameterDescriptionDefault
replicasNumber of Elchi replicas1
image.repositoryElchi image repository"jhonbrownn/elchi"
image.tagElchi image tag"v1.4.7"
image.pullPolicyImage pull policy"Always"
service.typeKubernetes service type"ClusterIP"
service.portService port80
resources.requests.memoryMemory request"32Mi"
resources.requests.cpuCPU request"10m"
resources.limits.memoryMemory limit"256Mi"
resources.limits.cpuCPU limit"200m"

Envoy Chart Values

ParameterDescriptionDefault
replicasNumber of Envoy replicas1
image.repositoryEnvoy image repository"envoyproxy/envoy"
image.tagEnvoy image tag (the edge proxy; the control planes run the versions in global.versions)"v1.40.2"
image.pullPolicyImage pull policy"Always"
service.typeKubernetes service type"NodePort"
service.httpPortHTTP service port8080
service.adminPortAdmin service port9901
resources.requests.memoryMemory request"64Mi"
resources.requests.cpuCPU request"50m"
resources.limits.memoryMemory limit"1Gi"
resources.limits.cpuCPU limit"1000m"

MongoDB Chart Values

ParameterDescriptionDefault
replicaCountNumber of MongoDB replicas1
image.repositoryMongoDB image repository"mongo"
image.tagMongoDB image tag"6.0.12"
image.pullPolicyImage pull policy"IfNotPresent"
persistence.enabledEnable persistencetrue
persistence.sizePVC size"5Gi"
service.typeKubernetes service type"ClusterIP"
service.portService port27017
resources.requests.memoryMemory request"256Mi"
resources.requests.cpuCPU request"100m"
resources.limits.memoryMemory limit"2Gi"
resources.limits.cpuCPU limit"1000m"

Victoria Metrics Chart Values

ParameterDescriptionDefault
image.repositoryVictoria Metrics image repository"victoriametrics/victoria-metrics"
image.tagVictoria Metrics image tag"v1.93.5"
image.pullPolicyImage pull policy"IfNotPresent"
service.typeKubernetes service type"ClusterIP"
service.portService port8428
persistence.sizeStorage size for metrics data"5Gi"
retentionPeriodData retention period"15d"
resources.requests.memoryMemory request"128Mi"
resources.requests.cpuCPU request"50m"
resources.limits.memoryMemory limit"2Gi"
resources.limits.cpuCPU limit"1000m"

OpenTelemetry Collector Chart Values

ParameterDescriptionDefault
image.repositoryOTEL Collector image repository"otel/opentelemetry-collector-contrib"
image.tagOTEL Collector image tag"0.89.0"
image.pullPolicyImage pull policy"IfNotPresent"
service.typeKubernetes service type"ClusterIP"
service.grpcPortgRPC service port4317
service.httpPortHTTP service port4318
resources.requests.memoryMemory request"64Mi"
resources.requests.cpuCPU request"25m"
resources.limits.memoryMemory limit"512Mi"
resources.limits.cpuCPU limit"500m"

Grafana Chart Values

ParameterDescriptionDefault
image.repositoryGrafana image repository"grafana/grafana"
image.tagGrafana image tag"12.2.1"
image.pullPolicyImage pull policy"IfNotPresent"
service.typeKubernetes service type"ClusterIP"
service.portService port3000
resources.requests.memoryMemory request"64Mi"
resources.requests.cpuCPU request"25m"
resources.limits.memoryMemory limit"512Mi"
resources.limits.cpuCPU limit"500m"
datasource.nameDatasource name"VictoriaMetrics"
datasource.typeDatasource type"prometheus"
datasource.accessDatasource access mode"proxy"
datasource.isDefaultSet as default datasourcetrue

Usage

Installation

Important: This chart does not create the namespace. You must create it before installation:

kubectl create namespace elchi-stack

Or use the --create-namespace flag with Helm install command.

# Basic installation
helm install my-elchi-stack charts/elchi-stack \
  --namespace elchi-stack \
  --create-namespace

# With custom values file
helm install my-elchi-stack charts/elchi-stack \
  --namespace elchi-stack \
  --create-namespace \
  --values v

Deploy elchi-stack with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has elchi-stack 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 chartelchi-stack is pinned at v2.1.0 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