Skip to main content

1 week ago

Static content of app

If I want to have 3 replicas of this app,  do I need to specify where it is all the static content (css, js, etc.) as a shared volume in a service?

Image of
1 week ago
It is not required to do that, but there may be some real-world advantages. For example, when you make changes to your static content, you could deploy the changes to one location with no need to update or roll out any updated containers. On the other hand, Kube handles rolling updates very well, so it might still be easier just to keep the static resources in the container. Both ways will work.