In the default Istio deployment's configs, Grafana is not set up to write 
data to any persistent volume; you can see the deployment here 
<https://github.com/istio/istio/blob/59cb9f6065490f2a78fd1a072fd94e8dbbeb1a00/install/kubernetes/addons/grafana.yaml#L47-L49>.
 
There are a few ways you could persist the data, one of the easiest may be 
to map the Grafana directory to a directory on the minikube host machine. 
You could also write it to a directory on the minikube VM, which AFAIK 
minikube persists the state of when shutdown gracefully.

On Friday, August 11, 2017 at 9:52:27 AM UTC-7, Kamesh Sampath wrote:
>
> nothing I did, just a standard Istio on minikube installation. no 
> customizations
>
> On Friday, August 11, 2017 at 10:20:17 PM UTC+5:30, Rodrigo Campos wrote:
>>
>> (Moving to kubernetes users) 
>>
>> On Fri, Aug 11, 2017 at 03:30:35AM -0700, Kamesh Sampath wrote: 
>> > 
>> > why frequently i see the grafana dashboard losing the data and services 
>> > info - I am seeing this happening after i get my computer to wake up 
>> after 
>> > in sleep or I restart my minikube. 
>> > 
>> > Whats that way to get back data - Do I need to setup any persistence 
>> ??? 
>>
>> Are you using a HostPath volume or something to store the data? How is 
>> the 
>> volume configured? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to kubernetes-users+unsubscr...@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to