Documentation Index
Fetch the complete documentation index at: https://docs.emergence.ai/llms.txt
Use this file to discover all available pages before exploring further.
em-service Chart
em-service is the base Helm chart for deploying any containerised CRAFT service to a Kubernetes cluster. Every CRAFT solution chart wraps it as a subchart — one instance per component, differentiated by alias.
Features
- Deployment with configurable replicas, update strategy and pod annotations
- Three-layer environment variable model with deduplication (see below)
- Secret injection via
envFromor individualenvVarsentries withvalueFrom - Ingress with flexible routing (standard Kubernetes Ingress and Gateway API)
- Horizontal Pod Autoscaler
- Liveness, readiness and startup probes
- PersistentVolumeClaim support
- Init containers and sidecars
- RuntimeClass for specialised runtimes
Installation
Environment variable model
Three layers, applied in order, with deduplication:| Layer | Format | Purpose |
|---|---|---|
env | map[string]string | Plain-text variables. Always wins over envVars/extraEnvVars with the same name |
envVars | Kubernetes env object list | Full env spec — use valueFrom for secrets, ConfigMaps, field refs |
extraEnvVars | Kubernetes env object list | Additional variables appended after envVars |
env matches the name of an envVars or extraEnvVars entry, the list entry is suppressed. This allows parent charts to define secret-backed defaults while letting operators override with plain values without creating duplicate env entries.
Key values
| Value | Default | Description |
|---|---|---|
replicaCount | 1 | Number of replicas |
image.repository | "" | Container image repository |
image.tag | "" | Image tag |
image.pullPolicy | IfNotPresent | Pull policy |
imagePullSecrets | [] | Image pull secret names |
env | {} | Plain-text environment variables |
envVars | [] | Kubernetes env object list (supports valueFrom) |
service.type | ClusterIP | Kubernetes service type |
service.port | 8000 | Service port |
ingress.enabled | false | Enable Kubernetes Ingress |
resources | {} | CPU/memory requests and limits |
autoscaling.enabled | false | Enable HPA |
charts/em-service/values.yaml in the em-charts repository.
Using as a subchart
Service charts declareem-service as a subchart dependency in Chart.yaml:
values.yaml:
Related
em-core Chart
Core platform chart using em-service for platform components.
em-data-insights Chart
Data insights solution chart extending em-core.
Helm Configuration
em-runtime chart configuration and deployment modes.

