Ask questions about data storage #1386
-
I used the 0.8.0 version, my kubernetes version is 1.20, and it runs normally, but I would like to ask, if my monitoring data is to be retained for 30 days, how should I set it in the yaml file? In addition, if I want to How to configure pvc if the data is retained |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For retention you need to configure For pvc you need to configure |
Beta Was this translation helpful? Give feedback.
For retention you need to configure
retention
setting inprometheus.prometheus.spec.retention
- example https://github.com/thaum-xyz/ankhmorpork/blob/master/apps/monitoring/jsonnet/main.jsonnet#L234For pvc you need to configure
storage
setting inprometheus.prometheus.spec.storage
- example https://github.com/thaum-xyz/ankhmorpork/blob/master/apps/monitoring/jsonnet/main.jsonnet#L242-L255