Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

We need an easy way to gracefully migrate pods from one node to another #8424

Closed
mrosic opened this issue Apr 8, 2016 · 1 comment
Closed
Assignees

Comments

@mrosic
Copy link

mrosic commented Apr 8, 2016

oadm manage-node xyz --evacuate immediately kills all pods and will make your services go offline if they are backed by only one pod.

Version

1.1.4

Steps To Reproduce
  1. oadm manage-node xyz --schedulable=false
  2. oadm manage-node xyz --evacuate
Current Result

All pods are immediately terminated.
The current workaround is tedious: Scale DCs to two replicas, mark old node as unschedulable, delete pods from old node, scale DCs to one replica.

Expected Result

New pods are created on a different node first and only after the readiness checks have succeeded will a pod be terminated on the node that is being evacuated.

@pweil-
Copy link
Contributor

pweil- commented Mar 8, 2017

This is not specific to evacuate and rather an issue of redundancy during any node failure that causes pods to terminate. Running multiple pods in a service is the right solution here.

@pweil- pweil- closed this as completed Mar 8, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants