From 4f9f26a1da195c3da4fc8c29e6cd5539de96f8c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=A4fer?= Date: Fri, 25 Jan 2019 18:26:22 +0100 Subject: [PATCH] Add instructions to expose/access the services --- README.md | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 13f4e5ec5..db0007d92 100644 --- a/README.md +++ b/README.md @@ -41,4 +41,23 @@ kubectl apply -f secrets.yaml cd ./staging kubectl apply -f neo4j-deployment.yaml -f backend-deployment.yaml -f web-deployment.yaml ``` - \ No newline at end of file +This can take a while. +Sit back and relax and have a look into your minikube dashboard: +``` +minikube dashboard +``` +Wait until all pods turn green and they don't show a warning `Waiting: ContainerCreating` anymore. + +## Expose the services + +```shell +kubectl expose deployment nitro-backend --namespace=staging --type=LoadBalancer --port=4000 +kubectl expose deployment nitro-web --namespace=staging --type=LoadBalancer --port=3000 +``` + +## Access the service + +```shell +minikube service nitro-backend --namespace=staging +minikube service nitro-web --namespace=staging +```