Live Edit configuration reference#
This page lists the Helm values that configure Live Edit, the environment variable each one sets, and the chart default.
Read Deployment first; the topic pages linked below explain the decisions behind the settings that need one.
helm show values prints the full description of every value.
How settings are applied#
The chart renders the service settings into a ConfigMap that the container reads once at startup; the backing-store URL comes from a Secret or from valkey.url.
Changes roll the pods. A
helm upgradethat changes a server setting on this page rolls the server pods; a change to a scaler setting rolls only the scaler pod. Clients of a replaced pod reconnect; see Operations.Secret changes do not. Rotating the Secret that holds the backing-store URL takes effect only when the pods restart.
Invalid values stop early. The chart refuses some invalid values at render time, naming the value. On any other invalid setting the pod logs
configuration error:with the variable’s name, exits, and never becomes Ready; the previous pods keep serving.
Running the container without the chart#
Set the environment variables in the second column. For the server, an unset variable takes the service’s built-in default, which matches the chart default except for these:
Environment variable |
Built-in default |
|---|---|
|
|
|
none; required while authorization is on |
|
none; required while the userinfo service is on |
|
|
|
|
|
derived from |
|
|
|
none; set the path when the mode needs it |
|
the subscription limit; leave unset, since |
|
set |
Give the server container a memory limit, such as docker run --memory 5g: the service sizes its memory budgets from it.
Without one, or when it cannot read the limit, it logs a warning at startup and sizes itself as a 5 GiB pod, whatever memory the host has.
The scaler (live-edit scaler) requires LIVE_EDIT_SCALER_NAMESPACE, LIVE_EDIT_SCALER_DEPLOYMENT, LIVE_EDIT_SCALER_SERVICE, LIVE_EDIT_SCALER_MIN_REPLICAS and LIVE_EDIT_SCALER_MAX_REPLICAS; its CPU target defaults to 0 (off), and LIVE_EDIT_SCALER_CPU_REQUEST is required once you set one.
Value syntax#
Durations are whole numbers in the unit the name ends with:
Ms(_MSin a variable) is milliseconds,SecsorSeconds(_SECS) is seconds. Thecheckpointintervals without a unit are seconds. A unit suffix such as15sis refused.Sizes are whole numbers of bytes, for names ending
Bytes(_BYTES) and forlayer.maxSize. A suffix such as128Miis refused, except in the Kubernetesresourcesvalues. Inresources.limits.memoryandresources.requests.memorythe chart also refuses them,uandnsuffixes (fractions of a byte, almost always a typo forMiorM) and a zero memory limit. Other forms Kubernetes accepts, such as5e9, are read as Kubernetes reads them.Whole numbers are plain digits; a large one, such as
12000000000, needs no quotes. Write no leading zeros: unquoted in a values file,010is read as 8. Anything else, such as a negative or fractional number or text, fails the install, naming the value. This covers every whole-number setting the service and the scaler read, andminReadySeconds,terminationGracePeriodSeconds,tests.ttlSecondsAfterFinished,dr.backoffLimitanddr.ttlSecondsAfterFinished. The ports are checked when the pods start.Booleans are
trueorfalse.Unset values (empty or
null) let the service choose; the Default column says what it chooses. Emptying a value that has a non-empty default can fail the render or startup, or change behaviour; leave values you don’t mean to change out of your values file.0means off, unlimited or refused, depending on the setting.
Service ports and labels#
Helm value |
Environment variable |
Default |
Description |
|---|---|---|---|
|
|
|
gRPC port for clients and health probes. |
|
|
|
HTTP port serving Prometheus |
|
|
unset (the pod name) |
Value of the |
Logs, traces and metrics export#
Monitoring covers what to collect.
Helm value |
Environment variable |
Default |
Description |
|---|---|---|---|
|
|
|
|
|
|
|
|
|
— |
|
Export traces over OTLP/gRPC. Requires |
|
|
|
OTLP/gRPC collector URL for traces: |
|
|
|
Fraction of requests traced, |
|
|
|
Which spans are exported, independent of the log level. |
|
— |
|
Also push metrics over OTLP/gRPC. The |
|
|
|
OTLP/gRPC collector URL for metrics: |
|
|
unset (the chart name) |
Service name on exported traces and metrics. |
Each collector URL is http:// (plaintext) or https:// (TLS) and names a host; any other value stops startup with configuration error: naming the variable.
Over http://, anyone who can watch the network between the pods and the collector can read the telemetry, including the request fields such as base_path on span events and the pod name in the service metric label.
Over https://, the service checks the collector’s certificate against the CA bundle in its container image, read once at startup, and sends no client certificate; an unreadable bundle stops startup.
For a collector signed by a private CA, mount a bundle of the public roots plus your CA as TLS describes.
Without the chart, SSL_CERT_FILE or SSL_CERT_DIR can name that bundle instead; the OTEL_EXPORTER_OTLP_CERTIFICATE and client-certificate variables are not read.
Traces go only to OTEL_EXPORTER_OTLP_ENDPOINT and the metrics push only to OTEL_EXPORTER_OTLP_METRICS_ENDPOINT; OTEL_EXPORTER_OTLP_TRACES_ENDPOINT is never read, and an empty variable turns its export off.
Exports are sent uncompressed: while trace export is on, any value of OTEL_EXPORTER_OTLP_TRACES_COMPRESSION or OTEL_EXPORTER_OTLP_COMPRESSION, none included, stops startup with configuration error: naming the variable, and likewise OTEL_EXPORTER_OTLP_METRICS_COMPRESSION or OTEL_EXPORTER_OTLP_COMPRESSION while metrics push is on; leave them unset.
Backing-store connection#
Backing store explains the authentication modes and provider setup.
Helm value |
Environment variable |
Default |
Description |
|---|---|---|---|
|
|
|
Secret whose |
|
|
|
The connection URL inline, for a URL that carries no password. |
|
|
|
The connection URL from any Kubernetes variable source, such as a |
|
|
|
|
|
|
|
Token file for that mode, in the same directory as the outbound token. |
|
|
|
Valkey user name for that mode. Required. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IAM-enabled Valkey user. Required in |
|
|
|
AWS region of the cluster. Required in |
|
|
|
The cluster or cache name, not its endpoint host name. Required in |
Capacity and retention#
Scaling explains how these relate to pod resources.
The service sizes its per-replica memory budgets (subscriptions, catch-ups of large layers, uploads and the structural-edit cache) from resources.limits.memory at startup; no setting sets them.
A pod whose environment sets LIVE_EDIT_CATCHUP_SNAPSHOT_ENABLED (Removed settings), or one of the settings from pre-release builds LIVE_EDIT_SUBSCRIBER_MAX_SUBSCRIPTIONS, LIVE_EDIT_CATCHUP_BUILD_MEMORY_BUDGET_MIB, LIVE_EDIT_UPLOAD_MEMORY_BUDGET_MIB and LIVE_EDIT_STRUCTURAL_CACHE_MAX_MIB, stops at startup: remove it.
Some settings on this page also take pod memory and raise the smallest memory limit that starts; Starting size lists them.
Helm value |
Environment variable |
Default |
Description |
|---|---|---|---|
|
|
|
Backing-store connections per replica for general commands. At least |
|
|
|
Stream-reader connections per replica. On a clustered store, also how many distinct layers a replica serves at once. |
|
|
|
Recent updates the backing store keeps per layer. |
|
|
|
Bytes of recent updates kept per layer (128 MiB); the smaller limit applies. Lower it to save backing-store memory. |
|
|
unset |
The store’s total memory in bytes, as the provider states it. Set it only where the store reports no memory limit, in practice Azure Managed Redis; a reported limit wins. Update it after a resize. Below |
|
|
unset (derived from the store’s memory) |
When deleted large values awaiting clean-up exceed this many bytes, uploads carrying large values wait, then fail with a retryable |
|
— |
|
Pod memory limit; required. Every per-replica memory budget follows it, and below the size your settings need the pod stops at startup naming that size. Resizing it in place restarts the container. Starting size |
|
— |
|
Pod CPU limit. |
|
— |
70% of |
Pod memory request, used for scheduling; no memory budget depends on it. Unset, it is 70% of the limit, rounded down to whole MiB. A set request is used as written; the chart refuses one above the limit. |
|
|
|
Pod CPU request; the autoscaler’s CPU target is a percentage of it. |
Requests and uploads#
Helm value |
Environment variable |
Default |
Description |
|---|---|---|---|
|
|
|
Deadline for every call except the two long-lived streams. Raise |
|
|
|
Largest single upload, in bytes (100 MiB); larger ones fail |
|
|
unset (2000 at the default deadline) |
How long an upload waits for the replica’s upload memory. Must be below |
|
|
|
|
Presence and shutdown#
Helm value |
Environment variable |
Default |
Description |
|---|---|---|---|
|
|
|
Keepalive interval for clients that opt in; one silent for three intervals leaves its session. |
|
|
|
How long a stopping pod keeps serving after leaving the load balancer. |
|
|
|
Streams a stopping pod ends per second, so clients reconnect gradually. |
|
|
|
Longest time spent ending streams. |
|
|
|
Cleanup time after the server stops. At least |
|
— |
|
Must cover the shutdown settings and |
|
— |
|
|
Warning
With shareProcessNamespace: true, the service’s environment, which a container with CAP_SYS_PTRACE can also read, holds the backing-store connection Secret.
A signal from any container can then stop the service or another container.
The core dump is written only if the node’s core pattern pipes it to a host handler: the container’s root filesystem is read-only.
Checkpoints#
Durability explains when to use checkpoints and which adapter to choose. With the chart defaults the service refuses to start until you choose an adapter or turn checkpoints off.
Helm value |
Environment variable |
Default |
Description |
|---|---|---|---|
|
|
|
Write periodic backups of every layer. With |
|
|
|
|
|
|
|
Storage API URL. Required for |
|
|
|
Storage path under which backups are written. Required for |
|
|
|
Directory on a persistent volume. Required for |
|
|
|
Longest gap between full backups of a changing layer. |
|
|
|
Back up a layer early once it has been idle this long. |
|
|
|
Full backups kept per layer. |
|
|
|
Take incremental backups between full ones. |
|
|
|
Headroom above the last backed-up layer id when the service recovers from a backing-store data loss. Raise it if more than a million layers could be created during a backup-store outage. Lowering it risks reused layer ids. |
|
|
|
With |
|
|
|
Most layers a disaster-recovery restore or accept-loss Job reads or writes at once; the service itself ignores it, though a change still rolls its pods. Lower it if such a Job runs out of memory. |
Autoscaling#
Scaling explains the replica model and how to size these.
The scaler settings apply when autoscaling.mode is scaler.
Helm value |
Environment variable |
Default |
Description |
|---|---|---|---|
|
— |
|
Let an autoscaler own the replica count. |
|
— |
|
|
|
|
|
Fewest replicas. |
|
|
|
Most replicas. Your backing store’s connection limit must allow twice this many. |
|
|
|
Target CPU use, as a percentage of |
|
— |
|
Memory target, as a percentage of |
|
|
|
Seconds between load reads. |
|
|
|
Add replicas so waiting subscribers are served within this time. |
|
|
|
Add replicas before subscriptions pass this share of each replica’s limit. |
|
|
|
How long demand must stay lower before a replica is removed. |
|
|
|
Least time between removals, one replica each. |
|
|
|
Remove the replica with the fewest subscriptions first. |
|
— |
|
Create the scaler’s Role and RoleBinding. Set |
Advanced tuning#
Leave these at their defaults unless a topic page, a startup error or NVIDIA support directs you to change one. Startup errors name the environment variable; find its Helm value here.
Helm value |
Environment variable |
Default |
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unset ( |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
unset (at least |
|
|
unset; diagnosis only, leave it unset |
Map of values.yaml#
Section |
Controls |
Covered on |
|---|---|---|
|
image and pod identity |
|
|
Service object and ports |
this page, Deployment |
|
request authorization, user identity, outbound tokens |
|
|
logs, traces, metrics export, Prometheus scraping |
|
|
backing-store connection, authentication and capacity |
|
|
request handling, uploads, sessions, shutdown |
this page |
|
backups and recovery |
|
|
disaster-recovery restore and accept-loss Jobs |
|
|
memory allocator diagnosis |
leave unset |
|
pod size and replica count |
|
|
health checks and rollouts |
|
|
crash-dump signals, by sharing processes between the pod’s containers |
this page |
|
ingress and network access |
|
|
standard pod placement and storage |
Kubernetes documentation |
|
smoke tests ( |
|
|
resource names, rollout pacing, release-validation hooks |
leave at default |
See next#
Backing store: choose and connect the Valkey backing store.