Standalone

One pod that ingests and queries, with its data on a persistent volume. Enough for development and small clusters.

Deploy

Standalone is the default mode. With no object store configured, data lives on the pod's data volume. Hover a field to see what it does:

metrics.yaml
1apiVersion: telemetry.plural.sh/v1alpha12kind: Metrics3metadata:41  name: metrics52  namespace: telemetry6spec:73  config:84    retention: 60d9  writer:105    dataVolume:11      persistentVolumeClaim:12        accessModes: [ReadWriteOnce]13        resources: { requests: { storage: 50Gi } }
  1. 1name
    Also names the ServiceAccount the IAM role binds to, and the metrics-writer and metrics-reader Services (just metrics in Standalone mode).
  2. 2namespace
    The Kubernetes namespace the pods run in. Tenant namespaces for your data are separate and come from NamespaceAuthentication resources.
  3. 3config
    Rendered into the server's config file. The operator rolls the pods when it changes.
  4. 4retention
    How long data is kept, counted from ingestion, as 60d, 2w or 36h. Default 60d.
  5. 5dataVolume
    In Standalone mode with the default Local object store, the data itself lives here, at /var/lib/metrics. Default 10Gi. The PVC is retained when the database is deleted.

Apply it with kubectl apply -f metrics.yaml, then add credentials. To keep the data in a bucket instead of on the volume, add spec.config.storage.objectStore as in the split guide and grant S3 access.

Connect and verify

Ingest and queries go to the one metrics Service:

ToolURL
Grafana Prometheus data sourcehttp://metrics.telemetry:8080/read/ns/payments
Prometheus / Alloy remote_writehttp://metrics.telemetry:8080/write/ns/payments/api/v1/write
OTel Collector otlphttp
The exporter appends /v1/metrics.
http://metrics.telemetry:8080/write/ns/payments
bash
kubectl -n telemetry get metrics
# NAME   MODE         READY   AGE
# metrics Standalone   True    2m

kubectl -n telemetry port-forward svc/metrics 8080 &
curl -u grafana:"$PASSWORD" http://localhost:8080/read/ns/payments/api/v1/labels

Limits

The pod is a single point of failure: ingest and queries stop while it restarts. Its volume caps how much it can keep, and it can't add readers. When queries need more capacity, or the database must survive a pod restart, move to the reader/writer split.