place-labs / k8s-helm

Helm charts for PlaceOS on Kubernetes
0 stars 2 forks source link

when frontend-loader is down, nginx should remain up and keep serving files from www #76

Open w-le opened 1 year ago

w-le commented 1 year ago

when frontend-loader is down, nginx should remain up and keep serving files from www

this ensure that there is not a complete frontend outage whenever frontend-loader is down (as nginx would still be up).

should be just a matter of removing a dependency line from the nginx container?

viv-4 commented 1 year ago

Have been thinking about this and discussing with Steve

One solution is to not run the nginx container in the frontend pod, like is done for gcp: https://github.com/place-labs/k8s-helm/blob/b010f630c06d5ef4e28e5c8cf04e07894a27a042/charts/placeos/charts/frontendloader/values.yaml#L8

Another is frontend-loader is now stateless and so can run multiple pods, this helps if one of the frontend-loaders has issues, though it seems likely if one does all will, need more testing on 1.2211.1