Sign inSign up

erikwegner/hellominikube

By erikwegner

•Updated over 7 years ago

Example deployment on minikube

Image
0

380

erikwegner/hellominikube repository overview

⁠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/⁠

Tag summary

Content type

Image

Digest

Size

29.8 MB

Last updated

over 7 years ago

docker pull erikwegner/hellominikube