Kubernetes : How do I update the resource limits/requests for a pod without restarting the pod?

3/17/2020

Is this even possible?

I am trying to speed up updating configs for my pods. But they are restarted each time (in a StatefulSet)

Would have been nice to change minor configs like resource limits/requests without restarting the pod.

-- crossvalidator
kubernetes

1 Answer

3/17/2020

No, you can't update resources spec without recreating pod. Here is related issue on github

-- Grigoriy Mikhalkin
Source: StackOverflow