Provision prometheus persistent volume by using istioctl

Hi,
I have kubernetes cluster with istio verion: 1.4.4 deployed. Everything works as expected so far. However, I just need things to be a bit more production ready. so I just wonder how to configure prometheus to use PV in istio-system namespace.

Does istioctl use offical prometheus helm chart for the deployment. And is there any documentation available for the setup?

Thanks,
Nick

is there anyone that could share how you avoid this if you want to run istio in production?

I would advise to treat istio-prometheus as transient middle-man and deploy a thanos-enabled prometheus operator in your cluster. Then add the federation - fetch all metrics from the istio-prometheus to the “main one” (and there, you have thanos for persistence)

2 Likes