How to fix trainserver empty server?

63 Views Asked by At

Im trying to install an allegroai trains-server on a k8s cluster.

I tried the following 3 methods

I followed the linux installation to the letter, and in the k8s installations used the following command to access the exposed port of the trains webserver kubectl port-forward -n trains svc/webserver-service 9999:80

In all three cases i manage to get to the server, but it looks empty and most operations fail.Here is a screen shot of what the webserver looks like.

I tried doing all 3 multiple times from scratch and even rebuilt my k8s cluster but nothing works.

Does anyone know how to solve this?

1

There are 1 best solutions below

0
On

Disclaimer - I'm part of the allegro.ai Trains team

The current implementation of trains-server supports two types of deployments

  1. Single IP with fixed set of ports:
  • Port 8080 - Web service,
  • Post 8008 - API
  • Port 8081 - Generic http file serving
  1. sub-domain deployment:

There is also a helm chart deployment that will deploy the trains-server on a single node exposing ports 30080/30008/30081 You can find the details here