Reference
Helm values
Every option of the Kubernetes chart, generated from the chart's own values.yaml and its comments, so it can't drift from the chart.
- The whole file, with its comments, for the version you install:
helm show values oci://ghcr.io/paimonsoror/charts/telltale > values.yaml # or one version: --version X.Y.Z (builds from main: --devel, or --version X.Y.Z-edge.N) - The file on GitHub:
deploy/helm/telltale/values.yaml. - Keep only what you change in your own file and install with
-f my-values.yaml. The chart checks values against its schema, so a mistyped value fails the install with the key's path. - TelltaleDNS's own settings go in
config:as TOML; every key is in the configuration reference.
Sections: cluster · resolvers · image · kubernetes · service · encrypted · ingress · persistence · resources · auth · serviceMonitor · prometheusRule · grafanaDashboard · upgradeHook · networkPolicy · podSecurityContext · securityContext
Top level
| Key | Default | Meaning |
|---|---|---|
mode | allInOne | Shape. - allInOne: one StatefulSet (resolver, API, UI, query log). - scaled (CLU-009): that StatefulSet becomes the cluster's controller (primary, with the volume), plus resolvers.replicas resolver pods. The pods join the controller automatically with a generated Secret, take its configuration and lists, ship their query log to it, and come and go freely (ephemeral members). DNS is spread over every pod; the UI and API stay on the controller. A node outside Kubernetes (a Pi) can join too: see cluster.advertise. - daemonSet (host-network resolvers) comes later. |
imagePullSecrets | [] | |
nameOverride | "" | |
fullnameOverride | "" | |
config | | Extra telltale.toml, merged after the settings the chart controls (listeners, data_dir, metrics and API addresses). See docs/configuration.md. |
hostNetwork | false | Bind DNS on the node's network directly (port 53): real client IPs and MAC addresses, no NAT, no LoadBalancer needed. Binding 53 on the host needs root with only NET_BIND_SERVICE (all other capabilities dropped). On k3s this is fine (CoreDNS listens on cluster IPs only); stop systemd-resolved's stub listener on the node first. |
dnsPort | 5353 | Container port for DNS when not on the host network (the Service maps 53 to it). |
secretMounts | [] | Secrets mounted read-only at /etc/telltale-secrets/<name>, e.g. an OIDC client secret (point client_secret_file at /etc/telltale-secrets/oidc/client_secret). optional: true lets the pod start without the Secret. |
extraEnv | [] | |
podAnnotations | {} | |
podLabels | {} | |
nodeSelector | {} | |
tolerations | [] | |
affinity | {} | |
priorityClassName | "" | |
terminationGracePeriodSeconds | 30 | Draining: readiness turns off first, then TCP and in-flight upstream queries finish. |
drainDelaySeconds | 5 | On shutdown, pods keep answering this long after turning not ready, so the Service stops sending them queries first (no lost lookups during rollouts). Keep it well under terminationGracePeriodSeconds. |
cluster
Clustering (mode: scaled).
| Key | Default | Meaning |
|---|---|---|
site | k8s | Site label for these pods (the Cluster page groups resolver pods by site). |
port | 9443 | The cluster port inside the pods (mTLS between nodes). |
service.type | ClusterIP | ClusterIP for pods only. LoadBalancer (or NodePort) lets a node outside Kubernetes join. |
service.annotations | {} | |
advertise | [] | Extra URLs for the controller's cluster port that nodes outside Kubernetes dial, e.g. ["https://192.168.5.100:9443"] behind a LoadBalancer. In-cluster URLs are added for you. |
bootstrapSecret | The shared join secret. Empty: the chart creates one (kept across upgrades). With Argo CD (no lookup), create the Secret yourself and name it here. | |
bootstrapSecret.existingSecret | "" | A Secret of your own instead of the generated one (48 random characters). Use at least 32 random characters: anyone who knows it can join as a resolver pod. |
bootstrapSecret.key | bootstrap | |
rollout | Staged rollouts (mode: scaled): a configuration change reaches the canary nodes (and the controller, which runs it at once) first, and every other node after bakeSeconds if nothing fails; a failure pins the cluster to the version before. Empty (the default): changes reach every node at once. Entries are node IDs, site:<name>, or ephemeral (the resolver pods). With [ephemeral], the pods take a change at once under the guard's watch and nodes outside Kubernetes (a Raspberry Pi that joined) wait out the bake. Also editable in the web UI: Settings → Cluster → Staged rollouts. | |
rollout.canaries | [] | |
rollout.bakeSeconds | 300 | How long a change bakes on the canaries before everyone gets it (at least 5). |
rollout.servfailPct | 5 | Fail when the canaries' SERVFAIL share during the bake is over max(the share before + 2 points, this) percent (with at least 50 answers). |
rollout.requireTraffic | false | Keep baking until the canaries answered 50 queries (or an hour), then judge. |
rollout.history | 20 | Versions kept for pinning back to (their files stay on the controller's volume). |
resolvers
| Key | Default | Meaning |
|---|---|---|
replicas | 2 | |
ephemeralTtlSeconds | 600 | Seconds the controller keeps a resolver pod it no longer hears from. |
siteFromNode | false | A site for each resolver pod: its Kubernetes node's name instead of cluster.site. A group with nodes = ["site:<node name>"] then applies to the pods of that node, so the devices of each LoadBalancer (one per site, externalTrafficPolicy: Local, announced from that site's node) get that site's groups: two sites can reuse one network. The controller keeps cluster.site, and a TELLTALE_CLUSTER_SITE in extraEnv replaces the node's name in the resolver pods. A site decides, for each pod: its groups, the canaries site:<name> of staged rollouts, scope=site:<name> of the API's cluster reads, the to of a shipped query log, and the site label of alerts and metrics. Needs a controller and nodes that run a version with groups that have nodes. |
resources.requests.cpu | 50m | |
resources.requests.memory | 64Mi | |
resources.limits.cpu | "1" | |
resources.limits.memory | 256Mi | |
podAnnotations | {} | |
nodeSelector | {} | |
tolerations | [] | |
affinity | {} | E.g. spread the pods: podAntiAffinity on app.kubernetes.io/component: resolver |
image
| Key | Default | Meaning |
|---|---|---|
repository | ghcr.io/paimonsoror/telltale | |
tag | "" | Default: the chart's appVersion. |
pullPolicy | IfNotPresent |
kubernetes
Kubernetes workloads as devices: the controller (or the allInOne pod) watches pods and namespaces, read-only, and names each pod address by its workload (media/deploy/jellyfin); a Deployment's replicas are one device across rollouts. Pods are seen as themselves only when they ask TelltaleDNS directly: point the cluster's DNS at the DNS Service (service.dns.clusterIP, then the kubelet's cluster DNS; see NOTES and docs/running/kubernetes.md), or give a workload dnsConfig.nameservers. TelltaleDNS sends the cluster domain (and the pod and service reverse zones) on to CoreDNS. Don't set [kubernetes] in config as well: the chart writes it.
| Key | Default | Meaning |
|---|---|---|
enabled | false | |
clusterDomain | cluster.local | The cluster's DNS domain. |
clusterDns | "" | CoreDNS's Service address (required when enabled): kubectl -n kube-system get svc kube-dns -o jsonpath='{.spec.clusterIP}' |
podCidr | "" | Optional: the pod and service networks (IPv4 CIDRs, e.g. 10.42.0.0/16 and 10.43.0.0/16 on k3s); their reverse zones (PTR) go to CoreDNS too, rounded to whole octets. Leave them empty if CoreDNS forwards to TelltaleDNS (the node's own DNS server is TelltaleDNS's address): CoreDNS passes on reverse names it doesn't know, so an unknown one would loop. |
serviceCidr | "" | |
ownPodsUseClusterDns | true | TelltaleDNS's own pods ask CoreDNS (clusterDns) rather than the cluster's default, so they don't depend on their own Service once the kubelet's cluster DNS points at it. |
namespaces | [] | Namespaces to watch (empty: all), and namespaces never watched. |
excludeNamespaces | [] | |
defaultGroup | "" | The group of a workload no label or rule places (empty: its network's group, or default). |
map | [] | Groups by namespace glob (and optionally kind and name), first match wins after the telltaledns.io/group labels: [{namespace: "media*", group: "iot"}]. |
rbac.create | true | A ServiceAccount, and a ClusterRole that can only get/list/watch pods and namespaces. |
rbac.serviceAccountName | "" | Use an existing ServiceAccount instead (it needs those rights). |
service
| Key | Default | Meaning |
|---|---|---|
dns.type | LoadBalancer | One Service with both UDP and TCP 53. |
dns.port | 53 | |
dns.clusterIP | "" | A fixed cluster address for the Service, so the kubelet's cluster DNS setting survives reinstalls (e.g. 10.43.0.53 inside k3s's 10.43.0.0/16). Empty: assigned. |
dns.externalTrafficPolicy | Local | Local keeps client source IPs (per-device filtering and the query log need them). Cluster masks them behind node IPs: NOTES.txt warns. |
dns.loadBalancerIP | "" | |
dns.loadBalancerClass | "" | |
dns.annotations | {} | E.g. metallb.universe.tf/loadBalancerIPs, io.cilium/lb-ipam-ips, kube-vip.io/loadbalancerIPs |
dns.alsoServe | One address for everything: the DNS Service also carries the UI/API port and (scaled) the cluster port. Only the controller has those ports, so only it gets that traffic. Use this instead of giving the api or cluster Service the DNS Service's IP: with externalTrafficPolicy Local, MetalLB and Cilium share an IP only between Services that select the same pods, and in mode: scaled they don't (the DNS Service would lose its IP). See docs/running/kubernetes.md, "Scaling in Kubernetes". Caution (GitHub issue #2): with externalTrafficPolicy Local and pods on more than one node, the load balancer may announce the IP from a node that runs only a resolver pod, which drops these ports (DNS still works). NOTES.txt warns; the docs list the safe setups. | |
dns.alsoServe.api | false | |
dns.alsoServe.cluster | false | |
api.type | ClusterIP | The web UI and REST API. ClusterIP plus ingress, or LoadBalancer on the LAN. |
api.port | 8053 | |
api.externalTrafficPolicy | Local | |
api.loadBalancerIP | "" | |
api.annotations | {} | |
metrics.port | 9153 |
encrypted
Encrypted DNS for devices: DNS over TLS (853) and DNS over HTTPS (443) on the same DNS Service. Needs a certificate: an existing kubernetes.io/tls Secret, or one from cert-manager. A wildcard name (*.dns.example.com) lets devices identify themselves (kids-tablet.dns.example.com → client ID "kids-tablet"). The certificate is re-read when cert-manager renews it; no restart.
| Key | Default | Meaning |
|---|---|---|
dot.enabled | false | |
dot.port | 853 | |
doh.enabled | false | |
doh.port | 443 | |
doh.path | /dns-query | |
doh.http3 | false | Also serve DoH over HTTP/3 (QUIC, UDP on the same port); HTTP/2 answers advertise it with Alt-Svc. |
doq | DNS over QUIC (RFC 9250) on UDP 853: Android and iOS apps and some resolvers prefer it. Uses the same certificate. | |
doq.enabled | false | |
doq.port | 853 | |
proxyProtocol | false | Accept PROXY protocol v2 on TCP, DoT, and DoH (only when a balancer in front sends it: every connection must then start with the header). |
tls.secretName | "" | An existing Secret with tls.crt and tls.key. Ignored when certManager.enabled. |
tls.certManager.enabled | false | |
tls.certManager.issuerRef.name | "" | |
tls.certManager.issuerRef.kind | ClusterIssuer | |
tls.certManager.dnsNames | [] | E.g. [dns.example.com, "*.dns.example.com"] |
ingress
The UI and API behind an Ingress (TLS). Also set [api] trusted_proxies in config to the ingress's source network (the ingress itself, never your LAN) so sign-in lockouts, the audit log, and the break-glass networks (disable_local_login) see client addresses. Where the ingress hides them (source NAT), address checks can't be trusted: use allowed_admin_networks = [] there.
| Key | Default | Meaning |
|---|---|---|
enabled | false | |
className | "" | |
host | "" | |
annotations | {} | E.g. with cert-manager: {cert-manager.io/cluster-issuer: letsencrypt} |
tls.secretName | "" |
persistence
| Key | Default | Meaning |
|---|---|---|
enabled | true | Filter snapshots, downloaded lists, the query log, rollups, users (state.db). |
size | 2Gi | |
storageClass | "" | |
accessModes | [ReadWriteOnce] | |
existingClaim | "" | Use this PersistentVolumeClaim instead of creating one (size, storageClass, and accessModes are then ignored): for moving an existing install's data to this chart. |
resources
| Key | Default | Meaning |
|---|---|---|
requests.cpu | 100m | |
requests.memory | 96Mi | |
limits.cpu | "2" | |
limits.memory | 512Mi | Steady state ~35 MiB with typical lists; compiling large lists peaks near 110 MiB. |
auth
| Key | Default | Meaning |
|---|---|---|
bootstrapAdmin | Create the first admin from a Secret instead of the setup token. Keys: username and password or password-hash (an Argon2id hash from telltale auth hash-password). | |
bootstrapAdmin.existingSecret | "" | |
bootstrapAdmin.usernameKey | username | |
bootstrapAdmin.passwordKey | password | |
bootstrapAdmin.passwordHashKey | password-hash |
serviceMonitor
| Key | Default | Meaning |
|---|---|---|
enabled | false | |
interval | 30s | |
scrapeTimeout | 10s | |
labels | {} |
prometheusRule
Default alerts: down, upstreams down, SERVFAIL rate, lists whose last good copy is over 48 hours old and whose latest refresh failed, lists that have never loaded, dropped telemetry.
| Key | Default | Meaning |
|---|---|---|
enabled | false | |
labels | {} | |
slo | SLO recording rules (telltale:slo_*_errors:ratio_rate<window>) and multi-window burn-rate alerts over every node. Keep these equal to the nodes' [slo] settings, which the web UI and the API use; latencyMs must be a bucket bound of telltale_query_duration_seconds (1, 5, 10, 25, 50, 100, 250, 500, 1000, 2500, 5000). | |
slo.enabled | true | |
slo.availabilityTarget | 99.9 | |
slo.latencyTarget | 99 | |
slo.latencyMs | 250 |
grafanaDashboard
The Grafana dashboard as a ConfigMap for the Grafana sidecar.
| Key | Default | Meaning |
|---|---|---|
enabled | false | |
labels.grafana_dashboard | "1" | |
annotations | {} |
upgradeHook
Upgrade the cluster's native nodes (installed with install.sh, outside Kubernetes) before this chart rolls its own pods. A pre-upgrade hook Job (Argo CD: PreSync) runs telltale ctl upgrade --to-self from the new image: it asks each native node in turn, replicas first, to install the image's version, and waits until it is back, ready, and in sync. A node that fails stops the upgrade, and the pods keep their version. Each node needs its update service on (install.sh --cluster-updates, or systemctl enable --now telltale-update.path). An edge image's build can be installed on the nodes only while it is the newest on the edge channel (see whenUnavailable). Nodes on an older version without this feature are upgraded by hand once, on their own channel (telltale self-update --restart, with --channel edge on an edge node). Helm waits for a hook only helm upgrade --timeout (5m by default): give it at least activeDeadlineSeconds (--timeout 45m). docs/running.md "Upgrading from the cluster" has the Argo CD notes.
| Key | Default | Meaning |
|---|---|---|
enabled | false | |
tokenSecret | A Secret with an agent token (Settings → API tokens → for an AI agent, made by an admin) that has the scopes analytics:read and cluster:upgrade (analytics:read also reads every analytics route). The hook runs on every sync and reads the cluster first, so a token that expires (expires_in_days), is revoked, or stops working ([agents] enabled = false) fails EVERY sync from then on, a values-only change too: make it without an expiry for this narrow scope, or set a reminder to rotate it. A first install has no cluster to make the token in: leave the hook off until the token exists (or create the Secret with a placeholder, which the hook skips past only while nothing answers yet). A missing Secret fails the hook at once ("set TELLTALE_TOKEN"). Under Argo CD a PreSync hook runs before the app's own resources, so the Secret must not be one of them. | |
tokenSecret.name | "" | |
tokenSecret.key | token | |
url | "" | The API to ask. Default: this release's API Service, over plain HTTP inside the cluster; set an https:// URL when the API serves TLS ([api] tls), and with a self-signed certificate name a Secret holding it in caSecret (otherwise the hook can't trust it and fails). |
caSecret | A Secret with the PEM certificate the API's https:// URL must be checked against (its key, default ca.crt), mounted into the hook and given to ctl as --ca-file. | |
caSecret.name | "" | |
caSecret.key | ca.crt | |
timeout | 15m | How long each node may take to install the version and come back in sync: at least the update service's longest run (about 15 minutes: the downloads, the restart, the health check and a rollback). |
skipDown | false | Leave nodes that are down out instead of failing. A node that is up but can't take the request (its update service off, another channel, an update running there) still fails the hook: that is set up wrong, not down. |
whenUnavailable | fail | When a native node can't fetch the image's edge build any more (main has published a newer one): fail keeps the sync blocked until the pin moves to the newest edge build or a release; skip leaves that node on its version with a loud log line and goes on (the replicas-first order is lost for that node in that run). |
activeDeadlineSeconds | 2700 | The whole hook's limit, for every node together: timeout for each native node it may upgrade, plus room for the pre-flight and the pod's start (2700 covers two nodes; raise it, and helm's --timeout and Argo CD's sync timeout with it, for more). |
resources.requests.cpu | 10m | |
resources.requests.memory | 32Mi | |
resources.limits.memory | 128Mi |
networkPolicy
| Key | Default | Meaning |
|---|---|---|
enabled | false | |
dnsFrom | [] | CIDRs allowed to query DNS / reach the UI+API / scrape metrics. Empty: anyone. |
apiFrom | [] | |
metricsFrom | [] |
podSecurityContext
| Key | Default | Meaning |
|---|---|---|
fsGroup | 65532 | |
fsGroupChangePolicy | OnRootMismatch | |
seccompProfile.type | RuntimeDefault |
securityContext
| Key | Default | Meaning |
|---|---|---|
runAsUser | 65532 | |
runAsGroup | 65532 | |
runAsNonRoot | true | |
readOnlyRootFilesystem | true | |
allowPrivilegeEscalation | false | |
capabilities.drop | [ALL] |