SuccessfulKoala55 Getting an error with mounting on a read-only file system(Error response from daemon: error while creating mount source path '/opt/trains/logs': mkdir /opt/trains: read-only file system: RunContainerError), is there any workaround for this?
We're always happy to add deployment options 🙂
The default GKE OS is container optimized os so some directories(i.e. opt) are read only. I solved the problem by mounting it in var/libs. In the future, is allegro considering including deployment of trains-server on GKE?
Why a read-only file system? The server deployment assumes a writable file system - you can change the deployment if that's required
Hi GiddyTurkey39 , we haven't tried that yet, but you're welcome to try - there's a K8s template for Trains Server https://github.com/allegroai/trains-server-k8s - https://github.com/allegroai/trains-server-k8s it would be very cool to see it running on GKE 🙂