Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 832 Bytes

README.md

File metadata and controls

50 lines (33 loc) · 832 Bytes

Deploying Version 2.0.0

Start your minikube cluster with:

minikube start --vm

Enable the Ingress add-on with:

minikube addons enable ingress

Instead of uploading the Docker image to a registry, you can create the image in the cluster directly.

Connect to the Docker daemon inside minikube with:

minikube docker-env
# follow the instructions in the output

You Docker CLI is connected to the Docker daemon inside minikube.

You can create the Docker image with:

docker build -t labv2 .

Create a namespace with:

kubectl create namespace labv2

Deploy all of the resources with:

kubectl apply -f deployment.yaml --namespace labv2

Retrieve the IP address of minikube with:

minikube ip

Visit the application at http://<minikube-ip>/v2