r/golang•
RoseSec_

Tracking State Across Pod Restarts

help

I’m currently working on an application that polls data from various APIs and stores a cursor for the last data collected (fingerprint = ID + timestamp). The application is running on an edge Kubernetes cluster, and we want to minimize overhead and complexity, including avoiding the need for additional services like Redis or MinIO. How would you approach writing the cursor to persist across pod restarts? Without an external service like Redis, would you opt for a simple PVC and state file?

Posted Dec 29, 2025, 7:52 PM UTC

014
Loading comments…