Reputation: 7915
I am looking for a solution where I would able to increase the ephemeral storage size limit for a pod at runtime.
The pod is using node's local storage and has a limit of 5 Gb, which is configured in the pod'd deployment yaml volumes.<volumeName>.emptyDir.sizeLimit
. I have to increase the storage size. This is possible by modifying the deployment, but that restarts the pod. Is there a way where we can increase it without pod restart.
There is option of online volume size increase for persisted vloume, by executing patch command on persistedVolumeClaim. But not sure if similar feature is available for ephemeral storage also ? The kubernetes service is in AKS. The expansion size will vary for every other pod. As soon as a pod reaches the storage limit, I would need to increase the storage limit by some specific amount.
Upvotes: 0
Views: 379
Reputation: 11
Making this change without a restart is not possible. Instead, see if it is viable to do a Green-Blue Deployment that consists of:
Upvotes: 0