And also have a question that if Prometheus has any autoscaling solution?

On Friday, June 4, 2021 at 3:24:58 PM UTC+8 nina guo wrote:

> Thank you very much.
> If I deploy multiple Prometheus Pods, and mount separate volumes to each 
> Pod:
> 1. If one of the k8s nodes goes down, is there any chance the access is 
> currently on the crashed nodes, then the query will be failed?
> 2. If multiple Pods are running in k8s cluster, is there any data 
> inconsistence issue?(they scrape the same targets.)
>
> On Friday, June 4, 2021 at 1:40:05 AM UTC+8 [email protected] wrote:
>
>> Hi Nina,
>>
>> No, by default, the Prometheus Operator uses an emptyDir for the 
>> Prometheus storage, which gets lost when the pod is rescheduled.
>>
>> This explains how to add persistent volumes: 
>> https://github.com/prometheus-operator/prometheus-operator/blob/master/Documentation/user-guides/storage.md
>>
>> Regards,
>> Julius
>>
>> On Thu, Jun 3, 2021 at 9:08 AM nina guo <[email protected]> wrote:
>>
>>> Hi,
>>>
>>> If using Prometheus Operator to install in k8s cluster, the data pv will 
>>> be created automatically or not?
>>>
>>> -- 
>>> 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/e7f3ea4f-b7ad-473d-9095-170529fd32f5n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/prometheus-users/e7f3ea4f-b7ad-473d-9095-170529fd32f5n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>
>>
>> -- 
>> Julius Volz
>> PromLabs - promlabs.com
>>
>

-- 
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/f83a0171-0dd1-430c-80c5-6e684e5b9f6cn%40googlegroups.com.

Reply via email to