https://wikitech.wikimedia.org/wiki/Deployment_pipeline/Migration/Tutorial#Creating_a_Helm_Chart
How do we define hostnames/ips for dependencies? I.e. Wikispeech-server needs to be aware of the other Speechoid-services. In the docker-compose script on wmflabs this is a fairly simple setup. Also, Speechoid might not start up until the dependent services are available. We are probably setting up a pod that bundles the complete Speechoid-package with all services.
See https://github.com/karlwettin/wikispeech-docker-compose/blob/master/docker-compose.yml
Dependent services are defined in the Wikispeech-server configuration. We will need to modify this to point at the service hostnames in k8s. See https://github.com/karlwettin/wikispeech-docker-compose/blob/master/compose-files/mockup.conf
We currently have a HAProxy in front of MaryTTS built in to our blubber, acting as a request queue (only one request at the time) to avoid overloading the service as each request will hit 100% CPU. Can we configure kubernetes to do this instead? Also consider what happens if we have multiple cores, MaryTTS seems to differ a bit, on my local Ubuntu it will use any available core and max it out, while I've seen it only using a single core on the wmflabs installation. This will indeed require consideration prior to deploying