---
title: "Discussion on \"Prometheus data lost after pod restart? How to set kube-prometheus-stack persistent storage (a storageSpec PVC) without losing the emptyDir data\" | Hashnode"
description: "Discussion on \"Prometheus data lost after pod restart? How to set kube-prometheus-stack persistent storage (a storageSpec PVC) without losing the emptyDir data\". Prometheus data lost after pod restart? kube-prometheus-stack keeps the TSDB on an emptyDir unless storageSpec is set. How to check, and how to set persistent storage (a storageSpec PVC) without losing the emptyDir data."
url: "https://hashnode.com/posts/prometheus-data-lost-after-pod-restart-how-to-set-kube-prometheus-stack-persistent-storage-a-storagespec-pvc-without-losing-the-emptydir-data/6af90d927893c5322a1054a4"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Prometheus data lost after pod restart? How to set kube-prometheus-stack persistent storage (a storageSpec PVC) without losing the emptyDir data](https://kkhdevs.hashnode.dev/prometheus-data-lost-after-pod-restart-how-to-set-kube-prometheus-stack-persistent-storage-a-storagespec-pvc-without-losing-the-emptydir-data?utm_source=hashnode&utm_medium=feed)

Prometheus data lost after pod restart? kube-prometheus-stack keeps the TSDB on an emptyDir unless storageSpec is set. How to check, and how to set persistent storage (a storageSpec PVC) without losing the emptyDir data.

3h ago · 24 min read · kkhdevs.hashnode.dev  
Read the article

-   [#kubernetes](https://hashnode.com/tag/kubernetes)
-   [#prometheus](https://hashnode.com/tag/prometheus)
-   [#monitoring](https://hashnode.com/tag/monitoring)
-   [#sre](https://hashnode.com/tag/sre)
-   [#devops](https://hashnode.com/tag/devops)

## Written by

[KIM KYUNGHWAN](https://hashnode.com/@kkhdevs)

@kkhdevs

  
[View profile](https://hashnode.com/@kkhdevs)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
