Skip to content

ErikWegner/hellominikube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Hello World on Minikube

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published