简体   繁体   中英

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

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

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:

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM