Created
June 23, 2017 20:37
-
-
Save lotharschulz/5abd8ff96ec3dcd0ccaaef540bcf69e6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://github.com/lotharschulz/akkahttp-playground/releases/tag/0.0.6-minikube-lb-ing-presentation-leipzig | |
# prerequsites: scala, sbt, docker, minikube, kubectl, local registry, project's docker images in local registry | |
kubectl create -f minikube-deployment-config.yaml | |
kubectl expose deployment akkahttpplayground-deployment --type="LoadBalancer" --port=8181 -target-port=8181 | |
minikube service akkahttpplayground-deployment # opens browser window | |
minikube addons enable ingress | |
kubectl create -f minikube-ingress.yaml | |
echo "$(minikube ip) myminikube.info" | sudo tee -a /etc/hosts | |
# check the service | |
curl -v http://myminikube.info/ | |
curl -v http://myminikube.info/hello |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment