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:

logs.yaml
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 } }
  1. 1name
    Also names the ServiceAccount the IAM role binds to, and the logs-writer and logs-reader Services (just logs 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 14d, 2w or 36h. Default 14d.
  5. 5dataVolume
    In Standalone mode with the default Local object 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:

ToolURL
Grafana Loki data sourcehttp://logs.telemetry:3100/read/ns/payments
Alloy / Promtail loki.writehttp://logs.telemetry:3100/write/ns/payments/loki/api/v1/push
OTel Collector otlphttp
The exporter appends /v1/logs.
http://logs.telemetry:3100/write/ns/payments/otlp
Fluent Bit / Vector elasticsearch
Speaks the _bulk protocol.
http://logs.telemetry:3100/write/ns/payments/elasticsearch
bash
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/labels

An 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.