Deploy this application to Minikube and customise the environment variable to display your name.
$ curl $(minikube ip)
Hello Dan!
- Fork this repo ✅
- Build the Docker image ✅
- Write yaml files for a deployment, service, ingress and configmap
- Deploy your application to Minikube ✅
- You should be able to
curl
Minikube's ip and retrieve the stringHello {yourname}!
✅ - Commit your files to Github ✅
There's no need to push the Docker image to a Docker registry. You should be able to build and use the image from within Minikube.
You can expose Minikube's Docker daemon with:
$ eval (minkube docker-env)
- First run
eval $(minikube docker-env)
- build the docker image
docker build -t hello-image .
- All the Kubernetes required files in k8s folder
you can deploy the app using this command
kubectl apply -k k8s
- run
curl http://$(minikube ip)