Would the latency of a persistent volume claim on Kubenetes make my service unavailable?

8/15/2017

Within Why does a GCE volume mount in a kubernetes pod cause a delay? is:

But when the pod has a GCE persistent volume mount, the Running state is reached somewhere between 20 and 60 seconds.

So for example when doing a rolling deployment, does this mean there is a 20-60 seconds of the service being unavailable?

-- Chris Stryczynski
google-cloud-platform
kubernetes
persistent-volume-claims
persistent-volumes

1 Answer

8/25/2017

When you do a rolling update, pods will not be teared down all at once. So your service will not interrupt. And that question is pretty old, k8s have many improvement ever since. In my case(GKE with latest k8s), the (re)start delay is very short.

-- Ken Chen
Source: StackOverflow