This repository contains a very simple http server in python packaged as a Docker container.
The container is deployed to a local minikube for educational purposed.
This version uses nginx as ingress controller. For an alternative with traefik, see this branch.
- Download and start minikube.
- Enable default nginx ingress controller basically by running
minikube addons enable ingress
. - Deploy the container:
kubectl apply -f deployment.yaml
. - Create a service:
kubectl apply -f service.yaml
. - Provide an ingress for the service:
kubectl apply -f ingress.yaml
. - Connect to the minikube deployment, e. g. https://192.168.99.100/hellominikube/it-works/