5

If kube-master or etcd service down in my kubernetes cluster, can my Pod/Service still work? Also, if the network is still work?

X.G
  • 85
  • 2

1 Answers1

5

The containers in a pod continue to run, yes. If the master components are not available this means no new pods/services can be launched, but existing ones continue to operate. Note that this behaviour is also one of the good practices and lessons learned from Borg.

Michael Hausenblas
  • 13,162
  • 4
  • 52
  • 66
  • 2
    What for the network thing? For example, one Pod want to communicate with other Service via service virtual IP? I know the communication is through kube-proxy on each minion, but have question on whether kube-proxy still work without etcd or master? – X.G Nov 27 '15 at 07:26
  • Depends on the service discovery mechanism but in general: as long as the Endpoint is up, it should work, see also http://kubernetes.io/v1.1/docs/user-guide/services.html – Michael Hausenblas Nov 27 '15 at 07:30
  • 1
    All components should "coast" with their last known state as long as the master is down. – Tim Hockin Nov 30 '15 at 21:48