kubernetes: Recreate deployments dont wait for pod termination

The scenario is a single replica with an attached EBS.

The create seems to happen right after the delete not waiting for the pod to be terminated. This results in the two kubelets fighting over the EBS which generally results in AWS becoming unhappy meaning the EBS has to be force detached.

From the docs All existing Pods are killed before new ones are created when .spec.strategy.type==Recreate I would have thought deployments would wait until the pod is actually killed.

Is this a bug or am i misinterpreting the docs?

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 23 (12 by maintainers)

Commits related to this issue

Most upvoted comments

Why it’s closed?

It’s not fixed: Recreate still doesn’t wait for termination.