-
Notifications
You must be signed in to change notification settings - Fork 0
Description
I try to streamline the Hello, World tutorial and remove as many preparation steps as possible. For example, I want to reuse an existing image off DockerHub instead of having to create my own.
However, the NodeJS code currently has the listening port number hardcoded. I can't thus reuse someone else's image because then I might hit their old deployed instance unknowingly.
A way around having to rebuild the Docker image for every experimenter could be to supply the listening port through the YAML config: https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/
This should allow us to start the NodeJS server inside the Docker image with per-experimenter config from the YAML, i.e. a single image will do for everyone taking the tutorial.