Usage with minikube

First of all start minikube on your machine:

minikube start

Build your Docker image, using the Minikube Docker daemon:

eval $(minikube docker-env)
docker build -t humanconnection/backend:edge .

check that the image is in Minikubes Docker registry:

minikube ssh docker images 

Now change into directory kubernetes and create services and deployments:

cd kubernetes

kubectl create -f backend-deployment.yaml neo4j-deployment.yaml neo4j-data-persistentvolumeclaim.yaml

# expose the backend deployment
kubectl expose backend hello-node --type=LoadBalancer

# and create the services
kubectl create -f backend-service.yaml neo4j-service.yaml

You can see the backend in action with

minikube service backend