Why pods aren't rescheduled when the remote kubelet is unreachable

9/4/2015

I'm currently doing some tests on a kubernetes cluster. I was wondering why the pods aren't rescheduled in some cases :

  • When the node is unreachable
  • When the remote kubelet doesn't answer

Actually the only case when a pod got rescheduled is when the kubelet notify the master. Is it on purpose ? Why ? If i shut down a server where there's a rc with a unique pod running, my service is down.

Maybe there's something i misunderstood.

Regards, Smana

-- Smana
kubernetes

1 Answer

9/4/2015

There is a quite long default timeout for detecting unreachable nodes and for re-scheduling pods, maybe you did not wait long enough?

You can adjust the timeouts with several flags:

-- slintes
Source: StackOverflow