Join GitHub today
Does kubernetes support docker update command when pod is running? #39060
This is a FEATURE REQUEST.
Docker has command named update to change allocated resources on the fly.
In a cluster, it is not easy to update container resource on the fly. Just imagine what happens if you changed a container's memory request to +1GB while your node only have 512MB available?
And, for another example,
For more details, please check: #9043. People have been talking about in-place pod update for long time, but as you can see there, it is definitely not as easy as replace values in cgroups.
For now using deployment to manage your container workload and trigger rolling update is a good idea, unless you have strong reason that your workload can not be stopped. In that case, I assume it's mostly because your container has
If it's not all the case above, #9043 is a good place to continue discussing your problem (I will close this one so we can focus the original problem), @davidopp is the one of the authors of Borg paper and owner of scheduling there.