Kubernetes Controller for informing Single Page Applications via WebSockets.
755
SPA Reloader provides a Kubernetes Controller that listens to changes in Deployments container image changes, and informes Single Page Applications via WebSockets.
Problem: Single Page Application (SPA) are great technology, they run on the client browser and do not need round trip to the server every time we move across the application. That means we have to load the entire (or part of the) application in the browser, which will tipically communicate with a REST API in the server. But if we upgrade the SPA, unless we reload the page, the browser has not standard way of knowing if the application has changed and needs to reload it.
Solution: The solution proposed is implies a Server Side component and a Client Side component.
The controller takes the following environment variables in order to configure its behavior.
Content type
Image
Digest
Size
17.6 MB
Last updated
almost 5 years ago
docker pull toucansoftware/spa-reloader