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: Logs3metadata:41 name: logs52 namespace: telemetry6spec:73 config:84 retention: 14d9 writer:105 dataVolume:11 persistentVolumeClaim:12 accessModes: [ReadWriteOnce]13 resources: { requests: { storage: 50Gi } }- 1nameAlso names the ServiceAccount the IAM role binds to, and the
logs-writerandlogs-readerServices (justlogsin 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
14d,2wor36h. Default14d. - 5dataVolumeIn Standalone mode with the default
Localobject store, the data itself lives here, at/var/lib/logs. Default 10Gi. The PVC is retained when the database is deleted.
Apply it with kubectl apply -f logs.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 logs Service:
| Tool | URL |
|---|---|
| Grafana Loki data source | http://logs.telemetry:3100/read/ns/payments |
Alloy / Promtail loki.write | http://logs.telemetry:3100/write/ns/payments/loki/api/v1/push |
OTel Collector otlphttpThe exporter appends /v1/logs. | http://logs.telemetry:3100/write/ns/payments/otlp |
Fluent Bit / Vector elasticsearchSpeaks the _bulk protocol. | http://logs.telemetry:3100/write/ns/payments/elasticsearch |
kubectl -n telemetry get logs
# NAME MODE READY AGE
# logs Standalone True 2m
kubectl -n telemetry port-forward svc/logs 3100 &
curl -u grafana:"$PASSWORD" http://localhost:3100/read/ns/payments/loki/api/v1/labelsAn empty data array is expected until the collector has sent something.
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.