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:
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 } }- 1nameAlso names the ServiceAccount the IAM role binds to, and the
metrics-writerandmetrics-readerServices (justmetricsin Standalone mode). - 2namespaceThe Kubernetes namespace the pods run in. Tenant namespaces for your data are separate and come from NamespaceAuthentication resources.
- 3configRendered into the server's config file. The operator rolls the pods when it changes.
- 4retentionHow long data is kept, counted from ingestion, as
60d,2wor36h. Default60d. - 5dataVolumeIn Standalone mode with the default
Localobject 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:
| Tool | URL |
|---|---|
| Grafana Prometheus data source | http://metrics.telemetry:8080/read/ns/payments |
Prometheus / Alloy remote_write | http://metrics.telemetry:8080/write/ns/payments/api/v1/write |
OTel Collector otlphttpThe exporter appends /v1/metrics. | http://metrics.telemetry:8080/write/ns/payments |
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/labelsLimits
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.