Casting File Reference

July 20, 2026 ยท View on GitHub

Complete reference for the casting.yaml configuration file. For conceptual overview, see Casting.

Top-level structure

apiVersion: v1alpha1
metadata:
  name: <string>              # required
  annotations: <map>          # optional
spec:
  deployment: <deployment>    # required
  signoz: <molding>
  ingester: <molding>
  telemetrystore: <molding>
  telemetrykeeper: <molding>
  metastore: <metastore>
  patches: <list>

Deployment

Defines where and how SigNoz is deployed.

spec:
  deployment:
    mode: <string>
    flavor: <string>
    platform: <string>

Supported combinations

Each row is a valid combination. Mixing values across rows is not supported.

Targetmodeflavorplatform
Docker Composedockercompose-
Docker Swarmdockerswarm-
Systemd (binary)systemdbinary-
Kubernetes (Kustomize)kuberneteskustomize-
Kubernetes (Helm)kuberneteshelm-
Render-blueprintrender
Coolify-stackcoolify
Railway-templaterailway
AWS ECS (EC2)ec2terraformecs

Molding spec

Each molding (signoz, ingester, telemetrystore, telemetrykeeper, mcp) accepts a spec block:

<molding>:
  spec:
    enabled: <bool>
    image: <string>
    version: <string>
    cluster:
      replicas: <int>
      shards: <int>
    env: <map>
    config:
      data: <map>
FieldTypeDefaultDescription
enabledbooltrueInclude this component in the deployment
imagestring(built-in)Container image (Docker and Kubernetes modes)
versionstring(built-in)Version label (systemd mode, tagging)
cluster.replicasint1Number of replicas
cluster.shardsint1Number of shards (TelemetryStore only)
envmap{}Environment variables as key-value pairs
config.datamap{}Config file overrides merged with the generated config: filename to contents

TelemetryKeeper

The telemetry keeper has an additional kind field to select the backend. The image and version default to the selected kind.

spec:
  telemetrykeeper:
    kind: <string>
    spec: <molding-spec>
KindBackendNotes
clickhousekeeperClickHouse KeeperDefault. Lightweight, no JVM required.
zookeeperZooKeeperApache ZooKeeper, the widely operated JVM based coordination service.

The zookeeper kind is not supported with mode: systemd yet.

MetaStore

The metastore has an additional kind field to select the backend.

spec:
  metastore:
    kind: <string>
    spec: <molding-spec>
KindBackendNotes
postgresPostgreSQLDefault. Recommended for production.
sqliteSQLiteEmbedded, single-node only.

MCP

The SigNoz MCP server is optional and disabled by default.

spec:
  mcp:
    spec: <molding-spec>

Set spec.mcp.spec.enabled: true to deploy it. The server listens on port 8000 and is pointed at the deployed SigNoz API server automatically.

Patches

List of patch operations applied to generated output files.

spec:
  patches:
    - type: <string>
      target: <string>
      operations:
        - op: <string>
          path: <string>
          value: <any>
          from: <string>
FieldRequiredDescription
typeNoPatch driver. Default: jsonpatch.
targetYesOutput file to patch, relative to pours/ (e.g. deployment/compose.yaml). Exact path or glob.
operationsYesList of JSON Patch (RFC 6902) operations.

See Patches for operation details and examples.

Annotations

Systemd binary paths

Required when using mode: systemd, flavor: binary.

AnnotationDescription
foundry.signoz.io/signoz-binary-pathPath to the SigNoz binary
foundry.signoz.io/ingester-binary-pathPath to the OTel Collector binary
foundry.signoz.io/metastore-postgres-binary-pathPath to the PostgreSQL binary
metadata:
  name: signoz
  annotations:
    foundry.signoz.io/signoz-binary-path: /opt/signoz/bin/signoz
    foundry.signoz.io/ingester-binary-path: /opt/ingester/bin/signoz-otel-collector
    foundry.signoz.io/metastore-postgres-binary-path: /usr/bin/postgres

Kubernetes Helm annotations

Optional. Override the default Helm chart source when using mode: kubernetes, flavor: helm.

AnnotationDefaultDescription
foundry.signoz.io/kubernetes-helm-casting-chartsignoz/signozHelm chart reference
foundry.signoz.io/kubernetes-helm-casting-repo-urlhttps://charts.signoz.ioHelm chart repository URL
foundry.signoz.io/kubernetes-helm-casting-repo-namesignozHelm chart repository name
foundry.signoz.io/kubernetes-helm-casting-forge-chart-Set to true to download and bundle the chart locally during forge

ECS annotations

Required when using platform: ecs, mode: ec2, flavor: terraform.

AnnotationMaps to tfvarDescription
foundry.signoz.io/ecs/regionregionAWS region
foundry.signoz.io/ecs/cluster-idecs_cluster_idECS cluster ARN or ID
foundry.signoz.io/ecs/subnet-idssubnet_idsComma-separated subnet IDs
foundry.signoz.io/ecs/security-group-idssecurity_group_idsComma-separated security group IDs
foundry.signoz.io/ecs/vpc-idvpc_idVPC ID for Cloud Map namespace
foundry.signoz.io/ecs/config-bucketconfig_bucketS3 bucket for component configs
foundry.signoz.io/ecs/task-role-arntask_role_arnIAM role ARN for ECS tasks
foundry.signoz.io/ecs/task-execution-role-arntask_execution_role_arnIAM role ARN for task execution
foundry.signoz.io/ecs/capacity-providercapacity_providerECS capacity provider name

Schema

The full JSON Schema for casting.yaml is available at docs/schemas/v1alpha1.yaml