Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 1 KB

Readme.md

File metadata and controls

18 lines (13 loc) · 1 KB

Hello World on Minikube

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.

Minikube deployment

  1. Download and start minikube.
  2. Enable default nginx ingress controller basically by running minikube addons enable ingress.
  3. Deploy the container: kubectl apply -f deployment.yaml.
  4. Create a service: kubectl apply -f service.yaml.
  5. Provide an ingress for the service: kubectl apply -f ingress.yaml.
  6. Connect to the minikube deployment, e. g. https://192.168.99.100/hellominikube/it-works/