Fundamental question

Hi All

New to kubernetes but learning more every day, i have one fundamental question though.

If you have a pod on a node and its not part of a replica set, lets say you need to perform maintenance on that node, is there any way to move the pod to another node without downtime ? From what i understand, draining the node will kill the pod and it will have to be re-deployed ?

Is using replica sets the only way to avoid downtime in this instance ?

And also if i drained a node with a single pod on it and it was killed, would the pod be recreated on another pod or would it have to be redeployed ?

Redeploy I’m both cases. This is exactly what replicaset and deployment are for.

1 Like