Hello World - Scala using Akka HTTP

A microservice which demonstrates how to get set up and running with Knative
Serving when using Scala and AkkaHTTP. It will respond to a HTTP
request with a text specified as an ENV variable named MESSAGE, defaulting
to "Hello World!".

Follow the steps below to create the sample code and then deploy the app to your
cluster. You can also download a working copy of the sample, by running the
following commands:

Configuring the sbt build

If you want to use your Docker Hub repository, set the repository to
“docker.io/yourusername/yourreponame”.

If you use Minikube, you first need to run:

eval$(minikube docker-env)

If want to use the Docker Repository inside Minikube, either set this to
“dev.local” or if you want to use another repository name, then you need to run
the following command after docker:publishLocal:

kubectl get ksvc helloworld-scala \
--output=custom-columns=NAME:.metadata.name,URL:.status.url
# It will print something like this, the URL is what you're going to use as HTTP Host header:# NAME URL# helloworld-scala http://helloworld-scala.default.example.com

Finally, to try your service, use the obtained address in the Host header: