How can I configure a deployment so that when the deployment is updated, the exi . . .

Naveen Singh:
How can I configure a deployment so that when the deployment is updated, the existing pods are killed off before new pods are created to replace them.

Is there any native way to achieve this?

Raamkanna Saranathan:
yes, in the deployment spec, change the StrategyType from RollingUpdate to Recreate