Hi
I added a PVC and have /data in there 
thanks you 

On Tuesday, February 8, 2022 at 10:59:34 AM UTC+2 Brian Candler wrote:

> Alertmanager stores its state in disk files, by default in subdirectory 
> "data" relative to the working directory where alertmanager was launched.
>
> From alertmanager --help:
>
>       --storage.path="data/"     Base path for data storage.
>       --data.retention=120h      How long to keep data for.
>
> If you don't preserve that disk file, then it will lose its state.  If 
> this is in kubernetes then you'll need to use a PVC to attach some sort of 
> persistent storage volume.
>
> On Tuesday, 8 February 2022 at 08:28:24 UTC Dovid Friedman wrote:
>
>> I have Alertmanager running in K8S and every time I restart the pod all 
>> my silences disappear  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/12cce604-173d-486f-a78f-20e3823e0cb2n%40googlegroups.com.

Reply via email to